// GetStatefulSetList returns a list of all Stateful Sets in the cluster.
GetStatefulSetList returns a list of all Stateful Sets in the cluster.
// GetStatefulSetList returns a list of all Stateful Sets in the cluster .
func GetStatefulSetList(client *client.Clientset, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*StatefulSetList, error) {
	log.Print("Getting list of all pet sets in the cluster")
	channels := &common.ResourceChannels{
		StatefulSetList: common.GetStatefulSetListChannel(client, nsQuery, 1),
		PodList:         common.GetPodListChannel(client, nsQuery, 1),
		EventList:       common.GetEventListChannel(client, nsQuery, 1),
	}
	return GetStatefulSetListFromChannels(channels, dsQuery, heapsterClient)
}
func GetStatefulSetList ( client * client . Clientset , nsQuery * common . NamespaceQuery , dsQuery * dataselect . DataSelectQuery , heapsterClient * heapster . HeapsterClient ) ( * StatefulSetList , error ) { log . Print ( " " ) channels := & common . ResourceChannels { StatefulSetList : common . GetStatefulSetListChannel ( client , nsQuery , 1 ) , PodList : common . GetPodListChannel ( client , nsQuery , 1 ) , EventList : common . GetEventListChannel ( client , nsQuery , 1 ) , } return GetStatefulSetListFromChannels ( channels , dsQuery , heapsterClient ) }
GetStatefulSetList returns a list of all Stateful Sets in the cluster.
GetStatefulSetList returns a list of all Stateful Sets in the cluster .