api

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DesktopAutoscalerService_VMWareCreate_FullMethodName               = "/api.DesktopAutoscalerService/VMWareCreate"
	DesktopAutoscalerService_VMWareDelete_FullMethodName               = "/api.DesktopAutoscalerService/VMWareDelete"
	DesktopAutoscalerService_VMWarePowerOn_FullMethodName              = "/api.DesktopAutoscalerService/VMWarePowerOn"
	DesktopAutoscalerService_VMWarePowerOff_FullMethodName             = "/api.DesktopAutoscalerService/VMWarePowerOff"
	DesktopAutoscalerService_VMWarePowerState_FullMethodName           = "/api.DesktopAutoscalerService/VMWarePowerState"
	DesktopAutoscalerService_VMWareShutdownGuest_FullMethodName        = "/api.DesktopAutoscalerService/VMWareShutdownGuest"
	DesktopAutoscalerService_VMWareStatus_FullMethodName               = "/api.DesktopAutoscalerService/VMWareStatus"
	DesktopAutoscalerService_VMWareWaitForIP_FullMethodName            = "/api.DesktopAutoscalerService/VMWareWaitForIP"
	DesktopAutoscalerService_VMWareWaitForToolsRunning_FullMethodName  = "/api.DesktopAutoscalerService/VMWareWaitForToolsRunning"
	DesktopAutoscalerService_VMWareSetAutoStart_FullMethodName         = "/api.DesktopAutoscalerService/VMWareSetAutoStart"
	DesktopAutoscalerService_VMWareVirtualMachineByName_FullMethodName = "/api.DesktopAutoscalerService/VMWareVirtualMachineByName"
	DesktopAutoscalerService_VMWareVirtualMachineByUUID_FullMethodName = "/api.DesktopAutoscalerService/VMWareVirtualMachineByUUID"
	DesktopAutoscalerService_VMWareListVirtualMachines_FullMethodName  = "/api.DesktopAutoscalerService/VMWareListVirtualMachines"
	DesktopAutoscalerService_VMWareListNetwork_FullMethodName          = "/api.DesktopAutoscalerService/VMWareListNetwork"
	DesktopAutoscalerService_HostListInstance_FullMethodName           = "/api.DesktopAutoscalerService/HostListInstance"
	DesktopAutoscalerService_HostStartInstance_FullMethodName          = "/api.DesktopAutoscalerService/HostStartInstance"
	DesktopAutoscalerService_HostStopInstance_FullMethodName           = "/api.DesktopAutoscalerService/HostStopInstance"
	DesktopAutoscalerService_HostDeleteInstance_FullMethodName         = "/api.DesktopAutoscalerService/HostDeleteInstance"
	DesktopAutoscalerService_HostInfoInstance_FullMethodName           = "/api.DesktopAutoscalerService/HostInfoInstance"
	DesktopAutoscalerService_HostCreateInstance_FullMethodName         = "/api.DesktopAutoscalerService/HostCreateInstance"
)

Variables

View Source
var DesktopAutoscalerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.DesktopAutoscalerService",
	HandlerType: (*DesktopAutoscalerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "VMWareCreate",
			Handler:    _DesktopAutoscalerService_VMWareCreate_Handler,
		},
		{
			MethodName: "VMWareDelete",
			Handler:    _DesktopAutoscalerService_VMWareDelete_Handler,
		},
		{
			MethodName: "VMWarePowerOn",
			Handler:    _DesktopAutoscalerService_VMWarePowerOn_Handler,
		},
		{
			MethodName: "VMWarePowerOff",
			Handler:    _DesktopAutoscalerService_VMWarePowerOff_Handler,
		},
		{
			MethodName: "VMWarePowerState",
			Handler:    _DesktopAutoscalerService_VMWarePowerState_Handler,
		},
		{
			MethodName: "VMWareShutdownGuest",
			Handler:    _DesktopAutoscalerService_VMWareShutdownGuest_Handler,
		},
		{
			MethodName: "VMWareStatus",
			Handler:    _DesktopAutoscalerService_VMWareStatus_Handler,
		},
		{
			MethodName: "VMWareWaitForIP",
			Handler:    _DesktopAutoscalerService_VMWareWaitForIP_Handler,
		},
		{
			MethodName: "VMWareWaitForToolsRunning",
			Handler:    _DesktopAutoscalerService_VMWareWaitForToolsRunning_Handler,
		},
		{
			MethodName: "VMWareSetAutoStart",
			Handler:    _DesktopAutoscalerService_VMWareSetAutoStart_Handler,
		},
		{
			MethodName: "VMWareVirtualMachineByName",
			Handler:    _DesktopAutoscalerService_VMWareVirtualMachineByName_Handler,
		},
		{
			MethodName: "VMWareVirtualMachineByUUID",
			Handler:    _DesktopAutoscalerService_VMWareVirtualMachineByUUID_Handler,
		},
		{
			MethodName: "VMWareListVirtualMachines",
			Handler:    _DesktopAutoscalerService_VMWareListVirtualMachines_Handler,
		},
		{
			MethodName: "VMWareListNetwork",
			Handler:    _DesktopAutoscalerService_VMWareListNetwork_Handler,
		},
		{
			MethodName: "HostListInstance",
			Handler:    _DesktopAutoscalerService_HostListInstance_Handler,
		},
		{
			MethodName: "HostStartInstance",
			Handler:    _DesktopAutoscalerService_HostStartInstance_Handler,
		},
		{
			MethodName: "HostStopInstance",
			Handler:    _DesktopAutoscalerService_HostStopInstance_Handler,
		},
		{
			MethodName: "HostDeleteInstance",
			Handler:    _DesktopAutoscalerService_HostDeleteInstance_Handler,
		},
		{
			MethodName: "HostInfoInstance",
			Handler:    _DesktopAutoscalerService_HostInfoInstance_Handler,
		},
		{
			MethodName: "HostCreateInstance",
			Handler:    _DesktopAutoscalerService_HostCreateInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api.proto",
}

DesktopAutoscalerService_ServiceDesc is the grpc.ServiceDesc for DesktopAutoscalerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterDesktopAutoscalerServiceServer

func RegisterDesktopAutoscalerServiceServer(s grpc.ServiceRegistrar, srv DesktopAutoscalerServiceServer)

Types

type ApiError

type ApiError interface {
	// Error implements golang error interface
	Error() string
}

func NewApiError

func NewApiError(err *ClientError) ApiError

type AutoStartReply

type AutoStartReply struct {
	Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

func (*AutoStartReply) Descriptor deprecated

func (*AutoStartReply) Descriptor() ([]byte, []int)

Deprecated: Use AutoStartReply.ProtoReflect.Descriptor instead.

func (*AutoStartReply) GetDone

func (x *AutoStartReply) GetDone() bool

func (*AutoStartReply) ProtoMessage

func (*AutoStartReply) ProtoMessage()

func (*AutoStartReply) ProtoReflect

func (x *AutoStartReply) ProtoReflect() protoreflect.Message

func (*AutoStartReply) Reset

func (x *AutoStartReply) Reset()

func (*AutoStartReply) String

func (x *AutoStartReply) String() string

type AutoStartRequest

type AutoStartRequest struct {
	Uuid      string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Autostart bool   `protobuf:"varint,2,opt,name=autostart,proto3" json:"autostart,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Set autostart VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*AutoStartRequest) Descriptor deprecated

func (*AutoStartRequest) Descriptor() ([]byte, []int)

Deprecated: Use AutoStartRequest.ProtoReflect.Descriptor instead.

func (*AutoStartRequest) GetAutostart

func (x *AutoStartRequest) GetAutostart() bool

func (*AutoStartRequest) GetUuid

func (x *AutoStartRequest) GetUuid() string

func (*AutoStartRequest) ProtoMessage

func (*AutoStartRequest) ProtoMessage()

func (*AutoStartRequest) ProtoReflect

func (x *AutoStartRequest) ProtoReflect() protoreflect.Message

func (*AutoStartRequest) Reset

func (x *AutoStartRequest) Reset()

func (*AutoStartRequest) String

func (x *AutoStartRequest) String() string

type AutoStartResponse

type AutoStartResponse struct {

	// Types that are assignable to Response:
	//
	//	*AutoStartResponse_Error
	//	*AutoStartResponse_Result
	Response isAutoStartResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*AutoStartResponse) Descriptor deprecated

func (*AutoStartResponse) Descriptor() ([]byte, []int)

Deprecated: Use AutoStartResponse.ProtoReflect.Descriptor instead.

func (*AutoStartResponse) GetError

func (x *AutoStartResponse) GetError() *ClientError

func (*AutoStartResponse) GetResponse

func (m *AutoStartResponse) GetResponse() isAutoStartResponse_Response

func (*AutoStartResponse) GetResult

func (x *AutoStartResponse) GetResult() *AutoStartReply

func (*AutoStartResponse) ProtoMessage

func (*AutoStartResponse) ProtoMessage()

func (*AutoStartResponse) ProtoReflect

func (x *AutoStartResponse) ProtoReflect() protoreflect.Message

func (*AutoStartResponse) Reset

func (x *AutoStartResponse) Reset()

func (*AutoStartResponse) String

func (x *AutoStartResponse) String() string

type AutoStartResponse_Error

type AutoStartResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type AutoStartResponse_Result

type AutoStartResponse_Result struct {
	Result *AutoStartReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type ClientError

type ClientError struct {
	Code   int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*ClientError) Descriptor deprecated

func (*ClientError) Descriptor() ([]byte, []int)

Deprecated: Use ClientError.ProtoReflect.Descriptor instead.

func (*ClientError) GetCode

func (x *ClientError) GetCode() int32

func (*ClientError) GetReason

func (x *ClientError) GetReason() string

func (*ClientError) ProtoMessage

func (*ClientError) ProtoMessage()

func (*ClientError) ProtoReflect

func (x *ClientError) ProtoReflect() protoreflect.Message

func (*ClientError) Reset

func (x *ClientError) Reset()

func (*ClientError) String

func (x *ClientError) String() string

type CreateReply

type CreateReply struct {
	Machine *VirtualMachine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateReply) Descriptor deprecated

func (*CreateReply) Descriptor() ([]byte, []int)

Deprecated: Use CreateReply.ProtoReflect.Descriptor instead.

func (*CreateReply) GetMachine

func (x *CreateReply) GetMachine() *VirtualMachine

func (*CreateReply) ProtoMessage

func (*CreateReply) ProtoMessage()

func (*CreateReply) ProtoReflect

func (x *CreateReply) ProtoReflect() protoreflect.Message

func (*CreateReply) Reset

func (x *CreateReply) Reset()

func (*CreateReply) String

func (x *CreateReply) String() string

type CreateRequest

type CreateRequest struct {
	Template     string              `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	Name         string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Vcpus        int32               `protobuf:"varint,3,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	Memory       int64               `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	DiskSizeInMb int32               `protobuf:"varint,5,opt,name=diskSizeInMb,proto3" json:"diskSizeInMb,omitempty"`
	Networks     []*NetworkInterface `protobuf:"bytes,6,rep,name=networks,proto3" json:"networks,omitempty"`
	GuestInfos   map[string]string   `` /* 161-byte string literal not displayed */
	Linked       bool                `protobuf:"varint,8,opt,name=linked,proto3" json:"linked,omitempty"`
	Register     bool                `protobuf:"varint,9,opt,name=register,proto3" json:"register,omitempty"`
	Autostart    bool                `protobuf:"varint,10,opt,name=autostart,proto3" json:"autostart,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

func (*CreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetAutostart

func (x *CreateRequest) GetAutostart() bool

func (*CreateRequest) GetDiskSizeInMb

func (x *CreateRequest) GetDiskSizeInMb() int32

func (*CreateRequest) GetGuestInfos

func (x *CreateRequest) GetGuestInfos() map[string]string

func (*CreateRequest) GetLinked

func (x *CreateRequest) GetLinked() bool

func (*CreateRequest) GetMemory

func (x *CreateRequest) GetMemory() int64

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) GetNetworks

func (x *CreateRequest) GetNetworks() []*NetworkInterface

func (*CreateRequest) GetRegister

func (x *CreateRequest) GetRegister() bool

func (*CreateRequest) GetTemplate

func (x *CreateRequest) GetTemplate() string

func (*CreateRequest) GetVcpus

func (x *CreateRequest) GetVcpus() int32

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {

	// Types that are assignable to Response:
	//
	//	*CreateResponse_Error
	//	*CreateResponse_Result
	Response isCreateResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

func (*CreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetError

func (x *CreateResponse) GetError() *ClientError

func (*CreateResponse) GetResponse

func (m *CreateResponse) GetResponse() isCreateResponse_Response

func (*CreateResponse) GetResult

func (x *CreateResponse) GetResult() *CreateReply

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type CreateResponse_Error

type CreateResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type CreateResponse_Result

type CreateResponse_Result struct {
	Result *CreateReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type DeleteReply

type DeleteReply struct {
	Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Delete VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*DeleteReply) Descriptor deprecated

func (*DeleteReply) Descriptor() ([]byte, []int)

Deprecated: Use DeleteReply.ProtoReflect.Descriptor instead.

func (*DeleteReply) GetDone

func (x *DeleteReply) GetDone() bool

func (*DeleteReply) ProtoMessage

func (*DeleteReply) ProtoMessage()

func (*DeleteReply) ProtoReflect

func (x *DeleteReply) ProtoReflect() protoreflect.Message

func (*DeleteReply) Reset

func (x *DeleteReply) Reset()

func (*DeleteReply) String

func (x *DeleteReply) String() string

type DeleteResponse

type DeleteResponse struct {

	// Types that are assignable to Response:
	//
	//	*DeleteResponse_Error
	//	*DeleteResponse_Result
	Response isDeleteResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

func (*DeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetError

func (x *DeleteResponse) GetError() *ClientError

func (*DeleteResponse) GetResponse

func (m *DeleteResponse) GetResponse() isDeleteResponse_Response

func (*DeleteResponse) GetResult

func (x *DeleteResponse) GetResult() *DeleteReply

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

func (x *DeleteResponse) ProtoReflect() protoreflect.Message

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DeleteResponse_Error

type DeleteResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type DeleteResponse_Result

type DeleteResponse_Result struct {
	Result *DeleteReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type DesktopAutoscalerServiceClient

type DesktopAutoscalerServiceClient interface {
	VMWareCreate(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	VMWareDelete(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	VMWarePowerOn(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*PowerOnResponse, error)
	VMWarePowerOff(ctx context.Context, in *PowerOffRequest, opts ...grpc.CallOption) (*PowerOffResponse, error)
	VMWarePowerState(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*PowerStateResponse, error)
	VMWareShutdownGuest(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*ShutdownGuestResponse, error)
	VMWareStatus(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*StatusResponse, error)
	VMWareWaitForIP(ctx context.Context, in *WaitForIPRequest, opts ...grpc.CallOption) (*WaitForIPResponse, error)
	VMWareWaitForToolsRunning(ctx context.Context, in *WaitForToolsRunningRequest, opts ...grpc.CallOption) (*WaitForToolsRunningResponse, error)
	VMWareSetAutoStart(ctx context.Context, in *AutoStartRequest, opts ...grpc.CallOption) (*AutoStartResponse, error)
	VMWareVirtualMachineByName(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*VirtualMachineResponse, error)
	VMWareVirtualMachineByUUID(ctx context.Context, in *VirtualMachineRequest, opts ...grpc.CallOption) (*VirtualMachineResponse, error)
	VMWareListVirtualMachines(ctx context.Context, in *VirtualMachinesRequest, opts ...grpc.CallOption) (*VirtualMachinesResponse, error)
	VMWareListNetwork(ctx context.Context, in *NetworkRequest, opts ...grpc.CallOption) (*NetworkResponse, error)
	HostListInstance(ctx context.Context, in *HostInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
	HostStartInstance(ctx context.Context, in *HostInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
	HostStopInstance(ctx context.Context, in *HostInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
	HostDeleteInstance(ctx context.Context, in *HostInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
	HostInfoInstance(ctx context.Context, in *HostInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
	HostCreateInstance(ctx context.Context, in *HostCreateInstanceRequest, opts ...grpc.CallOption) (*HostInstanceResponse, error)
}

DesktopAutoscalerServiceClient is the client API for DesktopAutoscalerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewApiClient

func NewApiClient(address string, key string, cert string, cacert string) (DesktopAutoscalerServiceClient, error)

type DesktopAutoscalerServiceServer

type DesktopAutoscalerServiceServer interface {
	VMWareCreate(context.Context, *CreateRequest) (*CreateResponse, error)
	VMWareDelete(context.Context, *VirtualMachineRequest) (*DeleteResponse, error)
	VMWarePowerOn(context.Context, *VirtualMachineRequest) (*PowerOnResponse, error)
	VMWarePowerOff(context.Context, *PowerOffRequest) (*PowerOffResponse, error)
	VMWarePowerState(context.Context, *VirtualMachineRequest) (*PowerStateResponse, error)
	VMWareShutdownGuest(context.Context, *VirtualMachineRequest) (*ShutdownGuestResponse, error)
	VMWareStatus(context.Context, *VirtualMachineRequest) (*StatusResponse, error)
	VMWareWaitForIP(context.Context, *WaitForIPRequest) (*WaitForIPResponse, error)
	VMWareWaitForToolsRunning(context.Context, *WaitForToolsRunningRequest) (*WaitForToolsRunningResponse, error)
	VMWareSetAutoStart(context.Context, *AutoStartRequest) (*AutoStartResponse, error)
	VMWareVirtualMachineByName(context.Context, *VirtualMachineRequest) (*VirtualMachineResponse, error)
	VMWareVirtualMachineByUUID(context.Context, *VirtualMachineRequest) (*VirtualMachineResponse, error)
	VMWareListVirtualMachines(context.Context, *VirtualMachinesRequest) (*VirtualMachinesResponse, error)
	VMWareListNetwork(context.Context, *NetworkRequest) (*NetworkResponse, error)
	HostListInstance(context.Context, *HostInstanceRequest) (*HostInstanceResponse, error)
	HostStartInstance(context.Context, *HostInstanceRequest) (*HostInstanceResponse, error)
	HostStopInstance(context.Context, *HostInstanceRequest) (*HostInstanceResponse, error)
	HostDeleteInstance(context.Context, *HostInstanceRequest) (*HostInstanceResponse, error)
	HostInfoInstance(context.Context, *HostInstanceRequest) (*HostInstanceResponse, error)
	HostCreateInstance(context.Context, *HostCreateInstanceRequest) (*HostInstanceResponse, error)
	// contains filtered or unexported methods
}

DesktopAutoscalerServiceServer is the server API for DesktopAutoscalerService service. All implementations must embed UnimplementedDesktopAutoscalerServiceServer for forward compatibility

type DriverResponse

type DriverResponse struct {
	Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*DriverResponse) Descriptor deprecated

func (*DriverResponse) Descriptor() ([]byte, []int)

Deprecated: Use DriverResponse.ProtoReflect.Descriptor instead.

func (*DriverResponse) GetOutput

func (x *DriverResponse) GetOutput() string

func (*DriverResponse) ProtoMessage

func (*DriverResponse) ProtoMessage()

func (*DriverResponse) ProtoReflect

func (x *DriverResponse) ProtoReflect() protoreflect.Message

func (*DriverResponse) Reset

func (x *DriverResponse) Reset()

func (*DriverResponse) String

func (x *DriverResponse) String() string

type Ethernet

type Ethernet struct {
	AddressType            string `protobuf:"bytes,1,opt,name=addressType,proto3" json:"addressType,omitempty"`
	BsdName                string `protobuf:"bytes,2,opt,name=bsdName,proto3" json:"bsdName,omitempty"`
	ConnectionType         string `protobuf:"bytes,3,opt,name=connectionType,proto3" json:"connectionType,omitempty"`
	DisplayName            string `protobuf:"bytes,4,opt,name=displayName,proto3" json:"displayName,omitempty"`
	GeneratedAddress       string `protobuf:"bytes,5,opt,name=generatedAddress,proto3" json:"generatedAddress,omitempty"`
	GeneratedAddressOffset int32  `protobuf:"varint,6,opt,name=generatedAddressOffset,proto3" json:"generatedAddressOffset,omitempty"`
	LinkStatePropagation   bool   `protobuf:"varint,7,opt,name=linkStatePropagation,proto3" json:"linkStatePropagation,omitempty"`
	PciSlotNumber          int32  `protobuf:"varint,8,opt,name=pciSlotNumber,proto3" json:"pciSlotNumber,omitempty"`
	Present                bool   `protobuf:"varint,9,opt,name=present,proto3" json:"present,omitempty"`
	VirtualDev             string `protobuf:"bytes,10,opt,name=virtualDev,proto3" json:"virtualDev,omitempty"`
	Vnet                   string `protobuf:"bytes,11,opt,name=vnet,proto3" json:"vnet,omitempty"`
	Address                string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Power status VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*Ethernet) Descriptor deprecated

func (*Ethernet) Descriptor() ([]byte, []int)

Deprecated: Use Ethernet.ProtoReflect.Descriptor instead.

func (*Ethernet) GetAddress

func (x *Ethernet) GetAddress() string

func (*Ethernet) GetAddressType

func (x *Ethernet) GetAddressType() string

func (*Ethernet) GetBsdName

func (x *Ethernet) GetBsdName() string

func (*Ethernet) GetConnectionType

func (x *Ethernet) GetConnectionType() string

func (*Ethernet) GetDisplayName

func (x *Ethernet) GetDisplayName() string

func (*Ethernet) GetGeneratedAddress

func (x *Ethernet) GetGeneratedAddress() string

func (*Ethernet) GetGeneratedAddressOffset

func (x *Ethernet) GetGeneratedAddressOffset() int32

func (*Ethernet) GetLinkStatePropagation

func (x *Ethernet) GetLinkStatePropagation() bool

func (*Ethernet) GetPciSlotNumber

func (x *Ethernet) GetPciSlotNumber() int32

func (*Ethernet) GetPresent

func (x *Ethernet) GetPresent() bool

func (*Ethernet) GetVirtualDev

func (x *Ethernet) GetVirtualDev() string

func (*Ethernet) GetVnet

func (x *Ethernet) GetVnet() string

func (*Ethernet) ProtoMessage

func (*Ethernet) ProtoMessage()

func (*Ethernet) ProtoReflect

func (x *Ethernet) ProtoReflect() protoreflect.Message

func (*Ethernet) Reset

func (x *Ethernet) Reset()

func (*Ethernet) String

func (x *Ethernet) String() string

type HostCreateInstanceRequest

type HostCreateInstanceRequest struct {
	Driver       string                  `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	InstanceName string                  `protobuf:"bytes,2,opt,name=instanceName,proto3" json:"instanceName,omitempty"`
	Template     string                  `protobuf:"bytes,3,opt,name=template,proto3" json:"template,omitempty"`
	Memory       int32                   `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	Vcpu         int32                   `protobuf:"varint,5,opt,name=vcpu,proto3" json:"vcpu,omitempty"`
	DiskSize     int32                   `protobuf:"varint,6,opt,name=diskSize,proto3" json:"diskSize,omitempty"`
	CloudInit    []byte                  `protobuf:"bytes,7,opt,name=cloudInit,proto3" json:"cloudInit,omitempty"`
	Mounts       []*HostMountPoint       `protobuf:"bytes,8,rep,name=mounts,proto3" json:"mounts,omitempty"`
	Networks     []*HostNetworkInterface `protobuf:"bytes,9,rep,name=networks,proto3" json:"networks,omitempty"`
	// contains filtered or unexported fields
}

func (*HostCreateInstanceRequest) Descriptor deprecated

func (*HostCreateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use HostCreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*HostCreateInstanceRequest) GetCloudInit

func (x *HostCreateInstanceRequest) GetCloudInit() []byte

func (*HostCreateInstanceRequest) GetDiskSize

func (x *HostCreateInstanceRequest) GetDiskSize() int32

func (*HostCreateInstanceRequest) GetDriver

func (x *HostCreateInstanceRequest) GetDriver() string

func (*HostCreateInstanceRequest) GetInstanceName

func (x *HostCreateInstanceRequest) GetInstanceName() string

func (*HostCreateInstanceRequest) GetMemory

func (x *HostCreateInstanceRequest) GetMemory() int32

func (*HostCreateInstanceRequest) GetMounts

func (x *HostCreateInstanceRequest) GetMounts() []*HostMountPoint

func (*HostCreateInstanceRequest) GetNetworks

func (x *HostCreateInstanceRequest) GetNetworks() []*HostNetworkInterface

func (*HostCreateInstanceRequest) GetTemplate

func (x *HostCreateInstanceRequest) GetTemplate() string

func (*HostCreateInstanceRequest) GetVcpu

func (x *HostCreateInstanceRequest) GetVcpu() int32

func (*HostCreateInstanceRequest) ProtoMessage

func (*HostCreateInstanceRequest) ProtoMessage()

func (*HostCreateInstanceRequest) ProtoReflect

func (*HostCreateInstanceRequest) Reset

func (x *HostCreateInstanceRequest) Reset()

func (*HostCreateInstanceRequest) String

func (x *HostCreateInstanceRequest) String() string

type HostInstanceRequest

type HostInstanceRequest struct {
	Driver       string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	InstanceName string `protobuf:"bytes,2,opt,name=instanceName,proto3" json:"instanceName,omitempty"`
	// contains filtered or unexported fields
}

func (*HostInstanceRequest) Descriptor deprecated

func (*HostInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use HostInstanceRequest.ProtoReflect.Descriptor instead.

func (*HostInstanceRequest) GetDriver

func (x *HostInstanceRequest) GetDriver() string

func (*HostInstanceRequest) GetInstanceName

func (x *HostInstanceRequest) GetInstanceName() string

func (*HostInstanceRequest) ProtoMessage

func (*HostInstanceRequest) ProtoMessage()

func (*HostInstanceRequest) ProtoReflect

func (x *HostInstanceRequest) ProtoReflect() protoreflect.Message

func (*HostInstanceRequest) Reset

func (x *HostInstanceRequest) Reset()

func (*HostInstanceRequest) String

func (x *HostInstanceRequest) String() string

type HostInstanceResponse

type HostInstanceResponse struct {

	// Types that are assignable to Response:
	//
	//	*HostInstanceResponse_Error
	//	*HostInstanceResponse_Result
	Response isHostInstanceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*HostInstanceResponse) Descriptor deprecated

func (*HostInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use HostInstanceResponse.ProtoReflect.Descriptor instead.

func (*HostInstanceResponse) GetError

func (x *HostInstanceResponse) GetError() *ClientError

func (*HostInstanceResponse) GetResponse

func (m *HostInstanceResponse) GetResponse() isHostInstanceResponse_Response

func (*HostInstanceResponse) GetResult

func (x *HostInstanceResponse) GetResult() *DriverResponse

func (*HostInstanceResponse) ProtoMessage

func (*HostInstanceResponse) ProtoMessage()

func (*HostInstanceResponse) ProtoReflect

func (x *HostInstanceResponse) ProtoReflect() protoreflect.Message

func (*HostInstanceResponse) Reset

func (x *HostInstanceResponse) Reset()

func (*HostInstanceResponse) String

func (x *HostInstanceResponse) String() string

type HostInstanceResponse_Error

type HostInstanceResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type HostInstanceResponse_Result

type HostInstanceResponse_Result struct {
	Result *DriverResponse `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type HostMountPoint

type HostMountPoint struct {
	LocalPath    string `protobuf:"bytes,1,opt,name=localPath,proto3" json:"localPath,omitempty"`
	InstancePath string `protobuf:"bytes,2,opt,name=instancePath,proto3" json:"instancePath,omitempty"`
	// contains filtered or unexported fields
}

func (*HostMountPoint) Descriptor deprecated

func (*HostMountPoint) Descriptor() ([]byte, []int)

Deprecated: Use HostMountPoint.ProtoReflect.Descriptor instead.

func (*HostMountPoint) GetInstancePath

func (x *HostMountPoint) GetInstancePath() string

func (*HostMountPoint) GetLocalPath

func (x *HostMountPoint) GetLocalPath() string

func (*HostMountPoint) ProtoMessage

func (*HostMountPoint) ProtoMessage()

func (*HostMountPoint) ProtoReflect

func (x *HostMountPoint) ProtoReflect() protoreflect.Message

func (*HostMountPoint) Reset

func (x *HostMountPoint) Reset()

func (*HostMountPoint) String

func (x *HostMountPoint) String() string

type HostNetworkInterface

type HostNetworkInterface struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Nic        string `protobuf:"bytes,2,opt,name=nic,proto3" json:"nic,omitempty"`
	Macaddress string `protobuf:"bytes,3,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
	Mode       string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*HostNetworkInterface) Descriptor deprecated

func (*HostNetworkInterface) Descriptor() ([]byte, []int)

Deprecated: Use HostNetworkInterface.ProtoReflect.Descriptor instead.

func (*HostNetworkInterface) GetMacaddress

func (x *HostNetworkInterface) GetMacaddress() string

func (*HostNetworkInterface) GetMode

func (x *HostNetworkInterface) GetMode() string

func (*HostNetworkInterface) GetName

func (x *HostNetworkInterface) GetName() string

func (*HostNetworkInterface) GetNic

func (x *HostNetworkInterface) GetNic() string

func (*HostNetworkInterface) ProtoMessage

func (*HostNetworkInterface) ProtoMessage()

func (*HostNetworkInterface) ProtoReflect

func (x *HostNetworkInterface) ProtoReflect() protoreflect.Message

func (*HostNetworkInterface) Reset

func (x *HostNetworkInterface) Reset()

func (*HostNetworkInterface) String

func (x *HostNetworkInterface) String() string

type NetworkDevice

type NetworkDevice struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Dhcp   bool   `protobuf:"varint,3,opt,name=dhcp,proto3" json:"dhcp,omitempty"`
	Subnet string `protobuf:"bytes,4,opt,name=subnet,proto3" json:"subnet,omitempty"`
	Mask   string `protobuf:"bytes,5,opt,name=mask,proto3" json:"mask,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkDevice) Descriptor deprecated

func (*NetworkDevice) Descriptor() ([]byte, []int)

Deprecated: Use NetworkDevice.ProtoReflect.Descriptor instead.

func (*NetworkDevice) GetDhcp

func (x *NetworkDevice) GetDhcp() bool

func (*NetworkDevice) GetMask

func (x *NetworkDevice) GetMask() string

func (*NetworkDevice) GetName

func (x *NetworkDevice) GetName() string

func (*NetworkDevice) GetSubnet

func (x *NetworkDevice) GetSubnet() string

func (*NetworkDevice) GetType

func (x *NetworkDevice) GetType() string

func (*NetworkDevice) ProtoMessage

func (*NetworkDevice) ProtoMessage()

func (*NetworkDevice) ProtoReflect

func (x *NetworkDevice) ProtoReflect() protoreflect.Message

func (*NetworkDevice) Reset

func (x *NetworkDevice) Reset()

func (*NetworkDevice) String

func (x *NetworkDevice) String() string

type NetworkInterface

type NetworkInterface struct {
	Macaddress  string `protobuf:"bytes,2,opt,name=macaddress,proto3" json:"macaddress,omitempty"`
	Vnet        string `protobuf:"bytes,3,opt,name=vnet,proto3" json:"vnet,omitempty"`
	Type        string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Device      string `protobuf:"bytes,5,opt,name=device,proto3" json:"device,omitempty"`
	BsdName     string `protobuf:"bytes,6,opt,name=bsdName,proto3" json:"bsdName,omitempty"`
	DisplayName string `protobuf:"bytes,7,opt,name=displayName,proto3" json:"displayName,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInterface) Descriptor deprecated

func (*NetworkInterface) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.

func (*NetworkInterface) GetBsdName

func (x *NetworkInterface) GetBsdName() string

func (*NetworkInterface) GetDevice

func (x *NetworkInterface) GetDevice() string

func (*NetworkInterface) GetDisplayName

func (x *NetworkInterface) GetDisplayName() string

func (*NetworkInterface) GetMacaddress

func (x *NetworkInterface) GetMacaddress() string

func (*NetworkInterface) GetType

func (x *NetworkInterface) GetType() string

func (*NetworkInterface) GetVnet

func (x *NetworkInterface) GetVnet() string

func (*NetworkInterface) ProtoMessage

func (*NetworkInterface) ProtoMessage()

func (*NetworkInterface) ProtoReflect

func (x *NetworkInterface) ProtoReflect() protoreflect.Message

func (*NetworkInterface) Reset

func (x *NetworkInterface) Reset()

func (*NetworkInterface) String

func (x *NetworkInterface) String() string

type NetworkReply

type NetworkReply struct {
	Num    int32            `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	Vmnets []*NetworkDevice `protobuf:"bytes,2,rep,name=vmnets,proto3" json:"vmnets,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkReply) Descriptor deprecated

func (*NetworkReply) Descriptor() ([]byte, []int)

Deprecated: Use NetworkReply.ProtoReflect.Descriptor instead.

func (*NetworkReply) GetNum

func (x *NetworkReply) GetNum() int32

func (*NetworkReply) GetVmnets

func (x *NetworkReply) GetVmnets() []*NetworkDevice

func (*NetworkReply) ProtoMessage

func (*NetworkReply) ProtoMessage()

func (*NetworkReply) ProtoReflect

func (x *NetworkReply) ProtoReflect() protoreflect.Message

func (*NetworkReply) Reset

func (x *NetworkReply) Reset()

func (*NetworkReply) String

func (x *NetworkReply) String() string

type NetworkRequest

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

func (*NetworkRequest) Descriptor deprecated

func (*NetworkRequest) Descriptor() ([]byte, []int)

Deprecated: Use NetworkRequest.ProtoReflect.Descriptor instead.

func (*NetworkRequest) ProtoMessage

func (*NetworkRequest) ProtoMessage()

func (*NetworkRequest) ProtoReflect

func (x *NetworkRequest) ProtoReflect() protoreflect.Message

func (*NetworkRequest) Reset

func (x *NetworkRequest) Reset()

func (*NetworkRequest) String

func (x *NetworkRequest) String() string

type NetworkResponse

type NetworkResponse struct {

	// Types that are assignable to Response:
	//
	//	*NetworkResponse_Error
	//	*NetworkResponse_Result
	Response isNetworkResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*NetworkResponse) Descriptor deprecated

func (*NetworkResponse) Descriptor() ([]byte, []int)

Deprecated: Use NetworkResponse.ProtoReflect.Descriptor instead.

func (*NetworkResponse) GetError

func (x *NetworkResponse) GetError() *ClientError

func (*NetworkResponse) GetResponse

func (m *NetworkResponse) GetResponse() isNetworkResponse_Response

func (*NetworkResponse) GetResult

func (x *NetworkResponse) GetResult() *NetworkReply

func (*NetworkResponse) ProtoMessage

func (*NetworkResponse) ProtoMessage()

func (*NetworkResponse) ProtoReflect

func (x *NetworkResponse) ProtoReflect() protoreflect.Message

func (*NetworkResponse) Reset

func (x *NetworkResponse) Reset()

func (*NetworkResponse) String

func (x *NetworkResponse) String() string

type NetworkResponse_Error

type NetworkResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type NetworkResponse_Result

type NetworkResponse_Result struct {
	Result *NetworkReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type PowerOffReply

type PowerOffReply struct {
	Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Power off VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*PowerOffReply) Descriptor deprecated

func (*PowerOffReply) Descriptor() ([]byte, []int)

Deprecated: Use PowerOffReply.ProtoReflect.Descriptor instead.

func (*PowerOffReply) GetDone

func (x *PowerOffReply) GetDone() bool

func (*PowerOffReply) ProtoMessage

func (*PowerOffReply) ProtoMessage()

func (*PowerOffReply) ProtoReflect

func (x *PowerOffReply) ProtoReflect() protoreflect.Message

func (*PowerOffReply) Reset

func (x *PowerOffReply) Reset()

func (*PowerOffReply) String

func (x *PowerOffReply) String() string

type PowerOffRequest

type PowerOffRequest struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Mode       string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerOffRequest) Descriptor deprecated

func (*PowerOffRequest) Descriptor() ([]byte, []int)

Deprecated: Use PowerOffRequest.ProtoReflect.Descriptor instead.

func (*PowerOffRequest) GetIdentifier

func (x *PowerOffRequest) GetIdentifier() string

func (*PowerOffRequest) GetMode

func (x *PowerOffRequest) GetMode() string

func (*PowerOffRequest) ProtoMessage

func (*PowerOffRequest) ProtoMessage()

func (*PowerOffRequest) ProtoReflect

func (x *PowerOffRequest) ProtoReflect() protoreflect.Message

func (*PowerOffRequest) Reset

func (x *PowerOffRequest) Reset()

func (*PowerOffRequest) String

func (x *PowerOffRequest) String() string

type PowerOffResponse

type PowerOffResponse struct {

	// Types that are assignable to Response:
	//
	//	*PowerOffResponse_Error
	//	*PowerOffResponse_Result
	Response isPowerOffResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*PowerOffResponse) Descriptor deprecated

func (*PowerOffResponse) Descriptor() ([]byte, []int)

Deprecated: Use PowerOffResponse.ProtoReflect.Descriptor instead.

func (*PowerOffResponse) GetError

func (x *PowerOffResponse) GetError() *ClientError

func (*PowerOffResponse) GetResponse

func (m *PowerOffResponse) GetResponse() isPowerOffResponse_Response

func (*PowerOffResponse) GetResult

func (x *PowerOffResponse) GetResult() *PowerOffReply

func (*PowerOffResponse) ProtoMessage

func (*PowerOffResponse) ProtoMessage()

func (*PowerOffResponse) ProtoReflect

func (x *PowerOffResponse) ProtoReflect() protoreflect.Message

func (*PowerOffResponse) Reset

func (x *PowerOffResponse) Reset()

func (*PowerOffResponse) String

func (x *PowerOffResponse) String() string

type PowerOffResponse_Error

type PowerOffResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type PowerOffResponse_Result

type PowerOffResponse_Result struct {
	Result *PowerOffReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type PowerOnReply

type PowerOnReply struct {
	Done bool `protobuf:"varint,1,opt,name=done,proto3" json:"done,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Power On VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*PowerOnReply) Descriptor deprecated

func (*PowerOnReply) Descriptor() ([]byte, []int)

Deprecated: Use PowerOnReply.ProtoReflect.Descriptor instead.

func (*PowerOnReply) GetDone

func (x *PowerOnReply) GetDone() bool

func (*PowerOnReply) ProtoMessage

func (*PowerOnReply) ProtoMessage()

func (*PowerOnReply) ProtoReflect

func (x *PowerOnReply) ProtoReflect() protoreflect.Message

func (*PowerOnReply) Reset

func (x *PowerOnReply) Reset()

func (*PowerOnReply) String

func (x *PowerOnReply) String() string

type PowerOnResponse

type PowerOnResponse struct {

	// Types that are assignable to Response:
	//
	//	*PowerOnResponse_Error
	//	*PowerOnResponse_Result
	Response isPowerOnResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*PowerOnResponse) Descriptor deprecated

func (*PowerOnResponse) Descriptor() ([]byte, []int)

Deprecated: Use PowerOnResponse.ProtoReflect.Descriptor instead.

func (*PowerOnResponse) GetError

func (x *PowerOnResponse) GetError() *ClientError

func (*PowerOnResponse) GetResponse

func (m *PowerOnResponse) GetResponse() isPowerOnResponse_Response

func (*PowerOnResponse) GetResult

func (x *PowerOnResponse) GetResult() *PowerOnReply

func (*PowerOnResponse) ProtoMessage

func (*PowerOnResponse) ProtoMessage()

func (*PowerOnResponse) ProtoReflect

func (x *PowerOnResponse) ProtoReflect() protoreflect.Message

func (*PowerOnResponse) Reset

func (x *PowerOnResponse) Reset()

func (*PowerOnResponse) String

func (x *PowerOnResponse) String() string

type PowerOnResponse_Error

type PowerOnResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type PowerOnResponse_Result

type PowerOnResponse_Result struct {
	Result *PowerOnReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type PowerStateResponse

type PowerStateResponse struct {

	// Types that are assignable to Response:
	//
	//	*PowerStateResponse_Error
	//	*PowerStateResponse_Powered
	Response isPowerStateResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*PowerStateResponse) Descriptor deprecated

func (*PowerStateResponse) Descriptor() ([]byte, []int)

Deprecated: Use PowerStateResponse.ProtoReflect.Descriptor instead.

func (*PowerStateResponse) GetError

func (x *PowerStateResponse) GetError() *ClientError

func (*PowerStateResponse) GetPowered

func (x *PowerStateResponse) GetPowered() bool

func (*PowerStateResponse) GetResponse

func (m *PowerStateResponse) GetResponse() isPowerStateResponse_Response

func (*PowerStateResponse) ProtoMessage

func (*PowerStateResponse) ProtoMessage()

func (*PowerStateResponse) ProtoReflect

func (x *PowerStateResponse) ProtoReflect() protoreflect.Message

func (*PowerStateResponse) Reset

func (x *PowerStateResponse) Reset()

func (*PowerStateResponse) String

func (x *PowerStateResponse) String() string

type PowerStateResponse_Error

type PowerStateResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type PowerStateResponse_Powered

type PowerStateResponse_Powered struct {
	Powered bool `protobuf:"varint,2,opt,name=powered,proto3,oneof"`
}

type ShutdownGuestResponse

type ShutdownGuestResponse struct {

	// Types that are assignable to Response:
	//
	//	*ShutdownGuestResponse_Error
	//	*ShutdownGuestResponse_Result
	Response isShutdownGuestResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*ShutdownGuestResponse) Descriptor deprecated

func (*ShutdownGuestResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShutdownGuestResponse.ProtoReflect.Descriptor instead.

func (*ShutdownGuestResponse) GetError

func (x *ShutdownGuestResponse) GetError() *ClientError

func (*ShutdownGuestResponse) GetResponse

func (m *ShutdownGuestResponse) GetResponse() isShutdownGuestResponse_Response

func (*ShutdownGuestResponse) GetResult

func (x *ShutdownGuestResponse) GetResult() *PowerOffReply

func (*ShutdownGuestResponse) ProtoMessage

func (*ShutdownGuestResponse) ProtoMessage()

func (*ShutdownGuestResponse) ProtoReflect

func (x *ShutdownGuestResponse) ProtoReflect() protoreflect.Message

func (*ShutdownGuestResponse) Reset

func (x *ShutdownGuestResponse) Reset()

func (*ShutdownGuestResponse) String

func (x *ShutdownGuestResponse) String() string

type ShutdownGuestResponse_Error

type ShutdownGuestResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type ShutdownGuestResponse_Result

type ShutdownGuestResponse_Result struct {
	Result *PowerOffReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type StatusReply

type StatusReply struct {
	Powered  bool        `protobuf:"varint,1,opt,name=powered,proto3" json:"powered,omitempty"`
	Ethernet []*Ethernet `protobuf:"bytes,2,rep,name=ethernet,proto3" json:"ethernet,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusReply) Descriptor deprecated

func (*StatusReply) Descriptor() ([]byte, []int)

Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.

func (*StatusReply) GetEthernet

func (x *StatusReply) GetEthernet() []*Ethernet

func (*StatusReply) GetPowered

func (x *StatusReply) GetPowered() bool

func (*StatusReply) ProtoMessage

func (*StatusReply) ProtoMessage()

func (*StatusReply) ProtoReflect

func (x *StatusReply) ProtoReflect() protoreflect.Message

func (*StatusReply) Reset

func (x *StatusReply) Reset()

func (*StatusReply) String

func (x *StatusReply) String() string

type StatusResponse

type StatusResponse struct {

	// Types that are assignable to Response:
	//
	//	*StatusResponse_Error
	//	*StatusResponse_Result
	Response isStatusResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetError

func (x *StatusResponse) GetError() *ClientError

func (*StatusResponse) GetResponse

func (m *StatusResponse) GetResponse() isStatusResponse_Response

func (*StatusResponse) GetResult

func (x *StatusResponse) GetResult() *StatusReply

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

type StatusResponse_Error

type StatusResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type StatusResponse_Result

type StatusResponse_Result struct {
	Result *StatusReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type UnimplementedDesktopAutoscalerServiceServer

type UnimplementedDesktopAutoscalerServiceServer struct {
}

UnimplementedDesktopAutoscalerServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDesktopAutoscalerServiceServer) HostCreateInstance

func (UnimplementedDesktopAutoscalerServiceServer) HostDeleteInstance

func (UnimplementedDesktopAutoscalerServiceServer) HostInfoInstance

func (UnimplementedDesktopAutoscalerServiceServer) HostListInstance

func (UnimplementedDesktopAutoscalerServiceServer) HostStartInstance

func (UnimplementedDesktopAutoscalerServiceServer) HostStopInstance

func (UnimplementedDesktopAutoscalerServiceServer) VMWareCreate

func (UnimplementedDesktopAutoscalerServiceServer) VMWareDelete

func (UnimplementedDesktopAutoscalerServiceServer) VMWareListNetwork

func (UnimplementedDesktopAutoscalerServiceServer) VMWareListVirtualMachines

func (UnimplementedDesktopAutoscalerServiceServer) VMWarePowerOff

func (UnimplementedDesktopAutoscalerServiceServer) VMWarePowerOn

func (UnimplementedDesktopAutoscalerServiceServer) VMWarePowerState

func (UnimplementedDesktopAutoscalerServiceServer) VMWareSetAutoStart

func (UnimplementedDesktopAutoscalerServiceServer) VMWareShutdownGuest

func (UnimplementedDesktopAutoscalerServiceServer) VMWareStatus

func (UnimplementedDesktopAutoscalerServiceServer) VMWareVirtualMachineByName

func (UnimplementedDesktopAutoscalerServiceServer) VMWareVirtualMachineByUUID

func (UnimplementedDesktopAutoscalerServiceServer) VMWareWaitForIP

func (UnimplementedDesktopAutoscalerServiceServer) VMWareWaitForToolsRunning

type UnsafeDesktopAutoscalerServiceServer

type UnsafeDesktopAutoscalerServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDesktopAutoscalerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DesktopAutoscalerServiceServer will result in compilation errors.

type VirtualMachine

type VirtualMachine struct {
	Uuid        string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Vmx         string `protobuf:"bytes,3,opt,name=vmx,proto3" json:"vmx,omitempty"`
	Vcpus       int32  `protobuf:"varint,4,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	Memory      int64  `protobuf:"varint,5,opt,name=memory,proto3" json:"memory,omitempty"`
	Address     string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
	Powered     bool   `protobuf:"varint,7,opt,name=powered,proto3" json:"powered,omitempty"`
	ToolsStatus string `protobuf:"bytes,8,opt,name=toolsStatus,proto3" json:"toolsStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachine) Descriptor deprecated

func (*VirtualMachine) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachine.ProtoReflect.Descriptor instead.

func (*VirtualMachine) GetAddress

func (x *VirtualMachine) GetAddress() string

func (*VirtualMachine) GetMemory

func (x *VirtualMachine) GetMemory() int64

func (*VirtualMachine) GetName

func (x *VirtualMachine) GetName() string

func (*VirtualMachine) GetPowered

func (x *VirtualMachine) GetPowered() bool

func (*VirtualMachine) GetToolsStatus

func (x *VirtualMachine) GetToolsStatus() string

func (*VirtualMachine) GetUuid

func (x *VirtualMachine) GetUuid() string

func (*VirtualMachine) GetVcpus

func (x *VirtualMachine) GetVcpus() int32

func (*VirtualMachine) GetVmx

func (x *VirtualMachine) GetVmx() string

func (*VirtualMachine) ProtoMessage

func (*VirtualMachine) ProtoMessage()

func (*VirtualMachine) ProtoReflect

func (x *VirtualMachine) ProtoReflect() protoreflect.Message

func (*VirtualMachine) Reset

func (x *VirtualMachine) Reset()

func (*VirtualMachine) String

func (x *VirtualMachine) String() string

type VirtualMachineRequest

type VirtualMachineRequest struct {
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachineRequest) Descriptor deprecated

func (*VirtualMachineRequest) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineRequest.ProtoReflect.Descriptor instead.

func (*VirtualMachineRequest) GetIdentifier

func (x *VirtualMachineRequest) GetIdentifier() string

func (*VirtualMachineRequest) ProtoMessage

func (*VirtualMachineRequest) ProtoMessage()

func (*VirtualMachineRequest) ProtoReflect

func (x *VirtualMachineRequest) ProtoReflect() protoreflect.Message

func (*VirtualMachineRequest) Reset

func (x *VirtualMachineRequest) Reset()

func (*VirtualMachineRequest) String

func (x *VirtualMachineRequest) String() string

type VirtualMachineResponse

type VirtualMachineResponse struct {

	// Types that are assignable to Response:
	//
	//	*VirtualMachineResponse_Error
	//	*VirtualMachineResponse_Result
	Response isVirtualMachineResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Get VM UUID for vm name ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*VirtualMachineResponse) Descriptor deprecated

func (*VirtualMachineResponse) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachineResponse.ProtoReflect.Descriptor instead.

func (*VirtualMachineResponse) GetError

func (x *VirtualMachineResponse) GetError() *ClientError

func (*VirtualMachineResponse) GetResponse

func (m *VirtualMachineResponse) GetResponse() isVirtualMachineResponse_Response

func (*VirtualMachineResponse) GetResult

func (x *VirtualMachineResponse) GetResult() *VirtualMachine

func (*VirtualMachineResponse) ProtoMessage

func (*VirtualMachineResponse) ProtoMessage()

func (*VirtualMachineResponse) ProtoReflect

func (x *VirtualMachineResponse) ProtoReflect() protoreflect.Message

func (*VirtualMachineResponse) Reset

func (x *VirtualMachineResponse) Reset()

func (*VirtualMachineResponse) String

func (x *VirtualMachineResponse) String() string

type VirtualMachineResponse_Error

type VirtualMachineResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type VirtualMachineResponse_Result

type VirtualMachineResponse_Result struct {
	Result *VirtualMachine `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type VirtualMachinesReply

type VirtualMachinesReply struct {
	Machines []*VirtualMachine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"`
	// contains filtered or unexported fields
}

func (*VirtualMachinesReply) Descriptor deprecated

func (*VirtualMachinesReply) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachinesReply.ProtoReflect.Descriptor instead.

func (*VirtualMachinesReply) GetMachines

func (x *VirtualMachinesReply) GetMachines() []*VirtualMachine

func (*VirtualMachinesReply) ProtoMessage

func (*VirtualMachinesReply) ProtoMessage()

func (*VirtualMachinesReply) ProtoReflect

func (x *VirtualMachinesReply) ProtoReflect() protoreflect.Message

func (*VirtualMachinesReply) Reset

func (x *VirtualMachinesReply) Reset()

func (*VirtualMachinesReply) String

func (x *VirtualMachinesReply) String() string

type VirtualMachinesRequest

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

func (*VirtualMachinesRequest) Descriptor deprecated

func (*VirtualMachinesRequest) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachinesRequest.ProtoReflect.Descriptor instead.

func (*VirtualMachinesRequest) ProtoMessage

func (*VirtualMachinesRequest) ProtoMessage()

func (*VirtualMachinesRequest) ProtoReflect

func (x *VirtualMachinesRequest) ProtoReflect() protoreflect.Message

func (*VirtualMachinesRequest) Reset

func (x *VirtualMachinesRequest) Reset()

func (*VirtualMachinesRequest) String

func (x *VirtualMachinesRequest) String() string

type VirtualMachinesResponse

type VirtualMachinesResponse struct {

	// Types that are assignable to Response:
	//
	//	*VirtualMachinesResponse_Error
	//	*VirtualMachinesResponse_Result
	Response isVirtualMachinesResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*VirtualMachinesResponse) Descriptor deprecated

func (*VirtualMachinesResponse) Descriptor() ([]byte, []int)

Deprecated: Use VirtualMachinesResponse.ProtoReflect.Descriptor instead.

func (*VirtualMachinesResponse) GetError

func (x *VirtualMachinesResponse) GetError() *ClientError

func (*VirtualMachinesResponse) GetResponse

func (m *VirtualMachinesResponse) GetResponse() isVirtualMachinesResponse_Response

func (*VirtualMachinesResponse) GetResult

func (*VirtualMachinesResponse) ProtoMessage

func (*VirtualMachinesResponse) ProtoMessage()

func (*VirtualMachinesResponse) ProtoReflect

func (x *VirtualMachinesResponse) ProtoReflect() protoreflect.Message

func (*VirtualMachinesResponse) Reset

func (x *VirtualMachinesResponse) Reset()

func (*VirtualMachinesResponse) String

func (x *VirtualMachinesResponse) String() string

type VirtualMachinesResponse_Error

type VirtualMachinesResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type VirtualMachinesResponse_Result

type VirtualMachinesResponse_Result struct {
	Result *VirtualMachinesReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type WaitForIPReply

type WaitForIPReply struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitForIPReply) Descriptor deprecated

func (*WaitForIPReply) Descriptor() ([]byte, []int)

Deprecated: Use WaitForIPReply.ProtoReflect.Descriptor instead.

func (*WaitForIPReply) GetAddress

func (x *WaitForIPReply) GetAddress() string

func (*WaitForIPReply) ProtoMessage

func (*WaitForIPReply) ProtoMessage()

func (*WaitForIPReply) ProtoReflect

func (x *WaitForIPReply) ProtoReflect() protoreflect.Message

func (*WaitForIPReply) Reset

func (x *WaitForIPReply) Reset()

func (*WaitForIPReply) String

func (x *WaitForIPReply) String() string

type WaitForIPRequest

type WaitForIPRequest struct {
	Identifier       string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	TimeoutInSeconds int32  `protobuf:"varint,2,opt,name=timeoutInSeconds,proto3" json:"timeoutInSeconds,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Wait for IP VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*WaitForIPRequest) Descriptor deprecated

func (*WaitForIPRequest) Descriptor() ([]byte, []int)

Deprecated: Use WaitForIPRequest.ProtoReflect.Descriptor instead.

func (*WaitForIPRequest) GetIdentifier

func (x *WaitForIPRequest) GetIdentifier() string

func (*WaitForIPRequest) GetTimeoutInSeconds

func (x *WaitForIPRequest) GetTimeoutInSeconds() int32

func (*WaitForIPRequest) ProtoMessage

func (*WaitForIPRequest) ProtoMessage()

func (*WaitForIPRequest) ProtoReflect

func (x *WaitForIPRequest) ProtoReflect() protoreflect.Message

func (*WaitForIPRequest) Reset

func (x *WaitForIPRequest) Reset()

func (*WaitForIPRequest) String

func (x *WaitForIPRequest) String() string

type WaitForIPResponse

type WaitForIPResponse struct {

	// Types that are assignable to Response:
	//
	//	*WaitForIPResponse_Error
	//	*WaitForIPResponse_Result
	Response isWaitForIPResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*WaitForIPResponse) Descriptor deprecated

func (*WaitForIPResponse) Descriptor() ([]byte, []int)

Deprecated: Use WaitForIPResponse.ProtoReflect.Descriptor instead.

func (*WaitForIPResponse) GetError

func (x *WaitForIPResponse) GetError() *ClientError

func (*WaitForIPResponse) GetResponse

func (m *WaitForIPResponse) GetResponse() isWaitForIPResponse_Response

func (*WaitForIPResponse) GetResult

func (x *WaitForIPResponse) GetResult() *WaitForIPReply

func (*WaitForIPResponse) ProtoMessage

func (*WaitForIPResponse) ProtoMessage()

func (*WaitForIPResponse) ProtoReflect

func (x *WaitForIPResponse) ProtoReflect() protoreflect.Message

func (*WaitForIPResponse) Reset

func (x *WaitForIPResponse) Reset()

func (*WaitForIPResponse) String

func (x *WaitForIPResponse) String() string

type WaitForIPResponse_Error

type WaitForIPResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type WaitForIPResponse_Result

type WaitForIPResponse_Result struct {
	Result *WaitForIPReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

type WaitForToolsRunningReply

type WaitForToolsRunningReply struct {
	Running bool `protobuf:"varint,1,opt,name=running,proto3" json:"running,omitempty"`
	// contains filtered or unexported fields
}

func (*WaitForToolsRunningReply) Descriptor deprecated

func (*WaitForToolsRunningReply) Descriptor() ([]byte, []int)

Deprecated: Use WaitForToolsRunningReply.ProtoReflect.Descriptor instead.

func (*WaitForToolsRunningReply) GetRunning

func (x *WaitForToolsRunningReply) GetRunning() bool

func (*WaitForToolsRunningReply) ProtoMessage

func (*WaitForToolsRunningReply) ProtoMessage()

func (*WaitForToolsRunningReply) ProtoReflect

func (x *WaitForToolsRunningReply) ProtoReflect() protoreflect.Message

func (*WaitForToolsRunningReply) Reset

func (x *WaitForToolsRunningReply) Reset()

func (*WaitForToolsRunningReply) String

func (x *WaitForToolsRunningReply) String() string

type WaitForToolsRunningRequest

type WaitForToolsRunningRequest struct {
	Identifier       string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	TimeoutInSeconds int32  `protobuf:"varint,2,opt,name=timeoutInSeconds,proto3" json:"timeoutInSeconds,omitempty"`
	// contains filtered or unexported fields
}

/////////////////////////////////////////////////////////////////////////////////////////////////////// Wait for vmware tools running VM ///////////////////////////////////////////////////////////////////////////////////////////////////////

func (*WaitForToolsRunningRequest) Descriptor deprecated

func (*WaitForToolsRunningRequest) Descriptor() ([]byte, []int)

Deprecated: Use WaitForToolsRunningRequest.ProtoReflect.Descriptor instead.

func (*WaitForToolsRunningRequest) GetIdentifier

func (x *WaitForToolsRunningRequest) GetIdentifier() string

func (*WaitForToolsRunningRequest) GetTimeoutInSeconds

func (x *WaitForToolsRunningRequest) GetTimeoutInSeconds() int32

func (*WaitForToolsRunningRequest) ProtoMessage

func (*WaitForToolsRunningRequest) ProtoMessage()

func (*WaitForToolsRunningRequest) ProtoReflect

func (*WaitForToolsRunningRequest) Reset

func (x *WaitForToolsRunningRequest) Reset()

func (*WaitForToolsRunningRequest) String

func (x *WaitForToolsRunningRequest) String() string

type WaitForToolsRunningResponse

type WaitForToolsRunningResponse struct {

	// Types that are assignable to Response:
	//
	//	*WaitForToolsRunningResponse_Error
	//	*WaitForToolsRunningResponse_Result
	Response isWaitForToolsRunningResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*WaitForToolsRunningResponse) Descriptor deprecated

func (*WaitForToolsRunningResponse) Descriptor() ([]byte, []int)

Deprecated: Use WaitForToolsRunningResponse.ProtoReflect.Descriptor instead.

func (*WaitForToolsRunningResponse) GetError

func (*WaitForToolsRunningResponse) GetResponse

func (m *WaitForToolsRunningResponse) GetResponse() isWaitForToolsRunningResponse_Response

func (*WaitForToolsRunningResponse) GetResult

func (*WaitForToolsRunningResponse) ProtoMessage

func (*WaitForToolsRunningResponse) ProtoMessage()

func (*WaitForToolsRunningResponse) ProtoReflect

func (*WaitForToolsRunningResponse) Reset

func (x *WaitForToolsRunningResponse) Reset()

func (*WaitForToolsRunningResponse) String

func (x *WaitForToolsRunningResponse) String() string

type WaitForToolsRunningResponse_Error

type WaitForToolsRunningResponse_Error struct {
	Error *ClientError `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type WaitForToolsRunningResponse_Result

type WaitForToolsRunningResponse_Result struct {
	Result *WaitForToolsRunningReply `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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