Skip to content

Commit 47e4737

Browse files
committed
added Dynatrace hook
added libbuildpack-dynatrace to go.mod
1 parent 826a048 commit 47e4737

9 files changed

Lines changed: 711 additions & 0 deletions

File tree

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module github.com/cloudfoundry/python-buildpack
22

33
require (
4+
github.com/Dynatrace/libbuildpack-dynatrace v1.2.1
45
github.com/blang/semver v3.5.1+incompatible
56
github.com/cloudfoundry/libbuildpack v0.0.0-20190805205250-e22ed19132ff
67
github.com/golang/mock v1.3.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
2+
github.com/Dynatrace/libbuildpack-dynatrace v1.2.1 h1:XJ+mmQSAOoaeVip6kAIV/tWd2gQQWUeowU/bEGFil2c=
3+
github.com/Dynatrace/libbuildpack-dynatrace v1.2.1/go.mod h1:TojYXsxk1r+TaVOTUOWKyX2hAOzbvb+BsQGxUZ8Cb2s=
24
github.com/Masterminds/semver v1.4.2 h1:WBLTQ37jOCzSLtXNdoo8bNM8876KhNqOKvrlGITgsTc=
35
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
46
github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ=

src/python/hooks/dynatrace.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package hooks
2+
3+
import (
4+
"github.com/Dynatrace/libbuildpack-dynatrace"
5+
"github.com/cloudfoundry/libbuildpack"
6+
)
7+
8+
func init() {
9+
libbuildpack.AddHook(dynatrace.NewHook("sdk", "process"))
10+
}

vendor/github.com/Dynatrace/libbuildpack-dynatrace/.gitignore

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Dynatrace/libbuildpack-dynatrace/LICENSE

Lines changed: 201 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Dynatrace/libbuildpack-dynatrace/README.md

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Dynatrace/libbuildpack-dynatrace/go.mod

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Dynatrace/libbuildpack-dynatrace/go.sum

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)