fluentoperator

package
v1.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CustomResourcesManagedResourceName is the name of the managed resource which deploys the custom resources of the operator.
	CustomResourcesManagedResourceName = OperatorManagedResourceName + "-custom-resources"
)
View Source
const (
	// FluentBitManagedResourceName is the name of the managed resource which deploys the custom resources of the operator.
	FluentBitManagedResourceName = "fluent-bit"
)
View Source
const (
	// OperatorManagedResourceName is the name of the Fluent Operator managed resource.
	OperatorManagedResourceName = "fluent-operator"
)

Variables

This section is empty.

Functions

func NewCRDs

NewCRDs can be used to deploy Fluent Operator CRDs.

func NewCustomResources

func NewCustomResources(
	client client.Client,
	namespace string,
	values CustomResourcesValues,
) component.DeployWaiter

NewCustomResources creates a new instance of Fluent Operator Custom Resources.

func NewFluentBit

func NewFluentBit(
	client client.Client,
	namespace string,
	values FluentBitValues,
) component.DeployWaiter

NewFluentBit creates a new instance of Fluent-bit deployer.

func NewFluentOperator

func NewFluentOperator(
	client client.Client,
	namespace string,
	values Values,
) component.DeployWaiter

NewFluentOperator creates a new instance of Fluent Operator.

Types

type CustomResourcesValues

type CustomResourcesValues struct {
	Suffix  string
	Inputs  []*fluentbitv1alpha2.ClusterInput
	Filters []*fluentbitv1alpha2.ClusterFilter
	Parsers []*fluentbitv1alpha2.ClusterParser
	Outputs []*fluentbitv1alpha2.ClusterOutput
}

CustomResourcesValues are the values for the custom resources.

type FluentBitValues

type FluentBitValues struct {
	// Image is the fluent-bit image.
	Image string
	// InitContainerImage is the fluent-bit init container image.
	InitContainerImage string
	// VailEnabled specifies whether vali is used and should be configured as a ClusterOutput.
	ValiEnabled bool
	// PriorityClass is the name of the priority class of the fluent-bit.
	PriorityClass string
}

FluentBitValues is the values for fluent-bit configurations

type Values

type Values struct {
	// Image is the image of the Fluent Operator.
	Image string
	// PriorityClassName is the name of the priority class of the Fluent Operator.
	PriorityClassName string
}

Values keeps values for the Fluent Operator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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