kubernetes/staging/src/k8s.io/metrics/pkg/client/clientset/versioned/typed/metrics/v1alpha1/metrics_client.go

type MetricsV1alpha1Interface

type MetricsV1alpha1Client

func (c *MetricsV1alpha1Client) NodeMetricses() NodeMetricsInterface {}

func (c *MetricsV1alpha1Client) PodMetricses(namespace string) PodMetricsInterface {}

// NewForConfig creates a new MetricsV1alpha1Client for the given config.
// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient),
// where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfig(c *rest.Config) (*MetricsV1alpha1Client, error) {}

// NewForConfigAndClient creates a new MetricsV1alpha1Client 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) (*MetricsV1alpha1Client, error) {}

// NewForConfigOrDie creates a new MetricsV1alpha1Client for the given config and
// panics if there is an error in the config.
func NewForConfigOrDie(c *rest.Config) *MetricsV1alpha1Client {}

// New creates a new MetricsV1alpha1Client for the given RESTClient.
func New(c rest.Interface) *MetricsV1alpha1Client {}

func setConfigDefaults(config *rest.Config) error {}

// RESTClient returns a RESTClient that is used to communicate
// with API server by this client implementation.
func (c *MetricsV1alpha1Client) RESTClient() rest.Interface {}