fake

package
v0.0.0-...-0f3bb69 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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) ApiresourceV1alpha1

ApiresourceV1alpha1 retrieves the ApiresourceV1alpha1Client.

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) SchedulingV1alpha1

SchedulingV1alpha1 retrieves the SchedulingV1alpha1Client.

func (*Clientset) TenancyV1alpha1

func (c *Clientset) TenancyV1alpha1() tenancyv1alpha1.TenancyV1alpha1Interface

TenancyV1alpha1 retrieves the TenancyV1alpha1Client.

func (*Clientset) TopologyV1alpha1

TopologyV1alpha1 retrieves the TopologyV1alpha1Client.

func (*Clientset) Tracker

func (*Clientset) WorkloadV1alpha1

WorkloadV1alpha1 retrieves the WorkloadV1alpha1Client.

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) ApiresourceV1alpha1

ApiresourceV1alpha1 retrieves the ApiresourceV1alpha1ClusterClient.

func (*ClusterClientset) ApisV1alpha1

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

CoreV1alpha1 retrieves the CoreV1alpha1ClusterClient.

func (*ClusterClientset) Discovery

Discovery retrieves the DiscoveryClient

func (*ClusterClientset) SchedulingV1alpha1

SchedulingV1alpha1 retrieves the SchedulingV1alpha1ClusterClient.

func (*ClusterClientset) TenancyV1alpha1

TenancyV1alpha1 retrieves the TenancyV1alpha1ClusterClient.

func (*ClusterClientset) TopologyV1alpha1

TopologyV1alpha1 retrieves the TopologyV1alpha1ClusterClient.

func (*ClusterClientset) Tracker

func (*ClusterClientset) WorkloadV1alpha1

WorkloadV1alpha1 retrieves the WorkloadV1alpha1ClusterClient.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL