list

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL