Documentation ¶
Index ¶
- func GetDaemonSetAnnotations(item interface{}) map[string]string
- func GetDaemonSetContainers(item interface{}) []v1.Container
- func GetDaemonSetInitContainers(item interface{}) []v1.Container
- func GetDaemonSetItems(clients kube.Clients, namespace string) []interface{}
- func GetDaemonSetPodAnnotations(item interface{}) map[string]string
- func GetDaemonSetVolumes(item interface{}) []v1.Volume
- func GetDeploymentAnnotations(item interface{}) map[string]string
- func GetDeploymentConfigAnnotations(item interface{}) map[string]string
- func GetDeploymentConfigContainers(item interface{}) []v1.Container
- func GetDeploymentConfigInitContainers(item interface{}) []v1.Container
- func GetDeploymentConfigItems(clients kube.Clients, namespace string) []interface{}
- func GetDeploymentConfigPodAnnotations(item interface{}) map[string]string
- func GetDeploymentConfigVolumes(item interface{}) []v1.Volume
- func GetDeploymentContainers(item interface{}) []v1.Container
- func GetDeploymentInitContainers(item interface{}) []v1.Container
- func GetDeploymentItems(clients kube.Clients, namespace string) []interface{}
- func GetDeploymentPodAnnotations(item interface{}) map[string]string
- func GetDeploymentVolumes(item interface{}) []v1.Volume
- func GetStatefulSetAnnotations(item interface{}) map[string]string
- func GetStatefulSetContainers(item interface{}) []v1.Container
- func GetStatefulSetInitContainers(item interface{}) []v1.Container
- func GetStatefulSetItems(clients kube.Clients, namespace string) []interface{}
- func GetStatefulSetPodAnnotations(item interface{}) map[string]string
- func GetStatefulSetVolumes(item interface{}) []v1.Volume
- func UpdateDaemonSet(clients kube.Clients, namespace string, resource interface{}) error
- func UpdateDeployment(clients kube.Clients, namespace string, resource interface{}) error
- func UpdateDeploymentConfig(clients kube.Clients, namespace string, resource interface{}) error
- func UpdateStatefulSet(clients kube.Clients, namespace string, resource interface{}) 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 ¶ added in v0.0.52
GetDaemonSetAnnotations returns the annotations of given daemonSet
func GetDaemonSetContainers ¶
GetDaemonSetContainers returns the containers of given daemonSet
func GetDaemonSetInitContainers ¶ added in v0.0.26
GetDaemonSetInitContainers returns the containers of given daemonSet
func GetDaemonSetItems ¶
GetDaemonSetItems returns the daemonSets in given namespace
func GetDaemonSetPodAnnotations ¶ added in v0.0.52
GetDaemonSetPodAnnotations returns the pod's annotations of given daemonSet
func GetDaemonSetVolumes ¶ added in v0.0.22
GetDaemonSetVolumes returns the Volumes of given daemonSet
func GetDeploymentAnnotations ¶ added in v0.0.52
GetDeploymentAnnotations returns the annotations of given deployment
func GetDeploymentConfigAnnotations ¶ added in v0.0.52
GetDeploymentConfigAnnotations returns the annotations of given deploymentConfig
func GetDeploymentConfigContainers ¶ added in v0.0.37
GetDeploymentConfigContainers returns the containers of given deploymentConfig
func GetDeploymentConfigInitContainers ¶ added in v0.0.37
GetDeploymentConfigInitContainers returns the containers of given deploymentConfig
func GetDeploymentConfigItems ¶ added in v0.0.37
GetDeploymentConfigItems returns the deploymentConfigs in given namespace
func GetDeploymentConfigPodAnnotations ¶ added in v0.0.52
GetDeploymentConfigPodAnnotations returns the pod's annotations of given deploymentConfig
func GetDeploymentConfigVolumes ¶ added in v0.0.37
GetDeploymentConfigVolumes returns the Volumes of given deploymentConfig
func GetDeploymentContainers ¶
GetDeploymentContainers returns the containers of given deployment
func GetDeploymentInitContainers ¶ added in v0.0.26
GetDeploymentInitContainers returns the containers of given deployment
func GetDeploymentItems ¶
GetDeploymentItems returns the deployments in given namespace
func GetDeploymentPodAnnotations ¶ added in v0.0.52
GetDeploymentPodAnnotations returns the pod's annotations of given deployment
func GetDeploymentVolumes ¶ added in v0.0.22
GetDeploymentVolumes returns the Volumes of given deployment
func GetStatefulSetAnnotations ¶ added in v0.0.52
GetStatefulSetAnnotations returns the annotations of given statefulSet
func GetStatefulSetContainers ¶ added in v0.0.52
GetStatefulSetContainers returns the containers of given statefulSet
func GetStatefulSetInitContainers ¶ added in v0.0.52
GetStatefulSetInitContainers returns the containers of given statefulSet
func GetStatefulSetItems ¶
GetStatefulSetItems returns the statefulSets in given namespace
func GetStatefulSetPodAnnotations ¶ added in v0.0.52
GetStatefulSetPodAnnotations returns the pod's annotations of given statefulSet
func GetStatefulSetVolumes ¶ added in v0.0.52
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 ¶ added in v0.0.37
UpdateDeploymentConfig performs rolling upgrade on deploymentConfig
Types ¶
type AnnotationsFunc ¶ added in v0.0.52
AnnotationsFunc is a generic func to return annotations
type ContainersFunc ¶
ContainersFunc is a generic func to return containers
type InitContainersFunc ¶ added in v0.0.26
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 ¶ added in v0.0.52
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
type VolumesFunc ¶ added in v0.0.22
VolumesFunc is a generic func to return volumes