Documentation ¶
Index ¶
Constants ¶
View Source
const AgentMode = "testListener"
View Source
const AgentName = "SL.DotNet.dll"
View Source
const DefaultLabId = "agents"
View Source
const DefaultVersion = "latest"
View Source
const ManifestFile = "manifest.yml"
View Source
const PackageArchiveName = "sealights-agent.tar.gz"
View Source
const Procfile = "Procfile"
Variables ¶
This section is empty.
Functions ¶
func NewHook ¶
func NewHook() libbuildpack.Hook
NewHook returns a libbuildpack.Hook instance for integrating with Sealights
Types ¶
type Command ¶
Command is an interface around libbuildpack.Command. Represents an executor for external command calls. We have it as an interface so that we can mock it and use in the unit tests.
type Configuration ¶
type Configuration struct { Value *SealightsOptions Log *libbuildpack.Logger }
func NewConfiguration ¶
func NewConfiguration(log *libbuildpack.Logger) *Configuration
func (Configuration) UseSealights ¶
func (conf Configuration) UseSealights() bool
type Installer ¶ added in v0.0.4
type Installer struct { Log *libbuildpack.Logger Options *SealightsOptions MaxDownloadRetries int }
func NewInstaller ¶ added in v0.0.4
func NewInstaller(log *libbuildpack.Logger, options *SealightsOptions) *Installer
func (*Installer) InstallAgent ¶ added in v0.0.4
type Launcher ¶ added in v0.0.4
type Launcher struct { Log *libbuildpack.Logger Options *SealightsOptions AgentDir string }
func NewLauncher ¶ added in v0.0.4
func NewLauncher(log *libbuildpack.Logger, options *SealightsOptions, agentInstallationDir string) *Launcher
func (*Launcher) ModifyStartParameters ¶ added in v0.0.4
func (la *Launcher) ModifyStartParameters(stager *libbuildpack.Stager) error
type SealightsHook ¶
type SealightsHook struct { libbuildpack.DefaultHook Log *libbuildpack.Logger Command Command }
SealightsHook implements libbuildpack.Hook. It downloads and install the Dynatrace OneAgent.
func (*SealightsHook) AfterCompile ¶
func (h *SealightsHook) AfterCompile(stager *libbuildpack.Stager) error
AfterCompile downloads and installs the Dynatrace agent.
type SealightsOptions ¶
type VcapServicesModel ¶
type VcapServicesModel struct {
Sealights SealightsOptions
}
Click to show internal directories.
Click to hide internal directories.