Documentation ¶
Index ¶
- type Buffer
- type Config
- type ConfigOutput
- type Filter
- type FilterKubernetes
- type Flow
- type FlowConfig
- type FlowSpec
- type Fluentbit
- type Fluentd
- type Image
- type KubernetesStorage
- type Logging
- type Loki
- type Match
- type Metadata
- type Metrics
- type Output
- type OutputSpec
- type Parse
- type Parser
- type Pvc
- type PvcSpec
- type Requests
- type Resources
- type Scaling
- type Select
- type Spec
- type Storage
- type TagNormaliser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOutput ¶
type Filter ¶
type Filter struct { Parser *Parser `yaml:"parser,omitempty"` TagNormaliser *TagNormaliser `yaml:"tag_normaliser,omitempty"` }
type FilterKubernetes ¶
type FilterKubernetes struct {
KubeTagPrefix string `yaml:"Kube_Tag_Prefix"`
}
type Flow ¶
type Flow struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata *Metadata `yaml:"metadata"` Spec *FlowSpec `yaml:"spec"` }
func NewFlow ¶
func NewFlow(conf *FlowConfig) *Flow
type FlowConfig ¶
type Fluentbit ¶
type Fluentbit struct { Metrics *Metrics `yaml:"metrics,omitempty"` FilterKubernetes *FilterKubernetes `yaml:"filterKubernetes,omitempty"` Image *Image `yaml:"image,omitempty"` BufferStorageVolume *KubernetesStorage `yaml:"bufferStorageVolume,omitempty"` NodeSelector map[string]string `yaml:"nodeSelector,omitempty"` Tolerations k8s.Tolerations `yaml:"tolerations,omitempty"` Resources *k8s.Resources `yaml:"resources,omitempty"` }
type Fluentd ¶
type Fluentd struct { Metrics *Metrics `yaml:"metrics,omitempty"` BufferStorageVolume *KubernetesStorage `yaml:"bufferStorageVolume,omitempty"` LogLevel string `yaml:"logLevel,omitempty"` DisablePvc bool `yaml:"disablePvc"` Scaling *Scaling `yaml:"scaling,omitempty"` NodeSelector map[string]string `yaml:"nodeSelector,omitempty"` Tolerations k8s.Tolerations `yaml:"tolerations,omitempty"` Resources *k8s.Resources `yaml:"resources,omitempty"` }
type KubernetesStorage ¶
type KubernetesStorage struct {
Pvc *Pvc `yaml:"pvc,omitempty"`
}
type Logging ¶
type Logging struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata *Metadata `yaml:"metadata"` Spec *Spec `yaml:"spec"` }
func New ¶
func New(spec *latest.LogCollection) *Logging
type Output ¶
type Output struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata *Metadata `yaml:"metadata"` Spec *OutputSpec `yaml:"spec"` }
func NewOutput ¶
func NewOutput(clusterOutput bool, conf *ConfigOutput) *Output
type OutputSpec ¶
type OutputSpec struct {
Loki *Loki `yaml:"loki"`
}
type Spec ¶
type Spec struct { Fluentd *Fluentd `yaml:"fluentd"` Fluentbit *Fluentbit `yaml:"fluentbit"` WatchNamespaces []string `yaml:"watchNamespaces"` ControlNamespace string `yaml:"controlNamespace"` EnableRecreateWorkloadOnImmutableFieldChange bool `yaml:"enableRecreateWorkloadOnImmutableFieldChange"` FlowConfigCheckDisabled bool `yaml:"flowConfigCheckDisabled"` }
type TagNormaliser ¶ added in v0.33.0
type TagNormaliser struct {
Format string
}
Click to show internal directories.
Click to hide internal directories.