bearer

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bearer provides an otelcol.auth.bearer component.

Index

Constants

This section is empty.

Variables

View Source
var DefaultArguments = Arguments{
	Scheme: "Bearer",
}

DefaultArguments holds default settings for Arguments.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	// Do not include the "filename" attribute - users should use local.file instead.
	Scheme string            `alloy:"scheme,attr,optional"`
	Token  alloytypes.Secret `alloy:"token,attr"`
}

Arguments configures the otelcol.auth.bearer component.

func (Arguments) Convert

func (args Arguments) Convert() (otelcomponent.Config, error)

Convert implements auth.Arguments.

func (Arguments) Exporters

Exporters implements auth.Arguments.

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension

Extensions implements auth.Arguments.

func (*Arguments) SetToDefault

func (args *Arguments) SetToDefault()

SetToDefault implements syntax.Defaulter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL