metrics: k8s.io/metrics/pkg/client/clientset/versioned Index | Files | Directories

package versioned

import "k8s.io/metrics/pkg/client/clientset/versioned"

This package has the automatically generated clientset.

Index

Package Files

clientset.go doc.go

type Clientset Uses

type Clientset struct {
    *discovery.DiscoveryClient
    // contains filtered or unexported fields
}

Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.

func New Uses

func New(c rest.Interface) *Clientset

New creates a new Clientset for the given RESTClient.

func NewForConfig Uses

func NewForConfig(c *rest.Config) (*Clientset, error)

NewForConfig creates a new Clientset for the given config. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfig will generate a rate-limiter in configShallowCopy.

func NewForConfigOrDie Uses

func NewForConfigOrDie(c *rest.Config) *Clientset

NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.

func (*Clientset) Discovery Uses

func (c *Clientset) Discovery() discovery.DiscoveryInterface

Discovery retrieves the DiscoveryClient

func (*Clientset) MetricsV1alpha1 Uses

func (c *Clientset) MetricsV1alpha1() metricsv1alpha1.MetricsV1alpha1Interface

MetricsV1alpha1 retrieves the MetricsV1alpha1Client

func (*Clientset) MetricsV1beta1 Uses

func (c *Clientset) MetricsV1beta1() metricsv1beta1.MetricsV1beta1Interface

MetricsV1beta1 retrieves the MetricsV1beta1Client

type Interface Uses

type Interface interface {
    Discovery() discovery.DiscoveryInterface
    MetricsV1alpha1() metricsv1alpha1.MetricsV1alpha1Interface
    MetricsV1beta1() metricsv1beta1.MetricsV1beta1Interface
}

Directories

PathSynopsis
fakeThis package has the automatically generated fake clientset.
schemeThis package contains the scheme of the automatically generated clientset.
typed/metrics/v1alpha1This package has the automatically generated typed clients.
typed/metrics/v1alpha1/fakePackage fake has the automatically generated clients.
typed/metrics/v1beta1This package has the automatically generated typed clients.
typed/metrics/v1beta1/fakePackage fake has the automatically generated clients.

Package versioned imports 6 packages (graph) and is imported by 22 packages. Updated 2019-07-12. Refresh now. Tools for package owners.