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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplicaSetList

type ReplicaSetList struct {
	ListMeta common.ListMeta `json:"listMeta"`

	// Unordered list of Replica Sets.
	ReplicaSets       []replicaset.ReplicaSet `json:"replicaSets"`
	CumulativeMetrics []metric.Metric         `json:"cumulativeMetrics"`
}

ReplicationSetList contains a list of Replica Sets in the cluster.

func CreateReplicaSetList

func CreateReplicaSetList(replicaSets []extensions.ReplicaSet, pods []api.Pod,
	events []api.Event, dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) *ReplicaSetList

CreateReplicaSetList creates paginated list of Replica Set model objects based on Kubernetes Replica Set objects array and related resources arrays.

func GetReplicaSetList

func GetReplicaSetList(client client.Interface, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*ReplicaSetList, error)

GetReplicaSetList returns a list of all Replica Sets in the cluster.

func GetReplicaSetListFromChannels

func GetReplicaSetListFromChannels(channels *common.ResourceChannels,
	dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*ReplicaSetList, error)

GetReplicaSetList returns a list of all Replica Sets 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