resourceapply

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAPIServiceDefinition

ApplyAPIServiceDefinition applies the required CustomResourceDefinition to the cluster.

func ApplyCluster

func ApplyCluster(client clientset.Interface, required *clusterv1alpha.Cluster) (*clusterv1alpha.Cluster, bool, error)

ApplyCluster applies the required cluster object to the cluster.

func ApplyClusterRole

func ApplyClusterRole(client rbacclientv1.ClusterRolesGetter, required *rbacv1.ClusterRole) (*rbacv1.ClusterRole, bool, error)

ApplyClusterRole applies the required clusterrole to the cluster.

func ApplyClusterRoleBinding

ApplyClusterRoleBinding applies the required clusterrolebinding to the cluster.

func ApplyCustomResourceDefinition

ApplyCustomResourceDefinition applies the required CustomResourceDefinition to the cluster.

func ApplyDaemonSet

func ApplyDaemonSet(client appsclientv1.DaemonSetsGetter, required *appsv1.DaemonSet) (*appsv1.DaemonSet, bool, error)

ApplyDaemonSet applies the required daemonset to the cluster.

func ApplyDeployment

func ApplyDeployment(client appsclientv1.DeploymentsGetter, required *appsv1.Deployment) (*appsv1.Deployment, bool, error)

ApplyDeployment applies the required deployment to the cluster.

func ApplyMachineSet

func ApplyMachineSet(client clientset.Interface, required *clusterv1alpha.MachineSet) (*clusterv1alpha.MachineSet, bool, error)

ApplyMachineSet applies the required machineset to the cluster.

func ApplyRoleBinding

func ApplyRoleBinding(client rbacclientv1.RoleBindingsGetter, required *rbacv1.RoleBinding) (*rbacv1.RoleBinding, bool, error)

ApplyRoleBinding applies the required clusterrolebinding to the cluster.

func ApplyService

func ApplyService(client coreclientv1.ServicesGetter, required *corev1.Service) (*corev1.Service, bool, error)

ApplyService applies the required serviceaccount to the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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