Documentation ¶
Index ¶
- func GetStatefulSetEvents(client *client.Clientset, dsQuery *dataselect.DataSelectQuery, ...) (*common.EventList, error)
- func GetStatefulSetPods(client *k8sClient.Clientset, heapsterClient client.HeapsterClient, ...) (*pod.PodList, error)
- func GetStatefulSetPodsEvents(client *client.Clientset, namespace, statefulSetName string) ([]api.Event, error)
- type StatefulSetDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStatefulSetEvents ¶
func GetStatefulSetEvents(client *client.Clientset, dsQuery *dataselect.DataSelectQuery, namespace, statefulSetName string) ( *common.EventList, error)
GetStatefulSetEvents gets events associated to pet set.
func GetStatefulSetPods ¶
func GetStatefulSetPods(client *k8sClient.Clientset, heapsterClient client.HeapsterClient, dsQuery *dataselect.DataSelectQuery, statefulSetName, namespace string) (*pod.PodList, error)
GetStatefulSetPods return list of pods targeting pet set.
Types ¶
type StatefulSetDetail ¶
type StatefulSetDetail struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` // Aggregate information about pods belonging to this Pet Set. PodInfo common.PodInfo `json:"podInfo"` // Detailed information about Pods belonging to this Pet Set. PodList pod.PodList `json:"podList"` // Container images of the Pet Set. ContainerImages []string `json:"containerImages"` // List of events related to this Pet Set. EventList common.EventList `json:"eventList"` }
StatefulSetDetail is a presentation layer view of Kubernetes Pet Set resource. This means it is Pet Set plus additional augmented data we can get from other sources (like services that target the same pods).
func GetStatefulSetDetail ¶
func GetStatefulSetDetail(client *k8sClient.Clientset, heapsterClient client.HeapsterClient, namespace, name string) (*StatefulSetDetail, error)
GetStatefulSetDetail gets pet set details.
Click to show internal directories.
Click to hide internal directories.