code: func NewExtensions(c *Config) (*ExtensionsClient, error) {
  	config := *c
  	if err := setExtensionsDefaults(&config); err != nil {
  		return nil, err
  	}
  	client, err := RESTClientFor(&config)
  	if err != nil {
  		return nil, err
  	}
  	return &ExtensionsClient{client}, nil
  }
docs: // NewExtensions creates a new ExtensionsClient for the given config. This client
  // provides access to experimental Kubernetes features.
  // Features of Extensions group are not supported and may be changed or removed in
  // incompatible ways at any time.