log_annotations

package
v0.0.0-...-0b4a972 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2019 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LogAnnotationsBuilder = "log_annotations"
)

Variables

This section is empty.

Functions

func NewPodLogAnnotationBuilder

func NewPodLogAnnotationBuilder(cfg *common.Config, _ builder.ClientInfo, meta metagen.MetaGen) (builder.Builder, error)

Types

type CustomPath

type CustomPath struct {
	Enabled bool `config:"enabled"`
}

type LogPathConfig

type LogPathConfig struct {
	Prefix               string        `config:"prefix"`
	BaseProspectorConfig common.MapStr `config:"base_prospector_config"`
	LogsPath             string        `config:"logs_path"`
	DefaultNamespace     string        `config:"default_namespace"`
	CustomPath           CustomPath    `config:"custom_path"`
}

func DefaultLogPathConfig

func DefaultLogPathConfig() LogPathConfig

type PodLogAnnotationBuilder

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

PodLogAnnotationBuilder implements default modules based on pod annotations

func (*PodLogAnnotationBuilder) BuildModuleConfigs

func (l *PodLogAnnotationBuilder) BuildModuleConfigs(obj interface{}) []*dcommon.ConfigHolder

func (*PodLogAnnotationBuilder) Name

func (l *PodLogAnnotationBuilder) Name() string

Jump to

Keyboard shortcuts

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