Documentation
¶
Index ¶
- func GetDaemonSetAnnotations(item runtime.Object) map[string]string
- func GetDaemonSetContainers(item runtime.Object) []v1.Container
- func GetDaemonSetInitContainers(item runtime.Object) []v1.Container
- func GetDaemonSetItems(clients kube.Clients, namespace string) []runtime.Object
- func GetDaemonSetPodAnnotations(item runtime.Object) map[string]string
- func GetDaemonSetVolumes(item runtime.Object) []v1.Volume
- func GetDeploymentAnnotations(item runtime.Object) map[string]string
- func GetDeploymentConfigAnnotations(item runtime.Object) map[string]string
- func GetDeploymentConfigContainers(item runtime.Object) []v1.Container
- func GetDeploymentConfigInitContainers(item runtime.Object) []v1.Container
- func GetDeploymentConfigItems(clients kube.Clients, namespace string) []runtime.Object
- func GetDeploymentConfigPodAnnotations(item runtime.Object) map[string]string
- func GetDeploymentConfigVolumes(item runtime.Object) []v1.Volume
- func GetDeploymentContainers(item runtime.Object) []v1.Container
- func GetDeploymentInitContainers(item runtime.Object) []v1.Container
- func GetDeploymentItems(clients kube.Clients, namespace string) []runtime.Object
- func GetDeploymentPodAnnotations(item runtime.Object) map[string]string
- func GetDeploymentVolumes(item runtime.Object) []v1.Volume
- func GetRolloutAnnotations(item runtime.Object) map[string]string
- func GetRolloutContainers(item runtime.Object) []v1.Container
- func GetRolloutInitContainers(item runtime.Object) []v1.Container
- func GetRolloutItems(clients kube.Clients, namespace string) []runtime.Object
- func GetRolloutPodAnnotations(item runtime.Object) map[string]string
- func GetRolloutVolumes(item runtime.Object) []v1.Volume
- func GetStatefulSetAnnotations(item runtime.Object) map[string]string
- func GetStatefulSetContainers(item runtime.Object) []v1.Container
- func GetStatefulSetInitContainers(item runtime.Object) []v1.Container
- func GetStatefulSetItems(clients kube.Clients, namespace string) []runtime.Object
- func GetStatefulSetPodAnnotations(item runtime.Object) map[string]string
- func GetStatefulSetVolumes(item runtime.Object) []v1.Volume
- func UpdateDaemonSet(clients kube.Clients, namespace string, resource runtime.Object) error
- func UpdateDeployment(clients kube.Clients, namespace string, resource runtime.Object) error
- func UpdateDeploymentConfig(clients kube.Clients, namespace string, resource runtime.Object) error
- func UpdateRollout(clients kube.Clients, namespace string, resource runtime.Object) error
- func UpdateStatefulSet(clients kube.Clients, namespace string, resource runtime.Object) error
- type AnnotationsFunc
- type ContainersFunc
- type InitContainersFunc
- type ItemsFunc
- type PodAnnotationsFunc
- type RollingUpgradeFuncs
- type UpdateFunc
- type VolumesFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDaemonSetAnnotations ¶
GetDaemonSetAnnotations returns the annotations of given daemonSet
func GetDaemonSetContainers ¶
GetDaemonSetContainers returns the containers of given daemonSet
func GetDaemonSetInitContainers ¶
GetDaemonSetInitContainers returns the containers of given daemonSet
func GetDaemonSetItems ¶
GetDaemonSetItems returns the daemonSets in given namespace
func GetDaemonSetPodAnnotations ¶
GetDaemonSetPodAnnotations returns the pod's annotations of given daemonSet
func GetDaemonSetVolumes ¶
GetDaemonSetVolumes returns the Volumes of given daemonSet
func GetDeploymentAnnotations ¶
GetDeploymentAnnotations returns the annotations of given deployment
func GetDeploymentConfigAnnotations ¶
GetDeploymentConfigAnnotations returns the annotations of given deploymentConfig
func GetDeploymentConfigContainers ¶
GetDeploymentConfigContainers returns the containers of given deploymentConfig
func GetDeploymentConfigInitContainers ¶
GetDeploymentConfigInitContainers returns the containers of given deploymentConfig
func GetDeploymentConfigItems ¶
GetDeploymentConfigItems returns the deploymentConfigs in given namespace
func GetDeploymentConfigPodAnnotations ¶
GetDeploymentConfigPodAnnotations returns the pod's annotations of given deploymentConfig
func GetDeploymentConfigVolumes ¶
GetDeploymentConfigVolumes returns the Volumes of given deploymentConfig
func GetDeploymentContainers ¶
GetDeploymentContainers returns the containers of given deployment
func GetDeploymentInitContainers ¶
GetDeploymentInitContainers returns the containers of given deployment
func GetDeploymentItems ¶
GetDeploymentItems returns the deployments in given namespace
func GetDeploymentPodAnnotations ¶
GetDeploymentPodAnnotations returns the pod's annotations of given deployment
func GetDeploymentVolumes ¶
GetDeploymentVolumes returns the Volumes of given deployment
func GetRolloutAnnotations ¶
GetRolloutAnnotations returns the annotations of given rollout
func GetRolloutContainers ¶
GetRolloutContainers returns the containers of given rollout
func GetRolloutInitContainers ¶
GetRolloutInitContainers returns the containers of given rollout
func GetRolloutItems ¶
GetRolloutItems returns the rollouts in given namespace
func GetRolloutPodAnnotations ¶
GetRolloutPodAnnotations returns the pod's annotations of given rollout
func GetRolloutVolumes ¶
GetRolloutVolumes returns the Volumes of given rollout
func GetStatefulSetAnnotations ¶
GetStatefulSetAnnotations returns the annotations of given statefulSet
func GetStatefulSetContainers ¶
GetStatefulSetContainers returns the containers of given statefulSet
func GetStatefulSetInitContainers ¶
GetStatefulSetInitContainers returns the containers of given statefulSet
func GetStatefulSetItems ¶
GetStatefulSetItems returns the statefulSets in given namespace
func GetStatefulSetPodAnnotations ¶
GetStatefulSetPodAnnotations returns the pod's annotations of given statefulSet
func GetStatefulSetVolumes ¶
GetStatefulSetVolumes returns the Volumes of given statefulSet
func UpdateDaemonSet ¶
UpdateDaemonSet performs rolling upgrade on daemonSet
func UpdateDeployment ¶
UpdateDeployment performs rolling upgrade on deployment
func UpdateDeploymentConfig ¶
UpdateDeploymentConfig performs rolling upgrade on deploymentConfig
func UpdateRollout ¶
UpdateRollout performs rolling upgrade on rollout
Types ¶
type AnnotationsFunc ¶
AnnotationsFunc is a generic func to return annotations
type ContainersFunc ¶
ContainersFunc is a generic func to return containers
type InitContainersFunc ¶
InitContainersFunc is a generic func to return containers
type ItemsFunc ¶
ItemsFunc is a generic function to return a specific resource array in given namespace
type PodAnnotationsFunc ¶
PodAnnotationsFunc is a generic func to return annotations
type RollingUpgradeFuncs ¶
type RollingUpgradeFuncs struct {
ItemsFunc ItemsFunc
AnnotationsFunc AnnotationsFunc
PodAnnotationsFunc PodAnnotationsFunc
ContainersFunc ContainersFunc
InitContainersFunc InitContainersFunc
UpdateFunc UpdateFunc
VolumesFunc VolumesFunc
ResourceType string
}
RollingUpgradeFuncs contains generic functions to perform rolling upgrade
type UpdateFunc ¶
UpdateFunc performs the resource update