// NodeGroupForNode returns the node group for the given node.
NodeGroupForNode returns the node group for the given node.
// NodeGroupForNode returns the node group for the given node .
func (gke *GkeCloudProvider) NodeGroupForNode(node *apiv1.Node) (cloudprovider.NodeGroup, error) {
	ref, err := gce.GceRefFromProviderId(node.Spec.ProviderID)
	if err != nil {
		return nil, err
	}
	mig, err := gke.gkeManager.GetMigForInstance(ref)
	return mig, err
}
func ( gke * GkeCloudProvider ) NodeGroupForNode ( node * apiv1 . Node ) ( cloudprovider . NodeGroup , error ) { ref , err := gce . GceRefFromProviderId ( node . Spec . ProviderID ) if err != nil { return nil , err } mig , err := gke . gkeManager . GetMigForInstance ( ref ) return mig , err }
NodeGroupForNode returns the node group for the given node.
NodeGroupForNode returns the node group for the given node .