resourcemerge

package
v4.2.0-alpha.0+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(val bool) *bool

BoolPtr returns ptr to bool.

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 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 EnsureControllerConfig

func EnsureControllerConfig(modified *bool, existing *mcfgv1.ControllerConfig, required mcfgv1.ControllerConfig)

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

func EnsureCustomResourceDefinition

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

EnsureCustomResourceDefinition 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 EnsureMachineConfig

func EnsureMachineConfig(modified *bool, existing *mcfgv1.MachineConfig, required mcfgv1.MachineConfig)

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

func EnsureMachineConfigPool

func EnsureMachineConfigPool(modified *bool, existing *mcfgv1.MachineConfigPool, required mcfgv1.MachineConfigPool)

EnsureMachineConfigPool 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 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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