reconciling

package
v2.14.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 30 Imported by: 607

Documentation

Overview

This file is generated. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepEqual

func DeepEqual(a, b metav1.Object) bool

DeepEqual compares both objects for equality

func DefaultContainer

func DefaultContainer(c *corev1.Container, procMountType *corev1.ProcMountType)

DefaultContainer defaults all Container attributes to the same values as they would get from the Kubernetes API

func DefaultPodSpec

func DefaultPodSpec(old, new corev1.PodSpec) (corev1.PodSpec, error)

DefaultPodSpec defaults all Container attributes to the same values as they would get from the Kubernetes API

func EnsureNamedObject

func EnsureNamedObject(ctx context.Context, namespacedName types.NamespacedName, rawcreate ObjectCreator, client ctrlruntimeclient.Client, emptyObject runtime.Object, requiresRecreate bool) error

EnsureNamedObject will generate the Object with the passed create function & create or update it in Kubernetes if necessary.

func ReconcileAPIServices

func ReconcileAPIServices(ctx context.Context, namedGetters []NamedAPIServiceCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileAPIServices will create and update the APIServices coming from the passed APIServiceCreator slice

func ReconcileCertificates

func ReconcileCertificates(ctx context.Context, namedGetters []NamedCertificateCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileCertificates will create and update the Certificates coming from the passed CertificateCreator slice

func ReconcileClusterRoleBindings

func ReconcileClusterRoleBindings(ctx context.Context, namedGetters []NamedClusterRoleBindingCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileClusterRoleBindings will create and update the ClusterRoleBindings coming from the passed ClusterRoleBindingCreator slice

func ReconcileClusterRoles

func ReconcileClusterRoles(ctx context.Context, namedGetters []NamedClusterRoleCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileClusterRoles will create and update the ClusterRoles coming from the passed ClusterRoleCreator slice

func ReconcileConfigMaps

func ReconcileConfigMaps(ctx context.Context, namedGetters []NamedConfigMapCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileConfigMaps will create and update the ConfigMaps coming from the passed ConfigMapCreator slice

func ReconcileCronJobs

func ReconcileCronJobs(ctx context.Context, namedGetters []NamedCronJobCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileCronJobs will create and update the CronJobs coming from the passed CronJobCreator slice

func ReconcileCustomResourceDefinitions

func ReconcileCustomResourceDefinitions(ctx context.Context, namedGetters []NamedCustomResourceDefinitionCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileCustomResourceDefinitions will create and update the CustomResourceDefinitions coming from the passed CustomResourceDefinitionCreator slice

func ReconcileDaemonSets

func ReconcileDaemonSets(ctx context.Context, namedGetters []NamedDaemonSetCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileDaemonSets will create and update the DaemonSets coming from the passed DaemonSetCreator slice

func ReconcileDeployments

func ReconcileDeployments(ctx context.Context, namedGetters []NamedDeploymentCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileDeployments will create and update the Deployments coming from the passed DeploymentCreator slice

func ReconcileIngresses

func ReconcileIngresses(ctx context.Context, namedGetters []NamedIngressCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileIngresses will create and update the Ingresses coming from the passed IngressCreator slice

func ReconcileMutatingWebhookConfigurations

func ReconcileMutatingWebhookConfigurations(ctx context.Context, namedGetters []NamedMutatingWebhookConfigurationCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileMutatingWebhookConfigurations will create and update the MutatingWebhookConfigurations coming from the passed MutatingWebhookConfigurationCreator slice

func ReconcileNamespaces

func ReconcileNamespaces(ctx context.Context, namedGetters []NamedNamespaceCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileNamespaces will create and update the Namespaces coming from the passed NamespaceCreator slice

func ReconcilePodDisruptionBudgets

func ReconcilePodDisruptionBudgets(ctx context.Context, namedGetters []NamedPodDisruptionBudgetCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcilePodDisruptionBudgets will create and update the PodDisruptionBudgets coming from the passed PodDisruptionBudgetCreator slice

func ReconcileRoleBindings

func ReconcileRoleBindings(ctx context.Context, namedGetters []NamedRoleBindingCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileRoleBindings will create and update the RoleBindings coming from the passed RoleBindingCreator slice

func ReconcileRoles

func ReconcileRoles(ctx context.Context, namedGetters []NamedRoleCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileRoles will create and update the Roles coming from the passed RoleCreator slice

func ReconcileSecrets

func ReconcileSecrets(ctx context.Context, namedGetters []NamedSecretCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileSecrets will create and update the Secrets coming from the passed SecretCreator slice

func ReconcileSeeds

func ReconcileSeeds(ctx context.Context, namedGetters []NamedSeedCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileSeeds will create and update the Seeds coming from the passed SeedCreator slice

func ReconcileServiceAccounts

func ReconcileServiceAccounts(ctx context.Context, namedGetters []NamedServiceAccountCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileServiceAccounts will create and update the ServiceAccounts coming from the passed ServiceAccountCreator slice

func ReconcileServices

func ReconcileServices(ctx context.Context, namedGetters []NamedServiceCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileServices will create and update the Services coming from the passed ServiceCreator slice

func ReconcileStatefulSets

func ReconcileStatefulSets(ctx context.Context, namedGetters []NamedStatefulSetCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileStatefulSets will create and update the StatefulSets coming from the passed StatefulSetCreator slice

func ReconcileUnstructureds

func ReconcileUnstructureds(ctx context.Context, namedGetters []NamedUnstructuredCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileUnstructureds will create and update the Unstructureds coming from the passed UnstructuredCreator slice

func ReconcileValidatingWebhookConfigurations

func ReconcileValidatingWebhookConfigurations(ctx context.Context, namedGetters []NamedValidatingWebhookConfigurationCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileValidatingWebhookConfigurations will create and update the ValidatingWebhookConfigurations coming from the passed ValidatingWebhookConfigurationCreator slice

func ReconcileVerticalPodAutoscalers

func ReconcileVerticalPodAutoscalers(ctx context.Context, namedGetters []NamedVerticalPodAutoscalerCreatorGetter, namespace string, client ctrlruntimeclient.Client, objectModifiers ...ObjectModifier) error

ReconcileVerticalPodAutoscalers will create and update the VerticalPodAutoscalers coming from the passed VerticalPodAutoscalerCreator slice

Types

type APIServiceCreator

type APIServiceCreator = func(existing *apiregistrationv1beta1.APIService) (*apiregistrationv1beta1.APIService, error)

APIServiceCreator defines an interface to create/update APIServices

type CertificateCreator

type CertificateCreator = func(existing *certmanagerv1alpha2.Certificate) (*certmanagerv1alpha2.Certificate, error)

CertificateCreator defines an interface to create/update Certificates

type ClusterRoleBindingCreator

type ClusterRoleBindingCreator = func(existing *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error)

ClusterRoleBindingCreator defines an interface to create/update ClusterRoleBindings

type ClusterRoleCreator

type ClusterRoleCreator = func(existing *rbacv1.ClusterRole) (*rbacv1.ClusterRole, error)

ClusterRoleCreator defines an interface to create/update ClusterRoles

type ConfigMapCreator

type ConfigMapCreator = func(existing *corev1.ConfigMap) (*corev1.ConfigMap, error)

ConfigMapCreator defines an interface to create/update ConfigMaps

type CronJobCreator

type CronJobCreator = func(existing *batchv1beta1.CronJob) (*batchv1beta1.CronJob, error)

CronJobCreator defines an interface to create/update CronJobs

func DefaultCronJob

func DefaultCronJob(creator CronJobCreator) CronJobCreator

DefaultCronJob defaults all CronJob attributes to the same values as they would get from the Kubernetes API

type CustomResourceDefinitionCreator

type CustomResourceDefinitionCreator = func(existing *apiextensionsv1beta1.CustomResourceDefinition) (*apiextensionsv1beta1.CustomResourceDefinition, error)

CustomResourceDefinitionCreator defines an interface to create/update CustomResourceDefinitions

type DaemonSetCreator

type DaemonSetCreator = func(existing *appsv1.DaemonSet) (*appsv1.DaemonSet, error)

DaemonSetCreator defines an interface to create/update DaemonSets

func DefaultDaemonSet

func DefaultDaemonSet(creator DaemonSetCreator) DaemonSetCreator

DefaultDaemonSet defaults all DaemonSet attributes to the same values as they would get from the Kubernetes API

type DeploymentCreator

type DeploymentCreator = func(existing *appsv1.Deployment) (*appsv1.Deployment, error)

DeploymentCreator defines an interface to create/update Deployments

func DefaultDeployment

func DefaultDeployment(creator DeploymentCreator) DeploymentCreator

DefaultDeployment defaults all Deployment attributes to the same values as they would get from the Kubernetes API

type IngressCreator

type IngressCreator = func(existing *extensionsv1beta1.Ingress) (*extensionsv1beta1.Ingress, error)

IngressCreator defines an interface to create/update Ingresss

type MutatingWebhookConfigurationCreator

MutatingWebhookConfigurationCreator defines an interface to create/update MutatingWebhookConfigurations

type NamedAPIServiceCreatorGetter

type NamedAPIServiceCreatorGetter = func() (name string, create APIServiceCreator)

NamedAPIServiceCreatorGetter returns the name of the resource and the corresponding creator function

type NamedCertificateCreatorGetter

type NamedCertificateCreatorGetter = func() (name string, create CertificateCreator)

NamedCertificateCreatorGetter returns the name of the resource and the corresponding creator function

type NamedClusterRoleBindingCreatorGetter

type NamedClusterRoleBindingCreatorGetter = func() (name string, create ClusterRoleBindingCreator)

NamedClusterRoleBindingCreatorGetter returns the name of the resource and the corresponding creator function

type NamedClusterRoleCreatorGetter

type NamedClusterRoleCreatorGetter = func() (name string, create ClusterRoleCreator)

NamedClusterRoleCreatorGetter returns the name of the resource and the corresponding creator function

type NamedConfigMapCreatorGetter

type NamedConfigMapCreatorGetter = func() (name string, create ConfigMapCreator)

NamedConfigMapCreatorGetter returns the name of the resource and the corresponding creator function

type NamedCronJobCreatorGetter

type NamedCronJobCreatorGetter = func() (name string, create CronJobCreator)

NamedCronJobCreatorGetter returns the name of the resource and the corresponding creator function

type NamedCustomResourceDefinitionCreatorGetter

type NamedCustomResourceDefinitionCreatorGetter = func() (name string, create CustomResourceDefinitionCreator)

NamedCustomResourceDefinitionCreatorGetter returns the name of the resource and the corresponding creator function

type NamedDaemonSetCreatorGetter

type NamedDaemonSetCreatorGetter = func() (name string, create DaemonSetCreator)

NamedDaemonSetCreatorGetter returns the name of the resource and the corresponding creator function

type NamedDeploymentCreatorGetter

type NamedDeploymentCreatorGetter = func() (name string, create DeploymentCreator)

NamedDeploymentCreatorGetter returns the name of the resource and the corresponding creator function

type NamedIngressCreatorGetter

type NamedIngressCreatorGetter = func() (name string, create IngressCreator)

NamedIngressCreatorGetter returns the name of the resource and the corresponding creator function

type NamedMutatingWebhookConfigurationCreatorGetter

type NamedMutatingWebhookConfigurationCreatorGetter = func() (name string, create MutatingWebhookConfigurationCreator)

NamedMutatingWebhookConfigurationCreatorGetter returns the name of the resource and the corresponding creator function

type NamedNamespaceCreatorGetter

type NamedNamespaceCreatorGetter = func() (name string, create NamespaceCreator)

NamedNamespaceCreatorGetter returns the name of the resource and the corresponding creator function

type NamedPodDisruptionBudgetCreatorGetter

type NamedPodDisruptionBudgetCreatorGetter = func() (name string, create PodDisruptionBudgetCreator)

NamedPodDisruptionBudgetCreatorGetter returns the name of the resource and the corresponding creator function

type NamedRoleBindingCreatorGetter

type NamedRoleBindingCreatorGetter = func() (name string, create RoleBindingCreator)

NamedRoleBindingCreatorGetter returns the name of the resource and the corresponding creator function

type NamedRoleCreatorGetter

type NamedRoleCreatorGetter = func() (name string, create RoleCreator)

NamedRoleCreatorGetter returns the name of the resource and the corresponding creator function

type NamedSecretCreatorGetter

type NamedSecretCreatorGetter = func() (name string, create SecretCreator)

NamedSecretCreatorGetter returns the name of the resource and the corresponding creator function

type NamedSeedCreatorGetter

type NamedSeedCreatorGetter = func() (name string, create SeedCreator)

NamedSeedCreatorGetter returns the name of the resource and the corresponding creator function

type NamedServiceAccountCreatorGetter

type NamedServiceAccountCreatorGetter = func() (name string, create ServiceAccountCreator)

NamedServiceAccountCreatorGetter returns the name of the resource and the corresponding creator function

type NamedServiceCreatorGetter

type NamedServiceCreatorGetter = func() (name string, create ServiceCreator)

NamedServiceCreatorGetter returns the name of the resource and the corresponding creator function

type NamedStatefulSetCreatorGetter

type NamedStatefulSetCreatorGetter = func() (name string, create StatefulSetCreator)

NamedStatefulSetCreatorGetter returns the name of the resource and the corresponding creator function

type NamedUnstructuredCreatorGetter

type NamedUnstructuredCreatorGetter = func() (name, kind, apiVersion string, create UnstructuredCreator)

NamedUnstructuredCreatorGetter returns the name of the resource and the corresponding creator function

type NamedValidatingWebhookConfigurationCreatorGetter

type NamedValidatingWebhookConfigurationCreatorGetter = func() (name string, create ValidatingWebhookConfigurationCreator)

NamedValidatingWebhookConfigurationCreatorGetter returns the name of the resource and the corresponding creator function

type NamedVerticalPodAutoscalerCreatorGetter

type NamedVerticalPodAutoscalerCreatorGetter = func() (name string, create VerticalPodAutoscalerCreator)

NamedVerticalPodAutoscalerCreatorGetter returns the name of the resource and the corresponding creator function

type NamespaceCreator

type NamespaceCreator = func(existing *corev1.Namespace) (*corev1.Namespace, error)

NamespaceCreator defines an interface to create/update Namespaces

type ObjectCreator

type ObjectCreator = func(existing runtime.Object) (runtime.Object, error)

ObjectCreator defines an interface to create/update a runtime.Object

func APIServiceObjectWrapper

func APIServiceObjectWrapper(create APIServiceCreator) ObjectCreator

APIServiceObjectWrapper adds a wrapper so the APIServiceCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func CertificateObjectWrapper

func CertificateObjectWrapper(create CertificateCreator) ObjectCreator

CertificateObjectWrapper adds a wrapper so the CertificateCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ClusterRoleBindingObjectWrapper

func ClusterRoleBindingObjectWrapper(create ClusterRoleBindingCreator) ObjectCreator

ClusterRoleBindingObjectWrapper adds a wrapper so the ClusterRoleBindingCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ClusterRoleObjectWrapper

func ClusterRoleObjectWrapper(create ClusterRoleCreator) ObjectCreator

ClusterRoleObjectWrapper adds a wrapper so the ClusterRoleCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ConfigMapObjectWrapper

func ConfigMapObjectWrapper(create ConfigMapCreator) ObjectCreator

ConfigMapObjectWrapper adds a wrapper so the ConfigMapCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func CronJobObjectWrapper

func CronJobObjectWrapper(create CronJobCreator) ObjectCreator

CronJobObjectWrapper adds a wrapper so the CronJobCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func CustomResourceDefinitionObjectWrapper

func CustomResourceDefinitionObjectWrapper(create CustomResourceDefinitionCreator) ObjectCreator

CustomResourceDefinitionObjectWrapper adds a wrapper so the CustomResourceDefinitionCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func DaemonSetObjectWrapper

func DaemonSetObjectWrapper(create DaemonSetCreator) ObjectCreator

DaemonSetObjectWrapper adds a wrapper so the DaemonSetCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func DeploymentObjectWrapper

func DeploymentObjectWrapper(create DeploymentCreator) ObjectCreator

DeploymentObjectWrapper adds a wrapper so the DeploymentCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func IngressObjectWrapper

func IngressObjectWrapper(create IngressCreator) ObjectCreator

IngressObjectWrapper adds a wrapper so the IngressCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func MutatingWebhookConfigurationObjectWrapper

func MutatingWebhookConfigurationObjectWrapper(create MutatingWebhookConfigurationCreator) ObjectCreator

MutatingWebhookConfigurationObjectWrapper adds a wrapper so the MutatingWebhookConfigurationCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func NamespaceObjectWrapper

func NamespaceObjectWrapper(create NamespaceCreator) ObjectCreator

NamespaceObjectWrapper adds a wrapper so the NamespaceCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func PodDisruptionBudgetObjectWrapper

func PodDisruptionBudgetObjectWrapper(create PodDisruptionBudgetCreator) ObjectCreator

PodDisruptionBudgetObjectWrapper adds a wrapper so the PodDisruptionBudgetCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func RoleBindingObjectWrapper

func RoleBindingObjectWrapper(create RoleBindingCreator) ObjectCreator

RoleBindingObjectWrapper adds a wrapper so the RoleBindingCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func RoleObjectWrapper

func RoleObjectWrapper(create RoleCreator) ObjectCreator

RoleObjectWrapper adds a wrapper so the RoleCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func SecretObjectWrapper

func SecretObjectWrapper(create SecretCreator) ObjectCreator

SecretObjectWrapper adds a wrapper so the SecretCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func SeedObjectWrapper

func SeedObjectWrapper(create SeedCreator) ObjectCreator

SeedObjectWrapper adds a wrapper so the SeedCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ServiceAccountObjectWrapper

func ServiceAccountObjectWrapper(create ServiceAccountCreator) ObjectCreator

ServiceAccountObjectWrapper adds a wrapper so the ServiceAccountCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ServiceObjectWrapper

func ServiceObjectWrapper(create ServiceCreator) ObjectCreator

ServiceObjectWrapper adds a wrapper so the ServiceCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func StatefulSetObjectWrapper

func StatefulSetObjectWrapper(create StatefulSetCreator) ObjectCreator

StatefulSetObjectWrapper adds a wrapper so the StatefulSetCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func UnstructuredObjectWrapper

func UnstructuredObjectWrapper(create UnstructuredCreator, emptyObject *unstructured.Unstructured) ObjectCreator

UnstructuredObjectWrapper adds a wrapper so the UnstructuredCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func ValidatingWebhookConfigurationObjectWrapper

func ValidatingWebhookConfigurationObjectWrapper(create ValidatingWebhookConfigurationCreator) ObjectCreator

ValidatingWebhookConfigurationObjectWrapper adds a wrapper so the ValidatingWebhookConfigurationCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

func VerticalPodAutoscalerObjectWrapper

func VerticalPodAutoscalerObjectWrapper(create VerticalPodAutoscalerCreator) ObjectCreator

VerticalPodAutoscalerObjectWrapper adds a wrapper so the VerticalPodAutoscalerCreator matches ObjectCreator. This is needed as Go does not support function interface matching.

type ObjectModifier

type ObjectModifier func(create ObjectCreator) ObjectCreator

ObjectModifier is a wrapper function which modifies the object which gets returned by the passed in ObjectCreator

func OwnerRefWrapper

func OwnerRefWrapper(ref metav1.OwnerReference) ObjectModifier

OwnerRefWrapper is responsible for wrapping a ObjectCreator function, solely to set the OwnerReference to the cluster object

type PodDisruptionBudgetCreator

type PodDisruptionBudgetCreator = func(existing *policyv1beta1.PodDisruptionBudget) (*policyv1beta1.PodDisruptionBudget, error)

PodDisruptionBudgetCreator defines an interface to create/update PodDisruptionBudgets

type RoleBindingCreator

type RoleBindingCreator = func(existing *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error)

RoleBindingCreator defines an interface to create/update RoleBindings

type RoleCreator

type RoleCreator = func(existing *rbacv1.Role) (*rbacv1.Role, error)

RoleCreator defines an interface to create/update Roles

type SecretCreator

type SecretCreator = func(existing *corev1.Secret) (*corev1.Secret, error)

SecretCreator defines an interface to create/update Secrets

type SeedCreator

type SeedCreator = func(existing *kubermaticv1.Seed) (*kubermaticv1.Seed, error)

SeedCreator defines an interface to create/update Seeds

type ServiceAccountCreator

type ServiceAccountCreator = func(existing *corev1.ServiceAccount) (*corev1.ServiceAccount, error)

ServiceAccountCreator defines an interface to create/update ServiceAccounts

type ServiceCreator

type ServiceCreator = func(existing *corev1.Service) (*corev1.Service, error)

ServiceCreator defines an interface to create/update Services

type StatefulSetCreator

type StatefulSetCreator = func(existing *appsv1.StatefulSet) (*appsv1.StatefulSet, error)

StatefulSetCreator defines an interface to create/update StatefulSets

func DefaultStatefulSet

func DefaultStatefulSet(creator StatefulSetCreator) StatefulSetCreator

DefaultStatefulSet defaults all StatefulSet attributes to the same values as they would get from the Kubernetes API

type UnstructuredCreator

type UnstructuredCreator = func(existing *unstructured.Unstructured) (*unstructured.Unstructured, error)

UnstructuredCreator defines an interface to create/update Unstructureds

type ValidatingWebhookConfigurationCreator

ValidatingWebhookConfigurationCreator defines an interface to create/update ValidatingWebhookConfigurations

type VerticalPodAutoscalerCreator

type VerticalPodAutoscalerCreator = func(existing *autoscalingv1beta2.VerticalPodAutoscaler) (*autoscalingv1beta2.VerticalPodAutoscaler, error)

VerticalPodAutoscalerCreator defines an interface to create/update VerticalPodAutoscalers

Jump to

Keyboard shortcuts

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