// NewForConfig creates a new NetworkmachineryV1alpha1Client for the given config.
NewForConfig creates a new NetworkmachineryV1alpha1Client for the given config.
// NewForConfig creates a new NetworkmachineryV1alpha1Client for the given config .
func NewForConfig(c *rest.Config) (*NetworkmachineryV1alpha1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &NetworkmachineryV1alpha1Client{client}, nil
}
func NewForConfig ( c * rest . Config ) ( * NetworkmachineryV1alpha1Client , error ) { config := * c if err := setConfigDefaults ( & config ) ; err != nil { return nil , err } client , err := rest . RESTClientFor ( & config ) if err != nil { return nil , err } return & NetworkmachineryV1alpha1Client { client } , nil }
NewForConfig creates a new NetworkmachineryV1alpha1Client for the given config.
NewForConfig creates a new NetworkmachineryV1alpha1Client for the given config .