services

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MPL-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 VmService

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

func NewVmService

func NewVmService(client *client.ClientWithResponses) *VmService

func (*VmService) CreateVm

func (*VmService) DeleteVm

func (s *VmService) DeleteVm(ctx context.Context, id int32) error

func (*VmService) GetVm

func (s *VmService) GetVm(ctx context.Context, id int32) (*client.VirtualMachine, error)

func (*VmService) StartVm

func (s *VmService) StartVm(ctx context.Context, id int32) (*client.VirtualMachine, error)

func (*VmService) StopVm

func (s *VmService) StopVm(ctx context.Context, id int32) (*client.VirtualMachine, error)

func (*VmService) UpdateVm

Jump to

Keyboard shortcuts

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