Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() otelextension.Factory
NewFactory creates a factory for the OIDC Authenticator extension.
Types ¶
type Config ¶
type Config struct { *confighttp.HTTPServerSettings `mapstructure:"http"` *configgrpc.GRPCServerSettings `mapstructure:"grpc"` // Source configures the source for the strategies file. One of `remote` or `file` has to be specified. Source Source `mapstructure:"source"` }
Config has the configuration for the extension enabling the health check extension, used to report the health status of the service.
type Source ¶
type Source struct { // Remote defines the remote location for the file Remote *configgrpc.GRPCClientSettings `mapstructure:"remote"` // File specifies a local file as the strategies source File string `mapstructure:"file"` // ReloadInterval determines the periodicity to refresh the strategies ReloadInterval time.Duration `mapstructure:"reload_interval"` // Contents is a field added for the Grafana Agent that allows dynamic mapping of sampling rules // through flow Contents string `mapstructure:"contents"` }
Click to show internal directories.
Click to hide internal directories.