type SamplecontrollerV1alpha1Interface … type SamplecontrollerV1alpha1Client … func (c *SamplecontrollerV1alpha1Client) Foos(namespace string) FooInterface { … } // NewForConfig creates a new SamplecontrollerV1alpha1Client for the given config. // NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), // where httpClient was generated with rest.HTTPClientFor(c). func NewForConfig(c *rest.Config) (*SamplecontrollerV1alpha1Client, error) { … } // NewForConfigAndClient creates a new SamplecontrollerV1alpha1Client for the given config and http client. // Note the http client provided takes precedence over the configured transport values. func NewForConfigAndClient(c *rest.Config, h *http.Client) (*SamplecontrollerV1alpha1Client, error) { … } // NewForConfigOrDie creates a new SamplecontrollerV1alpha1Client for the given config and // panics if there is an error in the config. func NewForConfigOrDie(c *rest.Config) *SamplecontrollerV1alpha1Client { … } // New creates a new SamplecontrollerV1alpha1Client for the given RESTClient. func New(c rest.Interface) *SamplecontrollerV1alpha1Client { … } func setConfigDefaults(config *rest.Config) error { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *SamplecontrollerV1alpha1Client) RESTClient() rest.Interface { … }