fluentd

package
v1.12.4-alpine-2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 32 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ComponentFluentd     = "fluentd"
	ComponentConfigCheck = "fluentd-configcheck"
	ComponentDrainer     = "fluentd-drainer"
)
View Source
const (
	SecretConfigName      = "fluentd"
	AppSecretConfigName   = "fluentd-app"
	ConfigCheckKey        = "generated.conf"
	ConfigKey             = "fluent.conf"
	AppConfigKey          = "fluentd.conf"
	StatefulSetName       = "fluentd"
	PodSecurityPolicyName = "fluentd"
	ServiceName           = "fluentd"
	OutputSecretName      = "fluentd-output"
	OutputSecretPath      = "/fluentd/secret"
)

Variables

This section is empty.

Functions

func RegisterWatches

func RegisterWatches(builder *builder.Builder) *builder.Builder

Types

type ConfigCheckResult

type ConfigCheckResult struct {
	Valid   bool
	Ready   bool
	Message string
}

type Desire

type Desire struct {
	DesiredObject runtime.Object
	DesiredState  reconciler.DesiredState
	// BeforeUpdateHook has the ability to change the desired object
	// or even to change the desired state in case the object should be recreated
	BeforeUpdateHook func(runtime.Object) (reconciler.DesiredState, error)
}

type Reconciler

type Reconciler struct {
	Logging *v1beta1.Logging
	*reconciler.GenericResourceReconciler
	// contains filtered or unexported fields
}

Reconciler holds info what resource to reconcile

func New

func New(client client.Client, log logr.Logger,
	logging *v1beta1.Logging, config *string, secrets *secret.MountSecrets, opts reconciler.ReconcilerOpts) *Reconciler

func (*Reconciler) FluentdObjectMeta

func (r *Reconciler) FluentdObjectMeta(name, component string) metav1.ObjectMeta

FluentdObjectMeta creates an objectMeta for resource fluentd

func (*Reconciler) FluentdObjectMetaClusterScope

func (r *Reconciler) FluentdObjectMetaClusterScope(name, component string) metav1.ObjectMeta

FluentdObjectMetaClusterScope creates an objectMeta for resource fluentd

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile() (*reconcile.Result, error)

Reconcile reconciles the fluentd resource

Jump to

Keyboard shortcuts

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