// GetDeploymentList returns a list of all Deployments in the cluster.
GetDeploymentList returns a list of all Deployments in the cluster.
// GetDeploymentList returns a list of all Deployments in the cluster .
func GetDeploymentList(client client.Interface, nsQuery *common.NamespaceQuery,
	dsQuery *dataselect.DataSelectQuery, heapsterClient *heapster.HeapsterClient) (*DeploymentList, error) {
	log.Print("Getting list of all deployments in the cluster")
	channels := &common.ResourceChannels{
		DeploymentList: common.GetDeploymentListChannel(client, nsQuery, 1),
		PodList:        common.GetPodListChannel(client, nsQuery, 1),
		EventList:      common.GetEventListChannel(client, nsQuery, 1),
		ReplicaSetList: common.GetReplicaSetListChannel(client, nsQuery, 1),
	}
	return GetDeploymentListFromChannels(channels, dsQuery, heapsterClient)
}
func GetDeploymentList ( client client . Interface , nsQuery * common . NamespaceQuery , dsQuery * dataselect . DataSelectQuery , heapsterClient * heapster . HeapsterClient ) ( * DeploymentList , error ) { log . Print ( " " ) channels := & common . ResourceChannels { DeploymentList : common . GetDeploymentListChannel ( client , nsQuery , 1 ) , PodList : common . GetPodListChannel ( client , nsQuery , 1 ) , EventList : common . GetEventListChannel ( client , nsQuery , 1 ) , ReplicaSetList : common . GetReplicaSetListChannel ( client , nsQuery , 1 ) , } return GetDeploymentListFromChannels ( channels , dsQuery , heapsterClient ) }
GetDeploymentList returns a list of all Deployments in the cluster.
GetDeploymentList returns a list of all Deployments in the cluster .