Help us shape the future of Go! Take the 2026 Go Developer Survey

hooks

package
v1.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2018 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Execute(string, io.Writer, io.Writer, string, ...string) error
}

type DynatraceCredentials added in v1.6.16

type DynatraceCredentials struct {
	ServiceName   string
	EnvironmentId string
	ApiToken      string
	ApiURL        string
	SkipErrors    bool
}

type DynatraceHook

type DynatraceHook struct {
	libbuildpack.DefaultHook
	Log     *libbuildpack.Logger
	Command Command
}

func (DynatraceHook) AfterCompile

func (h DynatraceHook) AfterCompile(stager *libbuildpack.Stager) error

type SnykCommand added in v1.6.16

type SnykCommand interface {
	Output(string, string, ...string) (string, error)
}

type SnykCredentials added in v1.6.18

type SnykCredentials struct {
	ApiToken string
	ApiUrl   string
	OrgName  string
}

type SnykHook added in v1.6.16

type SnykHook struct {
	libbuildpack.DefaultHook
	Log         *libbuildpack.Logger
	SnykCommand SnykCommand
	// contains filtered or unexported fields
}

SnykHook

func (SnykHook) AfterCompile added in v1.6.16

func (h SnykHook) AfterCompile(stager *libbuildpack.Stager) error

Snyk hook

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL