Documentation ¶
Index ¶
- type ReplicaSetList
- func CreateReplicaSetList(replicaSets []extensions.ReplicaSet, pods []api.Pod, events []api.Event, ...) *ReplicaSetList
- func GetReplicaSetList(client client.Interface, nsQuery *common.NamespaceQuery, ...) (*ReplicaSetList, error)
- func GetReplicaSetListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery, ...) (*ReplicaSetList, error)
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.
Click to show internal directories.
Click to hide internal directories.