Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VirtualMachineProviderInterface ¶
type VirtualMachineProviderInterface interface { CreateOrUpdateVirtualMachine(ctx context.Context, vm *vmopv1.VirtualMachine) error DeleteVirtualMachine(ctx context.Context, vm *vmopv1.VirtualMachine) error PublishVirtualMachine(ctx context.Context, vm *vmopv1.VirtualMachine, vmPub *vmopv1.VirtualMachinePublishRequest, cl *imgregv1a1.ContentLibrary, actID string) (string, error) GetVirtualMachineGuestHeartbeat(ctx context.Context, vm *vmopv1.VirtualMachine) (vmopv1.GuestHeartbeatStatus, error) GetVirtualMachineWebMKSTicket(ctx context.Context, vm *vmopv1.VirtualMachine, pubKey string) (string, error) GetVirtualMachineHardwareVersion(ctx context.Context, vm *vmopv1.VirtualMachine) (int32, error) CreateOrUpdateVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) error IsVirtualMachineSetResourcePolicyReady(ctx context.Context, availabilityZoneName string, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) (bool, error) DeleteVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *vmopv1.VirtualMachineSetResourcePolicy) error // "Infra" related UpdateVcPNID(ctx context.Context, vcPNID, vcPort string) error ResetVcClient(ctx context.Context) ComputeCPUMinFrequency(ctx context.Context) error ListItemsFromContentLibrary(ctx context.Context, contentLibrary *vmopv1.ContentLibraryProvider) ([]string, error) GetVirtualMachineImageFromContentLibrary(ctx context.Context, contentLibrary *vmopv1.ContentLibraryProvider, itemID string, currentCLImages map[string]vmopv1.VirtualMachineImage) (*vmopv1.VirtualMachineImage, error) GetItemFromLibraryByName(ctx context.Context, contentLibrary, itemName string) (*library.Item, error) UpdateContentLibraryItem(ctx context.Context, itemID, newName string, newDescription *string) error SyncVirtualMachineImage(ctx context.Context, cli, vmi client.Object) error GetTasksByActID(ctx context.Context, actID string) (tasksInfo []vimTypes.TaskInfo, retErr error) }
VirtualMachineProviderInterface is a plugable interface for VM Providers.
type VirtualMachineProviderInterfaceA2 ¶ added in v1.8.3
type VirtualMachineProviderInterfaceA2 interface { CreateOrUpdateVirtualMachine(ctx context.Context, vm *v1alpha2.VirtualMachine) error DeleteVirtualMachine(ctx context.Context, vm *v1alpha2.VirtualMachine) error PublishVirtualMachine(ctx context.Context, vm *v1alpha2.VirtualMachine, vmPub *v1alpha2.VirtualMachinePublishRequest, cl *imgregv1a1.ContentLibrary, actID string) (string, error) GetVirtualMachineGuestHeartbeat(ctx context.Context, vm *v1alpha2.VirtualMachine) (v1alpha2.GuestHeartbeatStatus, error) GetVirtualMachineGuestInfo(ctx context.Context, vm *v1alpha2.VirtualMachine) (map[string]string, error) GetVirtualMachineWebMKSTicket(ctx context.Context, vm *v1alpha2.VirtualMachine, pubKey string) (string, error) GetVirtualMachineHardwareVersion(ctx context.Context, vm *v1alpha2.VirtualMachine) (int32, error) CreateOrUpdateVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *v1alpha2.VirtualMachineSetResourcePolicy) error IsVirtualMachineSetResourcePolicyReady(ctx context.Context, availabilityZoneName string, resourcePolicy *v1alpha2.VirtualMachineSetResourcePolicy) (bool, error) DeleteVirtualMachineSetResourcePolicy(ctx context.Context, resourcePolicy *v1alpha2.VirtualMachineSetResourcePolicy) error // "Infra" related UpdateVcPNID(ctx context.Context, vcPNID, vcPort string) error ResetVcClient(ctx context.Context) ComputeCPUMinFrequency(ctx context.Context) error GetItemFromLibraryByName(ctx context.Context, contentLibrary, itemName string) (*library.Item, error) UpdateContentLibraryItem(ctx context.Context, itemID, newName string, newDescription *string) error SyncVirtualMachineImage(ctx context.Context, cli, vmi client.Object) error GetTasksByActID(ctx context.Context, actID string) (tasksInfo []vimTypes.TaskInfo, retErr error) }
VirtualMachineProviderInterfaceA2 is a plugable interface for VM Providers.
Click to show internal directories.
Click to hide internal directories.