type AutoscalingV2Interface … type AutoscalingV2Client … func (c *AutoscalingV2Client) HorizontalPodAutoscalers(namespace string) HorizontalPodAutoscalerInterface { … } // NewForConfig creates a new AutoscalingV2Client for the given config. // NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), // where httpClient was generated with rest.HTTPClientFor(c). func NewForConfig(c *rest.Config) (*AutoscalingV2Client, error) { … } // NewForConfigAndClient creates a new AutoscalingV2Client 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) (*AutoscalingV2Client, error) { … } // NewForConfigOrDie creates a new AutoscalingV2Client for the given config and // panics if there is an error in the config. func NewForConfigOrDie(c *rest.Config) *AutoscalingV2Client { … } // New creates a new AutoscalingV2Client for the given RESTClient. func New(c rest.Interface) *AutoscalingV2Client { … } func setConfigDefaults(config *rest.Config) error { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *AutoscalingV2Client) RESTClient() rest.Interface { … }