encoder

package
v0.0.0-...-e5b6368 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encoder

type Encoder struct {
	LabelLayout *labelLayout
	// contains filtered or unexported fields
}

func GetEncoder

func GetEncoder(orgID int) (*Encoder, error)

func (*Encoder) Refresh

func (e *Encoder) Refresh() error

type ORGEncoders

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

func GetORGEncoders

func GetORGEncoders() *ORGEncoders

func (*ORGEncoders) Init

func (e *ORGEncoders) Init(ctx context.Context, cfg prometheuscfg.Config)

func (*ORGEncoders) NewEncoderAndInitIfNotExist

func (e *ORGEncoders) NewEncoderAndInitIfNotExist(orgID int) (*Encoder, error)

func (*ORGEncoders) Start

func (e *ORGEncoders) Start() error

func (*ORGEncoders) Stop

func (e *ORGEncoders) Stop()

Jump to

Keyboard shortcuts

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