Documentation ¶
Index ¶
- func ApplyConfigMap(client coreclientv1.ConfigMapsGetter, required *corev1.ConfigMap) (bool, error)
- func ApplyDeployment(client appsclientv1.DeploymentsGetter, required *appsv1.Deployment, ...) (*appsv1.Deployment, bool, error)
- func ApplyNamespace(client coreclientv1.NamespacesGetter, required *corev1.Namespace) (bool, error)
- func ApplyService(client coreclientv1.ServicesGetter, required *corev1.Service) (bool, error)
- func ApplyServiceAccount(client coreclientv1.ServiceAccountsGetter, required *corev1.ServiceAccount) (bool, error)
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.
Click to show internal directories.
Click to hide internal directories.