reconcile

package
v0.0.0-...-22146ec Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterRole

func ClusterRole(k8sClient client.Client, name string, generator func() *rbacv1.ClusterRole) (modified bool, err error)

func ClusterRoleBinding

func ClusterRoleBinding(k8sClient client.Client, name string, generator func() *rbacv1.ClusterRoleBinding) error

func Configmap

func Configmap(k8Client client.Client, reader client.Reader, configMap *corev1.ConfigMap, opts ...comparators.ComparisonOption) error

func DaemonSet

func DaemonSet(er record.EventRecorder, k8Client client.Client, desired *apps.DaemonSet) error

DaemonSet reconciles a DaemonSet to the desired spec returning an error if there is an issue creating or updating to the desired state

func DeleteClusterRole

func DeleteClusterRole(k8sClient client.Client, name string) error

func DeleteClusterRoleBinding

func DeleteClusterRoleBinding(k8sClient client.Client, name string) error

func Deployment

func Deployment(er record.EventRecorder, k8Client client.Client, desired *apps.Deployment) error

Deployment reconciles a Deployment to the desired spec returning an error if there is an issue creating or updating to the desired state

func Role

func Role(er record.EventRecorder, k8Client client.Client, desired *rbacv1.Role) error

func RoleBinding

func RoleBinding(er record.EventRecorder, k8Client client.Client, desired *rbacv1.RoleBinding) error

func Secret

func Secret(er record.EventRecorder, k8Client client.Client, desired *corev1.Secret, opts ...comparators.ComparisonOption) error

Secret reconciles a Secret to the desired spec returning an error if there is an issue creating or updating to the desired state

func SecurityContextConstraints

func SecurityContextConstraints(k8Client client.Client, desired *security.SecurityContextConstraints) error

func Service

func Service(er record.EventRecorder, k8Client client.Client, desired *corev1.Service) error

Service reconciles a Service to the desired spec returning an error if there is an issue creating or updating to the desired state

func ServiceAccount

func ServiceAccount(er record.EventRecorder, k8Client client.Client, desired *v1.ServiceAccount) (*v1.ServiceAccount, error)

func ServiceMonitor

func ServiceMonitor(er record.EventRecorder, k8Client client.Client, desired *monitoringv1.ServiceMonitor) error

ServiceMonitor reconciles a ServiceMonitor to the desired spec returning an error if there is an issue creating or updating to the desired state

Types

This section is empty.

Jump to

Keyboard shortcuts

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