Documentation
¶
Index ¶
- type ClusterClientset
- func (c *ClusterClientset) ApisV1alpha1() apisv1alpha1.ApisV1alpha1ClusterInterface
- func (c *ClusterClientset) ApisV1alpha2() apisv1alpha2.ApisV1alpha2ClusterInterface
- func (c *ClusterClientset) CacheV1alpha1() cachev1alpha1.CacheV1alpha1ClusterInterface
- func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
- func (c *ClusterClientset) CoreV1alpha1() corev1alpha1.CoreV1alpha1ClusterInterface
- func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
- func (c *ClusterClientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1ClusterInterface
- func (c *ClusterClientset) TopologyV1alpha1() topologyv1alpha1.TopologyV1alpha1ClusterInterface
- type ClusterInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterClientset ¶
type ClusterClientset struct { *discovery.DiscoveryClient // contains filtered or unexported fields }
ClusterClientset contains the cluster clients for groups.
func New ¶ added in v0.28.0
func New(c *rest.Config) *ClusterClientset
New creates a new ClusterClientset for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ClusterClientset, error)
NewForConfig creates a new ClusterClientset 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 ¶
NewForConfigAndClient creates a new ClusterClientset 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 ¶
func NewForConfigOrDie(c *rest.Config) *ClusterClientset
NewForConfigOrDie creates a new ClusterClientset for the given config and panics if there is an error in the config.
func (*ClusterClientset) ApisV1alpha1 ¶
func (c *ClusterClientset) ApisV1alpha1() apisv1alpha1.ApisV1alpha1ClusterInterface
ApisV1alpha1 retrieves the ApisV1alpha1ClusterClient.
func (*ClusterClientset) ApisV1alpha2 ¶ added in v0.28.0
func (c *ClusterClientset) ApisV1alpha2() apisv1alpha2.ApisV1alpha2ClusterInterface
ApisV1alpha2 retrieves the ApisV1alpha2ClusterClient.
func (*ClusterClientset) CacheV1alpha1 ¶ added in v0.28.0
func (c *ClusterClientset) CacheV1alpha1() cachev1alpha1.CacheV1alpha1ClusterInterface
CacheV1alpha1 retrieves the CacheV1alpha1ClusterClient.
func (*ClusterClientset) Cluster ¶
func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
Cluster scopes this clientset to one cluster.
func (*ClusterClientset) CoreV1alpha1 ¶
func (c *ClusterClientset) CoreV1alpha1() corev1alpha1.CoreV1alpha1ClusterInterface
CoreV1alpha1 retrieves the CoreV1alpha1ClusterClient.
func (*ClusterClientset) Discovery ¶
func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient.
func (*ClusterClientset) TenancyV1alpha1 ¶
func (c *ClusterClientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1ClusterInterface
TenancyV1alpha1 retrieves the TenancyV1alpha1ClusterClient.
func (*ClusterClientset) TopologyV1alpha1 ¶
func (c *ClusterClientset) TopologyV1alpha1() topologyv1alpha1.TopologyV1alpha1ClusterInterface
TopologyV1alpha1 retrieves the TopologyV1alpha1ClusterClient.
type ClusterInterface ¶
type ClusterInterface interface { Cluster(logicalcluster.Path) client.Interface Discovery() discovery.DiscoveryInterface ApisV1alpha1() apisv1alpha1.ApisV1alpha1ClusterInterface ApisV1alpha2() apisv1alpha2.ApisV1alpha2ClusterInterface CacheV1alpha1() cachev1alpha1.CacheV1alpha1ClusterInterface CoreV1alpha1() corev1alpha1.CoreV1alpha1ClusterInterface TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1ClusterInterface TopologyV1alpha1() topologyv1alpha1.TopologyV1alpha1ClusterInterface }
Directories
¶
Path | Synopsis |
---|---|
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
typed
|
|
apis/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
apis/v1alpha1/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |
apis/v1alpha2
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
apis/v1alpha2/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |
cache/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
cache/v1alpha1/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |
core/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
core/v1alpha1/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |
tenancy/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
tenancy/v1alpha1/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |
topology/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
topology/v1alpha1/fake
Package fake has the automatically generated cluster clients.
|
Package fake has the automatically generated cluster clients. |