Clientset contains the clients for groups.
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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, error)
NewForConfigAndClient creates a new Clientset for the given config and http client. Note the http client provided takes precedence over the configured transport values. If config's RateLimiter is not set and QPS and Burst are acceptable, NewForConfigAndClient 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) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (c *Clientset) ExternalworkloadV1beta1() externalworkloadv1beta1.ExternalworkloadV1beta1Interface
ExternalworkloadV1beta1 retrieves the ExternalworkloadV1beta1Client
func (c *Clientset) LinkV1alpha1() linkv1alpha1.LinkV1alpha1Interface
LinkV1alpha1 retrieves the LinkV1alpha1Client
func (c *Clientset) LinkerdV1alpha2() linkerdv1alpha2.LinkerdV1alpha2Interface
LinkerdV1alpha2 retrieves the LinkerdV1alpha2Client
func (c *Clientset) PolicyV1alpha1() policyv1alpha1.PolicyV1alpha1Interface
PolicyV1alpha1 retrieves the PolicyV1alpha1Client
func (c *Clientset) PolicyV1beta3() policyv1beta3.PolicyV1beta3Interface
PolicyV1beta3 retrieves the PolicyV1beta3Client
func (c *Clientset) ServerV1beta1() serverv1beta1.ServerV1beta1Interface
ServerV1beta1 retrieves the ServerV1beta1Client
func (c *Clientset) ServerV1beta2() serverv1beta2.ServerV1beta2Interface
ServerV1beta2 retrieves the ServerV1beta2Client
func (c *Clientset) ServerauthorizationV1beta1() serverauthorizationv1beta1.ServerauthorizationV1beta1Interface
ServerauthorizationV1beta1 retrieves the ServerauthorizationV1beta1Client
type Interface interface { Discovery() discovery.DiscoveryInterface ExternalworkloadV1beta1() externalworkloadv1beta1.ExternalworkloadV1beta1Interface LinkV1alpha1() linkv1alpha1.LinkV1alpha1Interface PolicyV1alpha1() policyv1alpha1.PolicyV1alpha1Interface PolicyV1beta3() policyv1beta3.PolicyV1beta3Interface ServerV1beta1() serverv1beta1.ServerV1beta1Interface ServerV1beta2() serverv1beta2.ServerV1beta2Interface ServerauthorizationV1beta1() serverauthorizationv1beta1.ServerauthorizationV1beta1Interface LinkerdV1alpha2() linkerdv1alpha2.LinkerdV1alpha2Interface }
Name | Synopsis |
---|---|
.. | |
fake | This package has the automatically generated fake clientset. |
scheme | This package contains the scheme of the automatically generated clientset. |
typed | |
externalworkload | |
v1beta1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
link | |
v1alpha1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
policy | |
v1alpha1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
v1beta3 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
server | |
v1beta1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
v1beta2 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
serverauthorization | |
v1beta1 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |
serviceprofile | |
v1alpha2 | This package has the automatically generated typed clients. |
fake | Package fake has the automatically generated clients. |