resourceapply

package
v3.10.0-0.39.0+incompa... Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfigMap

func ApplyConfigMap(client coreclientv1.ConfigMapsGetter, required *corev1.ConfigMap) (bool, error)

ApplyConfigMap merges objectmeta, requires data

func ApplyDeployment

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

ApplyDeployment merges objectmeta and requires matching generation

func ApplyNamespace

func ApplyNamespace(client coreclientv1.NamespacesGetter, required *corev1.Namespace) (bool, error)

ApplyNamespace merges objectmeta, does not worry about anything else

func ApplyService

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

ApplyService merges objectmeta and requires TODO, since this cannot determine whether changes are due to legitimate actors (api server) or illegitimate ones (users), we cannot update TODO I've special cased the selector for now

func ApplyServiceAccount

func ApplyServiceAccount(client coreclientv1.ServiceAccountsGetter, required *corev1.ServiceAccount) (bool, error)

ApplyServiceAccount merges objectmeta, does not worry about anything else

Types

This section is empty.

Jump to

Keyboard shortcuts

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