Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type AgentDescription ¶ added in v0.99.0
type Capabilities ¶ added in v0.91.0
type Capabilities struct { // ReportsEffectiveConfig enables the OpAMP ReportsEffectiveConfig Capability. (default: true) ReportsEffectiveConfig bool `mapstructure:"reports_effective_config"` }
type Config ¶
type Config struct { Server *OpAMPServer `mapstructure:"server"` // InstanceUID is a ULID formatted as a 26 character string in canonical // representation. Auto-generated on start if missing. InstanceUID string `mapstructure:"instance_uid"` // Capabilities contains options to enable a particular OpAMP capability Capabilities Capabilities `mapstructure:"capabilities"` // Agent descriptions contains options to modify the AgentDescription message AgentDescription AgentDescription `mapstructure:"agent_description"` }
Config contains the configuration for the opamp extension. Trying to mirror the OpAMP supervisor config for some consistency.
type OpAMPServer ¶
type OpAMPServer struct { WS *commonFields `mapstructure:"ws,omitempty"` HTTP *commonFields `mapstructure:"http,omitempty"` }
OpAMPServer contains the OpAMP transport configuration.
func (OpAMPServer) GetClient ¶ added in v0.96.0
func (s OpAMPServer) GetClient(logger *zap.Logger) client.OpAMPClient
func (OpAMPServer) GetEndpoint ¶ added in v0.96.0
func (s OpAMPServer) GetEndpoint() string
func (OpAMPServer) GetHeaders ¶ added in v0.96.0
func (s OpAMPServer) GetHeaders() map[string]configopaque.String
func (OpAMPServer) GetTLSSetting ¶ added in v0.96.0
func (s OpAMPServer) GetTLSSetting() configtls.ClientConfig
Click to show internal directories.
Click to hide internal directories.