Documentation ¶
Index ¶
- type Arguments
- func (args Arguments) Convert() (otelcomponent.Config, error)
- func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
- func (args Arguments) Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component
- func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension
- func (args *Arguments) SetToDefault()
- func (args Arguments) Validate() error
- type AssumeRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Region string `alloy:"region,attr,optional"` Service string `alloy:"service,attr,optional"` AssumeRole AssumeRole `alloy:"assume_role,block,optional"` // DebugMetrics configures component internal metrics. Optional. DebugMetrics otelcolCfg.DebugMetricsArguments `alloy:"debug_metrics,block,optional"` }
Arguments configures the otelcol.auth.sigv4 component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelcomponent.Config, error)
Convert implements auth.Arguments.
func (Arguments) DebugMetricsConfig ¶ added in v1.2.0
func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
DebugMetricsConfig implements auth.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[pipeline.Signal]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.
func (*Arguments) SetToDefault ¶ added in v1.2.0
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type AssumeRole ¶
type AssumeRole struct { ARN string `alloy:"arn,attr,optional"` SessionName string `alloy:"session_name,attr,optional"` STSRegion string `alloy:"sts_region,attr,optional"` }
AssumeRole replicates sigv4authextension.Config.AssumeRole
func (*AssumeRole) Convert ¶
func (args *AssumeRole) Convert() *sigv4authextension.AssumeRole
Convert converts args into the upstream type.
Click to show internal directories.
Click to hide internal directories.