client

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VirtualMachineServiceGVR has virtualmachineservice resource info.
	VirtualMachineServiceGVR = schema.GroupVersionResource{
		Group:    "vmoperator.vmware.com",
		Version:  "v1alpha1",
		Resource: "virtualmachineservices",
	}
	// VirtualMachineGVR has virtualmachine resource info.
	VirtualMachineGVR = schema.GroupVersionResource{
		Group:    "vmoperator.vmware.com",
		Version:  "v1alpha1",
		Resource: "virtualmachines",
	}
)

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	// contains filtered or unexported fields
}

Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.

func NewForConfig

func NewForConfig(c *rest.Config) (*Clientset, error)

NewForConfig creates a new client for the given config.

func (*Clientset) V1alpha1

func (c *Clientset) V1alpha1() vmoperator.V1alpha1Interface

V1alpha1 retrieves the VmoperatorV1alpha1Client

type FakeClient

type FakeClient struct {
	DynamicClient *dynamicfake.FakeDynamicClient
}

FakeClient contains the fake dynamic client for vm operator group

func (*FakeClient) Client

func (c *FakeClient) Client() dynamic.Interface

Client retrieves the dynamic client

func (*FakeClient) VirtualMachineServices

func (c *FakeClient) VirtualMachineServices(namespace string) vmoperator.VirtualMachineServiceInterface

VirtualMachineServices retrieves the virtualmachineservice client

func (*FakeClient) VirtualMachines

func (c *FakeClient) VirtualMachines(namespace string) vmoperator.VirtualMachineInterface

VirtualMachines retrieves the virtualmachine client

type FakeClientSet

type FakeClientSet struct {
	FakeClient *FakeClient
}

FakeClientSet contains the fake clients for groups. Each group has exactly one version included in a Clientset.

func NewFakeClientSet

func NewFakeClientSet(fakeClient *dynamicfake.FakeDynamicClient) *FakeClientSet

NewFakeClientSet creates a FakeClientWrapper

func (*FakeClientSet) V1alpha1

V1alpha1 retrieves the fake VmoperatorV1alpha1Client

type VmoperatorV1alpha1Client

type VmoperatorV1alpha1Client struct {
	// contains filtered or unexported fields
}

VmoperatorV1alpha1Client contains the dynamic client for vm operator group

func (*VmoperatorV1alpha1Client) Client

Client retrieves the dynamic client

func (*VmoperatorV1alpha1Client) VirtualMachineServices

func (c *VmoperatorV1alpha1Client) VirtualMachineServices(namespace string) vmoperator.VirtualMachineServiceInterface

VirtualMachineServices retrieves the virtualmachineservice client

func (*VmoperatorV1alpha1Client) VirtualMachines

func (c *VmoperatorV1alpha1Client) VirtualMachines(namespace string) vmoperator.VirtualMachineInterface

VirtualMachines retrieves the virtualmachine client

Jump to

Keyboard shortcuts

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