reconcile

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package reconcile contains reconciliation logic for CloudWatch Agent 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 Ingresses

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

Ingresses reconciles the ingress(s) required for the instance in the current context.

func ReplaceConfig

func ReplaceConfig(instance v1alpha1.AmazonCloudWatchAgent) (string, error)

func Routes

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

Routes reconciles the route(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 {
	Client   client.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
	Log      logr.Logger
	Instance v1alpha1.AmazonCloudWatchAgent
	Config   config.Config
}

Params holds the reconciliation-specific parameters.

Jump to

Keyboard shortcuts

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