Documentation
¶
Index ¶
- func EnsureAPIService(modified *bool, existing *apiregv1.APIService, required apiregv1.APIService)
- func EnsureClusterOperatorStatus(modified *bool, existing *configv1.ClusterOperator, ...)
- func EnsureClusterRole(modified *bool, existing *rbacv1.ClusterRole, required rbacv1.ClusterRole)
- func EnsureClusterRoleBinding(modified *bool, existing *rbacv1.ClusterRoleBinding, ...)
- func EnsureClusterVersion(modified *bool, existing *configv1.ClusterVersion, ...)
- func EnsureClusterVersionStatus(modified *bool, existing *configv1.ClusterVersion, ...)
- func EnsureConfigMap(modified *bool, existing *corev1.ConfigMap, required corev1.ConfigMap)
- func EnsureCustomResourceDefinitionV1(modified *bool, existing *apiextv1.CustomResourceDefinition, ...)
- func EnsureCustomResourceDefinitionV1beta1(modified *bool, existing *apiextv1beta1.CustomResourceDefinition, ...)
- func EnsureDaemonSet(modified *bool, existing *appsv1.DaemonSet, required appsv1.DaemonSet)
- func EnsureDeployment(modified *bool, existing *appsv1.Deployment, required appsv1.Deployment)
- func EnsureJob(modified *bool, existing *batchv1.Job, required batchv1.Job)
- func EnsureObjectMeta(modified *bool, existing *metav1.ObjectMeta, required metav1.ObjectMeta)
- func EnsureRole(modified *bool, existing *rbacv1.Role, required rbacv1.Role)
- func EnsureRoleBinding(modified *bool, existing *rbacv1.RoleBinding, required rbacv1.RoleBinding)
- func EnsureSecurityContextConstraints(modified *bool, existing *securityv1.SecurityContextConstraints, ...)
- func EnsureServicePorts(modified *bool, existing *[]corev1.ServicePort, required []corev1.ServicePort)
- func FindOperatorStatusCondition(conditions []configv1.ClusterOperatorStatusCondition, ...) *configv1.ClusterOperatorStatusCondition
- func IsOperatorStatusConditionFalse(conditions []configv1.ClusterOperatorStatusCondition, ...) bool
- func IsOperatorStatusConditionNotIn(conditions []configv1.ClusterOperatorStatusCondition, ...) bool
- func IsOperatorStatusConditionPresentAndEqual(conditions []configv1.ClusterOperatorStatusCondition, ...) bool
- func IsOperatorStatusConditionTrue(conditions []configv1.ClusterOperatorStatusCondition, ...) bool
- func RemoveOperatorStatusCondition(conditions *[]configv1.ClusterOperatorStatusCondition, ...)
- func SetOperatorStatusCondition(conditions *[]configv1.ClusterOperatorStatusCondition, ...)
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 ¶
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 ¶
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 ¶
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 ¶
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 FindOperatorStatusCondition ¶
func FindOperatorStatusCondition(conditions []configv1.ClusterOperatorStatusCondition, conditionType configv1.ClusterStatusConditionType) *configv1.ClusterOperatorStatusCondition
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.