reconcile

package
v0.0.0-...-d085855 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 24 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(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(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(k8Client client.Client, desired *rbacv1.Role) error

func RoleBinding

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

func SecurityContextConstraints

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

func Service

func Service(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(k8Client client.Client, desired *v1.ServiceAccount) (*v1.ServiceAccount, error)

func ServiceMonitor

func ServiceMonitor(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