Documentation
¶
Index ¶
- type NewRelicExtension
- func (e *NewRelicExtension) Compile(ctx *extensions.Context, installer *extensions.Installer) error
- func (e *NewRelicExtension) Configure(ctx *extensions.Context) error
- func (e *NewRelicExtension) Name() string
- func (e *NewRelicExtension) PreprocessCommands(ctx *extensions.Context) ([]string, error)
- func (e *NewRelicExtension) ServiceCommands(ctx *extensions.Context) (map[string]string, error)
- func (e *NewRelicExtension) ServiceEnvironment(ctx *extensions.Context) (map[string]string, error)
- func (e *NewRelicExtension) ShouldCompile(ctx *extensions.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewRelicExtension ¶
type NewRelicExtension struct {
// contains filtered or unexported fields
}
NewRelicExtension downloads, installs and configures the NewRelic agent for PHP
func (*NewRelicExtension) Compile ¶
func (e *NewRelicExtension) Compile(ctx *extensions.Context, installer *extensions.Installer) error
Compile downloads and installs NewRelic
func (*NewRelicExtension) Configure ¶
func (e *NewRelicExtension) Configure(ctx *extensions.Context) error
Configure runs early configuration
func (*NewRelicExtension) Name ¶
func (e *NewRelicExtension) Name() string
Name returns the extension name
func (*NewRelicExtension) PreprocessCommands ¶
func (e *NewRelicExtension) PreprocessCommands(ctx *extensions.Context) ([]string, error)
PreprocessCommands returns commands to run before app starts (none for NewRelic)
func (*NewRelicExtension) ServiceCommands ¶
func (e *NewRelicExtension) ServiceCommands(ctx *extensions.Context) (map[string]string, error)
ServiceCommands returns long-running service commands (none for NewRelic)
func (*NewRelicExtension) ServiceEnvironment ¶
func (e *NewRelicExtension) ServiceEnvironment(ctx *extensions.Context) (map[string]string, error)
ServiceEnvironment returns environment variables for runtime
func (*NewRelicExtension) ShouldCompile ¶
func (e *NewRelicExtension) ShouldCompile(ctx *extensions.Context) bool
ShouldCompile determines if NewRelic should be installed
Click to show internal directories.
Click to hide internal directories.