Documentation ¶
Index ¶
- type Clientset
- type ClusterClientset
- func (c *ClusterClientset) ApiextensionsV1() kcpapiextensionsv1.ApiextensionsV1ClusterInterface
- func (c *ClusterClientset) ApiextensionsV1beta1() kcpapiextensionsv1beta1.ApiextensionsV1beta1ClusterInterface
- func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
- func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
- func (c *ClusterClientset) Tracker() kcptesting.ObjectTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct { *kcptesting.Fake // contains filtered or unexported fields }
Clientset contains the clients for groups.
func (*Clientset) ApiextensionsV1 ¶
func (c *Clientset) ApiextensionsV1() apiextensionsv1.ApiextensionsV1Interface
ApiextensionsV1 retrieves the ApiextensionsV1Client.
func (*Clientset) ApiextensionsV1beta1 ¶
func (c *Clientset) ApiextensionsV1beta1() apiextensionsv1beta1.ApiextensionsV1beta1Interface
ApiextensionsV1beta1 retrieves the ApiextensionsV1beta1Client.
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (*Clientset) Tracker ¶
func (c *Clientset) Tracker() kcptesting.ScopedObjectTracker
type ClusterClientset ¶
type ClusterClientset struct { *kcptesting.Fake // contains filtered or unexported fields }
ClusterClientset contains the clients for groups.
func NewSimpleClientset ¶
func NewSimpleClientset(objects ...runtime.Object) *ClusterClientset
NewSimpleClientset returns a clientset that will respond with the provided objects. It's backed by a very simple object tracker that processes creates, updates and deletions as-is, without applying any validations and/or defaults. It shouldn't be considered a replacement for a real clientset and is mostly useful in simple unit tests.
func (*ClusterClientset) ApiextensionsV1 ¶
func (c *ClusterClientset) ApiextensionsV1() kcpapiextensionsv1.ApiextensionsV1ClusterInterface
ApiextensionsV1 retrieves the ApiextensionsV1ClusterClient.
func (*ClusterClientset) ApiextensionsV1beta1 ¶
func (c *ClusterClientset) ApiextensionsV1beta1() kcpapiextensionsv1beta1.ApiextensionsV1beta1ClusterInterface
ApiextensionsV1beta1 retrieves the ApiextensionsV1beta1ClusterClient.
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) Tracker ¶
func (c *ClusterClientset) Tracker() kcptesting.ObjectTracker