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 Metadata
- type Metrics
- type Output
- type OutputSpec
- type Parse
- type Parser
- type Pvc
- type PvcSpec
- type Requests
- type Resources
- type Scaling
- type Spec
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigOutput ¶
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"`
Tolerations []corev1.Toleration `yaml:"tolerations,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 []corev1.Toleration `yaml:"tolerations,omitempty"`
}
type KubernetesStorage ¶
type KubernetesStorage struct {
Pvc *Pvc `yaml:"pvc,omitempty"`
}
type 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"`
ControlNamespace string `yaml:"controlNamespace"`
EnableRecreateWorkloadOnImmutableFieldChange bool `yaml:"enableRecreateWorkloadOnImmutableFieldChange"`
FlowConfigCheckDisabled bool `yaml:"flowConfigCheckDisabled"`
}
Click to show internal directories.
Click to hide internal directories.