Documentation ¶
Overview ¶
Package reconcile contains reconciliation logic for OpenTelemetry Collector 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 ReplaceConfig(params Params) (string, 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
- func StatefulSets(ctx context.Context, params Params) error
- type Config
- 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 ReplaceConfig ¶ added in v0.35.0
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.
Types ¶
type Config ¶ added in v0.35.0
type Config struct {
PromConfig *promconfig.Config `yaml:"config"`
}