Documentation ¶
Index ¶
- type Clientset
- func (c *Clientset) ApisV1alpha1() apisv1alpha1.ApisV1alpha1Interface
- func (c *Clientset) CoreV1alpha1() corev1alpha1.CoreV1alpha1Interface
- func (c *Clientset) Discovery() discovery.DiscoveryInterface
- func (c *Clientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1Interface
- func (c *Clientset) TopologyV1alpha1() topologyv1alpha1.TopologyV1alpha1Interface
- func (c *Clientset) Tracker() kcptesting.ScopedObjectTracker
- type ClusterClientset
- func (c *ClusterClientset) ApisV1alpha1() kcpapisv1alpha1.ApisV1alpha1ClusterInterface
- func (c *ClusterClientset) Cluster(clusterPath logicalcluster.Path) client.Interface
- func (c *ClusterClientset) CoreV1alpha1() kcpcorev1alpha1.CoreV1alpha1ClusterInterface
- func (c *ClusterClientset) Discovery() discovery.DiscoveryInterface
- func (c *ClusterClientset) TenancyV1alpha1() kcptenancyv1alpha1.TenancyV1alpha1ClusterInterface
- func (c *ClusterClientset) TopologyV1alpha1() kcptopologyv1alpha1.TopologyV1alpha1ClusterInterface
- 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) ApisV1alpha1 ¶
func (c *Clientset) ApisV1alpha1() apisv1alpha1.ApisV1alpha1Interface
ApisV1alpha1 retrieves the ApisV1alpha1Client.
func (*Clientset) CoreV1alpha1 ¶
func (c *Clientset) CoreV1alpha1() corev1alpha1.CoreV1alpha1Interface
CoreV1alpha1 retrieves the CoreV1alpha1Client.
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (*Clientset) TenancyV1alpha1 ¶
func (c *Clientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1Interface
TenancyV1alpha1 retrieves the TenancyV1alpha1Client.
func (*Clientset) TopologyV1alpha1 ¶
func (c *Clientset) TopologyV1alpha1() topologyv1alpha1.TopologyV1alpha1Interface
TopologyV1alpha1 retrieves the TopologyV1alpha1Client.
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) ApisV1alpha1 ¶
func (c *ClusterClientset) ApisV1alpha1() kcpapisv1alpha1.ApisV1alpha1ClusterInterface
ApisV1alpha1 retrieves the ApisV1alpha1ClusterClient.
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() kcpcorev1alpha1.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() kcptenancyv1alpha1.TenancyV1alpha1ClusterInterface
TenancyV1alpha1 retrieves the TenancyV1alpha1ClusterClient.
func (*ClusterClientset) TopologyV1alpha1 ¶
func (c *ClusterClientset) TopologyV1alpha1() kcptopologyv1alpha1.TopologyV1alpha1ClusterInterface
TopologyV1alpha1 retrieves the TopologyV1alpha1ClusterClient.
func (*ClusterClientset) Tracker ¶
func (c *ClusterClientset) Tracker() kcptesting.ObjectTracker