client

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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:  "v1alpha2",
		Resource: "virtualmachineservices",
	}
	// VirtualMachineGVR has virtualmachine resource info.
	VirtualMachineGVR = schema.GroupVersionResource{
		Group:    "vmoperator.vmware.com",
		Version:  "v1alpha2",
		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) V1alpha2 added in v1.31.0

func (c *Clientset) V1alpha2() vmoperator.V1alpha2Interface

V1alpha2 retrieves the VmoperatorV1alpha2Client

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) V1alpha2 added in v1.31.0

V1alpha2 retrieves the fake VmoperatorV1alpha2Client

type VmoperatorV1alpha2Client added in v1.31.0

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

VmoperatorV1alpha2Client contains the dynamic client for vm operator group

func (*VmoperatorV1alpha2Client) Client added in v1.31.0

Client retrieves the dynamic client

func (*VmoperatorV1alpha2Client) VirtualMachineServices added in v1.31.0

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

VirtualMachineServices retrieves the virtualmachineservice client

func (*VmoperatorV1alpha2Client) VirtualMachines added in v1.31.0

func (c *VmoperatorV1alpha2Client) 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