Documentation
¶
Overview ¶
Package reconcile contains reconciliation logic for CloudWatch Agent components.
Index ¶
- func ConfigMaps(ctx context.Context, params Params) error
- func DaemonSets(ctx context.Context, params Params) error
- func Deployments(ctx context.Context, params Params) error
- func Ingresses(ctx context.Context, params Params) error
- func ReplaceConfig(instance v1alpha1.AmazonCloudWatchAgent) (string, error)
- func Routes(ctx context.Context, params Params) error
- func Self(ctx context.Context, params Params) error
- func ServiceAccounts(ctx context.Context, params Params) error
- func Services(ctx context.Context, params Params) error
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMaps ¶
ConfigMaps reconciles the config map(s) required for the instance in the current context.
func DaemonSets ¶
DaemonSets reconciles the daemon set(s) required for the instance in the current context.
func Deployments ¶
Deployments reconciles the deployment(s) required for the instance in the current context.
func Ingresses ¶
Ingresses reconciles the ingress(s) required for the instance in the current context.
func ReplaceConfig ¶
func ReplaceConfig(instance v1alpha1.AmazonCloudWatchAgent) (string, error)
func Self ¶
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 ¶
ServiceAccounts reconciles the service account(s) required for the instance in the current context.