Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.
type Clientset struct { *discovery.DiscoveryClient // contains filtered or unexported fields }
func New(c rest.Interface) *Clientset
New creates a new Clientset for the given RESTClient.
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(c *rest.Config) *Clientset
NewForConfigOrDie creates a new Clientset for the given config and panics if there is an error in the config.
func (c *Clientset) CdiV1beta1() cdiv1beta1.CdiV1beta1Interface
CdiV1beta1 retrieves the CdiV1beta1Client
func (c *Clientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (c *Clientset) UploadV1beta1() uploadv1beta1.UploadV1beta1Interface
UploadV1beta1 retrieves the UploadV1beta1Client
type Interface interface { Discovery() discovery.DiscoveryInterface CdiV1beta1() cdiv1beta1.CdiV1beta1Interface UploadV1beta1() uploadv1beta1.UploadV1beta1Interface }
Name | Synopsis |
---|---|
.. | |
fake | This package has the automatically generated fake clientset. |
scheme | This package contains the scheme of the automatically generated clientset. |
typed | |
core | |
v1beta1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
upload | |
v1beta1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |