resourcemerge

package
v0.0.0-...-a45fa12 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAPIService

func EnsureAPIService(modified *bool, existing *apiregv1.APIService, required apiregv1.APIService)

EnsureAPIService ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureClusterOperatorStatus

func EnsureClusterOperatorStatus(modified *bool, existing *configv1.ClusterOperator, required configv1.ClusterOperator)

func EnsureClusterRole

func EnsureClusterRole(modified *bool, existing *rbacv1.ClusterRole, required rbacv1.ClusterRole)

EnsureClusterRole ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureClusterRoleBinding

func EnsureClusterRoleBinding(modified *bool, existing *rbacv1.ClusterRoleBinding, required rbacv1.ClusterRoleBinding)

EnsureClusterRoleBinding ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureClusterVersion

func EnsureClusterVersion(modified *bool, existing *configv1.ClusterVersion, required configv1.ClusterVersion)

func EnsureClusterVersionStatus

func EnsureClusterVersionStatus(modified *bool, existing *configv1.ClusterVersion, required configv1.ClusterVersion)

func EnsureConfigMap

func EnsureConfigMap(modified *bool, existing *corev1.ConfigMap, required corev1.ConfigMap)

EnsureConfigMap ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureCustomResourceDefinitionV1

func EnsureCustomResourceDefinitionV1(modified *bool, existing *apiextv1.CustomResourceDefinition, required apiextv1.CustomResourceDefinition)

EnsureCustomResourceDefinitionV1 ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureCustomResourceDefinitionV1beta1

func EnsureCustomResourceDefinitionV1beta1(modified *bool, existing *apiextv1beta1.CustomResourceDefinition, required apiextv1beta1.CustomResourceDefinition)

EnsureCustomResourceDefinitionV1beta1 ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureDaemonSet

func EnsureDaemonSet(modified *bool, existing *appsv1.DaemonSet, required appsv1.DaemonSet)

EnsureDaemonSet ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureDeployment

func EnsureDeployment(modified *bool, existing *appsv1.Deployment, required appsv1.Deployment)

EnsureDeployment ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureJob

func EnsureJob(modified *bool, existing *batchv1.Job, required batchv1.Job)

EnsureJob ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureObjectMeta

func EnsureObjectMeta(modified *bool, existing *metav1.ObjectMeta, required metav1.ObjectMeta)

EnsureObjectMeta ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureRole

func EnsureRole(modified *bool, existing *rbacv1.Role, required rbacv1.Role)

EnsureRole ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureRoleBinding

func EnsureRoleBinding(modified *bool, existing *rbacv1.RoleBinding, required rbacv1.RoleBinding)

EnsureRoleBinding ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureSecurityContextConstraints

func EnsureSecurityContextConstraints(modified *bool, existing *securityv1.SecurityContextConstraints, required securityv1.SecurityContextConstraints)

EnsureSecurityContextConstraints ensures that the existing matches the required. modified is set to true when existing had to be updated with required.

func EnsureServicePorts

func EnsureServicePorts(modified *bool, existing *[]corev1.ServicePort, required []corev1.ServicePort)

func IsOperatorStatusConditionFalse

func IsOperatorStatusConditionFalse(conditions []configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType) bool

func IsOperatorStatusConditionNotIn

func IsOperatorStatusConditionNotIn(conditions []configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType, status ...configv1.ConditionStatus) bool

func IsOperatorStatusConditionPresentAndEqual

func IsOperatorStatusConditionPresentAndEqual(conditions []configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType, status configv1.ConditionStatus) bool

func IsOperatorStatusConditionTrue

func IsOperatorStatusConditionTrue(conditions []configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType) bool

func RemoveOperatorStatusCondition

func RemoveOperatorStatusCondition(conditions *[]configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType)

func SetOperatorStatusCondition

func SetOperatorStatusCondition(conditions *[]configv1.ClusterOperatorStatusCondition, newCondition configv1.ClusterOperatorStatusCondition)

Types

This section is empty.

Jump to

Keyboard shortcuts

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