Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { ClientID string `alloy:"client_id,attr,optional"` ClientIDFile string `alloy:"client_id_file,attr,optional"` ClientSecret alloytypes.Secret `alloy:"client_secret,attr,optional"` ClientSecretFile string `alloy:"client_secret_file,attr,optional"` TokenURL string `alloy:"token_url,attr"` EndpointParams url.Values `alloy:"endpoint_params,attr,optional"` Scopes []string `alloy:"scopes,attr,optional"` TLSSetting otelcol.TLSClientArguments `alloy:"tls,block,optional"` Timeout time.Duration `alloy:"timeout,attr,optional"` }
Arguments configures the otelcol.auth.oauth2 component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements auth.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelcomponent.DataType]map[otelcomponent.ID]otelcomponent.Component
Exporters implements auth.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
Extensions implements auth.Arguments.
Click to show internal directories.
Click to hide internal directories.