hooks

package
v1.10.19 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppdynamicsHook

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

func (AppdynamicsHook) BeforeCompile

func (h AppdynamicsHook) BeforeCompile(stager *libbuildpack.Stager) error

func (AppdynamicsHook) CreateAppDynamicsEnv

func (h AppdynamicsHook) CreateAppDynamicsEnv(stager *libbuildpack.Stager, environmentVars map[string]string) error

func (AppdynamicsHook) GenerateAppdynamicsScript

func (h AppdynamicsHook) GenerateAppdynamicsScript(envVars map[string]string) string

type Command

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

type Credential

type Credential struct {
	ControllerHost   string `json:"host-name"`
	ControllerPort   string `json:"port"`
	SslEnabled       bool   `json:"ssl-enabled"`
	AccountAccessKey string `json:"account-access-key"`
	AccountName      string `json:"account-name"`
}

type Plan

type Plan struct {
	Credentials Credential `json:"credentials"`
}

type VcapApplication

type VcapApplication struct {
	ApplicationName string `json:"application_name"`
	ApplicationId   string `json:"application_id"`
}

Jump to

Keyboard shortcuts

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