metadata

package
v0.40.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeTargets = Type{
		Name: "Targets",
		// contains filtered or unexported fields
	}

	TypeLokiLogs = Type{
		Name: "Loki `LogsReceiver`",
		// contains filtered or unexported fields
	}

	TypePromMetricsReceiver = Type{
		Name: "Prometheus `MetricsReceiver`",
		// contains filtered or unexported fields
	}

	TypePyroProfilesReceiver = Type{
		Name: "Pyroscope `ProfilesReceiver`",
		// contains filtered or unexported fields
	}

	TypeOTELReceiver = Type{
		Name: "OpenTelemetry `otelcol.Consumer`",
		// contains filtered or unexported fields
	}

	AllTypes = []Type{
		TypeTargets,
		TypeLokiLogs,
		TypePromMetricsReceiver,
		TypePyroProfilesReceiver,
		TypeOTELReceiver,
	}
)

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	// contains filtered or unexported fields
}

func ForComponent

func ForComponent(name string) (Metadata, error)

func (Metadata) AcceptsType

func (m Metadata) AcceptsType(t Type) bool

func (Metadata) AllTypesAccepted

func (m Metadata) AllTypesAccepted() []Type

func (Metadata) AllTypesExported

func (m Metadata) AllTypesExported() []Type

func (Metadata) Empty

func (m Metadata) Empty() bool

func (Metadata) ExportsType

func (m Metadata) ExportsType(t Type) bool

type Type

type Type struct {
	Name string
	// contains filtered or unexported fields
}

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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