reconciling

package
v2.21.9 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

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(oldPodSpec, newPodSpec corev1.PodSpec) (corev1.PodSpec, error)

DefaultPodSpec defaults all Container attributes to the same values as they would get from the Kubernetes API. In addition, it sets default PodSpec values that KKP requires in all workloads, for example appropriate security settings. The following KKP-specific defaults are applied: - SecurityContext.SeccompProfile is set to be of type `RuntimeDefault` to enable seccomp isolation if not set.

func EnsureNamedObject

func EnsureNamedObject(ctx context.Context, namespacedName types.NamespacedName, rawcreate ObjectCreator, client ctrlruntimeclient.Client, emptyObject ctrlruntimeclient.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 ReconcileAppsKubermaticV1ApplicationDefinitions added in v2.21.0

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

ReconcileAppsKubermaticV1ApplicationDefinitions will create and update the AppsKubermaticV1ApplicationDefinitions coming from the passed AppsKubermaticV1ApplicationDefinitionCreator slice

func ReconcileCDIv1beta1DataVolumes added in v2.21.0

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

ReconcileCDIv1beta1DataVolumes will create and update the CDIv1beta1DataVolumes coming from the passed CDIv1beta1DataVolumeCreator 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 ReconcileConstraintTemplates added in v2.16.3

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

ReconcileConstraintTemplates will create and update the ConstraintTemplates coming from the passed ConstraintTemplateCreator 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 ReconcileEndpointSlices added in v2.21.0

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

ReconcileEndpointSlices will create and update the EndpointSlices coming from the passed EndpointSliceCreator slice

func ReconcileEndpoints added in v2.21.0

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

ReconcileEndpoints will create and update the Endpoints coming from the passed EndpointsCreator slice

func ReconcileEtcdBackupConfigs added in v2.17.0

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

ReconcileEtcdBackupConfigs will create and update the EtcdBackupConfigs coming from the passed EtcdBackupConfigCreator 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 ReconcileKubeVirtV1VirtualMachineInstancePresets added in v2.21.0

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

ReconcileKubeVirtV1VirtualMachineInstancePresets will create and update the KubeVirtV1VirtualMachineInstancePresets coming from the passed KubeVirtV1VirtualMachineInstancePresetCreator slice

func ReconcileKubermaticConfigurations added in v2.18.0

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

ReconcileKubermaticConfigurations will create and update the KubermaticConfigurations coming from the passed KubermaticConfigurationCreator slice

func ReconcileKubermaticV1AddonConfigs added in v2.21.0

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

ReconcileKubermaticV1AddonConfigs will create and update the KubermaticV1AddonConfigs coming from the passed KubermaticV1AddonConfigCreator slice

func ReconcileKubermaticV1Addons added in v2.21.0

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

ReconcileKubermaticV1Addons will create and update the KubermaticV1Addons coming from the passed KubermaticV1AddonCreator slice

func ReconcileKubermaticV1ClusterTemplates added in v2.18.0

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

ReconcileKubermaticV1ClusterTemplates will create and update the KubermaticV1ClusterTemplates coming from the passed KubermaticV1ClusterTemplateCreator slice

func ReconcileKubermaticV1ConstraintTemplates added in v2.16.3

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

ReconcileKubermaticV1ConstraintTemplates will create and update the KubermaticV1ConstraintTemplates coming from the passed KubermaticV1ConstraintTemplateCreator slice

func ReconcileKubermaticV1Constraints added in v2.18.0

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

ReconcileKubermaticV1Constraints will create and update the KubermaticV1Constraints coming from the passed KubermaticV1ConstraintCreator slice

func ReconcileKubermaticV1GroupProjectBindings added in v2.21.0

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

ReconcileKubermaticV1GroupProjectBindings will create and update the KubermaticV1GroupProjectBindings coming from the passed KubermaticV1GroupProjectBindingCreator slice

func ReconcileKubermaticV1Presets added in v2.21.0

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

ReconcileKubermaticV1Presets will create and update the KubermaticV1Presets coming from the passed KubermaticV1PresetCreator slice

func ReconcileKubermaticV1Projects added in v2.16.7

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

ReconcileKubermaticV1Projects will create and update the KubermaticV1Projects coming from the passed KubermaticV1ProjectCreator slice

func ReconcileKubermaticV1ResourceQuotas added in v2.21.0

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

ReconcileKubermaticV1ResourceQuotas will create and update the KubermaticV1ResourceQuotas coming from the passed KubermaticV1ResourceQuotaCreator slice

func ReconcileKubermaticV1RuleGroups added in v2.19.0

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

ReconcileKubermaticV1RuleGroups will create and update the KubermaticV1RuleGroups coming from the passed KubermaticV1RuleGroupCreator slice

func ReconcileKubermaticV1UserProjectBindings added in v2.17.0

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

ReconcileKubermaticV1UserProjectBindings will create and update the KubermaticV1UserProjectBindings coming from the passed KubermaticV1UserProjectBindingCreator slice

func ReconcileKubermaticV1UserSSHKeys added in v2.21.0

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

ReconcileKubermaticV1UserSSHKeys will create and update the KubermaticV1UserSSHKeys coming from the passed KubermaticV1UserSSHKeyCreator slice

func ReconcileKubermaticV1Users added in v2.18.0

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

ReconcileKubermaticV1Users will create and update the KubermaticV1Users coming from the passed KubermaticV1UserCreator 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 ReconcileNetworkPolicies added in v2.17.4

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

ReconcileNetworkPolicies will create and update the NetworkPolicies coming from the passed NetworkPolicyCreator slice

func ReconcileOperatingSystemProfiles added in v2.21.0

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

ReconcileOperatingSystemProfiles will create and update the OperatingSystemProfiles coming from the passed OperatingSystemProfileCreator 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

func WaitUntilObjectExistsInCacheConditionFunc added in v2.21.0

func WaitUntilObjectExistsInCacheConditionFunc(
	ctx context.Context,
	client ctrlruntimeclient.Client,
	log *zap.SugaredLogger,
	namespacedName types.NamespacedName,
	obj ctrlruntimeclient.Object,
) wait.ConditionFunc

Types

type APIServiceCreator

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

APIServiceCreator defines an interface to create/update APIServices

type AppsKubermaticV1ApplicationDefinitionCreator added in v2.21.0

type AppsKubermaticV1ApplicationDefinitionCreator = func(existing *appskubermaticv1.ApplicationDefinition) (*appskubermaticv1.ApplicationDefinition, error)

AppsKubermaticV1ApplicationDefinitionCreator defines an interface to create/update ApplicationDefinitions

type CDIv1beta1DataVolumeCreator added in v2.21.0

type CDIv1beta1DataVolumeCreator = func(existing *cdiv1beta1.DataVolume) (*cdiv1beta1.DataVolume, error)

CDIv1beta1DataVolumeCreator defines an interface to create/update DataVolumes

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 ConstraintTemplateCreator added in v2.16.3

type ConstraintTemplateCreator = func(existing *gatekeeperv1.ConstraintTemplate) (*gatekeeperv1.ConstraintTemplate, error)

ConstraintTemplateCreator defines an interface to create/update ConstraintTemplates

type CronJobCreator

type CronJobCreator = func(existing *batchv1.CronJob) (*batchv1.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. In addition, the CronJob's PodSpec template gets defaulted with KKP-specific values (see DefaultPodSpec for details).

type CustomResourceDefinitionCreator

type CustomResourceDefinitionCreator = func(existing *apiextensionsv1.CustomResourceDefinition) (*apiextensionsv1.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. In addition, the DaemonSet's PodSpec template gets defaulted with KKP-specific values (see DefaultPodSpec for details).

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. In addition, the Deployment's PodSpec template gets defaulted with KKP-specific values (see DefaultPodSpec for details).

type EndpointSliceCreator added in v2.21.0

type EndpointSliceCreator = func(existing *discovery.EndpointSlice) (*discovery.EndpointSlice, error)

EndpointSliceCreator defines an interface to create/update EndpointSlices

type EndpointsCreator added in v2.21.0

type EndpointsCreator = func(existing *corev1.Endpoints) (*corev1.Endpoints, error)

EndpointsCreator defines an interface to create/update Endpointss

type EtcdBackupConfigCreator added in v2.17.0

type EtcdBackupConfigCreator = func(existing *kubermaticv1.EtcdBackupConfig) (*kubermaticv1.EtcdBackupConfig, error)

EtcdBackupConfigCreator defines an interface to create/update EtcdBackupConfigs

type IngressCreator

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

IngressCreator defines an interface to create/update Ingresss

type KubeVirtV1VirtualMachineInstancePresetCreator added in v2.21.0

type KubeVirtV1VirtualMachineInstancePresetCreator = func(existing *kubevirtv1.VirtualMachineInstancePreset) (*kubevirtv1.VirtualMachineInstancePreset, error)

KubeVirtV1VirtualMachineInstancePresetCreator defines an interface to create/update VirtualMachineInstancePresets

type KubermaticConfigurationCreator added in v2.18.0

type KubermaticConfigurationCreator = func(existing *kubermaticv1.KubermaticConfiguration) (*kubermaticv1.KubermaticConfiguration, error)

KubermaticConfigurationCreator defines an interface to create/update KubermaticConfigurations

type KubermaticV1AddonConfigCreator added in v2.21.0

type KubermaticV1AddonConfigCreator = func(existing *kubermaticv1.AddonConfig) (*kubermaticv1.AddonConfig, error)

KubermaticV1AddonConfigCreator defines an interface to create/update AddonConfigs

type KubermaticV1AddonCreator added in v2.21.0

type KubermaticV1AddonCreator = func(existing *kubermaticv1.Addon) (*kubermaticv1.Addon, error)

KubermaticV1AddonCreator defines an interface to create/update Addons

type KubermaticV1ClusterTemplateCreator added in v2.18.0

type KubermaticV1ClusterTemplateCreator = func(existing *kubermaticv1.ClusterTemplate) (*kubermaticv1.ClusterTemplate, error)

KubermaticV1ClusterTemplateCreator defines an interface to create/update ClusterTemplates

type KubermaticV1ConstraintCreator added in v2.18.0

type KubermaticV1ConstraintCreator = func(existing *kubermaticv1.Constraint) (*kubermaticv1.Constraint, error)

KubermaticV1ConstraintCreator defines an interface to create/update Constraints

type KubermaticV1ConstraintTemplateCreator added in v2.16.3

type KubermaticV1ConstraintTemplateCreator = func(existing *kubermaticv1.ConstraintTemplate) (*kubermaticv1.ConstraintTemplate, error)

KubermaticV1ConstraintTemplateCreator defines an interface to create/update ConstraintTemplates

type KubermaticV1GroupProjectBindingCreator added in v2.21.0

type KubermaticV1GroupProjectBindingCreator = func(existing *kubermaticv1.GroupProjectBinding) (*kubermaticv1.GroupProjectBinding, error)

KubermaticV1GroupProjectBindingCreator defines an interface to create/update GroupProjectBindings

type KubermaticV1PresetCreator added in v2.21.0

type KubermaticV1PresetCreator = func(existing *kubermaticv1.Preset) (*kubermaticv1.Preset, error)

KubermaticV1PresetCreator defines an interface to create/update Presets

type KubermaticV1ProjectCreator added in v2.16.7

type KubermaticV1ProjectCreator = func(existing *kubermaticv1.Project) (*kubermaticv1.Project, error)

KubermaticV1ProjectCreator defines an interface to create/update Projects

type KubermaticV1ResourceQuotaCreator added in v2.21.0

type KubermaticV1ResourceQuotaCreator = func(existing *kubermaticv1.ResourceQuota) (*kubermaticv1.ResourceQuota, error)

KubermaticV1ResourceQuotaCreator defines an interface to create/update ResourceQuotas

type KubermaticV1RuleGroupCreator added in v2.19.0

type KubermaticV1RuleGroupCreator = func(existing *kubermaticv1.RuleGroup) (*kubermaticv1.RuleGroup, error)

KubermaticV1RuleGroupCreator defines an interface to create/update RuleGroups

type KubermaticV1UserCreator added in v2.18.0

type KubermaticV1UserCreator = func(existing *kubermaticv1.User) (*kubermaticv1.User, error)

KubermaticV1UserCreator defines an interface to create/update Users

type KubermaticV1UserProjectBindingCreator added in v2.17.0

type KubermaticV1UserProjectBindingCreator = func(existing *kubermaticv1.UserProjectBinding) (*kubermaticv1.UserProjectBinding, error)

KubermaticV1UserProjectBindingCreator defines an interface to create/update UserProjectBindings

type KubermaticV1UserSSHKeyCreator added in v2.21.0

type KubermaticV1UserSSHKeyCreator = func(existing *kubermaticv1.UserSSHKey) (*kubermaticv1.UserSSHKey, error)

KubermaticV1UserSSHKeyCreator defines an interface to create/update UserSSHKeys

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 NamedAppsKubermaticV1ApplicationDefinitionCreatorGetter added in v2.21.0

type NamedAppsKubermaticV1ApplicationDefinitionCreatorGetter = func() (name string, create AppsKubermaticV1ApplicationDefinitionCreator)

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

type NamedCDIv1beta1DataVolumeCreatorGetter added in v2.21.0

type NamedCDIv1beta1DataVolumeCreatorGetter = func() (name string, create CDIv1beta1DataVolumeCreator)

NamedCDIv1beta1DataVolumeCreatorGetter 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 NamedConstraintTemplateCreatorGetter added in v2.16.3

type NamedConstraintTemplateCreatorGetter = func() (name string, create ConstraintTemplateCreator)

NamedConstraintTemplateCreatorGetter 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 NamedEndpointSliceCreatorGetter added in v2.21.0

type NamedEndpointSliceCreatorGetter = func() (name string, create EndpointSliceCreator)

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

type NamedEndpointsCreatorGetter added in v2.21.0

type NamedEndpointsCreatorGetter = func() (name string, create EndpointsCreator)

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

type NamedEtcdBackupConfigCreatorGetter added in v2.17.0

type NamedEtcdBackupConfigCreatorGetter = func() (name string, create EtcdBackupConfigCreator)

NamedEtcdBackupConfigCreatorGetter 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 NamedKubeVirtV1VirtualMachineInstancePresetCreatorGetter added in v2.21.0

type NamedKubeVirtV1VirtualMachineInstancePresetCreatorGetter = func() (name string, create KubeVirtV1VirtualMachineInstancePresetCreator)

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

type NamedKubermaticConfigurationCreatorGetter added in v2.18.0

type NamedKubermaticConfigurationCreatorGetter = func() (name string, create KubermaticConfigurationCreator)

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

type NamedKubermaticV1AddonConfigCreatorGetter added in v2.21.0

type NamedKubermaticV1AddonConfigCreatorGetter = func() (name string, create KubermaticV1AddonConfigCreator)

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

type NamedKubermaticV1AddonCreatorGetter added in v2.21.0

type NamedKubermaticV1AddonCreatorGetter = func() (name string, create KubermaticV1AddonCreator)

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

type NamedKubermaticV1ClusterTemplateCreatorGetter added in v2.18.0

type NamedKubermaticV1ClusterTemplateCreatorGetter = func() (name string, create KubermaticV1ClusterTemplateCreator)

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

type NamedKubermaticV1ConstraintCreatorGetter added in v2.18.0

type NamedKubermaticV1ConstraintCreatorGetter = func() (name string, create KubermaticV1ConstraintCreator)

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

type NamedKubermaticV1ConstraintTemplateCreatorGetter added in v2.16.3

type NamedKubermaticV1ConstraintTemplateCreatorGetter = func() (name string, create KubermaticV1ConstraintTemplateCreator)

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

type NamedKubermaticV1GroupProjectBindingCreatorGetter added in v2.21.0

type NamedKubermaticV1GroupProjectBindingCreatorGetter = func() (name string, create KubermaticV1GroupProjectBindingCreator)

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

type NamedKubermaticV1PresetCreatorGetter added in v2.21.0

type NamedKubermaticV1PresetCreatorGetter = func() (name string, create KubermaticV1PresetCreator)

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

type NamedKubermaticV1ProjectCreatorGetter added in v2.16.7

type NamedKubermaticV1ProjectCreatorGetter = func() (name string, create KubermaticV1ProjectCreator)

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

type NamedKubermaticV1ResourceQuotaCreatorGetter added in v2.21.0

type NamedKubermaticV1ResourceQuotaCreatorGetter = func() (name string, create KubermaticV1ResourceQuotaCreator)

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

type NamedKubermaticV1RuleGroupCreatorGetter added in v2.19.0

type NamedKubermaticV1RuleGroupCreatorGetter = func() (name string, create KubermaticV1RuleGroupCreator)

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

type NamedKubermaticV1UserCreatorGetter added in v2.18.0

type NamedKubermaticV1UserCreatorGetter = func() (name string, create KubermaticV1UserCreator)

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

type NamedKubermaticV1UserProjectBindingCreatorGetter added in v2.17.0

type NamedKubermaticV1UserProjectBindingCreatorGetter = func() (name string, create KubermaticV1UserProjectBindingCreator)

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

type NamedKubermaticV1UserSSHKeyCreatorGetter added in v2.21.0

type NamedKubermaticV1UserSSHKeyCreatorGetter = func() (name string, create KubermaticV1UserSSHKeyCreator)

NamedKubermaticV1UserSSHKeyCreatorGetter 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 NamedNetworkPolicyCreatorGetter added in v2.17.4

type NamedNetworkPolicyCreatorGetter = func() (name string, create NetworkPolicyCreator)

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

type NamedOperatingSystemProfileCreatorGetter added in v2.21.0

type NamedOperatingSystemProfileCreatorGetter = func() (name string, create OperatingSystemProfileCreator)

NamedOperatingSystemProfileCreatorGetter 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 NetworkPolicyCreator added in v2.17.4

type NetworkPolicyCreator = func(existing *networkingv1.NetworkPolicy) (*networkingv1.NetworkPolicy, error)

NetworkPolicyCreator defines an interface to create/update NetworkPolicys

type ObjectCreator

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

ObjectCreator defines an interface to create/update a ctrlruntimeclient.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 AppsKubermaticV1ApplicationDefinitionObjectWrapper added in v2.21.0

func AppsKubermaticV1ApplicationDefinitionObjectWrapper(create AppsKubermaticV1ApplicationDefinitionCreator) ObjectCreator

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

func CDIv1beta1DataVolumeObjectWrapper added in v2.21.0

func CDIv1beta1DataVolumeObjectWrapper(create CDIv1beta1DataVolumeCreator) ObjectCreator

CDIv1beta1DataVolumeObjectWrapper adds a wrapper so the CDIv1beta1DataVolumeCreator 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 ConstraintTemplateObjectWrapper added in v2.16.3

func ConstraintTemplateObjectWrapper(create ConstraintTemplateCreator) ObjectCreator

ConstraintTemplateObjectWrapper adds a wrapper so the ConstraintTemplateCreator 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 EndpointSliceObjectWrapper added in v2.21.0

func EndpointSliceObjectWrapper(create EndpointSliceCreator) ObjectCreator

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

func EndpointsObjectWrapper added in v2.21.0

func EndpointsObjectWrapper(create EndpointsCreator) ObjectCreator

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

func EtcdBackupConfigObjectWrapper added in v2.17.0

func EtcdBackupConfigObjectWrapper(create EtcdBackupConfigCreator) ObjectCreator

EtcdBackupConfigObjectWrapper adds a wrapper so the EtcdBackupConfigCreator 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 KubeVirtV1VirtualMachineInstancePresetObjectWrapper added in v2.21.0

func KubeVirtV1VirtualMachineInstancePresetObjectWrapper(create KubeVirtV1VirtualMachineInstancePresetCreator) ObjectCreator

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

func KubermaticConfigurationObjectWrapper added in v2.18.0

func KubermaticConfigurationObjectWrapper(create KubermaticConfigurationCreator) ObjectCreator

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

func KubermaticV1AddonConfigObjectWrapper added in v2.21.0

func KubermaticV1AddonConfigObjectWrapper(create KubermaticV1AddonConfigCreator) ObjectCreator

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

func KubermaticV1AddonObjectWrapper added in v2.21.0

func KubermaticV1AddonObjectWrapper(create KubermaticV1AddonCreator) ObjectCreator

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

func KubermaticV1ClusterTemplateObjectWrapper added in v2.18.0

func KubermaticV1ClusterTemplateObjectWrapper(create KubermaticV1ClusterTemplateCreator) ObjectCreator

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

func KubermaticV1ConstraintObjectWrapper added in v2.18.0

func KubermaticV1ConstraintObjectWrapper(create KubermaticV1ConstraintCreator) ObjectCreator

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

func KubermaticV1ConstraintTemplateObjectWrapper added in v2.16.3

func KubermaticV1ConstraintTemplateObjectWrapper(create KubermaticV1ConstraintTemplateCreator) ObjectCreator

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

func KubermaticV1GroupProjectBindingObjectWrapper added in v2.21.0

func KubermaticV1GroupProjectBindingObjectWrapper(create KubermaticV1GroupProjectBindingCreator) ObjectCreator

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

func KubermaticV1PresetObjectWrapper added in v2.21.0

func KubermaticV1PresetObjectWrapper(create KubermaticV1PresetCreator) ObjectCreator

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

func KubermaticV1ProjectObjectWrapper added in v2.16.7

func KubermaticV1ProjectObjectWrapper(create KubermaticV1ProjectCreator) ObjectCreator

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

func KubermaticV1ResourceQuotaObjectWrapper added in v2.21.0

func KubermaticV1ResourceQuotaObjectWrapper(create KubermaticV1ResourceQuotaCreator) ObjectCreator

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

func KubermaticV1RuleGroupObjectWrapper added in v2.19.0

func KubermaticV1RuleGroupObjectWrapper(create KubermaticV1RuleGroupCreator) ObjectCreator

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

func KubermaticV1UserObjectWrapper added in v2.18.0

func KubermaticV1UserObjectWrapper(create KubermaticV1UserCreator) ObjectCreator

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

func KubermaticV1UserProjectBindingObjectWrapper added in v2.17.0

func KubermaticV1UserProjectBindingObjectWrapper(create KubermaticV1UserProjectBindingCreator) ObjectCreator

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

func KubermaticV1UserSSHKeyObjectWrapper added in v2.21.0

func KubermaticV1UserSSHKeyObjectWrapper(create KubermaticV1UserSSHKeyCreator) ObjectCreator

KubermaticV1UserSSHKeyObjectWrapper adds a wrapper so the KubermaticV1UserSSHKeyCreator 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 NetworkPolicyObjectWrapper added in v2.17.4

func NetworkPolicyObjectWrapper(create NetworkPolicyCreator) ObjectCreator

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

func OperatingSystemProfileObjectWrapper added in v2.21.0

func OperatingSystemProfileObjectWrapper(create OperatingSystemProfileCreator) ObjectCreator

OperatingSystemProfileObjectWrapper adds a wrapper so the OperatingSystemProfileCreator 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 ImagePullSecretsWrapper

func ImagePullSecretsWrapper(secretNames ...string) ObjectModifier

ImagePullSecretsWrapper is generating a new ObjectModifier that wraps an ObjectCreator and takes care of adding the secret names provided to the ImagePullSecrets.

TODO At the moment only Deployments are supported, but this can be extended to whatever Object carrying a PodSpec.

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 OperatingSystemProfileCreator added in v2.21.0

type OperatingSystemProfileCreator = func(existing *osmv1alpha1.OperatingSystemProfile) (*osmv1alpha1.OperatingSystemProfile, error)

OperatingSystemProfileCreator defines an interface to create/update OperatingSystemProfiles

type PodDisruptionBudgetCreator

type PodDisruptionBudgetCreator = func(existing *policyv1.PodDisruptionBudget) (*policyv1.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. In addition, the StatefulSet's PodSpec template gets defaulted with KKP-specific values (see DefaultPodSpec for details).

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 *autoscalingv1.VerticalPodAutoscaler) (*autoscalingv1.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