fluentoperator

package
v1.72.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 24 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 (
	// 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,
	additionalInputs []*fluentbitv1alpha2.ClusterInput,
	additionalFilters []*fluentbitv1alpha2.ClusterFilter,
	additionalParsers []*fluentbitv1alpha2.ClusterParser,
) component.DeployWaiter

NewCustomResources creates a new instance of Fluent Operator Custom Resources.

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 {
	// FluentBit represents the fluent-bit values.
	FluentBit FluentBit
}

CustomResourcesValues are the values for the custom resources.

type FluentBit

type FluentBit struct {
	// Image is the fluent-bit image.
	Image string
	// InitContainerImage is the fluent-bit init container image.
	InitContainerImage string
	// PriorityClass is the name of the priority class of the fluent-bit.
	PriorityClass string
}

FluentBit holds the 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