Documentation ¶
Index ¶
- func InitClientSet(c *Conf) error
- func ListDeployWithLabels(ns, label string) ([]apps_v1.Deployment, error)
- func ListStsWithLabels(ns, label string) ([]apps_v1.StatefulSet, error)
- func SetDeployImg(id *ContainerPath) error
- func SetDeployImgWithLabel(id *ContainerPath, label ...string) error
- func SetStsImg(id *ContainerPath) error
- func SetStsImgWithLabel(id *ContainerPath, label ...string) error
- type Bio
- type ConBio
- type Conf
- type ContainerPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDeployWithLabels ¶ added in v0.9.10
func ListDeployWithLabels(ns, label string) ([]apps_v1.Deployment, error)
ListDeployWithLabels list deployment by label
func ListStsWithLabels ¶ added in v0.9.10
func ListStsWithLabels(ns, label string) ([]apps_v1.StatefulSet, error)
ListStsWithLables list statefulset
func SetDeployImgWithLabel ¶ added in v0.9.10
func SetDeployImgWithLabel(id *ContainerPath, label ...string) error
SetDeployImgWithLabel ...
func SetStsImgWithLabel ¶ added in v0.9.10
func SetStsImgWithLabel(id *ContainerPath, label ...string) error
SetStsImgWithLabel ...
Types ¶
type Bio ¶
Bio wrap container bio
func ListStsBios ¶ added in v0.9.10
ListStsBios list all statefulset bio in :ns
Click to show internal directories.
Click to hide internal directories.