Documentation ¶
Index ¶
- func CreateOrUpdateStatefulset(cli *kubernetes.Clientset, statefulSet *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
- func DeleteStatefulset(cli *kubernetes.Clientset, name, namespace string) error
- func GetStatefulsetResource(cli *kubernetes.Clientset, statefulSet *v1beta1.StatefulSet) (*common.ResourceList, error)
- type Statefulset
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateStatefulset ¶
func CreateOrUpdateStatefulset(cli *kubernetes.Clientset, statefulSet *v1beta1.StatefulSet) (*v1beta1.StatefulSet, error)
func DeleteStatefulset ¶
func DeleteStatefulset(cli *kubernetes.Clientset, name, namespace string) error
func GetStatefulsetResource ¶
func GetStatefulsetResource(cli *kubernetes.Clientset, statefulSet *v1beta1.StatefulSet) (*common.ResourceList, error)
Types ¶
type Statefulset ¶
type Statefulset struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` Pods common.PodInfo `json:"pods"` }
func GetStatefulsetDetail ¶
func GetStatefulsetDetail(cli *kubernetes.Clientset, indexer *client.CacheIndexer, name, namespace string) (*Statefulset, error)
Click to show internal directories.
Click to hide internal directories.