Documentation
¶
Index ¶
- Variables
- func RegisterDiskServiceServer(s grpc.ServiceRegistrar, srv DiskServiceServer)
- func RegisterHelloServiceServer(s grpc.ServiceRegistrar, srv HelloServiceServer)
- func RegisterMachineServiceServer(s grpc.ServiceRegistrar, srv MachineServiceServer)
- func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
- func RegisterSnapshotServiceServer(s grpc.ServiceRegistrar, srv SnapshotServiceServer)
- type ActionReply
- type BridgesReply
- type BridgesRequest
- type CopyFileRequest
- func (*CopyFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyFileRequest) GetFrom() string
- func (x *CopyFileRequest) GetTo() string
- func (*CopyFileRequest) ProtoMessage()
- func (x *CopyFileRequest) ProtoReflect() protoreflect.Message
- func (x *CopyFileRequest) Reset()
- func (x *CopyFileRequest) String() string
- type CreateMachineReply
- type CreateMachineRequest
- func (*CreateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMachineRequest) GetBootType() Machine_BootType
- func (x *CreateMachineRequest) GetCpuCount() uint32
- func (x *CreateMachineRequest) GetDiskPath() stringdeprecated
- func (x *CreateMachineRequest) GetDisks() []*MachineDiskInput
- func (x *CreateMachineRequest) GetMemory() uint32
- func (x *CreateMachineRequest) GetName() string
- func (x *CreateMachineRequest) GetTemplateXml() string
- func (x *CreateMachineRequest) GetXml() string
- func (*CreateMachineRequest) ProtoMessage()
- func (x *CreateMachineRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMachineRequest) Reset()
- func (x *CreateMachineRequest) String() string
- type CreateNetworkReply
- type CreateNetworkRequest
- func (*CreateNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkRequest) GetName() string
- func (x *CreateNetworkRequest) GetXml() string
- func (*CreateNetworkRequest) ProtoMessage()
- func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkRequest) Reset()
- func (x *CreateNetworkRequest) String() string
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetDescription() string
- func (x *CreateSnapshotRequest) GetMachineId() string
- func (x *CreateSnapshotRequest) GetName() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) String() string
- type DHCPPrefixesReply
- func (*DHCPPrefixesReply) Descriptor() ([]byte, []int)deprecated
- func (x *DHCPPrefixesReply) GetPrefixes() []string
- func (*DHCPPrefixesReply) ProtoMessage()
- func (x *DHCPPrefixesReply) ProtoReflect() protoreflect.Message
- func (x *DHCPPrefixesReply) Reset()
- func (x *DHCPPrefixesReply) String() string
- type DHCPPrefixesRequest
- func (*DHCPPrefixesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DHCPPrefixesRequest) GetCount() int32
- func (*DHCPPrefixesRequest) ProtoMessage()
- func (x *DHCPPrefixesRequest) ProtoReflect() protoreflect.Message
- func (x *DHCPPrefixesRequest) Reset()
- func (x *DHCPPrefixesRequest) String() string
- type DiskInfo
- type DiskServiceClient
- type DiskServiceServer
- type Empty
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetFlags() uint32
- func (x *FileInfo) GetIsDirectory() bool
- func (x *FileInfo) GetModifiedAt() *timestamppb.Timestamp
- func (x *FileInfo) GetSize() int64
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FileRequest
- type GetDiskInfoReply
- type GetFileContentsReply
- func (*GetFileContentsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileContentsReply) GetData() string
- func (*GetFileContentsReply) ProtoMessage()
- func (x *GetFileContentsReply) ProtoReflect() protoreflect.Message
- func (x *GetFileContentsReply) Reset()
- func (x *GetFileContentsReply) String() string
- type GetFileExistsReply
- func (*GetFileExistsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileExistsReply) GetExists() bool
- func (*GetFileExistsReply) ProtoMessage()
- func (x *GetFileExistsReply) ProtoReflect() protoreflect.Message
- func (x *GetFileExistsReply) Reset()
- func (x *GetFileExistsReply) String() string
- type GetFileInfoReply
- type GetFileSizeReply
- type GetMachineRequest
- type GetMachinesReply
- type GetMachinesRequest
- func (*GetMachinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachinesRequest) GetFields() []string
- func (x *GetMachinesRequest) GetIds() []string
- func (*GetMachinesRequest) ProtoMessage()
- func (x *GetMachinesRequest) ProtoReflect() protoreflect.Message
- func (x *GetMachinesRequest) Reset()
- func (x *GetMachinesRequest) String() string
- type GetNetworksReply
- type GetNetworksRequest
- func (*GetNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworksRequest) GetIds() []string
- func (*GetNetworksRequest) ProtoMessage()
- func (x *GetNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetworksRequest) Reset()
- func (x *GetNetworksRequest) String() string
- type GetSnapshotRequest
- func (*GetSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotRequest) GetMachineId() string
- func (x *GetSnapshotRequest) GetName() string
- func (*GetSnapshotRequest) ProtoMessage()
- func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotRequest) Reset()
- func (x *GetSnapshotRequest) String() string
- type GetSnapshotsReply
- func (*GetSnapshotsReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotsReply) GetSnapshots() []*Snapshot
- func (*GetSnapshotsReply) ProtoMessage()
- func (x *GetSnapshotsReply) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotsReply) Reset()
- func (x *GetSnapshotsReply) String() string
- type GetSnapshotsRequest
- func (*GetSnapshotsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSnapshotsRequest) GetMachineId() string
- func (*GetSnapshotsRequest) ProtoMessage()
- func (x *GetSnapshotsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSnapshotsRequest) Reset()
- func (x *GetSnapshotsRequest) String() string
- type GetVncPortReply
- type HelloReply
- type HelloRequest
- type HelloServiceClient
- type HelloServiceServer
- type LinkNetworkReply
- func (*LinkNetworkReply) Descriptor() ([]byte, []int)deprecated
- func (x *LinkNetworkReply) GetInterface() *MachineInterface
- func (*LinkNetworkReply) ProtoMessage()
- func (x *LinkNetworkReply) ProtoReflect() protoreflect.Message
- func (x *LinkNetworkReply) Reset()
- func (x *LinkNetworkReply) String() string
- type Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetBootType() Machine_BootType
- func (x *Machine) GetCpus() uint32
- func (x *Machine) GetDisks() []*MachineDisk
- func (x *Machine) GetId() string
- func (x *Machine) GetInterfaces() []*MachineInterface
- func (x *Machine) GetMemory() int64
- func (x *Machine) GetName() string
- func (x *Machine) GetNetworks() []*Network
- func (x *Machine) GetPowerState() Machine_PowerState
- func (x *Machine) GetXml() string
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type MachineDisk
- func (*MachineDisk) Descriptor() ([]byte, []int)deprecated
- func (x *MachineDisk) GetMountTarget() string
- func (x *MachineDisk) GetSourceFile() string
- func (x *MachineDisk) GetVirtualSize() int64
- func (*MachineDisk) ProtoMessage()
- func (x *MachineDisk) ProtoReflect() protoreflect.Message
- func (x *MachineDisk) Reset()
- func (x *MachineDisk) String() string
- type MachineDiskInput
- func (*MachineDiskInput) Descriptor() ([]byte, []int)deprecated
- func (x *MachineDiskInput) GetMountTarget() string
- func (x *MachineDiskInput) GetSourceFile() string
- func (*MachineDiskInput) ProtoMessage()
- func (x *MachineDiskInput) ProtoReflect() protoreflect.Message
- func (x *MachineDiskInput) Reset()
- func (x *MachineDiskInput) String() string
- type MachineInterface
- func (*MachineInterface) Descriptor() ([]byte, []int)deprecated
- func (x *MachineInterface) GetMacAddress() string
- func (x *MachineInterface) GetNetworkId() string
- func (*MachineInterface) ProtoMessage()
- func (x *MachineInterface) ProtoReflect() protoreflect.Message
- func (x *MachineInterface) Reset()
- func (x *MachineInterface) String() string
- type MachineNetworkRequest
- func (*MachineNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MachineNetworkRequest) GetMachineId() string
- func (x *MachineNetworkRequest) GetNetworkId() string
- func (*MachineNetworkRequest) ProtoMessage()
- func (x *MachineNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *MachineNetworkRequest) Reset()
- func (x *MachineNetworkRequest) String() string
- type MachineServiceClient
- type MachineServiceServer
- type Machine_BootType
- func (Machine_BootType) Descriptor() protoreflect.EnumDescriptor
- func (x Machine_BootType) Enum() *Machine_BootType
- func (Machine_BootType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Machine_BootType) Number() protoreflect.EnumNumber
- func (x Machine_BootType) String() string
- func (Machine_BootType) Type() protoreflect.EnumType
- type Machine_PowerState
- func (Machine_PowerState) Descriptor() protoreflect.EnumDescriptor
- func (x Machine_PowerState) Enum() *Machine_PowerState
- func (Machine_PowerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Machine_PowerState) Number() protoreflect.EnumNumber
- func (x Machine_PowerState) String() string
- func (Machine_PowerState) Type() protoreflect.EnumType
- type MoveFileRequest
- func (*MoveFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveFileRequest) GetFrom() string
- func (x *MoveFileRequest) GetTo() string
- func (*MoveFileRequest) ProtoMessage()
- func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
- func (x *MoveFileRequest) Reset()
- func (x *MoveFileRequest) String() string
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetDhcp() bool
- func (x *Network) GetId() string
- func (x *Network) GetInternet() bool
- func (x *Network) GetMachineIds() []uint32
- func (x *Network) GetName() string
- func (x *Network) GetPromiscuous() bool
- func (x *Network) GetXml() string
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type NetworkServiceClient
- type NetworkServiceServer
- type ResizeDiskRequest
- func (*ResizeDiskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeDiskRequest) GetPath() string
- func (x *ResizeDiskRequest) GetVirtualSize() int64
- func (*ResizeDiskRequest) ProtoMessage()
- func (x *ResizeDiskRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeDiskRequest) Reset()
- func (x *ResizeDiskRequest) String() string
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)deprecated
- func (x *Snapshot) GetCreatedAt() *timestamppb.Timestamp
- func (x *Snapshot) GetDescription() string
- func (x *Snapshot) GetName() string
- func (x *Snapshot) GetParentName() string
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (x *Snapshot) String() string
- type SnapshotServiceClient
- type SnapshotServiceServer
- type StopMachinesRequest
- func (*StopMachinesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopMachinesRequest) GetForce() bool
- func (x *StopMachinesRequest) GetIds() []string
- func (*StopMachinesRequest) ProtoMessage()
- func (x *StopMachinesRequest) ProtoReflect() protoreflect.Message
- func (x *StopMachinesRequest) Reset()
- func (x *StopMachinesRequest) String() string
- type UnimplementedDiskServiceServer
- func (UnimplementedDiskServiceServer) CommitDisk(context.Context, *FileRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) CopyFile(context.Context, *CopyFileRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) CreateLinkedDisk(context.Context, *CopyFileRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) DeleteFile(context.Context, *FileRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) GetDiskInfo(context.Context, *FileRequest) (*GetDiskInfoReply, error)
- func (UnimplementedDiskServiceServer) GetFileContents(context.Context, *FileRequest) (*GetFileContentsReply, error)
- func (UnimplementedDiskServiceServer) GetFileExists(context.Context, *FileRequest) (*GetFileExistsReply, error)
- func (UnimplementedDiskServiceServer) GetFileInfo(context.Context, *FileRequest) (*GetFileInfoReply, error)
- func (UnimplementedDiskServiceServer) GetFileSize(context.Context, *FileRequest) (*GetFileSizeReply, error)
- func (UnimplementedDiskServiceServer) MoveFile(context.Context, *MoveFileRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) ResizeDisk(context.Context, *ResizeDiskRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) UpdateDiskBacking(context.Context, *UpdateDiskBackingRequest) (*ActionReply, error)
- func (UnimplementedDiskServiceServer) WriteFile(context.Context, *WriteFileRequest) (*ActionReply, error)
- type UnimplementedHelloServiceServer
- type UnimplementedMachineServiceServer
- func (UnimplementedMachineServiceServer) Create(context.Context, *CreateMachineRequest) (*CreateMachineReply, error)
- func (UnimplementedMachineServiceServer) Delete(context.Context, *GetMachinesRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) GetMany(context.Context, *GetMachinesRequest) (*GetMachinesReply, error)
- func (UnimplementedMachineServiceServer) GetVncPort(context.Context, *GetMachineRequest) (*GetVncPortReply, error)
- func (UnimplementedMachineServiceServer) LinkNetwork(context.Context, *MachineNetworkRequest) (*LinkNetworkReply, error)
- func (UnimplementedMachineServiceServer) Start(context.Context, *GetMachinesRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) Stop(context.Context, *StopMachinesRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) UnlinkNetwork(context.Context, *MachineNetworkRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) UpdateBootType(context.Context, *UpdateMachineBootTypeRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) UpdateCpus(context.Context, *UpdateMachineCpusRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) UpdateDisks(context.Context, *UpdateMachineDisksRequest) (*ActionReply, error)
- func (UnimplementedMachineServiceServer) UpdateMemory(context.Context, *UpdateMachineMemoryRequest) (*ActionReply, error)
- type UnimplementedNetworkServiceServer
- func (UnimplementedNetworkServiceServer) Create(context.Context, *CreateNetworkRequest) (*CreateNetworkReply, error)
- func (UnimplementedNetworkServiceServer) Delete(context.Context, *GetNetworksRequest) (*ActionReply, error)
- func (UnimplementedNetworkServiceServer) GetFreeBridgeNames(context.Context, *BridgesRequest) (*BridgesReply, error)
- func (UnimplementedNetworkServiceServer) GetFreeDHCPPrefixes(context.Context, *DHCPPrefixesRequest) (*DHCPPrefixesReply, error)
- func (UnimplementedNetworkServiceServer) GetMany(context.Context, *GetNetworksRequest) (*GetNetworksReply, error)
- func (UnimplementedNetworkServiceServer) UpdateDHCP(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
- func (UnimplementedNetworkServiceServer) UpdateInternet(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
- func (UnimplementedNetworkServiceServer) UpdatePromiscuous(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
- type UnimplementedSnapshotServiceServer
- func (UnimplementedSnapshotServiceServer) Create(context.Context, *CreateSnapshotRequest) (*ActionReply, error)
- func (UnimplementedSnapshotServiceServer) Delete(context.Context, *GetSnapshotRequest) (*ActionReply, error)
- func (UnimplementedSnapshotServiceServer) GetMany(context.Context, *GetSnapshotsRequest) (*GetSnapshotsReply, error)
- func (UnimplementedSnapshotServiceServer) RevertTo(context.Context, *GetSnapshotRequest) (*ActionReply, error)
- type UnsafeDiskServiceServer
- type UnsafeHelloServiceServer
- type UnsafeMachineServiceServer
- type UnsafeNetworkServiceServer
- type UnsafeSnapshotServiceServer
- type UpdateDiskBackingRequest
- func (*UpdateDiskBackingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDiskBackingRequest) GetBackingPath() string
- func (x *UpdateDiskBackingRequest) GetDiskPath() string
- func (*UpdateDiskBackingRequest) ProtoMessage()
- func (x *UpdateDiskBackingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDiskBackingRequest) Reset()
- func (x *UpdateDiskBackingRequest) String() string
- type UpdateMachineBootTypeRequest
- func (*UpdateMachineBootTypeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMachineBootTypeRequest) GetBootType() Machine_BootType
- func (x *UpdateMachineBootTypeRequest) GetMachineId() string
- func (*UpdateMachineBootTypeRequest) ProtoMessage()
- func (x *UpdateMachineBootTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMachineBootTypeRequest) Reset()
- func (x *UpdateMachineBootTypeRequest) String() string
- type UpdateMachineCpusRequest
- func (*UpdateMachineCpusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMachineCpusRequest) GetCpus() uint32
- func (x *UpdateMachineCpusRequest) GetMachineId() string
- func (*UpdateMachineCpusRequest) ProtoMessage()
- func (x *UpdateMachineCpusRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMachineCpusRequest) Reset()
- func (x *UpdateMachineCpusRequest) String() string
- type UpdateMachineDisksRequest
- func (*UpdateMachineDisksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMachineDisksRequest) GetDisks() []*MachineDiskInput
- func (x *UpdateMachineDisksRequest) GetMachineId() string
- func (*UpdateMachineDisksRequest) ProtoMessage()
- func (x *UpdateMachineDisksRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMachineDisksRequest) Reset()
- func (x *UpdateMachineDisksRequest) String() string
- type UpdateMachineMemoryRequest
- func (*UpdateMachineMemoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMachineMemoryRequest) GetMachineId() string
- func (x *UpdateMachineMemoryRequest) GetMemory() int64
- func (*UpdateMachineMemoryRequest) ProtoMessage()
- func (x *UpdateMachineMemoryRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMachineMemoryRequest) Reset()
- func (x *UpdateMachineMemoryRequest) String() string
- type UpdateNetworkFlagRequest
- func (*UpdateNetworkFlagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkFlagRequest) GetNetworkId() string
- func (x *UpdateNetworkFlagRequest) GetValue() bool
- func (*UpdateNetworkFlagRequest) ProtoMessage()
- func (x *UpdateNetworkFlagRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkFlagRequest) Reset()
- func (x *UpdateNetworkFlagRequest) String() string
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteFileRequest) GetData() string
- func (x *WriteFileRequest) GetPath() string
- func (x *WriteFileRequest) GetUrl() string
- func (*WriteFileRequest) ProtoMessage()
- func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
- func (x *WriteFileRequest) Reset()
- func (x *WriteFileRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Machine_PowerState_name = map[int32]string{ 0: "UNKNOWN", 1: "POWERED_ON", 2: "POWERED_OFF", 3: "SUSPENDED", } Machine_PowerState_value = map[string]int32{ "UNKNOWN": 0, "POWERED_ON": 1, "POWERED_OFF": 2, "SUSPENDED": 3, } )
Enum value maps for Machine_PowerState.
var ( Machine_BootType_name = map[int32]string{ 0: "BIOS", 1: "UEFI", } Machine_BootType_value = map[string]int32{ "BIOS": 0, "UEFI": 1, } )
Enum value maps for Machine_BootType.
var DiskService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "DiskService", HandlerType: (*DiskServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CopyFile", Handler: _DiskService_CopyFile_Handler, }, { MethodName: "CreateLinkedDisk", Handler: _DiskService_CreateLinkedDisk_Handler, }, { MethodName: "DeleteFile", Handler: _DiskService_DeleteFile_Handler, }, { MethodName: "GetFileContents", Handler: _DiskService_GetFileContents_Handler, }, { MethodName: "GetFileExists", Handler: _DiskService_GetFileExists_Handler, }, { MethodName: "GetFileInfo", Handler: _DiskService_GetFileInfo_Handler, }, { MethodName: "GetFileSize", Handler: _DiskService_GetFileSize_Handler, }, { MethodName: "CommitDisk", Handler: _DiskService_CommitDisk_Handler, }, { MethodName: "GetDiskInfo", Handler: _DiskService_GetDiskInfo_Handler, }, { MethodName: "MoveFile", Handler: _DiskService_MoveFile_Handler, }, { MethodName: "ResizeDisk", Handler: _DiskService_ResizeDisk_Handler, }, { MethodName: "UpdateDiskBacking", Handler: _DiskService_UpdateDiskBacking_Handler, }, { MethodName: "WriteFile", Handler: _DiskService_WriteFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "disk.proto", }
DiskService_ServiceDesc is the grpc.ServiceDesc for DiskService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_disk_proto protoreflect.FileDescriptor
var File_hello_proto protoreflect.FileDescriptor
var File_machine_proto protoreflect.FileDescriptor
var File_network_proto protoreflect.FileDescriptor
var File_snapshot_proto protoreflect.FileDescriptor
var File_util_proto protoreflect.FileDescriptor
var HelloService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "HelloService", HandlerType: (*HelloServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Hello", Handler: _HelloService_Hello_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "hello.proto", }
HelloService_ServiceDesc is the grpc.ServiceDesc for HelloService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MachineService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "MachineService", HandlerType: (*MachineServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVncPort", Handler: _MachineService_GetVncPort_Handler, }, { MethodName: "GetMany", Handler: _MachineService_GetMany_Handler, }, { MethodName: "Create", Handler: _MachineService_Create_Handler, }, { MethodName: "Delete", Handler: _MachineService_Delete_Handler, }, { MethodName: "Start", Handler: _MachineService_Start_Handler, }, { MethodName: "Stop", Handler: _MachineService_Stop_Handler, }, { MethodName: "LinkNetwork", Handler: _MachineService_LinkNetwork_Handler, }, { MethodName: "UnlinkNetwork", Handler: _MachineService_UnlinkNetwork_Handler, }, { MethodName: "UpdateBootType", Handler: _MachineService_UpdateBootType_Handler, }, { MethodName: "UpdateCpus", Handler: _MachineService_UpdateCpus_Handler, }, { MethodName: "UpdateDisks", Handler: _MachineService_UpdateDisks_Handler, }, { MethodName: "UpdateMemory", Handler: _MachineService_UpdateMemory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "machine.proto", }
MachineService_ServiceDesc is the grpc.ServiceDesc for MachineService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NetworkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "NetworkService", HandlerType: (*NetworkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMany", Handler: _NetworkService_GetMany_Handler, }, { MethodName: "Create", Handler: _NetworkService_Create_Handler, }, { MethodName: "Delete", Handler: _NetworkService_Delete_Handler, }, { MethodName: "GetFreeBridgeNames", Handler: _NetworkService_GetFreeBridgeNames_Handler, }, { MethodName: "GetFreeDHCPPrefixes", Handler: _NetworkService_GetFreeDHCPPrefixes_Handler, }, { MethodName: "UpdateDHCP", Handler: _NetworkService_UpdateDHCP_Handler, }, { MethodName: "UpdateInternet", Handler: _NetworkService_UpdateInternet_Handler, }, { MethodName: "UpdatePromiscuous", Handler: _NetworkService_UpdatePromiscuous_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "network.proto", }
NetworkService_ServiceDesc is the grpc.ServiceDesc for NetworkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SnapshotService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "SnapshotService", HandlerType: (*SnapshotServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetMany", Handler: _SnapshotService_GetMany_Handler, }, { MethodName: "Create", Handler: _SnapshotService_Create_Handler, }, { MethodName: "Delete", Handler: _SnapshotService_Delete_Handler, }, { MethodName: "RevertTo", Handler: _SnapshotService_RevertTo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "snapshot.proto", }
SnapshotService_ServiceDesc is the grpc.ServiceDesc for SnapshotService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterDiskServiceServer ¶
func RegisterDiskServiceServer(s grpc.ServiceRegistrar, srv DiskServiceServer)
func RegisterHelloServiceServer ¶ added in v2.1.5
func RegisterHelloServiceServer(s grpc.ServiceRegistrar, srv HelloServiceServer)
func RegisterMachineServiceServer ¶
func RegisterMachineServiceServer(s grpc.ServiceRegistrar, srv MachineServiceServer)
func RegisterNetworkServiceServer ¶
func RegisterNetworkServiceServer(s grpc.ServiceRegistrar, srv NetworkServiceServer)
func RegisterSnapshotServiceServer ¶
func RegisterSnapshotServiceServer(s grpc.ServiceRegistrar, srv SnapshotServiceServer)
Types ¶
type ActionReply ¶
type ActionReply struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*ActionReply) Descriptor
deprecated
func (*ActionReply) Descriptor() ([]byte, []int)
Deprecated: Use ActionReply.ProtoReflect.Descriptor instead.
func (*ActionReply) GetOk ¶
func (x *ActionReply) GetOk() bool
func (*ActionReply) ProtoMessage ¶
func (*ActionReply) ProtoMessage()
func (*ActionReply) ProtoReflect ¶
func (x *ActionReply) ProtoReflect() protoreflect.Message
func (*ActionReply) Reset ¶
func (x *ActionReply) Reset()
func (*ActionReply) String ¶
func (x *ActionReply) String() string
type BridgesReply ¶ added in v2.1.8
type BridgesReply struct { Bridges []string `protobuf:"bytes,1,rep,name=bridges,proto3" json:"bridges,omitempty"` // contains filtered or unexported fields }
func (*BridgesReply) Descriptor
deprecated
added in
v2.1.8
func (*BridgesReply) Descriptor() ([]byte, []int)
Deprecated: Use BridgesReply.ProtoReflect.Descriptor instead.
func (*BridgesReply) GetBridges ¶ added in v2.1.8
func (x *BridgesReply) GetBridges() []string
func (*BridgesReply) ProtoMessage ¶ added in v2.1.8
func (*BridgesReply) ProtoMessage()
func (*BridgesReply) ProtoReflect ¶ added in v2.1.8
func (x *BridgesReply) ProtoReflect() protoreflect.Message
func (*BridgesReply) Reset ¶ added in v2.1.8
func (x *BridgesReply) Reset()
func (*BridgesReply) String ¶ added in v2.1.8
func (x *BridgesReply) String() string
type BridgesRequest ¶ added in v2.1.8
type BridgesRequest struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*BridgesRequest) Descriptor
deprecated
added in
v2.1.8
func (*BridgesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BridgesRequest.ProtoReflect.Descriptor instead.
func (*BridgesRequest) GetCount ¶ added in v2.1.8
func (x *BridgesRequest) GetCount() int32
func (*BridgesRequest) ProtoMessage ¶ added in v2.1.8
func (*BridgesRequest) ProtoMessage()
func (*BridgesRequest) ProtoReflect ¶ added in v2.1.8
func (x *BridgesRequest) ProtoReflect() protoreflect.Message
func (*BridgesRequest) Reset ¶ added in v2.1.8
func (x *BridgesRequest) Reset()
func (*BridgesRequest) String ¶ added in v2.1.8
func (x *BridgesRequest) String() string
type CopyFileRequest ¶
type CopyFileRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*CopyFileRequest) Descriptor
deprecated
func (*CopyFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CopyFileRequest.ProtoReflect.Descriptor instead.
func (*CopyFileRequest) GetFrom ¶
func (x *CopyFileRequest) GetFrom() string
func (*CopyFileRequest) GetTo ¶
func (x *CopyFileRequest) GetTo() string
func (*CopyFileRequest) ProtoMessage ¶
func (*CopyFileRequest) ProtoMessage()
func (*CopyFileRequest) ProtoReflect ¶
func (x *CopyFileRequest) ProtoReflect() protoreflect.Message
func (*CopyFileRequest) Reset ¶
func (x *CopyFileRequest) Reset()
func (*CopyFileRequest) String ¶
func (x *CopyFileRequest) String() string
type CreateMachineReply ¶
type CreateMachineReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateMachineReply) Descriptor
deprecated
func (*CreateMachineReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateMachineReply.ProtoReflect.Descriptor instead.
func (*CreateMachineReply) GetId ¶
func (x *CreateMachineReply) GetId() string
func (*CreateMachineReply) ProtoMessage ¶
func (*CreateMachineReply) ProtoMessage()
func (*CreateMachineReply) ProtoReflect ¶
func (x *CreateMachineReply) ProtoReflect() protoreflect.Message
func (*CreateMachineReply) Reset ¶
func (x *CreateMachineReply) Reset()
func (*CreateMachineReply) String ¶
func (x *CreateMachineReply) String() string
type CreateMachineRequest ¶
type CreateMachineRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CpuCount uint32 `protobuf:"varint,2,opt,name=cpuCount,proto3" json:"cpuCount,omitempty"` Memory uint32 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"` // Deprecated: Do not use. DiskPath string `protobuf:"bytes,4,opt,name=diskPath,proto3" json:"diskPath,omitempty"` Xml string `protobuf:"bytes,5,opt,name=xml,proto3" json:"xml,omitempty"` BootType Machine_BootType `protobuf:"varint,6,opt,name=bootType,proto3,enum=Machine_BootType" json:"bootType,omitempty"` TemplateXml string `protobuf:"bytes,7,opt,name=templateXml,proto3" json:"templateXml,omitempty"` Disks []*MachineDiskInput `protobuf:"bytes,8,rep,name=disks,proto3" json:"disks,omitempty"` // contains filtered or unexported fields }
func (*CreateMachineRequest) Descriptor
deprecated
func (*CreateMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMachineRequest.ProtoReflect.Descriptor instead.
func (*CreateMachineRequest) GetBootType ¶ added in v2.0.10
func (x *CreateMachineRequest) GetBootType() Machine_BootType
func (*CreateMachineRequest) GetCpuCount ¶
func (x *CreateMachineRequest) GetCpuCount() uint32
func (*CreateMachineRequest) GetDiskPath
deprecated
func (x *CreateMachineRequest) GetDiskPath() string
Deprecated: Do not use.
func (*CreateMachineRequest) GetDisks ¶ added in v2.1.3
func (x *CreateMachineRequest) GetDisks() []*MachineDiskInput
func (*CreateMachineRequest) GetMemory ¶
func (x *CreateMachineRequest) GetMemory() uint32
func (*CreateMachineRequest) GetName ¶
func (x *CreateMachineRequest) GetName() string
func (*CreateMachineRequest) GetTemplateXml ¶ added in v2.1.1
func (x *CreateMachineRequest) GetTemplateXml() string
func (*CreateMachineRequest) GetXml ¶
func (x *CreateMachineRequest) GetXml() string
func (*CreateMachineRequest) ProtoMessage ¶
func (*CreateMachineRequest) ProtoMessage()
func (*CreateMachineRequest) ProtoReflect ¶
func (x *CreateMachineRequest) ProtoReflect() protoreflect.Message
func (*CreateMachineRequest) Reset ¶
func (x *CreateMachineRequest) Reset()
func (*CreateMachineRequest) String ¶
func (x *CreateMachineRequest) String() string
type CreateNetworkReply ¶
type CreateNetworkReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkReply) Descriptor
deprecated
func (*CreateNetworkReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkReply.ProtoReflect.Descriptor instead.
func (*CreateNetworkReply) GetId ¶
func (x *CreateNetworkReply) GetId() string
func (*CreateNetworkReply) ProtoMessage ¶
func (*CreateNetworkReply) ProtoMessage()
func (*CreateNetworkReply) ProtoReflect ¶
func (x *CreateNetworkReply) ProtoReflect() protoreflect.Message
func (*CreateNetworkReply) Reset ¶
func (x *CreateNetworkReply) Reset()
func (*CreateNetworkReply) String ¶
func (x *CreateNetworkReply) String() string
type CreateNetworkRequest ¶
type CreateNetworkRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Xml string `protobuf:"bytes,2,opt,name=xml,proto3" json:"xml,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkRequest) Descriptor
deprecated
func (*CreateNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.
func (*CreateNetworkRequest) GetName ¶
func (x *CreateNetworkRequest) GetName() string
func (*CreateNetworkRequest) GetXml ¶
func (x *CreateNetworkRequest) GetXml() string
func (*CreateNetworkRequest) ProtoMessage ¶
func (*CreateNetworkRequest) ProtoMessage()
func (*CreateNetworkRequest) ProtoReflect ¶
func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message
func (*CreateNetworkRequest) Reset ¶
func (x *CreateNetworkRequest) Reset()
func (*CreateNetworkRequest) String ¶
func (x *CreateNetworkRequest) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetDescription ¶
func (x *CreateSnapshotRequest) GetDescription() string
func (*CreateSnapshotRequest) GetMachineId ¶
func (x *CreateSnapshotRequest) GetMachineId() string
func (*CreateSnapshotRequest) GetName ¶
func (x *CreateSnapshotRequest) GetName() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) String() string
type DHCPPrefixesReply ¶ added in v2.1.9
type DHCPPrefixesReply struct { Prefixes []string `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"` // contains filtered or unexported fields }
func (*DHCPPrefixesReply) Descriptor
deprecated
added in
v2.1.9
func (*DHCPPrefixesReply) Descriptor() ([]byte, []int)
Deprecated: Use DHCPPrefixesReply.ProtoReflect.Descriptor instead.
func (*DHCPPrefixesReply) GetPrefixes ¶ added in v2.1.9
func (x *DHCPPrefixesReply) GetPrefixes() []string
func (*DHCPPrefixesReply) ProtoMessage ¶ added in v2.1.9
func (*DHCPPrefixesReply) ProtoMessage()
func (*DHCPPrefixesReply) ProtoReflect ¶ added in v2.1.9
func (x *DHCPPrefixesReply) ProtoReflect() protoreflect.Message
func (*DHCPPrefixesReply) Reset ¶ added in v2.1.9
func (x *DHCPPrefixesReply) Reset()
func (*DHCPPrefixesReply) String ¶ added in v2.1.9
func (x *DHCPPrefixesReply) String() string
type DHCPPrefixesRequest ¶ added in v2.1.9
type DHCPPrefixesRequest struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*DHCPPrefixesRequest) Descriptor
deprecated
added in
v2.1.9
func (*DHCPPrefixesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DHCPPrefixesRequest.ProtoReflect.Descriptor instead.
func (*DHCPPrefixesRequest) GetCount ¶ added in v2.1.9
func (x *DHCPPrefixesRequest) GetCount() int32
func (*DHCPPrefixesRequest) ProtoMessage ¶ added in v2.1.9
func (*DHCPPrefixesRequest) ProtoMessage()
func (*DHCPPrefixesRequest) ProtoReflect ¶ added in v2.1.9
func (x *DHCPPrefixesRequest) ProtoReflect() protoreflect.Message
func (*DHCPPrefixesRequest) Reset ¶ added in v2.1.9
func (x *DHCPPrefixesRequest) Reset()
func (*DHCPPrefixesRequest) String ¶ added in v2.1.9
func (x *DHCPPrefixesRequest) String() string
type DiskInfo ¶ added in v2.0.8
type DiskInfo struct { VirtualSize int64 `protobuf:"varint,1,opt,name=virtualSize,proto3" json:"virtualSize,omitempty"` FileSize int64 `protobuf:"varint,2,opt,name=fileSize,proto3" json:"fileSize,omitempty"` // contains filtered or unexported fields }
func (*DiskInfo) Descriptor
deprecated
added in
v2.0.8
func (*DiskInfo) GetFileSize ¶ added in v2.0.8
func (*DiskInfo) GetVirtualSize ¶ added in v2.0.8
func (*DiskInfo) ProtoMessage ¶ added in v2.0.8
func (*DiskInfo) ProtoMessage()
func (*DiskInfo) ProtoReflect ¶ added in v2.0.8
func (x *DiskInfo) ProtoReflect() protoreflect.Message
type DiskServiceClient ¶
type DiskServiceClient interface { CopyFile(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (*ActionReply, error) CreateLinkedDisk(ctx context.Context, in *CopyFileRequest, opts ...grpc.CallOption) (*ActionReply, error) DeleteFile(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*ActionReply, error) GetFileContents(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*GetFileContentsReply, error) GetFileExists(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*GetFileExistsReply, error) GetFileInfo(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*GetFileInfoReply, error) GetFileSize(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*GetFileSizeReply, error) CommitDisk(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*ActionReply, error) GetDiskInfo(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*GetDiskInfoReply, error) MoveFile(ctx context.Context, in *MoveFileRequest, opts ...grpc.CallOption) (*ActionReply, error) ResizeDisk(ctx context.Context, in *ResizeDiskRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateDiskBacking(ctx context.Context, in *UpdateDiskBackingRequest, opts ...grpc.CallOption) (*ActionReply, error) WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*ActionReply, error) }
DiskServiceClient is the client API for DiskService 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 NewDiskServiceClient ¶
func NewDiskServiceClient(cc grpc.ClientConnInterface) DiskServiceClient
type DiskServiceServer ¶
type DiskServiceServer interface { CopyFile(context.Context, *CopyFileRequest) (*ActionReply, error) CreateLinkedDisk(context.Context, *CopyFileRequest) (*ActionReply, error) DeleteFile(context.Context, *FileRequest) (*ActionReply, error) GetFileContents(context.Context, *FileRequest) (*GetFileContentsReply, error) GetFileExists(context.Context, *FileRequest) (*GetFileExistsReply, error) GetFileInfo(context.Context, *FileRequest) (*GetFileInfoReply, error) GetFileSize(context.Context, *FileRequest) (*GetFileSizeReply, error) CommitDisk(context.Context, *FileRequest) (*ActionReply, error) GetDiskInfo(context.Context, *FileRequest) (*GetDiskInfoReply, error) MoveFile(context.Context, *MoveFileRequest) (*ActionReply, error) ResizeDisk(context.Context, *ResizeDiskRequest) (*ActionReply, error) UpdateDiskBacking(context.Context, *UpdateDiskBackingRequest) (*ActionReply, error) WriteFile(context.Context, *WriteFileRequest) (*ActionReply, error) // contains filtered or unexported methods }
DiskServiceServer is the server API for DiskService service. All implementations must embed UnimplementedDiskServiceServer for forward compatibility
type Empty ¶ added in v2.1.7
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
added in
v2.1.7
func (*Empty) ProtoMessage ¶ added in v2.1.7
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶ added in v2.1.7
func (x *Empty) ProtoReflect() protoreflect.Message
type FileInfo ¶
type FileInfo struct { ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=modifiedAt,proto3" json:"modifiedAt,omitempty"` IsDirectory bool `protobuf:"varint,2,opt,name=isDirectory,proto3" json:"isDirectory,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Flags uint32 `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetIsDirectory ¶
func (*FileInfo) GetModifiedAt ¶
func (x *FileInfo) GetModifiedAt() *timestamppb.Timestamp
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FileRequest ¶
type FileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*FileRequest) Descriptor
deprecated
func (*FileRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileRequest.ProtoReflect.Descriptor instead.
func (*FileRequest) GetPath ¶
func (x *FileRequest) GetPath() string
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) ProtoReflect ¶
func (x *FileRequest) ProtoReflect() protoreflect.Message
func (*FileRequest) Reset ¶
func (x *FileRequest) Reset()
func (*FileRequest) String ¶
func (x *FileRequest) String() string
type GetDiskInfoReply ¶ added in v2.0.7
type GetDiskInfoReply struct { Info *DiskInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*GetDiskInfoReply) Descriptor
deprecated
added in
v2.0.7
func (*GetDiskInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDiskInfoReply.ProtoReflect.Descriptor instead.
func (*GetDiskInfoReply) GetInfo ¶ added in v2.0.8
func (x *GetDiskInfoReply) GetInfo() *DiskInfo
func (*GetDiskInfoReply) ProtoMessage ¶ added in v2.0.7
func (*GetDiskInfoReply) ProtoMessage()
func (*GetDiskInfoReply) ProtoReflect ¶ added in v2.0.7
func (x *GetDiskInfoReply) ProtoReflect() protoreflect.Message
func (*GetDiskInfoReply) Reset ¶ added in v2.0.7
func (x *GetDiskInfoReply) Reset()
func (*GetDiskInfoReply) String ¶ added in v2.0.7
func (x *GetDiskInfoReply) String() string
type GetFileContentsReply ¶
type GetFileContentsReply struct { Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetFileContentsReply) Descriptor
deprecated
func (*GetFileContentsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileContentsReply.ProtoReflect.Descriptor instead.
func (*GetFileContentsReply) GetData ¶
func (x *GetFileContentsReply) GetData() string
func (*GetFileContentsReply) ProtoMessage ¶
func (*GetFileContentsReply) ProtoMessage()
func (*GetFileContentsReply) ProtoReflect ¶
func (x *GetFileContentsReply) ProtoReflect() protoreflect.Message
func (*GetFileContentsReply) Reset ¶
func (x *GetFileContentsReply) Reset()
func (*GetFileContentsReply) String ¶
func (x *GetFileContentsReply) String() string
type GetFileExistsReply ¶
type GetFileExistsReply struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*GetFileExistsReply) Descriptor
deprecated
func (*GetFileExistsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileExistsReply.ProtoReflect.Descriptor instead.
func (*GetFileExistsReply) GetExists ¶
func (x *GetFileExistsReply) GetExists() bool
func (*GetFileExistsReply) ProtoMessage ¶
func (*GetFileExistsReply) ProtoMessage()
func (*GetFileExistsReply) ProtoReflect ¶
func (x *GetFileExistsReply) ProtoReflect() protoreflect.Message
func (*GetFileExistsReply) Reset ¶
func (x *GetFileExistsReply) Reset()
func (*GetFileExistsReply) String ¶
func (x *GetFileExistsReply) String() string
type GetFileInfoReply ¶
type GetFileInfoReply struct { Info *FileInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*GetFileInfoReply) Descriptor
deprecated
func (*GetFileInfoReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileInfoReply.ProtoReflect.Descriptor instead.
func (*GetFileInfoReply) GetInfo ¶
func (x *GetFileInfoReply) GetInfo() *FileInfo
func (*GetFileInfoReply) ProtoMessage ¶
func (*GetFileInfoReply) ProtoMessage()
func (*GetFileInfoReply) ProtoReflect ¶
func (x *GetFileInfoReply) ProtoReflect() protoreflect.Message
func (*GetFileInfoReply) Reset ¶
func (x *GetFileInfoReply) Reset()
func (*GetFileInfoReply) String ¶
func (x *GetFileInfoReply) String() string
type GetFileSizeReply ¶
type GetFileSizeReply struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*GetFileSizeReply) Descriptor
deprecated
func (*GetFileSizeReply) Descriptor() ([]byte, []int)
Deprecated: Use GetFileSizeReply.ProtoReflect.Descriptor instead.
func (*GetFileSizeReply) GetSize ¶
func (x *GetFileSizeReply) GetSize() int64
func (*GetFileSizeReply) ProtoMessage ¶
func (*GetFileSizeReply) ProtoMessage()
func (*GetFileSizeReply) ProtoReflect ¶
func (x *GetFileSizeReply) ProtoReflect() protoreflect.Message
func (*GetFileSizeReply) Reset ¶
func (x *GetFileSizeReply) Reset()
func (*GetFileSizeReply) String ¶
func (x *GetFileSizeReply) String() string
type GetMachineRequest ¶
type GetMachineRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineRequest) Descriptor
deprecated
func (*GetMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineRequest.ProtoReflect.Descriptor instead.
func (*GetMachineRequest) GetId ¶
func (x *GetMachineRequest) GetId() string
func (*GetMachineRequest) ProtoMessage ¶
func (*GetMachineRequest) ProtoMessage()
func (*GetMachineRequest) ProtoReflect ¶
func (x *GetMachineRequest) ProtoReflect() protoreflect.Message
func (*GetMachineRequest) Reset ¶
func (x *GetMachineRequest) Reset()
func (*GetMachineRequest) String ¶
func (x *GetMachineRequest) String() string
type GetMachinesReply ¶
type GetMachinesReply struct { Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` // contains filtered or unexported fields }
func (*GetMachinesReply) Descriptor
deprecated
func (*GetMachinesReply) Descriptor() ([]byte, []int)
Deprecated: Use GetMachinesReply.ProtoReflect.Descriptor instead.
func (*GetMachinesReply) GetMachines ¶
func (x *GetMachinesReply) GetMachines() []*Machine
func (*GetMachinesReply) ProtoMessage ¶
func (*GetMachinesReply) ProtoMessage()
func (*GetMachinesReply) ProtoReflect ¶
func (x *GetMachinesReply) ProtoReflect() protoreflect.Message
func (*GetMachinesReply) Reset ¶
func (x *GetMachinesReply) Reset()
func (*GetMachinesReply) String ¶
func (x *GetMachinesReply) String() string
type GetMachinesRequest ¶
type GetMachinesRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*GetMachinesRequest) Descriptor
deprecated
func (*GetMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachinesRequest.ProtoReflect.Descriptor instead.
func (*GetMachinesRequest) GetFields ¶
func (x *GetMachinesRequest) GetFields() []string
func (*GetMachinesRequest) GetIds ¶
func (x *GetMachinesRequest) GetIds() []string
func (*GetMachinesRequest) ProtoMessage ¶
func (*GetMachinesRequest) ProtoMessage()
func (*GetMachinesRequest) ProtoReflect ¶
func (x *GetMachinesRequest) ProtoReflect() protoreflect.Message
func (*GetMachinesRequest) Reset ¶
func (x *GetMachinesRequest) Reset()
func (*GetMachinesRequest) String ¶
func (x *GetMachinesRequest) String() string
type GetNetworksReply ¶
type GetNetworksReply struct { Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` // contains filtered or unexported fields }
func (*GetNetworksReply) Descriptor
deprecated
func (*GetNetworksReply) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworksReply.ProtoReflect.Descriptor instead.
func (*GetNetworksReply) GetNetworks ¶
func (x *GetNetworksReply) GetNetworks() []*Network
func (*GetNetworksReply) ProtoMessage ¶
func (*GetNetworksReply) ProtoMessage()
func (*GetNetworksReply) ProtoReflect ¶
func (x *GetNetworksReply) ProtoReflect() protoreflect.Message
func (*GetNetworksReply) Reset ¶
func (x *GetNetworksReply) Reset()
func (*GetNetworksReply) String ¶
func (x *GetNetworksReply) String() string
type GetNetworksRequest ¶
type GetNetworksRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*GetNetworksRequest) Descriptor
deprecated
func (*GetNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworksRequest.ProtoReflect.Descriptor instead.
func (*GetNetworksRequest) GetIds ¶
func (x *GetNetworksRequest) GetIds() []string
func (*GetNetworksRequest) ProtoMessage ¶
func (*GetNetworksRequest) ProtoMessage()
func (*GetNetworksRequest) ProtoReflect ¶
func (x *GetNetworksRequest) ProtoReflect() protoreflect.Message
func (*GetNetworksRequest) Reset ¶
func (x *GetNetworksRequest) Reset()
func (*GetNetworksRequest) String ¶
func (x *GetNetworksRequest) String() string
type GetSnapshotRequest ¶
type GetSnapshotRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` MachineId string `protobuf:"bytes,2,opt,name=machineId,proto3" json:"machineId,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotRequest) Descriptor
deprecated
func (*GetSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotRequest) GetMachineId ¶
func (x *GetSnapshotRequest) GetMachineId() string
func (*GetSnapshotRequest) GetName ¶
func (x *GetSnapshotRequest) GetName() string
func (*GetSnapshotRequest) ProtoMessage ¶
func (*GetSnapshotRequest) ProtoMessage()
func (*GetSnapshotRequest) ProtoReflect ¶
func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotRequest) Reset ¶
func (x *GetSnapshotRequest) Reset()
func (*GetSnapshotRequest) String ¶
func (x *GetSnapshotRequest) String() string
type GetSnapshotsReply ¶
type GetSnapshotsReply struct { Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotsReply) Descriptor
deprecated
func (*GetSnapshotsReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotsReply.ProtoReflect.Descriptor instead.
func (*GetSnapshotsReply) GetSnapshots ¶
func (x *GetSnapshotsReply) GetSnapshots() []*Snapshot
func (*GetSnapshotsReply) ProtoMessage ¶
func (*GetSnapshotsReply) ProtoMessage()
func (*GetSnapshotsReply) ProtoReflect ¶
func (x *GetSnapshotsReply) ProtoReflect() protoreflect.Message
func (*GetSnapshotsReply) Reset ¶
func (x *GetSnapshotsReply) Reset()
func (*GetSnapshotsReply) String ¶
func (x *GetSnapshotsReply) String() string
type GetSnapshotsRequest ¶
type GetSnapshotsRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` // contains filtered or unexported fields }
func (*GetSnapshotsRequest) Descriptor
deprecated
func (*GetSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*GetSnapshotsRequest) GetMachineId ¶
func (x *GetSnapshotsRequest) GetMachineId() string
func (*GetSnapshotsRequest) ProtoMessage ¶
func (*GetSnapshotsRequest) ProtoMessage()
func (*GetSnapshotsRequest) ProtoReflect ¶
func (x *GetSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*GetSnapshotsRequest) Reset ¶
func (x *GetSnapshotsRequest) Reset()
func (*GetSnapshotsRequest) String ¶
func (x *GetSnapshotsRequest) String() string
type GetVncPortReply ¶
type GetVncPortReply struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*GetVncPortReply) Descriptor
deprecated
func (*GetVncPortReply) Descriptor() ([]byte, []int)
Deprecated: Use GetVncPortReply.ProtoReflect.Descriptor instead.
func (*GetVncPortReply) GetPort ¶
func (x *GetVncPortReply) GetPort() uint32
func (*GetVncPortReply) ProtoMessage ¶
func (*GetVncPortReply) ProtoMessage()
func (*GetVncPortReply) ProtoReflect ¶
func (x *GetVncPortReply) ProtoReflect() protoreflect.Message
func (*GetVncPortReply) Reset ¶
func (x *GetVncPortReply) Reset()
func (*GetVncPortReply) String ¶
func (x *GetVncPortReply) String() string
type HelloReply ¶ added in v2.1.5
type HelloReply struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HelloReply) Descriptor
deprecated
added in
v2.1.5
func (*HelloReply) Descriptor() ([]byte, []int)
Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.
func (*HelloReply) GetMessage ¶ added in v2.1.5
func (x *HelloReply) GetMessage() string
func (*HelloReply) ProtoMessage ¶ added in v2.1.5
func (*HelloReply) ProtoMessage()
func (*HelloReply) ProtoReflect ¶ added in v2.1.5
func (x *HelloReply) ProtoReflect() protoreflect.Message
func (*HelloReply) Reset ¶ added in v2.1.5
func (x *HelloReply) Reset()
func (*HelloReply) String ¶ added in v2.1.5
func (x *HelloReply) String() string
type HelloRequest ¶ added in v2.1.5
type HelloRequest struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*HelloRequest) Descriptor
deprecated
added in
v2.1.5
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetMessage ¶ added in v2.1.5
func (x *HelloRequest) GetMessage() string
func (*HelloRequest) ProtoMessage ¶ added in v2.1.5
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶ added in v2.1.5
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶ added in v2.1.5
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶ added in v2.1.5
func (x *HelloRequest) String() string
type HelloServiceClient ¶ added in v2.1.5
type HelloServiceClient interface {
Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloReply, error)
}
HelloServiceClient is the client API for HelloService 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 NewHelloServiceClient ¶ added in v2.1.5
func NewHelloServiceClient(cc grpc.ClientConnInterface) HelloServiceClient
type HelloServiceServer ¶ added in v2.1.5
type HelloServiceServer interface { Hello(context.Context, *HelloRequest) (*HelloReply, error) // contains filtered or unexported methods }
HelloServiceServer is the server API for HelloService service. All implementations must embed UnimplementedHelloServiceServer for forward compatibility
type LinkNetworkReply ¶ added in v2.1.0
type LinkNetworkReply struct { Interface *MachineInterface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*LinkNetworkReply) Descriptor
deprecated
added in
v2.1.0
func (*LinkNetworkReply) Descriptor() ([]byte, []int)
Deprecated: Use LinkNetworkReply.ProtoReflect.Descriptor instead.
func (*LinkNetworkReply) GetInterface ¶ added in v2.1.0
func (x *LinkNetworkReply) GetInterface() *MachineInterface
func (*LinkNetworkReply) ProtoMessage ¶ added in v2.1.0
func (*LinkNetworkReply) ProtoMessage()
func (*LinkNetworkReply) ProtoReflect ¶ added in v2.1.0
func (x *LinkNetworkReply) ProtoReflect() protoreflect.Message
func (*LinkNetworkReply) Reset ¶ added in v2.1.0
func (x *LinkNetworkReply) Reset()
func (*LinkNetworkReply) String ¶ added in v2.1.0
func (x *LinkNetworkReply) String() string
type Machine ¶
type Machine struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PowerState Machine_PowerState `protobuf:"varint,3,opt,name=powerState,proto3,enum=Machine_PowerState" json:"powerState,omitempty"` Disks []*MachineDisk `protobuf:"bytes,4,rep,name=disks,proto3" json:"disks,omitempty"` Networks []*Network `protobuf:"bytes,5,rep,name=networks,proto3" json:"networks,omitempty"` Xml string `protobuf:"bytes,6,opt,name=xml,proto3" json:"xml,omitempty"` BootType Machine_BootType `protobuf:"varint,7,opt,name=bootType,proto3,enum=Machine_BootType" json:"bootType,omitempty"` Cpus uint32 `protobuf:"varint,8,opt,name=cpus,proto3" json:"cpus,omitempty"` Memory int64 `protobuf:"varint,9,opt,name=memory,proto3" json:"memory,omitempty"` Interfaces []*MachineInterface `protobuf:"bytes,10,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
func (*Machine) Descriptor
deprecated
func (*Machine) GetBootType ¶ added in v2.0.9
func (x *Machine) GetBootType() Machine_BootType
func (*Machine) GetDisks ¶
func (x *Machine) GetDisks() []*MachineDisk
func (*Machine) GetInterfaces ¶ added in v2.1.0
func (x *Machine) GetInterfaces() []*MachineInterface
func (*Machine) GetNetworks ¶
func (*Machine) GetPowerState ¶
func (x *Machine) GetPowerState() Machine_PowerState
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type MachineDisk ¶
type MachineDisk struct { MountTarget string `protobuf:"bytes,1,opt,name=mountTarget,proto3" json:"mountTarget,omitempty"` SourceFile string `protobuf:"bytes,2,opt,name=sourceFile,proto3" json:"sourceFile,omitempty"` VirtualSize int64 `protobuf:"varint,3,opt,name=virtualSize,proto3" json:"virtualSize,omitempty"` // contains filtered or unexported fields }
func (*MachineDisk) Descriptor
deprecated
func (*MachineDisk) Descriptor() ([]byte, []int)
Deprecated: Use MachineDisk.ProtoReflect.Descriptor instead.
func (*MachineDisk) GetMountTarget ¶
func (x *MachineDisk) GetMountTarget() string
func (*MachineDisk) GetSourceFile ¶
func (x *MachineDisk) GetSourceFile() string
func (*MachineDisk) GetVirtualSize ¶ added in v2.0.8
func (x *MachineDisk) GetVirtualSize() int64
func (*MachineDisk) ProtoMessage ¶
func (*MachineDisk) ProtoMessage()
func (*MachineDisk) ProtoReflect ¶
func (x *MachineDisk) ProtoReflect() protoreflect.Message
func (*MachineDisk) Reset ¶
func (x *MachineDisk) Reset()
func (*MachineDisk) String ¶
func (x *MachineDisk) String() string
type MachineDiskInput ¶ added in v2.1.2
type MachineDiskInput struct { MountTarget string `protobuf:"bytes,1,opt,name=mountTarget,proto3" json:"mountTarget,omitempty"` SourceFile string `protobuf:"bytes,2,opt,name=sourceFile,proto3" json:"sourceFile,omitempty"` // contains filtered or unexported fields }
func (*MachineDiskInput) Descriptor
deprecated
added in
v2.1.2
func (*MachineDiskInput) Descriptor() ([]byte, []int)
Deprecated: Use MachineDiskInput.ProtoReflect.Descriptor instead.
func (*MachineDiskInput) GetMountTarget ¶ added in v2.1.2
func (x *MachineDiskInput) GetMountTarget() string
func (*MachineDiskInput) GetSourceFile ¶ added in v2.1.2
func (x *MachineDiskInput) GetSourceFile() string
func (*MachineDiskInput) ProtoMessage ¶ added in v2.1.2
func (*MachineDiskInput) ProtoMessage()
func (*MachineDiskInput) ProtoReflect ¶ added in v2.1.2
func (x *MachineDiskInput) ProtoReflect() protoreflect.Message
func (*MachineDiskInput) Reset ¶ added in v2.1.2
func (x *MachineDiskInput) Reset()
func (*MachineDiskInput) String ¶ added in v2.1.2
func (x *MachineDiskInput) String() string
type MachineInterface ¶ added in v2.1.0
type MachineInterface struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,proto3" json:"networkId,omitempty"` MacAddress string `protobuf:"bytes,2,opt,name=macAddress,proto3" json:"macAddress,omitempty"` // contains filtered or unexported fields }
func (*MachineInterface) Descriptor
deprecated
added in
v2.1.0
func (*MachineInterface) Descriptor() ([]byte, []int)
Deprecated: Use MachineInterface.ProtoReflect.Descriptor instead.
func (*MachineInterface) GetMacAddress ¶ added in v2.1.0
func (x *MachineInterface) GetMacAddress() string
func (*MachineInterface) GetNetworkId ¶ added in v2.1.0
func (x *MachineInterface) GetNetworkId() string
func (*MachineInterface) ProtoMessage ¶ added in v2.1.0
func (*MachineInterface) ProtoMessage()
func (*MachineInterface) ProtoReflect ¶ added in v2.1.0
func (x *MachineInterface) ProtoReflect() protoreflect.Message
func (*MachineInterface) Reset ¶ added in v2.1.0
func (x *MachineInterface) Reset()
func (*MachineInterface) String ¶ added in v2.1.0
func (x *MachineInterface) String() string
type MachineNetworkRequest ¶
type MachineNetworkRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` NetworkId string `protobuf:"bytes,2,opt,name=networkId,proto3" json:"networkId,omitempty"` // contains filtered or unexported fields }
func (*MachineNetworkRequest) Descriptor
deprecated
func (*MachineNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use MachineNetworkRequest.ProtoReflect.Descriptor instead.
func (*MachineNetworkRequest) GetMachineId ¶
func (x *MachineNetworkRequest) GetMachineId() string
func (*MachineNetworkRequest) GetNetworkId ¶
func (x *MachineNetworkRequest) GetNetworkId() string
func (*MachineNetworkRequest) ProtoMessage ¶
func (*MachineNetworkRequest) ProtoMessage()
func (*MachineNetworkRequest) ProtoReflect ¶
func (x *MachineNetworkRequest) ProtoReflect() protoreflect.Message
func (*MachineNetworkRequest) Reset ¶
func (x *MachineNetworkRequest) Reset()
func (*MachineNetworkRequest) String ¶
func (x *MachineNetworkRequest) String() string
type MachineServiceClient ¶
type MachineServiceClient interface { GetVncPort(ctx context.Context, in *GetMachineRequest, opts ...grpc.CallOption) (*GetVncPortReply, error) GetMany(ctx context.Context, in *GetMachinesRequest, opts ...grpc.CallOption) (*GetMachinesReply, error) Create(ctx context.Context, in *CreateMachineRequest, opts ...grpc.CallOption) (*CreateMachineReply, error) Delete(ctx context.Context, in *GetMachinesRequest, opts ...grpc.CallOption) (*ActionReply, error) Start(ctx context.Context, in *GetMachinesRequest, opts ...grpc.CallOption) (*ActionReply, error) Stop(ctx context.Context, in *StopMachinesRequest, opts ...grpc.CallOption) (*ActionReply, error) LinkNetwork(ctx context.Context, in *MachineNetworkRequest, opts ...grpc.CallOption) (*LinkNetworkReply, error) UnlinkNetwork(ctx context.Context, in *MachineNetworkRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateBootType(ctx context.Context, in *UpdateMachineBootTypeRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateCpus(ctx context.Context, in *UpdateMachineCpusRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateDisks(ctx context.Context, in *UpdateMachineDisksRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateMemory(ctx context.Context, in *UpdateMachineMemoryRequest, opts ...grpc.CallOption) (*ActionReply, error) }
MachineServiceClient is the client API for MachineService 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 NewMachineServiceClient ¶
func NewMachineServiceClient(cc grpc.ClientConnInterface) MachineServiceClient
type MachineServiceServer ¶
type MachineServiceServer interface { GetVncPort(context.Context, *GetMachineRequest) (*GetVncPortReply, error) GetMany(context.Context, *GetMachinesRequest) (*GetMachinesReply, error) Create(context.Context, *CreateMachineRequest) (*CreateMachineReply, error) Delete(context.Context, *GetMachinesRequest) (*ActionReply, error) Start(context.Context, *GetMachinesRequest) (*ActionReply, error) Stop(context.Context, *StopMachinesRequest) (*ActionReply, error) LinkNetwork(context.Context, *MachineNetworkRequest) (*LinkNetworkReply, error) UnlinkNetwork(context.Context, *MachineNetworkRequest) (*ActionReply, error) UpdateBootType(context.Context, *UpdateMachineBootTypeRequest) (*ActionReply, error) UpdateCpus(context.Context, *UpdateMachineCpusRequest) (*ActionReply, error) UpdateDisks(context.Context, *UpdateMachineDisksRequest) (*ActionReply, error) UpdateMemory(context.Context, *UpdateMachineMemoryRequest) (*ActionReply, error) // contains filtered or unexported methods }
MachineServiceServer is the server API for MachineService service. All implementations must embed UnimplementedMachineServiceServer for forward compatibility
type Machine_BootType ¶ added in v2.0.9
type Machine_BootType int32
const ( Machine_BIOS Machine_BootType = 0 Machine_UEFI Machine_BootType = 1 )
func (Machine_BootType) Descriptor ¶ added in v2.0.9
func (Machine_BootType) Descriptor() protoreflect.EnumDescriptor
func (Machine_BootType) Enum ¶ added in v2.0.9
func (x Machine_BootType) Enum() *Machine_BootType
func (Machine_BootType) EnumDescriptor
deprecated
added in
v2.0.9
func (Machine_BootType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Machine_BootType.Descriptor instead.
func (Machine_BootType) Number ¶ added in v2.0.9
func (x Machine_BootType) Number() protoreflect.EnumNumber
func (Machine_BootType) String ¶ added in v2.0.9
func (x Machine_BootType) String() string
func (Machine_BootType) Type ¶ added in v2.0.9
func (Machine_BootType) Type() protoreflect.EnumType
type Machine_PowerState ¶
type Machine_PowerState int32
const ( Machine_UNKNOWN Machine_PowerState = 0 Machine_POWERED_ON Machine_PowerState = 1 Machine_POWERED_OFF Machine_PowerState = 2 Machine_SUSPENDED Machine_PowerState = 3 )
func (Machine_PowerState) Descriptor ¶
func (Machine_PowerState) Descriptor() protoreflect.EnumDescriptor
func (Machine_PowerState) Enum ¶
func (x Machine_PowerState) Enum() *Machine_PowerState
func (Machine_PowerState) EnumDescriptor
deprecated
func (Machine_PowerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Machine_PowerState.Descriptor instead.
func (Machine_PowerState) Number ¶
func (x Machine_PowerState) Number() protoreflect.EnumNumber
func (Machine_PowerState) String ¶
func (x Machine_PowerState) String() string
func (Machine_PowerState) Type ¶
func (Machine_PowerState) Type() protoreflect.EnumType
type MoveFileRequest ¶
type MoveFileRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*MoveFileRequest) Descriptor
deprecated
func (*MoveFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use MoveFileRequest.ProtoReflect.Descriptor instead.
func (*MoveFileRequest) GetFrom ¶
func (x *MoveFileRequest) GetFrom() string
func (*MoveFileRequest) GetTo ¶
func (x *MoveFileRequest) GetTo() string
func (*MoveFileRequest) ProtoMessage ¶
func (*MoveFileRequest) ProtoMessage()
func (*MoveFileRequest) ProtoReflect ¶
func (x *MoveFileRequest) ProtoReflect() protoreflect.Message
func (*MoveFileRequest) Reset ¶
func (x *MoveFileRequest) Reset()
func (*MoveFileRequest) String ¶
func (x *MoveFileRequest) String() string
type Network ¶
type Network struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MachineIds []uint32 `protobuf:"varint,3,rep,packed,name=machineIds,proto3" json:"machineIds,omitempty"` Dhcp bool `protobuf:"varint,4,opt,name=dhcp,proto3" json:"dhcp,omitempty"` Internet bool `protobuf:"varint,5,opt,name=internet,proto3" json:"internet,omitempty"` Xml string `protobuf:"bytes,6,opt,name=xml,proto3" json:"xml,omitempty"` Promiscuous bool `protobuf:"varint,7,opt,name=promiscuous,proto3" json:"promiscuous,omitempty"` // contains filtered or unexported fields }
func (*Network) Descriptor
deprecated
func (*Network) GetInternet ¶
func (*Network) GetMachineIds ¶
func (*Network) GetPromiscuous ¶ added in v2.1.4
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkServiceClient ¶
type NetworkServiceClient interface { GetMany(ctx context.Context, in *GetNetworksRequest, opts ...grpc.CallOption) (*GetNetworksReply, error) Create(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkReply, error) Delete(ctx context.Context, in *GetNetworksRequest, opts ...grpc.CallOption) (*ActionReply, error) GetFreeBridgeNames(ctx context.Context, in *BridgesRequest, opts ...grpc.CallOption) (*BridgesReply, error) GetFreeDHCPPrefixes(ctx context.Context, in *DHCPPrefixesRequest, opts ...grpc.CallOption) (*DHCPPrefixesReply, error) UpdateDHCP(ctx context.Context, in *UpdateNetworkFlagRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdateInternet(ctx context.Context, in *UpdateNetworkFlagRequest, opts ...grpc.CallOption) (*ActionReply, error) UpdatePromiscuous(ctx context.Context, in *UpdateNetworkFlagRequest, opts ...grpc.CallOption) (*ActionReply, error) }
NetworkServiceClient is the client API for NetworkService 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 NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc grpc.ClientConnInterface) NetworkServiceClient
type NetworkServiceServer ¶
type NetworkServiceServer interface { GetMany(context.Context, *GetNetworksRequest) (*GetNetworksReply, error) Create(context.Context, *CreateNetworkRequest) (*CreateNetworkReply, error) Delete(context.Context, *GetNetworksRequest) (*ActionReply, error) GetFreeBridgeNames(context.Context, *BridgesRequest) (*BridgesReply, error) GetFreeDHCPPrefixes(context.Context, *DHCPPrefixesRequest) (*DHCPPrefixesReply, error) UpdateDHCP(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error) UpdateInternet(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error) UpdatePromiscuous(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error) // contains filtered or unexported methods }
NetworkServiceServer is the server API for NetworkService service. All implementations must embed UnimplementedNetworkServiceServer for forward compatibility
type ResizeDiskRequest ¶
type ResizeDiskRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` VirtualSize int64 `protobuf:"varint,2,opt,name=virtualSize,proto3" json:"virtualSize,omitempty"` // contains filtered or unexported fields }
func (*ResizeDiskRequest) Descriptor
deprecated
func (*ResizeDiskRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizeDiskRequest.ProtoReflect.Descriptor instead.
func (*ResizeDiskRequest) GetPath ¶
func (x *ResizeDiskRequest) GetPath() string
func (*ResizeDiskRequest) GetVirtualSize ¶ added in v2.0.8
func (x *ResizeDiskRequest) GetVirtualSize() int64
func (*ResizeDiskRequest) ProtoMessage ¶
func (*ResizeDiskRequest) ProtoMessage()
func (*ResizeDiskRequest) ProtoReflect ¶
func (x *ResizeDiskRequest) ProtoReflect() protoreflect.Message
func (*ResizeDiskRequest) Reset ¶
func (x *ResizeDiskRequest) Reset()
func (*ResizeDiskRequest) String ¶
func (x *ResizeDiskRequest) String() string
type Snapshot ¶
type Snapshot struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=createdAt,proto3" json:"createdAt,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` ParentName string `protobuf:"bytes,4,opt,name=parentName,proto3" json:"parentName,omitempty"` // contains filtered or unexported fields }
func (*Snapshot) Descriptor
deprecated
func (*Snapshot) GetCreatedAt ¶
func (x *Snapshot) GetCreatedAt() *timestamppb.Timestamp
func (*Snapshot) GetDescription ¶
func (*Snapshot) GetParentName ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
type SnapshotServiceClient ¶
type SnapshotServiceClient interface { GetMany(ctx context.Context, in *GetSnapshotsRequest, opts ...grpc.CallOption) (*GetSnapshotsReply, error) Create(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*ActionReply, error) Delete(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*ActionReply, error) RevertTo(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*ActionReply, error) }
SnapshotServiceClient is the client API for SnapshotService 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 NewSnapshotServiceClient ¶
func NewSnapshotServiceClient(cc grpc.ClientConnInterface) SnapshotServiceClient
type SnapshotServiceServer ¶
type SnapshotServiceServer interface { GetMany(context.Context, *GetSnapshotsRequest) (*GetSnapshotsReply, error) Create(context.Context, *CreateSnapshotRequest) (*ActionReply, error) Delete(context.Context, *GetSnapshotRequest) (*ActionReply, error) RevertTo(context.Context, *GetSnapshotRequest) (*ActionReply, error) // contains filtered or unexported methods }
SnapshotServiceServer is the server API for SnapshotService service. All implementations must embed UnimplementedSnapshotServiceServer for forward compatibility
type StopMachinesRequest ¶
type StopMachinesRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
func (*StopMachinesRequest) Descriptor
deprecated
func (*StopMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopMachinesRequest.ProtoReflect.Descriptor instead.
func (*StopMachinesRequest) GetForce ¶
func (x *StopMachinesRequest) GetForce() bool
func (*StopMachinesRequest) GetIds ¶
func (x *StopMachinesRequest) GetIds() []string
func (*StopMachinesRequest) ProtoMessage ¶
func (*StopMachinesRequest) ProtoMessage()
func (*StopMachinesRequest) ProtoReflect ¶
func (x *StopMachinesRequest) ProtoReflect() protoreflect.Message
func (*StopMachinesRequest) Reset ¶
func (x *StopMachinesRequest) Reset()
func (*StopMachinesRequest) String ¶
func (x *StopMachinesRequest) String() string
type UnimplementedDiskServiceServer ¶
type UnimplementedDiskServiceServer struct { }
UnimplementedDiskServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedDiskServiceServer) CommitDisk ¶
func (UnimplementedDiskServiceServer) CommitDisk(context.Context, *FileRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) CopyFile ¶
func (UnimplementedDiskServiceServer) CopyFile(context.Context, *CopyFileRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) CreateLinkedDisk ¶
func (UnimplementedDiskServiceServer) CreateLinkedDisk(context.Context, *CopyFileRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) DeleteFile ¶
func (UnimplementedDiskServiceServer) DeleteFile(context.Context, *FileRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) GetDiskInfo ¶ added in v2.0.6
func (UnimplementedDiskServiceServer) GetDiskInfo(context.Context, *FileRequest) (*GetDiskInfoReply, error)
func (UnimplementedDiskServiceServer) GetFileContents ¶
func (UnimplementedDiskServiceServer) GetFileContents(context.Context, *FileRequest) (*GetFileContentsReply, error)
func (UnimplementedDiskServiceServer) GetFileExists ¶
func (UnimplementedDiskServiceServer) GetFileExists(context.Context, *FileRequest) (*GetFileExistsReply, error)
func (UnimplementedDiskServiceServer) GetFileInfo ¶
func (UnimplementedDiskServiceServer) GetFileInfo(context.Context, *FileRequest) (*GetFileInfoReply, error)
func (UnimplementedDiskServiceServer) GetFileSize ¶
func (UnimplementedDiskServiceServer) GetFileSize(context.Context, *FileRequest) (*GetFileSizeReply, error)
func (UnimplementedDiskServiceServer) MoveFile ¶
func (UnimplementedDiskServiceServer) MoveFile(context.Context, *MoveFileRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) ResizeDisk ¶
func (UnimplementedDiskServiceServer) ResizeDisk(context.Context, *ResizeDiskRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) UpdateDiskBacking ¶
func (UnimplementedDiskServiceServer) UpdateDiskBacking(context.Context, *UpdateDiskBackingRequest) (*ActionReply, error)
func (UnimplementedDiskServiceServer) WriteFile ¶
func (UnimplementedDiskServiceServer) WriteFile(context.Context, *WriteFileRequest) (*ActionReply, error)
type UnimplementedHelloServiceServer ¶ added in v2.1.5
type UnimplementedHelloServiceServer struct { }
UnimplementedHelloServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedHelloServiceServer) Hello ¶ added in v2.1.5
func (UnimplementedHelloServiceServer) Hello(context.Context, *HelloRequest) (*HelloReply, error)
type UnimplementedMachineServiceServer ¶
type UnimplementedMachineServiceServer struct { }
UnimplementedMachineServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMachineServiceServer) Create ¶
func (UnimplementedMachineServiceServer) Create(context.Context, *CreateMachineRequest) (*CreateMachineReply, error)
func (UnimplementedMachineServiceServer) Delete ¶
func (UnimplementedMachineServiceServer) Delete(context.Context, *GetMachinesRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) GetMany ¶
func (UnimplementedMachineServiceServer) GetMany(context.Context, *GetMachinesRequest) (*GetMachinesReply, error)
func (UnimplementedMachineServiceServer) GetVncPort ¶
func (UnimplementedMachineServiceServer) GetVncPort(context.Context, *GetMachineRequest) (*GetVncPortReply, error)
func (UnimplementedMachineServiceServer) LinkNetwork ¶
func (UnimplementedMachineServiceServer) LinkNetwork(context.Context, *MachineNetworkRequest) (*LinkNetworkReply, error)
func (UnimplementedMachineServiceServer) Start ¶
func (UnimplementedMachineServiceServer) Start(context.Context, *GetMachinesRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) Stop ¶
func (UnimplementedMachineServiceServer) Stop(context.Context, *StopMachinesRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) UnlinkNetwork ¶
func (UnimplementedMachineServiceServer) UnlinkNetwork(context.Context, *MachineNetworkRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) UpdateBootType ¶ added in v2.0.9
func (UnimplementedMachineServiceServer) UpdateBootType(context.Context, *UpdateMachineBootTypeRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) UpdateCpus ¶ added in v2.0.11
func (UnimplementedMachineServiceServer) UpdateCpus(context.Context, *UpdateMachineCpusRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) UpdateDisks ¶ added in v2.1.2
func (UnimplementedMachineServiceServer) UpdateDisks(context.Context, *UpdateMachineDisksRequest) (*ActionReply, error)
func (UnimplementedMachineServiceServer) UpdateMemory ¶ added in v2.0.11
func (UnimplementedMachineServiceServer) UpdateMemory(context.Context, *UpdateMachineMemoryRequest) (*ActionReply, error)
type UnimplementedNetworkServiceServer ¶
type UnimplementedNetworkServiceServer struct { }
UnimplementedNetworkServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNetworkServiceServer) Create ¶
func (UnimplementedNetworkServiceServer) Create(context.Context, *CreateNetworkRequest) (*CreateNetworkReply, error)
func (UnimplementedNetworkServiceServer) Delete ¶
func (UnimplementedNetworkServiceServer) Delete(context.Context, *GetNetworksRequest) (*ActionReply, error)
func (UnimplementedNetworkServiceServer) GetFreeBridgeNames ¶ added in v2.1.8
func (UnimplementedNetworkServiceServer) GetFreeBridgeNames(context.Context, *BridgesRequest) (*BridgesReply, error)
func (UnimplementedNetworkServiceServer) GetFreeDHCPPrefixes ¶ added in v2.1.9
func (UnimplementedNetworkServiceServer) GetFreeDHCPPrefixes(context.Context, *DHCPPrefixesRequest) (*DHCPPrefixesReply, error)
func (UnimplementedNetworkServiceServer) GetMany ¶
func (UnimplementedNetworkServiceServer) GetMany(context.Context, *GetNetworksRequest) (*GetNetworksReply, error)
func (UnimplementedNetworkServiceServer) UpdateDHCP ¶
func (UnimplementedNetworkServiceServer) UpdateDHCP(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
func (UnimplementedNetworkServiceServer) UpdateInternet ¶
func (UnimplementedNetworkServiceServer) UpdateInternet(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
func (UnimplementedNetworkServiceServer) UpdatePromiscuous ¶ added in v2.1.4
func (UnimplementedNetworkServiceServer) UpdatePromiscuous(context.Context, *UpdateNetworkFlagRequest) (*ActionReply, error)
type UnimplementedSnapshotServiceServer ¶
type UnimplementedSnapshotServiceServer struct { }
UnimplementedSnapshotServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSnapshotServiceServer) Create ¶
func (UnimplementedSnapshotServiceServer) Create(context.Context, *CreateSnapshotRequest) (*ActionReply, error)
func (UnimplementedSnapshotServiceServer) Delete ¶
func (UnimplementedSnapshotServiceServer) Delete(context.Context, *GetSnapshotRequest) (*ActionReply, error)
func (UnimplementedSnapshotServiceServer) GetMany ¶
func (UnimplementedSnapshotServiceServer) GetMany(context.Context, *GetSnapshotsRequest) (*GetSnapshotsReply, error)
func (UnimplementedSnapshotServiceServer) RevertTo ¶
func (UnimplementedSnapshotServiceServer) RevertTo(context.Context, *GetSnapshotRequest) (*ActionReply, error)
type UnsafeDiskServiceServer ¶
type UnsafeDiskServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDiskServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DiskServiceServer will result in compilation errors.
type UnsafeHelloServiceServer ¶ added in v2.1.5
type UnsafeHelloServiceServer interface {
// contains filtered or unexported methods
}
UnsafeHelloServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HelloServiceServer will result in compilation errors.
type UnsafeMachineServiceServer ¶
type UnsafeMachineServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMachineServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MachineServiceServer will result in compilation errors.
type UnsafeNetworkServiceServer ¶
type UnsafeNetworkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkServiceServer will result in compilation errors.
type UnsafeSnapshotServiceServer ¶
type UnsafeSnapshotServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSnapshotServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SnapshotServiceServer will result in compilation errors.
type UpdateDiskBackingRequest ¶
type UpdateDiskBackingRequest struct { DiskPath string `protobuf:"bytes,1,opt,name=diskPath,proto3" json:"diskPath,omitempty"` BackingPath string `protobuf:"bytes,2,opt,name=backingPath,proto3" json:"backingPath,omitempty"` // contains filtered or unexported fields }
func (*UpdateDiskBackingRequest) Descriptor
deprecated
func (*UpdateDiskBackingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDiskBackingRequest.ProtoReflect.Descriptor instead.
func (*UpdateDiskBackingRequest) GetBackingPath ¶
func (x *UpdateDiskBackingRequest) GetBackingPath() string
func (*UpdateDiskBackingRequest) GetDiskPath ¶
func (x *UpdateDiskBackingRequest) GetDiskPath() string
func (*UpdateDiskBackingRequest) ProtoMessage ¶
func (*UpdateDiskBackingRequest) ProtoMessage()
func (*UpdateDiskBackingRequest) ProtoReflect ¶
func (x *UpdateDiskBackingRequest) ProtoReflect() protoreflect.Message
func (*UpdateDiskBackingRequest) Reset ¶
func (x *UpdateDiskBackingRequest) Reset()
func (*UpdateDiskBackingRequest) String ¶
func (x *UpdateDiskBackingRequest) String() string
type UpdateMachineBootTypeRequest ¶ added in v2.0.9
type UpdateMachineBootTypeRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` BootType Machine_BootType `protobuf:"varint,2,opt,name=bootType,proto3,enum=Machine_BootType" json:"bootType,omitempty"` // contains filtered or unexported fields }
func (*UpdateMachineBootTypeRequest) Descriptor
deprecated
added in
v2.0.9
func (*UpdateMachineBootTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMachineBootTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateMachineBootTypeRequest) GetBootType ¶ added in v2.0.9
func (x *UpdateMachineBootTypeRequest) GetBootType() Machine_BootType
func (*UpdateMachineBootTypeRequest) GetMachineId ¶ added in v2.0.9
func (x *UpdateMachineBootTypeRequest) GetMachineId() string
func (*UpdateMachineBootTypeRequest) ProtoMessage ¶ added in v2.0.9
func (*UpdateMachineBootTypeRequest) ProtoMessage()
func (*UpdateMachineBootTypeRequest) ProtoReflect ¶ added in v2.0.9
func (x *UpdateMachineBootTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateMachineBootTypeRequest) Reset ¶ added in v2.0.9
func (x *UpdateMachineBootTypeRequest) Reset()
func (*UpdateMachineBootTypeRequest) String ¶ added in v2.0.9
func (x *UpdateMachineBootTypeRequest) String() string
type UpdateMachineCpusRequest ¶ added in v2.0.11
type UpdateMachineCpusRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` Cpus uint32 `protobuf:"varint,2,opt,name=cpus,proto3" json:"cpus,omitempty"` // contains filtered or unexported fields }
func (*UpdateMachineCpusRequest) Descriptor
deprecated
added in
v2.0.11
func (*UpdateMachineCpusRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMachineCpusRequest.ProtoReflect.Descriptor instead.
func (*UpdateMachineCpusRequest) GetCpus ¶ added in v2.0.11
func (x *UpdateMachineCpusRequest) GetCpus() uint32
func (*UpdateMachineCpusRequest) GetMachineId ¶ added in v2.0.11
func (x *UpdateMachineCpusRequest) GetMachineId() string
func (*UpdateMachineCpusRequest) ProtoMessage ¶ added in v2.0.11
func (*UpdateMachineCpusRequest) ProtoMessage()
func (*UpdateMachineCpusRequest) ProtoReflect ¶ added in v2.0.11
func (x *UpdateMachineCpusRequest) ProtoReflect() protoreflect.Message
func (*UpdateMachineCpusRequest) Reset ¶ added in v2.0.11
func (x *UpdateMachineCpusRequest) Reset()
func (*UpdateMachineCpusRequest) String ¶ added in v2.0.11
func (x *UpdateMachineCpusRequest) String() string
type UpdateMachineDisksRequest ¶ added in v2.1.2
type UpdateMachineDisksRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` Disks []*MachineDiskInput `protobuf:"bytes,2,rep,name=disks,proto3" json:"disks,omitempty"` // contains filtered or unexported fields }
func (*UpdateMachineDisksRequest) Descriptor
deprecated
added in
v2.1.2
func (*UpdateMachineDisksRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMachineDisksRequest.ProtoReflect.Descriptor instead.
func (*UpdateMachineDisksRequest) GetDisks ¶ added in v2.1.2
func (x *UpdateMachineDisksRequest) GetDisks() []*MachineDiskInput
func (*UpdateMachineDisksRequest) GetMachineId ¶ added in v2.1.2
func (x *UpdateMachineDisksRequest) GetMachineId() string
func (*UpdateMachineDisksRequest) ProtoMessage ¶ added in v2.1.2
func (*UpdateMachineDisksRequest) ProtoMessage()
func (*UpdateMachineDisksRequest) ProtoReflect ¶ added in v2.1.2
func (x *UpdateMachineDisksRequest) ProtoReflect() protoreflect.Message
func (*UpdateMachineDisksRequest) Reset ¶ added in v2.1.2
func (x *UpdateMachineDisksRequest) Reset()
func (*UpdateMachineDisksRequest) String ¶ added in v2.1.2
func (x *UpdateMachineDisksRequest) String() string
type UpdateMachineMemoryRequest ¶ added in v2.0.11
type UpdateMachineMemoryRequest struct { MachineId string `protobuf:"bytes,1,opt,name=machineId,proto3" json:"machineId,omitempty"` Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` // contains filtered or unexported fields }
func (*UpdateMachineMemoryRequest) Descriptor
deprecated
added in
v2.0.11
func (*UpdateMachineMemoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMachineMemoryRequest.ProtoReflect.Descriptor instead.
func (*UpdateMachineMemoryRequest) GetMachineId ¶ added in v2.0.11
func (x *UpdateMachineMemoryRequest) GetMachineId() string
func (*UpdateMachineMemoryRequest) GetMemory ¶ added in v2.0.11
func (x *UpdateMachineMemoryRequest) GetMemory() int64
func (*UpdateMachineMemoryRequest) ProtoMessage ¶ added in v2.0.11
func (*UpdateMachineMemoryRequest) ProtoMessage()
func (*UpdateMachineMemoryRequest) ProtoReflect ¶ added in v2.0.11
func (x *UpdateMachineMemoryRequest) ProtoReflect() protoreflect.Message
func (*UpdateMachineMemoryRequest) Reset ¶ added in v2.0.11
func (x *UpdateMachineMemoryRequest) Reset()
func (*UpdateMachineMemoryRequest) String ¶ added in v2.0.11
func (x *UpdateMachineMemoryRequest) String() string
type UpdateNetworkFlagRequest ¶
type UpdateNetworkFlagRequest struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,proto3" json:"networkId,omitempty"` Value bool `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UpdateNetworkFlagRequest) Descriptor
deprecated
func (*UpdateNetworkFlagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkFlagRequest.ProtoReflect.Descriptor instead.
func (*UpdateNetworkFlagRequest) GetNetworkId ¶
func (x *UpdateNetworkFlagRequest) GetNetworkId() string
func (*UpdateNetworkFlagRequest) GetValue ¶
func (x *UpdateNetworkFlagRequest) GetValue() bool
func (*UpdateNetworkFlagRequest) ProtoMessage ¶
func (*UpdateNetworkFlagRequest) ProtoMessage()
func (*UpdateNetworkFlagRequest) ProtoReflect ¶
func (x *UpdateNetworkFlagRequest) ProtoReflect() protoreflect.Message
func (*UpdateNetworkFlagRequest) Reset ¶
func (x *UpdateNetworkFlagRequest) Reset()
func (*UpdateNetworkFlagRequest) String ¶
func (x *UpdateNetworkFlagRequest) String() string
type WriteFileRequest ¶
type WriteFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*WriteFileRequest) Descriptor
deprecated
func (*WriteFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteFileRequest.ProtoReflect.Descriptor instead.
func (*WriteFileRequest) GetData ¶
func (x *WriteFileRequest) GetData() string
func (*WriteFileRequest) GetPath ¶
func (x *WriteFileRequest) GetPath() string
func (*WriteFileRequest) GetUrl ¶
func (x *WriteFileRequest) GetUrl() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) ProtoReflect ¶
func (x *WriteFileRequest) ProtoReflect() protoreflect.Message
func (*WriteFileRequest) Reset ¶
func (x *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (x *WriteFileRequest) String() string