resourcemerge

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2018 License: Apache-2.0 Imports: 8 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 EnsureAPIServiceDefinition

func EnsureAPIServiceDefinition(modified *bool, existing *apiregistrationv1beta1.APIService, required apiregistrationv1beta1.APIService)

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

func EnsureCluster

func EnsureCluster(modified *bool, existing *clusterv1.Cluster, required *clusterv1.Cluster)

EnsureCluster ensures that the existing matches the required. We don't wanna implement this for now as we only deploy the cluster object because it's currenlty required by the actuator interface. see https://github.com/kubernetes-sigs/cluster-api/issues/490

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

func EnsureMachineSet(modified *bool, existing *clusterv1.MachineSet, required *clusterv1.MachineSet)

EnsureMachineSet 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