vmoperator

package
v1.31.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	V1alpha2() V1alpha2Interface
}

Interface has methods to work with Vmoperator resources.

type V1alpha2Interface added in v1.31.0

type V1alpha2Interface interface {
	Client() dynamic.Interface
	VirtualMachines(namespace string) VirtualMachineInterface
	VirtualMachineServices(namespace string) VirtualMachineServiceInterface
}

V1alpha2Interface has methods to work with Vmoperator V1alpha2 resources.

type VirtualMachineInterface

type VirtualMachineInterface interface {
	Create(ctx context.Context, virtualMachine *vmopv1.VirtualMachine, opts v1.CreateOptions) (*vmopv1.VirtualMachine, error)
	Update(ctx context.Context, virtualMachine *vmopv1.VirtualMachine, opts v1.UpdateOptions) (*vmopv1.VirtualMachine, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*vmopv1.VirtualMachine, error)
	List(ctx context.Context, opts v1.ListOptions) (*vmopv1.VirtualMachineList, error)
}

VirtualMachineInterface has methods to work with VirtualMachineService resources.

type VirtualMachineServiceInterface

type VirtualMachineServiceInterface interface {
	Create(ctx context.Context, virtualMachineService *vmopv1.VirtualMachineService, opts v1.CreateOptions) (*vmopv1.VirtualMachineService, error)
	Update(ctx context.Context, virtualMachineService *vmopv1.VirtualMachineService, opts v1.UpdateOptions) (*vmopv1.VirtualMachineService, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*vmopv1.VirtualMachineService, error)
	List(ctx context.Context, opts v1.ListOptions) (*vmopv1.VirtualMachineServiceList, error)
}

VirtualMachineServiceInterface has methods to work with VirtualMachineService resources.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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