Documentation ¶
Index ¶
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 GetStatefulsetResource ¶
func GetStatefulsetResource(cli client.ResourceHandler, statefulSet *v1beta1.StatefulSet) (*common.ResourceList, error)
GetStatefulsetResource get StatefulSet resource statistics
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.CacheFactory, name, namespace string) (*Statefulset, error)
Click to show internal directories.
Click to hide internal directories.