Versions in this module Expand all Collapse all v0 v0.0.1 Apr 14, 2023 Changes in this version + func CreateIfNotExistsConfigMap(ctx context.Context, c client.Client, desired *corev1.ConfigMap) error + func CreateOrUpdateClusterRole(ctx context.Context, c client.Client, desired *rbacv1.ClusterRole) error + func CreateOrUpdateClusterRoleBinding(ctx context.Context, c client.Client, desired *rbacv1.ClusterRoleBinding) error + func CreateOrUpdateConfigMap(ctx context.Context, c client.Client, desired *corev1.ConfigMap) error + func CreateOrUpdateDaemonSet(ctx context.Context, c client.Client, desired *appsv1.DaemonSet) error + func CreateOrUpdateDeployment(ctx context.Context, c client.Client, desired *appsv1.Deployment) error + func CreateOrUpdateSecret(ctx context.Context, c client.Client, desired *corev1.Secret) error + func CreateOrUpdateService(ctx context.Context, c client.Client, desired *corev1.Service) error + func CreateOrUpdateServiceAccount(ctx context.Context, c client.Client, desired *corev1.ServiceAccount) error + func CreateOrUpdateValidatingWebhookConfiguration(ctx context.Context, c client.Client, ...) error + func GetOrCreateConfigMap(ctx context.Context, c client.Client, name types.NamespacedName) (corev1.ConfigMap, error) + func GetOrCreateSecret(ctx context.Context, c client.Client, name types.NamespacedName) (corev1.Secret, error) + type ConfigmapProber struct + func (cmp *ConfigmapProber) ReadConfigMapOrEmpty(ctx context.Context, name types.NamespacedName) (string, error) + type DaemonSetAnnotator struct + func (dsa *DaemonSetAnnotator) SetAnnotation(ctx context.Context, name types.NamespacedName, key, value string) error + type DaemonSetProber struct + func (dsp *DaemonSetProber) IsReady(ctx context.Context, name types.NamespacedName) (bool, error) + type DeploymentProber struct + func (dp *DeploymentProber) IsReady(ctx context.Context, name types.NamespacedName) (bool, error) + type ResourceCountLock struct + func NewResourceCountLock(client client.Client, lockName types.NamespacedName, maxOwners int) *ResourceCountLock + func (l *ResourceCountLock) TryAcquireLock(ctx context.Context, owner metav1.Object) error