// NodeGroups returns all node groups configured for this cloud provider.
NodeGroups returns all node groups configured for this cloud provider.
// NodeGroups returns all node groups configured for this cloud provider .
func (gke *GkeCloudProvider) NodeGroups() []cloudprovider.NodeGroup {
	migs := gke.gkeManager.GetMigs()
	result := make([]cloudprovider.NodeGroup, 0, len(migs))
	for _, mig := range migs {
		result = append(result, mig.Config)
	}
	return result
}
func ( gke * GkeCloudProvider ) NodeGroups ( ) [ ] cloudprovider . NodeGroup { migs := gke . gkeManager . GetMigs ( ) result := make ( [ ] cloudprovider . NodeGroup , 0 , len ( migs ) ) for _ , mig := range migs { result = append ( result , mig . Config ) } return result }
NodeGroups returns all node groups configured for this cloud provider.
NodeGroups returns all node groups configured for this cloud provider .