reconcile

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package reconcile contains reconciliation logic for OpenTelemetry Collector components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMaps

func ConfigMaps(ctx context.Context, params Params) error

ConfigMaps reconciles the config map(s) required for the instance in the current context.

func DaemonSets

func DaemonSets(ctx context.Context, params Params) error

DaemonSets reconciles the daemon set(s) required for the instance in the current context.

func Deployments

func Deployments(ctx context.Context, params Params) error

Deployments reconciles the deployment(s) required for the instance in the current context.

func Self

func Self(ctx context.Context, params Params) error

Self updates this instance's self data. This should be the last item in the reconciliation, as it causes changes making params.Instance obsolete. Default values should be set in the Defaulter webhook, this should only be used for the Status, which can't be set by the defaulter.

func ServiceAccounts

func ServiceAccounts(ctx context.Context, params Params) error

ServiceAccounts reconciles the service account(s) required for the instance in the current context.

func Services

func Services(ctx context.Context, params Params) error

Services reconciles the service(s) required for the instance in the current context.

Types

type Params

type Params struct {
	Config   config.Config
	Client   client.Client
	Instance v1alpha1.OpenTelemetryCollector
	Log      logr.Logger
	Scheme   *runtime.Scheme
}

Params holds the reconciliation-specific parameters.

Jump to

Keyboard shortcuts

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