Documentation ¶
Index ¶
- type DaemonSet
- type DaemonSetList
- func CreateDaemonSetList(daemonSets []extensions.DaemonSet, pods []api.Pod, events []api.Event, ...) *DaemonSetList
- func GetDaemonSetList(client *client.Clientset, nsQuery *common.NamespaceQuery, ...) (*DaemonSetList, error)
- func GetDaemonSetListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery, ...) (*DaemonSetList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DaemonSet ¶
type DaemonSet struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` // Aggregate information about pods belonging to this Daemon Set. Pods common.PodInfo `json:"pods"` // Container images of the Daemon Set. ContainerImages []string `json:"containerImages"` }
DaemonSet (aka. Daemon Set) plus zero or more Kubernetes services that target the Daemon Set.
type DaemonSetList ¶
type DaemonSetList struct { ListMeta common.ListMeta `json:"listMeta"` // Unordered list of Daemon Sets DaemonSets []DaemonSet `json:"daemonSets"` CumulativeMetrics []metric.Metric `json:"cumulativeMetrics"` }
DaemonSetList contains a list of Daemon Sets in the cluster.
func CreateDaemonSetList ¶
func CreateDaemonSetList(daemonSets []extensions.DaemonSet, pods []api.Pod, events []api.Event, dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) *DaemonSetList
CreateDaemonSetList returns a list of all Daemon Set model objects in the cluster, based on all Kubernetes Daemon Set API objects.
func GetDaemonSetList ¶
func GetDaemonSetList(client *client.Clientset, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*DaemonSetList, error)
GetDaemonSetList returns a list of all Daemon Set in the cluster.
func GetDaemonSetListFromChannels ¶
func GetDaemonSetListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*DaemonSetList, error)
GetDaemonSetListFromChannels returns a list of all Daemon Seet in the cluster reading required resource list once from the channels.
Click to show internal directories.
Click to hide internal directories.