Documentation ¶
Index ¶
- type ClusterClientset
- func (c *ClusterClientset) ApiresourceV1alpha1() apiresourcev1alpha1.ApiresourceV1alpha1ClusterInterface
- func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
- func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
- func (c *ClusterClientset) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1ClusterInterface
- func (c *ClusterClientset) WorkloadV1alpha1() workloadv1alpha1.WorkloadV1alpha1ClusterInterface
- 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 clients for groups.
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) ApiresourceV1alpha1 ¶
func (c *ClusterClientset) ApiresourceV1alpha1() apiresourcev1alpha1.ApiresourceV1alpha1ClusterInterface
ApiresourceV1alpha1 retrieves the ApiresourceV1alpha1ClusterClient.
func (*ClusterClientset) Cluster ¶
func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
Cluster scopes this clientset to one cluster.
func (*ClusterClientset) Discovery ¶
func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (*ClusterClientset) SchedulingV1alpha1 ¶
func (c *ClusterClientset) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1ClusterInterface
SchedulingV1alpha1 retrieves the SchedulingV1alpha1ClusterClient.
func (*ClusterClientset) WorkloadV1alpha1 ¶
func (c *ClusterClientset) WorkloadV1alpha1() workloadv1alpha1.WorkloadV1alpha1ClusterInterface
WorkloadV1alpha1 retrieves the WorkloadV1alpha1ClusterClient.
type ClusterInterface ¶
type ClusterInterface interface { Cluster(logicalcluster.Path) client.Interface Discovery() discovery.DiscoveryInterface ApiresourceV1alpha1() apiresourcev1alpha1.ApiresourceV1alpha1ClusterInterface SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1ClusterInterface WorkloadV1alpha1() workloadv1alpha1.WorkloadV1alpha1ClusterInterface }