Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapTemplate ¶
ConfigMapsTemplate has methods to generate and reconcile a ConfigMap
func (ConfigMapTemplate) Enabled ¶
func (cmt ConfigMapTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (ConfigMapTemplate) ResourceReconciler ¶ added in v0.17.1
func (cmt ConfigMapTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for ConfigMap resources
type DeploymentTemplate ¶
type DeploymentTemplate struct { Template func() *appsv1.Deployment RolloutTriggers []RolloutTrigger EnforceReplicas bool IsEnabled bool }
DeploymentTemplate specifies a Deployment resource and its rollout triggers
func (DeploymentTemplate) Enabled ¶
func (dt DeploymentTemplate) Enabled() bool
func (DeploymentTemplate) ResourceReconciler ¶ added in v0.17.1
type EnvoyConfigTemplate ¶ added in v0.18.0
type EnvoyConfigTemplate struct { Template func() (*marin3r.EnvoyConfig, error) IsEnabled bool }
EnvoyConfigTemplate has methods to generate and reconcile a EnvoyConfig
func (EnvoyConfigTemplate) Enabled ¶ added in v0.18.0
func (ect EnvoyConfigTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (EnvoyConfigTemplate) ResourceReconciler ¶ added in v0.18.0
func (ect EnvoyConfigTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for EnvoyConfig resources
type ExternalSecretTemplate ¶ added in v0.13.0
type ExternalSecretTemplate struct { Template func() *externalsecretsv1beta1.ExternalSecret IsEnabled bool }
ExternalSecretTemplate has methods to generate and reconcile an ExternalSecret
func (ExternalSecretTemplate) Build ¶ added in v0.13.0
func (est ExternalSecretTemplate) Build(ctx context.Context, cl client.Client) (client.Object, error)
Build returns an ExternalSecret resource
func (ExternalSecretTemplate) Enabled ¶ added in v0.13.0
func (est ExternalSecretTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (ExternalSecretTemplate) ResourceReconciler ¶ added in v0.17.1
func (est ExternalSecretTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for ExternalSecret resources
type GrafanaDashboardTemplate ¶
type GrafanaDashboardTemplate struct { Template func() *grafanav1alpha1.GrafanaDashboard IsEnabled bool }
GrafanaDashboardTemplate has methods to generate and reconcile a GrafanaDashboard
func (GrafanaDashboardTemplate) Build ¶
func (gdt GrafanaDashboardTemplate) Build(ctx context.Context, cl client.Client) (client.Object, error)
Build returns a GrafanaDashboard resource
func (GrafanaDashboardTemplate) Enabled ¶
func (gdt GrafanaDashboardTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (GrafanaDashboardTemplate) ResourceReconciler ¶ added in v0.17.1
func (gdt GrafanaDashboardTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for GrafanaDashboard resources
type HorizontalPodAutoscalerTemplate ¶
type HorizontalPodAutoscalerTemplate struct { Template func() *autoscalingv2.HorizontalPodAutoscaler IsEnabled bool }
HorizontalPodAutoscalerTemplate has methods to generate and reconcile a HorizontalPodAutoscaler
func (HorizontalPodAutoscalerTemplate) Build ¶
func (hpat HorizontalPodAutoscalerTemplate) Build(ctx context.Context, cl client.Client) (client.Object, error)
Build returns a HorizontalPodAutoscaler resource
func (HorizontalPodAutoscalerTemplate) Enabled ¶
func (hpat HorizontalPodAutoscalerTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (HorizontalPodAutoscalerTemplate) ResourceReconciler ¶ added in v0.16.1
func (hpat HorizontalPodAutoscalerTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for HorizontalPodAutoscaler resources
type PodDisruptionBudgetTemplate ¶
type PodDisruptionBudgetTemplate struct { Template func() *policyv1.PodDisruptionBudget IsEnabled bool }
PodDisruptionBudgetTemplate has methods to generate and reconcile a PodDisruptionBudget
func (PodDisruptionBudgetTemplate) Build ¶
func (pdbt PodDisruptionBudgetTemplate) Build(ctx context.Context, cl client.Client) (client.Object, error)
Build returns a PodDisruptionBudget resource
func (PodDisruptionBudgetTemplate) Enabled ¶
func (pdbt PodDisruptionBudgetTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (PodDisruptionBudgetTemplate) ResourceReconciler ¶ added in v0.16.1
func (pdbt PodDisruptionBudgetTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for PodDisruptionBudget resources
type PodMonitorTemplate ¶
type PodMonitorTemplate struct { Template func() *monitoringv1.PodMonitor IsEnabled bool }
PodMonitorTemplate has methods to generate and reconcile a PodMonitor
func (PodMonitorTemplate) Enabled ¶
func (pmt PodMonitorTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (PodMonitorTemplate) ResourceReconciler ¶ added in v0.17.1
func (pmt PodMonitorTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for PodMonitor resources
type RolloutTrigger ¶
RolloutTrigger defines a configuration source that should trigger a rollout whenever the data within that configuration source changes
func (*RolloutTrigger) GetAnnotationKey ¶
func (rt *RolloutTrigger) GetAnnotationKey() string
GetAnnotationKey returns the annotation key to be used in the Pods that read from the config source defined in the RolloutTrigger
type ServiceTemplate ¶
ServiceTemplate has methods to generate and reconcile a Service
func (ServiceTemplate) Enabled ¶
func (dt ServiceTemplate) Enabled() bool
Enabled indicates if the resource should be present or not
func (ServiceTemplate) ResourceReconciler ¶ added in v0.15.0
func (st ServiceTemplate) ResourceReconciler(ctx context.Context, cl client.Client, obj client.Object) error
ResourceReconciler implements a generic reconciler for Service resources
type StatefulSetTemplate ¶
type StatefulSetTemplate struct { Template func() *appsv1.StatefulSet RolloutTriggers []RolloutTrigger IsEnabled bool }
StatefulSet specifies a StatefulSet resource and its rollout triggers
func (StatefulSetTemplate) Enabled ¶
func (sst StatefulSetTemplate) Enabled() bool