Documentation ¶
Index ¶
- Variables
- func RegisterImageRegistryServiceServer(s grpc.ServiceRegistrar, srv ImageRegistryServiceServer)
- func RegisterVirtualMachineRegistryServiceServer(s grpc.ServiceRegistrar, srv VirtualMachineRegistryServiceServer)
- type Architecture
- func (Architecture) Descriptor() protoreflect.EnumDescriptor
- func (x Architecture) Enum() *Architecture
- func (Architecture) EnumDescriptor() ([]byte, []int)deprecated
- func (x Architecture) Number() protoreflect.EnumNumber
- func (x Architecture) String() string
- func (Architecture) Type() protoreflect.EnumType
- type AttachImageRequest
- func (*AttachImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachImageRequest) GetImage() *UUID
- func (x *AttachImageRequest) GetMachine() *UUID
- func (*AttachImageRequest) ProtoMessage()
- func (x *AttachImageRequest) ProtoReflect() protoreflect.Message
- func (x *AttachImageRequest) Reset()
- func (x *AttachImageRequest) String() string
- type AttachImageResponse
- func (*AttachImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachImageResponse) GetError() *Error
- func (*AttachImageResponse) ProtoMessage()
- func (x *AttachImageResponse) ProtoReflect() protoreflect.Message
- func (x *AttachImageResponse) Reset()
- func (x *AttachImageResponse) String() string
- type CreateImageRequest
- func (*CreateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageRequest) GetData() *MetadataMap
- func (x *CreateImageRequest) GetFormat() Image_Format
- func (x *CreateImageRequest) GetSize() uint64
- func (*CreateImageRequest) ProtoMessage()
- func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateImageRequest) Reset()
- func (x *CreateImageRequest) String() string
- type CreateImageResponse
- func (*CreateImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageResponse) GetError() *Error
- func (x *CreateImageResponse) GetImage() *Image
- func (m *CreateImageResponse) GetImageOrError() isCreateImageResponse_ImageOrError
- func (*CreateImageResponse) ProtoMessage()
- func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateImageResponse) Reset()
- func (x *CreateImageResponse) String() string
- type CreateImageResponse_Error
- type CreateImageResponse_Image
- type CreateVirtualMachineRequest
- func (*CreateVirtualMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVirtualMachineRequest) GetArch() Architecture
- func (x *CreateVirtualMachineRequest) GetData() *MetadataMap
- func (x *CreateVirtualMachineRequest) GetMemorySize() uint64
- func (*CreateVirtualMachineRequest) ProtoMessage()
- func (x *CreateVirtualMachineRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVirtualMachineRequest) Reset()
- func (x *CreateVirtualMachineRequest) String() string
- type CreateVirtualMachineResponse
- func (*CreateVirtualMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVirtualMachineResponse) GetError() *Error
- func (x *CreateVirtualMachineResponse) GetMachine() *VirtualMachine
- func (m *CreateVirtualMachineResponse) GetMachineOrError() isCreateVirtualMachineResponse_MachineOrError
- func (*CreateVirtualMachineResponse) ProtoMessage()
- func (x *CreateVirtualMachineResponse) ProtoReflect() protoreflect.Message
- func (x *CreateVirtualMachineResponse) Reset()
- func (x *CreateVirtualMachineResponse) String() string
- type CreateVirtualMachineResponse_Error
- type CreateVirtualMachineResponse_Machine
- type DeleteImageRequest
- type DeleteImageResponse
- func (*DeleteImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteImageResponse) GetError() *Error
- func (*DeleteImageResponse) ProtoMessage()
- func (x *DeleteImageResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteImageResponse) Reset()
- func (x *DeleteImageResponse) String() string
- type DeleteVirtualMachineRequest
- func (*DeleteVirtualMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVirtualMachineRequest) GetId() *UUID
- func (*DeleteVirtualMachineRequest) ProtoMessage()
- func (x *DeleteVirtualMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVirtualMachineRequest) Reset()
- func (x *DeleteVirtualMachineRequest) String() string
- type DeleteVirtualMachineResponse
- func (*DeleteVirtualMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVirtualMachineResponse) GetError() *Error
- func (*DeleteVirtualMachineResponse) ProtoMessage()
- func (x *DeleteVirtualMachineResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteVirtualMachineResponse) Reset()
- func (x *DeleteVirtualMachineResponse) String() string
- type DetachImageRequest
- func (*DetachImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachImageRequest) GetImage() *UUID
- func (x *DetachImageRequest) GetMachine() *UUID
- func (*DetachImageRequest) ProtoMessage()
- func (x *DetachImageRequest) ProtoReflect() protoreflect.Message
- func (x *DetachImageRequest) Reset()
- func (x *DetachImageRequest) String() string
- type DetachImageResponse
- func (*DetachImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DetachImageResponse) GetError() *Error
- func (*DetachImageResponse) ProtoMessage()
- func (x *DetachImageResponse) ProtoReflect() protoreflect.Message
- func (x *DetachImageResponse) Reset()
- func (x *DetachImageResponse) String() string
- type Error
- type FindImageRequest
- type FindImageResponse
- type FindVirtualMachineRequest
- func (*FindVirtualMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindVirtualMachineRequest) GetId() *UUID
- func (*FindVirtualMachineRequest) ProtoMessage()
- func (x *FindVirtualMachineRequest) ProtoReflect() protoreflect.Message
- func (x *FindVirtualMachineRequest) Reset()
- func (x *FindVirtualMachineRequest) String() string
- type FindVirtualMachineResponse
- func (*FindVirtualMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindVirtualMachineResponse) GetMachine() *VirtualMachine
- func (*FindVirtualMachineResponse) ProtoMessage()
- func (x *FindVirtualMachineResponse) ProtoReflect() protoreflect.Message
- func (x *FindVirtualMachineResponse) Reset()
- func (x *FindVirtualMachineResponse) String() string
- type GetAttachedImagesRequest
- func (*GetAttachedImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachedImagesRequest) GetId() *UUID
- func (*GetAttachedImagesRequest) ProtoMessage()
- func (x *GetAttachedImagesRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachedImagesRequest) Reset()
- func (x *GetAttachedImagesRequest) String() string
- type GetAttachedImagesResponse
- func (*GetAttachedImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachedImagesResponse) GetError() *Error
- func (x *GetAttachedImagesResponse) GetImages() []*UUID
- func (*GetAttachedImagesResponse) ProtoMessage()
- func (x *GetAttachedImagesResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttachedImagesResponse) Reset()
- func (x *GetAttachedImagesResponse) String() string
- type GetMetadataRequest
- type GetMetadataResponse
- func (*GetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataResponse) GetError() *Error
- func (x *GetMetadataResponse) GetMeta() *MetadataMap
- func (m *GetMetadataResponse) GetMetadataOrError() isGetMetadataResponse_MetadataOrError
- func (*GetMetadataResponse) ProtoMessage()
- func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetadataResponse) Reset()
- func (x *GetMetadataResponse) String() string
- type GetMetadataResponse_Error
- type GetMetadataResponse_Meta
- type GetVNCServersRequest
- func (*GetVNCServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetVNCServersRequest) GetId() *UUID
- func (*GetVNCServersRequest) ProtoMessage()
- func (x *GetVNCServersRequest) ProtoReflect() protoreflect.Message
- func (x *GetVNCServersRequest) Reset()
- func (x *GetVNCServersRequest) String() string
- type GetVNCServersResponse
- func (*GetVNCServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVNCServersResponse) GetError() *Error
- func (x *GetVNCServersResponse) GetServers() []*VNCServer
- func (*GetVNCServersResponse) ProtoMessage()
- func (x *GetVNCServersResponse) ProtoReflect() protoreflect.Message
- func (x *GetVNCServersResponse) Reset()
- func (x *GetVNCServersResponse) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetFormat() Image_Format
- func (x *Image) GetId() *UUID
- func (x *Image) GetMediaType() Image_Media
- func (x *Image) GetReadOnly() bool
- func (x *Image) GetSize() uint64
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type ImageRegistryServiceClient
- type ImageRegistryServiceServer
- type ImageRegistryService_GetImagesClient
- type ImageRegistryService_GetImagesServer
- type Image_Format
- func (Image_Format) Descriptor() protoreflect.EnumDescriptor
- func (x Image_Format) Enum() *Image_Format
- func (Image_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x Image_Format) Number() protoreflect.EnumNumber
- func (x Image_Format) String() string
- func (Image_Format) Type() protoreflect.EnumType
- type Image_Media
- func (Image_Media) Descriptor() protoreflect.EnumDescriptor
- func (x Image_Media) Enum() *Image_Media
- func (Image_Media) EnumDescriptor() ([]byte, []int)deprecated
- func (x Image_Media) Number() protoreflect.EnumNumber
- func (x Image_Media) String() string
- func (Image_Media) Type() protoreflect.EnumType
- type IsAliveRequest
- type IsAliveResponse
- func (*IsAliveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAliveResponse) GetAlive() bool
- func (m *IsAliveResponse) GetAliveOrError() isIsAliveResponse_AliveOrError
- func (x *IsAliveResponse) GetError() *Error
- func (*IsAliveResponse) ProtoMessage()
- func (x *IsAliveResponse) ProtoReflect() protoreflect.Message
- func (x *IsAliveResponse) Reset()
- func (x *IsAliveResponse) String() string
- type IsAliveResponse_Alive
- type IsAliveResponse_Error
- type MetadataMap
- type NetworkAddressFamily
- func (NetworkAddressFamily) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkAddressFamily) Enum() *NetworkAddressFamily
- func (NetworkAddressFamily) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkAddressFamily) Number() protoreflect.EnumNumber
- func (x NetworkAddressFamily) String() string
- func (NetworkAddressFamily) Type() protoreflect.EnumType
- type PowerAction
- func (PowerAction) Descriptor() protoreflect.EnumDescriptor
- func (x PowerAction) Enum() *PowerAction
- func (PowerAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x PowerAction) Number() protoreflect.EnumNumber
- func (x PowerAction) String() string
- func (PowerAction) Type() protoreflect.EnumType
- type SendPowerActionRequest
- func (*SendPowerActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendPowerActionRequest) GetAction() PowerAction
- func (x *SendPowerActionRequest) GetMachine() *UUID
- func (*SendPowerActionRequest) ProtoMessage()
- func (x *SendPowerActionRequest) ProtoReflect() protoreflect.Message
- func (x *SendPowerActionRequest) Reset()
- func (x *SendPowerActionRequest) String() string
- type SendPowerActionResponse
- func (*SendPowerActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendPowerActionResponse) GetError() *Error
- func (*SendPowerActionResponse) ProtoMessage()
- func (x *SendPowerActionResponse) ProtoReflect() protoreflect.Message
- func (x *SendPowerActionResponse) Reset()
- func (x *SendPowerActionResponse) String() string
- type SetMetadataRequest
- func (*SetMetadataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetMetadataRequest) GetId() *UUID
- func (x *SetMetadataRequest) GetMeta() *MetadataMap
- func (*SetMetadataRequest) ProtoMessage()
- func (x *SetMetadataRequest) ProtoReflect() protoreflect.Message
- func (x *SetMetadataRequest) Reset()
- func (x *SetMetadataRequest) String() string
- type SetMetadataResponse
- func (*SetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetMetadataResponse) GetError() *Error
- func (*SetMetadataResponse) ProtoMessage()
- func (x *SetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *SetMetadataResponse) Reset()
- func (x *SetMetadataResponse) String() string
- type UUID
- type UnimplementedImageRegistryServiceServer
- func (UnimplementedImageRegistryServiceServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
- func (UnimplementedImageRegistryServiceServer) DeleteImage(context.Context, *DeleteImageRequest) (*DeleteImageResponse, error)
- func (UnimplementedImageRegistryServiceServer) FindImage(context.Context, *FindImageRequest) (*FindImageResponse, error)
- func (UnimplementedImageRegistryServiceServer) GetImages(*emptypb.Empty, ImageRegistryService_GetImagesServer) error
- func (UnimplementedImageRegistryServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
- func (UnimplementedImageRegistryServiceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
- type UnimplementedVirtualMachineRegistryServiceServer
- func (UnimplementedVirtualMachineRegistryServiceServer) AttachImage(context.Context, *AttachImageRequest) (*AttachImageResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) CreateVirtualMachine(context.Context, *CreateVirtualMachineRequest) (*CreateVirtualMachineResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) DeleteVirtualMachine(context.Context, *DeleteVirtualMachineRequest) (*DeleteVirtualMachineResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) DetachImage(context.Context, *DetachImageRequest) (*DetachImageResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) FindVirtualMachine(context.Context, *FindVirtualMachineRequest) (*FindVirtualMachineResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) GetAttachedImages(context.Context, *GetAttachedImagesRequest) (*GetAttachedImagesResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) GetVNCServers(context.Context, *GetVNCServersRequest) (*GetVNCServersResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) GetVirtualMachines(*emptypb.Empty, VirtualMachineRegistryService_GetVirtualMachinesServer) error
- func (UnimplementedVirtualMachineRegistryServiceServer) IsAlive(context.Context, *IsAliveRequest) (*IsAliveResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) SendPowerAction(context.Context, *SendPowerActionRequest) (*SendPowerActionResponse, error)
- func (UnimplementedVirtualMachineRegistryServiceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
- type UnsafeImageRegistryServiceServer
- type UnsafeVirtualMachineRegistryServiceServer
- type VNCServer
- func (*VNCServer) Descriptor() ([]byte, []int)deprecated
- func (x *VNCServer) GetDisplay() string
- func (x *VNCServer) GetSockets() []*VNCServerSocket
- func (*VNCServer) ProtoMessage()
- func (x *VNCServer) ProtoReflect() protoreflect.Message
- func (x *VNCServer) Reset()
- func (x *VNCServer) String() string
- type VNCServerSocket
- func (*VNCServerSocket) Descriptor() ([]byte, []int)deprecated
- func (x *VNCServerSocket) GetFamily() NetworkAddressFamily
- func (x *VNCServerSocket) GetIsWebSocket() bool
- func (x *VNCServerSocket) GetPort() uint32
- func (*VNCServerSocket) ProtoMessage()
- func (x *VNCServerSocket) ProtoReflect() protoreflect.Message
- func (x *VNCServerSocket) Reset()
- func (x *VNCServerSocket) String() string
- type VirtualMachine
- func (*VirtualMachine) Descriptor() ([]byte, []int)deprecated
- func (x *VirtualMachine) GetArch() Architecture
- func (x *VirtualMachine) GetId() *UUID
- func (x *VirtualMachine) GetMemorySize() uint64
- func (*VirtualMachine) ProtoMessage()
- func (x *VirtualMachine) ProtoReflect() protoreflect.Message
- func (x *VirtualMachine) Reset()
- func (x *VirtualMachine) String() string
- type VirtualMachineRegistryServiceClient
- type VirtualMachineRegistryServiceServer
- type VirtualMachineRegistryService_GetVirtualMachinesClient
- type VirtualMachineRegistryService_GetVirtualMachinesServer
Constants ¶
This section is empty.
Variables ¶
var ( Image_Media_name = map[int32]string{ 0: "DISK", 1: "CDROM", } Image_Media_value = map[string]int32{ "DISK": 0, "CDROM": 1, } )
Enum value maps for Image_Media.
var ( Image_Format_name = map[int32]string{ 0: "RAW", 1: "QCOW2", 2: "QCOW", 3: "QED", 4: "LUKS", 5: "VDI", 6: "VMDK", 7: "VPC", 8: "VHDX", 9: "CLOOP", 10: "BOCHS", 11: "DMG", 12: "PARALLELS", } Image_Format_value = map[string]int32{ "RAW": 0, "QCOW2": 1, "QCOW": 2, "QED": 3, "LUKS": 4, "VDI": 5, "VMDK": 6, "VPC": 7, "VHDX": 8, "CLOOP": 9, "BOCHS": 10, "DMG": 11, "PARALLELS": 12, } )
Enum value maps for Image_Format.
var ( Architecture_name = map[int32]string{ 0: "AARCH64", 1: "ARM", 2: "AVR", 3: "M68K", 4: "MIPS", 5: "MIPSEL", 6: "MIPS64", 7: "MIPS64EL", 8: "PPC64", 9: "RISCV64", 10: "RISCV32", 11: "RX", 12: "S390X", 13: "SPARC", 14: "SPARC64", 15: "X86_64", 16: "XTENSA", 17: "XTENSAEB", } Architecture_value = map[string]int32{ "AARCH64": 0, "ARM": 1, "AVR": 2, "M68K": 3, "MIPS": 4, "MIPSEL": 5, "MIPS64": 6, "MIPS64EL": 7, "PPC64": 8, "RISCV64": 9, "RISCV32": 10, "RX": 11, "S390X": 12, "SPARC": 13, "SPARC64": 14, "X86_64": 15, "XTENSA": 16, "XTENSAEB": 17, } )
Enum value maps for Architecture.
var ( PowerAction_name = map[int32]string{ 0: "POWERON", 1: "POWERDOWN", 2: "POWERDOWN_ACPI", 3: "RESET", } PowerAction_value = map[string]int32{ "POWERON": 0, "POWERDOWN": 1, "POWERDOWN_ACPI": 2, "RESET": 3, } )
Enum value maps for PowerAction.
var ( NetworkAddressFamily_name = map[int32]string{ 0: "IPV4", 1: "IPV6", 2: "UNIX", 3: "VSOCK", 4: "UNKNOWN", } NetworkAddressFamily_value = map[string]int32{ "IPV4": 0, "IPV6": 1, "UNIX": 2, "VSOCK": 3, "UNKNOWN": 4, } )
Enum value maps for NetworkAddressFamily.
var File_kitsune_proto_v1_common_proto protoreflect.FileDescriptor
var File_kitsune_proto_v1_image_proto protoreflect.FileDescriptor
var File_kitsune_proto_v1_machine_proto protoreflect.FileDescriptor
var File_kitsune_proto_v1_network_proto protoreflect.FileDescriptor
var ImageRegistryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kitsune.proto.v1.ImageRegistryService", HandlerType: (*ImageRegistryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindImage", Handler: _ImageRegistryService_FindImage_Handler, }, { MethodName: "CreateImage", Handler: _ImageRegistryService_CreateImage_Handler, }, { MethodName: "DeleteImage", Handler: _ImageRegistryService_DeleteImage_Handler, }, { MethodName: "GetMetadata", Handler: _ImageRegistryService_GetMetadata_Handler, }, { MethodName: "SetMetadata", Handler: _ImageRegistryService_SetMetadata_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetImages", Handler: _ImageRegistryService_GetImages_Handler, ServerStreams: true, }, }, Metadata: "kitsune/proto/v1/image.proto", }
ImageRegistryService_ServiceDesc is the grpc.ServiceDesc for ImageRegistryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VirtualMachineRegistryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kitsune.proto.v1.VirtualMachineRegistryService", HandlerType: (*VirtualMachineRegistryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FindVirtualMachine", Handler: _VirtualMachineRegistryService_FindVirtualMachine_Handler, }, { MethodName: "CreateVirtualMachine", Handler: _VirtualMachineRegistryService_CreateVirtualMachine_Handler, }, { MethodName: "DeleteVirtualMachine", Handler: _VirtualMachineRegistryService_DeleteVirtualMachine_Handler, }, { MethodName: "IsAlive", Handler: _VirtualMachineRegistryService_IsAlive_Handler, }, { MethodName: "GetAttachedImages", Handler: _VirtualMachineRegistryService_GetAttachedImages_Handler, }, { MethodName: "AttachImage", Handler: _VirtualMachineRegistryService_AttachImage_Handler, }, { MethodName: "DetachImage", Handler: _VirtualMachineRegistryService_DetachImage_Handler, }, { MethodName: "SendPowerAction", Handler: _VirtualMachineRegistryService_SendPowerAction_Handler, }, { MethodName: "GetVNCServers", Handler: _VirtualMachineRegistryService_GetVNCServers_Handler, }, { MethodName: "GetMetadata", Handler: _VirtualMachineRegistryService_GetMetadata_Handler, }, { MethodName: "SetMetadata", Handler: _VirtualMachineRegistryService_SetMetadata_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "GetVirtualMachines", Handler: _VirtualMachineRegistryService_GetVirtualMachines_Handler, ServerStreams: true, }, }, Metadata: "kitsune/proto/v1/machine.proto", }
VirtualMachineRegistryService_ServiceDesc is the grpc.ServiceDesc for VirtualMachineRegistryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterImageRegistryServiceServer ¶
func RegisterImageRegistryServiceServer(s grpc.ServiceRegistrar, srv ImageRegistryServiceServer)
func RegisterVirtualMachineRegistryServiceServer ¶
func RegisterVirtualMachineRegistryServiceServer(s grpc.ServiceRegistrar, srv VirtualMachineRegistryServiceServer)
Types ¶
type Architecture ¶
type Architecture int32
const ( Architecture_AARCH64 Architecture = 0 Architecture_ARM Architecture = 1 Architecture_AVR Architecture = 2 Architecture_M68K Architecture = 3 Architecture_MIPS Architecture = 4 Architecture_MIPSEL Architecture = 5 Architecture_MIPS64 Architecture = 6 Architecture_MIPS64EL Architecture = 7 Architecture_PPC64 Architecture = 8 Architecture_RISCV64 Architecture = 9 Architecture_RISCV32 Architecture = 10 Architecture_RX Architecture = 11 Architecture_S390X Architecture = 12 Architecture_SPARC Architecture = 13 Architecture_SPARC64 Architecture = 14 Architecture_X86_64 Architecture = 15 Architecture_XTENSA Architecture = 16 Architecture_XTENSAEB Architecture = 17 )
func (Architecture) Descriptor ¶
func (Architecture) Descriptor() protoreflect.EnumDescriptor
func (Architecture) Enum ¶
func (x Architecture) Enum() *Architecture
func (Architecture) EnumDescriptor
deprecated
func (Architecture) EnumDescriptor() ([]byte, []int)
Deprecated: Use Architecture.Descriptor instead.
func (Architecture) Number ¶
func (x Architecture) Number() protoreflect.EnumNumber
func (Architecture) String ¶
func (x Architecture) String() string
func (Architecture) Type ¶
func (Architecture) Type() protoreflect.EnumType
type AttachImageRequest ¶
type AttachImageRequest struct { Machine *UUID `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` Image *UUID `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*AttachImageRequest) Descriptor
deprecated
func (*AttachImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachImageRequest.ProtoReflect.Descriptor instead.
func (*AttachImageRequest) GetImage ¶
func (x *AttachImageRequest) GetImage() *UUID
func (*AttachImageRequest) GetMachine ¶
func (x *AttachImageRequest) GetMachine() *UUID
func (*AttachImageRequest) ProtoMessage ¶
func (*AttachImageRequest) ProtoMessage()
func (*AttachImageRequest) ProtoReflect ¶
func (x *AttachImageRequest) ProtoReflect() protoreflect.Message
func (*AttachImageRequest) Reset ¶
func (x *AttachImageRequest) Reset()
func (*AttachImageRequest) String ¶
func (x *AttachImageRequest) String() string
type AttachImageResponse ¶
type AttachImageResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*AttachImageResponse) Descriptor
deprecated
func (*AttachImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachImageResponse.ProtoReflect.Descriptor instead.
func (*AttachImageResponse) GetError ¶
func (x *AttachImageResponse) GetError() *Error
func (*AttachImageResponse) ProtoMessage ¶
func (*AttachImageResponse) ProtoMessage()
func (*AttachImageResponse) ProtoReflect ¶
func (x *AttachImageResponse) ProtoReflect() protoreflect.Message
func (*AttachImageResponse) Reset ¶
func (x *AttachImageResponse) Reset()
func (*AttachImageResponse) String ¶
func (x *AttachImageResponse) String() string
type CreateImageRequest ¶
type CreateImageRequest struct { Format Image_Format `protobuf:"varint,1,opt,name=format,proto3,enum=kitsune.proto.v1.Image_Format" json:"format,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Data *MetadataMap `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateImageRequest) Descriptor
deprecated
func (*CreateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
func (*CreateImageRequest) GetData ¶
func (x *CreateImageRequest) GetData() *MetadataMap
func (*CreateImageRequest) GetFormat ¶
func (x *CreateImageRequest) GetFormat() Image_Format
func (*CreateImageRequest) GetSize ¶
func (x *CreateImageRequest) GetSize() uint64
func (*CreateImageRequest) ProtoMessage ¶
func (*CreateImageRequest) ProtoMessage()
func (*CreateImageRequest) ProtoReflect ¶
func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
func (*CreateImageRequest) Reset ¶
func (x *CreateImageRequest) Reset()
func (*CreateImageRequest) String ¶
func (x *CreateImageRequest) String() string
type CreateImageResponse ¶
type CreateImageResponse struct { // Types that are assignable to ImageOrError: // *CreateImageResponse_Image // *CreateImageResponse_Error ImageOrError isCreateImageResponse_ImageOrError `protobuf_oneof:"image_or_error"` // contains filtered or unexported fields }
func (*CreateImageResponse) Descriptor
deprecated
func (*CreateImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageResponse.ProtoReflect.Descriptor instead.
func (*CreateImageResponse) GetError ¶
func (x *CreateImageResponse) GetError() *Error
func (*CreateImageResponse) GetImage ¶
func (x *CreateImageResponse) GetImage() *Image
func (*CreateImageResponse) GetImageOrError ¶
func (m *CreateImageResponse) GetImageOrError() isCreateImageResponse_ImageOrError
func (*CreateImageResponse) ProtoMessage ¶
func (*CreateImageResponse) ProtoMessage()
func (*CreateImageResponse) ProtoReflect ¶
func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
func (*CreateImageResponse) Reset ¶
func (x *CreateImageResponse) Reset()
func (*CreateImageResponse) String ¶
func (x *CreateImageResponse) String() string
type CreateImageResponse_Error ¶
type CreateImageResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CreateImageResponse_Image ¶
type CreateImageResponse_Image struct {
Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"`
}
type CreateVirtualMachineRequest ¶
type CreateVirtualMachineRequest struct { Arch Architecture `protobuf:"varint,1,opt,name=arch,proto3,enum=kitsune.proto.v1.Architecture" json:"arch,omitempty"` MemorySize uint64 `protobuf:"varint,2,opt,name=memorySize,proto3" json:"memorySize,omitempty"` Data *MetadataMap `protobuf:"bytes,3,opt,name=data,proto3,oneof" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateVirtualMachineRequest) Descriptor
deprecated
func (*CreateVirtualMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVirtualMachineRequest.ProtoReflect.Descriptor instead.
func (*CreateVirtualMachineRequest) GetArch ¶
func (x *CreateVirtualMachineRequest) GetArch() Architecture
func (*CreateVirtualMachineRequest) GetData ¶
func (x *CreateVirtualMachineRequest) GetData() *MetadataMap
func (*CreateVirtualMachineRequest) GetMemorySize ¶
func (x *CreateVirtualMachineRequest) GetMemorySize() uint64
func (*CreateVirtualMachineRequest) ProtoMessage ¶
func (*CreateVirtualMachineRequest) ProtoMessage()
func (*CreateVirtualMachineRequest) ProtoReflect ¶
func (x *CreateVirtualMachineRequest) ProtoReflect() protoreflect.Message
func (*CreateVirtualMachineRequest) Reset ¶
func (x *CreateVirtualMachineRequest) Reset()
func (*CreateVirtualMachineRequest) String ¶
func (x *CreateVirtualMachineRequest) String() string
type CreateVirtualMachineResponse ¶
type CreateVirtualMachineResponse struct { // Types that are assignable to MachineOrError: // *CreateVirtualMachineResponse_Machine // *CreateVirtualMachineResponse_Error MachineOrError isCreateVirtualMachineResponse_MachineOrError `protobuf_oneof:"machine_or_error"` // contains filtered or unexported fields }
func (*CreateVirtualMachineResponse) Descriptor
deprecated
func (*CreateVirtualMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateVirtualMachineResponse.ProtoReflect.Descriptor instead.
func (*CreateVirtualMachineResponse) GetError ¶
func (x *CreateVirtualMachineResponse) GetError() *Error
func (*CreateVirtualMachineResponse) GetMachine ¶
func (x *CreateVirtualMachineResponse) GetMachine() *VirtualMachine
func (*CreateVirtualMachineResponse) GetMachineOrError ¶
func (m *CreateVirtualMachineResponse) GetMachineOrError() isCreateVirtualMachineResponse_MachineOrError
func (*CreateVirtualMachineResponse) ProtoMessage ¶
func (*CreateVirtualMachineResponse) ProtoMessage()
func (*CreateVirtualMachineResponse) ProtoReflect ¶
func (x *CreateVirtualMachineResponse) ProtoReflect() protoreflect.Message
func (*CreateVirtualMachineResponse) Reset ¶
func (x *CreateVirtualMachineResponse) Reset()
func (*CreateVirtualMachineResponse) String ¶
func (x *CreateVirtualMachineResponse) String() string
type CreateVirtualMachineResponse_Error ¶
type CreateVirtualMachineResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type CreateVirtualMachineResponse_Machine ¶
type CreateVirtualMachineResponse_Machine struct {
Machine *VirtualMachine `protobuf:"bytes,1,opt,name=machine,proto3,oneof"`
}
type DeleteImageRequest ¶
type DeleteImageRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteImageRequest) Descriptor
deprecated
func (*DeleteImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteImageRequest.ProtoReflect.Descriptor instead.
func (*DeleteImageRequest) GetId ¶
func (x *DeleteImageRequest) GetId() *UUID
func (*DeleteImageRequest) ProtoMessage ¶
func (*DeleteImageRequest) ProtoMessage()
func (*DeleteImageRequest) ProtoReflect ¶
func (x *DeleteImageRequest) ProtoReflect() protoreflect.Message
func (*DeleteImageRequest) Reset ¶
func (x *DeleteImageRequest) Reset()
func (*DeleteImageRequest) String ¶
func (x *DeleteImageRequest) String() string
type DeleteImageResponse ¶
type DeleteImageResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeleteImageResponse) Descriptor
deprecated
func (*DeleteImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteImageResponse.ProtoReflect.Descriptor instead.
func (*DeleteImageResponse) GetError ¶
func (x *DeleteImageResponse) GetError() *Error
func (*DeleteImageResponse) ProtoMessage ¶
func (*DeleteImageResponse) ProtoMessage()
func (*DeleteImageResponse) ProtoReflect ¶
func (x *DeleteImageResponse) ProtoReflect() protoreflect.Message
func (*DeleteImageResponse) Reset ¶
func (x *DeleteImageResponse) Reset()
func (*DeleteImageResponse) String ¶
func (x *DeleteImageResponse) String() string
type DeleteVirtualMachineRequest ¶
type DeleteVirtualMachineRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteVirtualMachineRequest) Descriptor
deprecated
func (*DeleteVirtualMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVirtualMachineRequest.ProtoReflect.Descriptor instead.
func (*DeleteVirtualMachineRequest) GetId ¶
func (x *DeleteVirtualMachineRequest) GetId() *UUID
func (*DeleteVirtualMachineRequest) ProtoMessage ¶
func (*DeleteVirtualMachineRequest) ProtoMessage()
func (*DeleteVirtualMachineRequest) ProtoReflect ¶
func (x *DeleteVirtualMachineRequest) ProtoReflect() protoreflect.Message
func (*DeleteVirtualMachineRequest) Reset ¶
func (x *DeleteVirtualMachineRequest) Reset()
func (*DeleteVirtualMachineRequest) String ¶
func (x *DeleteVirtualMachineRequest) String() string
type DeleteVirtualMachineResponse ¶
type DeleteVirtualMachineResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DeleteVirtualMachineResponse) Descriptor
deprecated
func (*DeleteVirtualMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVirtualMachineResponse.ProtoReflect.Descriptor instead.
func (*DeleteVirtualMachineResponse) GetError ¶
func (x *DeleteVirtualMachineResponse) GetError() *Error
func (*DeleteVirtualMachineResponse) ProtoMessage ¶
func (*DeleteVirtualMachineResponse) ProtoMessage()
func (*DeleteVirtualMachineResponse) ProtoReflect ¶
func (x *DeleteVirtualMachineResponse) ProtoReflect() protoreflect.Message
func (*DeleteVirtualMachineResponse) Reset ¶
func (x *DeleteVirtualMachineResponse) Reset()
func (*DeleteVirtualMachineResponse) String ¶
func (x *DeleteVirtualMachineResponse) String() string
type DetachImageRequest ¶
type DetachImageRequest struct { Machine *UUID `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` Image *UUID `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*DetachImageRequest) Descriptor
deprecated
func (*DetachImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachImageRequest.ProtoReflect.Descriptor instead.
func (*DetachImageRequest) GetImage ¶
func (x *DetachImageRequest) GetImage() *UUID
func (*DetachImageRequest) GetMachine ¶
func (x *DetachImageRequest) GetMachine() *UUID
func (*DetachImageRequest) ProtoMessage ¶
func (*DetachImageRequest) ProtoMessage()
func (*DetachImageRequest) ProtoReflect ¶
func (x *DetachImageRequest) ProtoReflect() protoreflect.Message
func (*DetachImageRequest) Reset ¶
func (x *DetachImageRequest) Reset()
func (*DetachImageRequest) String ¶
func (x *DetachImageRequest) String() string
type DetachImageResponse ¶
type DetachImageResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*DetachImageResponse) Descriptor
deprecated
func (*DetachImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetachImageResponse.ProtoReflect.Descriptor instead.
func (*DetachImageResponse) GetError ¶
func (x *DetachImageResponse) GetError() *Error
func (*DetachImageResponse) ProtoMessage ¶
func (*DetachImageResponse) ProtoMessage()
func (*DetachImageResponse) ProtoReflect ¶
func (x *DetachImageResponse) ProtoReflect() protoreflect.Message
func (*DetachImageResponse) Reset ¶
func (x *DetachImageResponse) Reset()
func (*DetachImageResponse) String ¶
func (x *DetachImageResponse) String() string
type Error ¶
type Error struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Msg *string `protobuf:"bytes,2,opt,name=msg,proto3,oneof" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type FindImageRequest ¶
type FindImageRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FindImageRequest) Descriptor
deprecated
func (*FindImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindImageRequest.ProtoReflect.Descriptor instead.
func (*FindImageRequest) GetId ¶
func (x *FindImageRequest) GetId() *UUID
func (*FindImageRequest) ProtoMessage ¶
func (*FindImageRequest) ProtoMessage()
func (*FindImageRequest) ProtoReflect ¶
func (x *FindImageRequest) ProtoReflect() protoreflect.Message
func (*FindImageRequest) Reset ¶
func (x *FindImageRequest) Reset()
func (*FindImageRequest) String ¶
func (x *FindImageRequest) String() string
type FindImageResponse ¶
type FindImageResponse struct { Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof" json:"image,omitempty"` // contains filtered or unexported fields }
func (*FindImageResponse) Descriptor
deprecated
func (*FindImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindImageResponse.ProtoReflect.Descriptor instead.
func (*FindImageResponse) GetImage ¶
func (x *FindImageResponse) GetImage() *Image
func (*FindImageResponse) ProtoMessage ¶
func (*FindImageResponse) ProtoMessage()
func (*FindImageResponse) ProtoReflect ¶
func (x *FindImageResponse) ProtoReflect() protoreflect.Message
func (*FindImageResponse) Reset ¶
func (x *FindImageResponse) Reset()
func (*FindImageResponse) String ¶
func (x *FindImageResponse) String() string
type FindVirtualMachineRequest ¶
type FindVirtualMachineRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FindVirtualMachineRequest) Descriptor
deprecated
func (*FindVirtualMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindVirtualMachineRequest.ProtoReflect.Descriptor instead.
func (*FindVirtualMachineRequest) GetId ¶
func (x *FindVirtualMachineRequest) GetId() *UUID
func (*FindVirtualMachineRequest) ProtoMessage ¶
func (*FindVirtualMachineRequest) ProtoMessage()
func (*FindVirtualMachineRequest) ProtoReflect ¶
func (x *FindVirtualMachineRequest) ProtoReflect() protoreflect.Message
func (*FindVirtualMachineRequest) Reset ¶
func (x *FindVirtualMachineRequest) Reset()
func (*FindVirtualMachineRequest) String ¶
func (x *FindVirtualMachineRequest) String() string
type FindVirtualMachineResponse ¶
type FindVirtualMachineResponse struct { Machine *VirtualMachine `protobuf:"bytes,1,opt,name=machine,proto3,oneof" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*FindVirtualMachineResponse) Descriptor
deprecated
func (*FindVirtualMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindVirtualMachineResponse.ProtoReflect.Descriptor instead.
func (*FindVirtualMachineResponse) GetMachine ¶
func (x *FindVirtualMachineResponse) GetMachine() *VirtualMachine
func (*FindVirtualMachineResponse) ProtoMessage ¶
func (*FindVirtualMachineResponse) ProtoMessage()
func (*FindVirtualMachineResponse) ProtoReflect ¶
func (x *FindVirtualMachineResponse) ProtoReflect() protoreflect.Message
func (*FindVirtualMachineResponse) Reset ¶
func (x *FindVirtualMachineResponse) Reset()
func (*FindVirtualMachineResponse) String ¶
func (x *FindVirtualMachineResponse) String() string
type GetAttachedImagesRequest ¶
type GetAttachedImagesRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetAttachedImagesRequest) Descriptor
deprecated
func (*GetAttachedImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachedImagesRequest.ProtoReflect.Descriptor instead.
func (*GetAttachedImagesRequest) GetId ¶
func (x *GetAttachedImagesRequest) GetId() *UUID
func (*GetAttachedImagesRequest) ProtoMessage ¶
func (*GetAttachedImagesRequest) ProtoMessage()
func (*GetAttachedImagesRequest) ProtoReflect ¶
func (x *GetAttachedImagesRequest) ProtoReflect() protoreflect.Message
func (*GetAttachedImagesRequest) Reset ¶
func (x *GetAttachedImagesRequest) Reset()
func (*GetAttachedImagesRequest) String ¶
func (x *GetAttachedImagesRequest) String() string
type GetAttachedImagesResponse ¶
type GetAttachedImagesResponse struct { // oneof Images []*UUID `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetAttachedImagesResponse) Descriptor
deprecated
func (*GetAttachedImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachedImagesResponse.ProtoReflect.Descriptor instead.
func (*GetAttachedImagesResponse) GetError ¶
func (x *GetAttachedImagesResponse) GetError() *Error
func (*GetAttachedImagesResponse) GetImages ¶
func (x *GetAttachedImagesResponse) GetImages() []*UUID
func (*GetAttachedImagesResponse) ProtoMessage ¶
func (*GetAttachedImagesResponse) ProtoMessage()
func (*GetAttachedImagesResponse) ProtoReflect ¶
func (x *GetAttachedImagesResponse) ProtoReflect() protoreflect.Message
func (*GetAttachedImagesResponse) Reset ¶
func (x *GetAttachedImagesResponse) Reset()
func (*GetAttachedImagesResponse) String ¶
func (x *GetAttachedImagesResponse) String() string
type GetMetadataRequest ¶
type GetMetadataRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetId ¶
func (x *GetMetadataRequest) GetId() *UUID
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
type GetMetadataResponse ¶
type GetMetadataResponse struct { // Types that are assignable to MetadataOrError: // *GetMetadataResponse_Meta // *GetMetadataResponse_Error MetadataOrError isGetMetadataResponse_MetadataOrError `protobuf_oneof:"metadata_or_error"` // contains filtered or unexported fields }
func (*GetMetadataResponse) Descriptor
deprecated
func (*GetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataResponse) GetError ¶
func (x *GetMetadataResponse) GetError() *Error
func (*GetMetadataResponse) GetMeta ¶
func (x *GetMetadataResponse) GetMeta() *MetadataMap
func (*GetMetadataResponse) GetMetadataOrError ¶
func (m *GetMetadataResponse) GetMetadataOrError() isGetMetadataResponse_MetadataOrError
func (*GetMetadataResponse) ProtoMessage ¶
func (*GetMetadataResponse) ProtoMessage()
func (*GetMetadataResponse) ProtoReflect ¶
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetMetadataResponse) Reset ¶
func (x *GetMetadataResponse) Reset()
func (*GetMetadataResponse) String ¶
func (x *GetMetadataResponse) String() string
type GetMetadataResponse_Error ¶
type GetMetadataResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type GetMetadataResponse_Meta ¶
type GetMetadataResponse_Meta struct {
Meta *MetadataMap `protobuf:"bytes,1,opt,name=meta,proto3,oneof"`
}
type GetVNCServersRequest ¶
type GetVNCServersRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetVNCServersRequest) Descriptor
deprecated
func (*GetVNCServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVNCServersRequest.ProtoReflect.Descriptor instead.
func (*GetVNCServersRequest) GetId ¶
func (x *GetVNCServersRequest) GetId() *UUID
func (*GetVNCServersRequest) ProtoMessage ¶
func (*GetVNCServersRequest) ProtoMessage()
func (*GetVNCServersRequest) ProtoReflect ¶
func (x *GetVNCServersRequest) ProtoReflect() protoreflect.Message
func (*GetVNCServersRequest) Reset ¶
func (x *GetVNCServersRequest) Reset()
func (*GetVNCServersRequest) String ¶
func (x *GetVNCServersRequest) String() string
type GetVNCServersResponse ¶
type GetVNCServersResponse struct { // oneof Servers []*VNCServer `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*GetVNCServersResponse) Descriptor
deprecated
func (*GetVNCServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetVNCServersResponse.ProtoReflect.Descriptor instead.
func (*GetVNCServersResponse) GetError ¶
func (x *GetVNCServersResponse) GetError() *Error
func (*GetVNCServersResponse) GetServers ¶
func (x *GetVNCServersResponse) GetServers() []*VNCServer
func (*GetVNCServersResponse) ProtoMessage ¶
func (*GetVNCServersResponse) ProtoMessage()
func (*GetVNCServersResponse) ProtoReflect ¶
func (x *GetVNCServersResponse) ProtoReflect() protoreflect.Message
func (*GetVNCServersResponse) Reset ¶
func (x *GetVNCServersResponse) Reset()
func (*GetVNCServersResponse) String ¶
func (x *GetVNCServersResponse) String() string
type Image ¶
type Image struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Format Image_Format `protobuf:"varint,2,opt,name=format,proto3,enum=kitsune.proto.v1.Image_Format" json:"format,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` ReadOnly bool `protobuf:"varint,4,opt,name=readOnly,proto3" json:"readOnly,omitempty"` MediaType Image_Media `protobuf:"varint,5,opt,name=mediaType,proto3,enum=kitsune.proto.v1.Image_Media" json:"mediaType,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) GetFormat ¶
func (x *Image) GetFormat() Image_Format
func (*Image) GetMediaType ¶
func (x *Image) GetMediaType() Image_Media
func (*Image) GetReadOnly ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type ImageRegistryServiceClient ¶
type ImageRegistryServiceClient interface { GetImages(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (ImageRegistryService_GetImagesClient, error) FindImage(ctx context.Context, in *FindImageRequest, opts ...grpc.CallOption) (*FindImageResponse, error) CreateImage(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, error) DeleteImage(ctx context.Context, in *DeleteImageRequest, opts ...grpc.CallOption) (*DeleteImageResponse, error) GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*GetMetadataResponse, error) SetMetadata(ctx context.Context, in *SetMetadataRequest, opts ...grpc.CallOption) (*SetMetadataResponse, error) }
ImageRegistryServiceClient is the client API for ImageRegistryService 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 NewImageRegistryServiceClient ¶
func NewImageRegistryServiceClient(cc grpc.ClientConnInterface) ImageRegistryServiceClient
type ImageRegistryServiceServer ¶
type ImageRegistryServiceServer interface { GetImages(*emptypb.Empty, ImageRegistryService_GetImagesServer) error FindImage(context.Context, *FindImageRequest) (*FindImageResponse, error) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error) DeleteImage(context.Context, *DeleteImageRequest) (*DeleteImageResponse, error) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error) // contains filtered or unexported methods }
ImageRegistryServiceServer is the server API for ImageRegistryService service. All implementations must embed UnimplementedImageRegistryServiceServer for forward compatibility
type ImageRegistryService_GetImagesClient ¶
type ImageRegistryService_GetImagesClient interface { Recv() (*Image, error) grpc.ClientStream }
type ImageRegistryService_GetImagesServer ¶
type ImageRegistryService_GetImagesServer interface { Send(*Image) error grpc.ServerStream }
type Image_Format ¶
type Image_Format int32
const ( Image_RAW Image_Format = 0 Image_QCOW2 Image_Format = 1 Image_QCOW Image_Format = 2 Image_QED Image_Format = 3 Image_LUKS Image_Format = 4 Image_VDI Image_Format = 5 Image_VMDK Image_Format = 6 Image_VPC Image_Format = 7 Image_VHDX Image_Format = 8 Image_CLOOP Image_Format = 9 Image_BOCHS Image_Format = 10 Image_DMG Image_Format = 11 Image_PARALLELS Image_Format = 12 )
func (Image_Format) Descriptor ¶
func (Image_Format) Descriptor() protoreflect.EnumDescriptor
func (Image_Format) Enum ¶
func (x Image_Format) Enum() *Image_Format
func (Image_Format) EnumDescriptor
deprecated
func (Image_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use Image_Format.Descriptor instead.
func (Image_Format) Number ¶
func (x Image_Format) Number() protoreflect.EnumNumber
func (Image_Format) String ¶
func (x Image_Format) String() string
func (Image_Format) Type ¶
func (Image_Format) Type() protoreflect.EnumType
type Image_Media ¶
type Image_Media int32
const ( Image_DISK Image_Media = 0 Image_CDROM Image_Media = 1 )
func (Image_Media) Descriptor ¶
func (Image_Media) Descriptor() protoreflect.EnumDescriptor
func (Image_Media) Enum ¶
func (x Image_Media) Enum() *Image_Media
func (Image_Media) EnumDescriptor
deprecated
func (Image_Media) EnumDescriptor() ([]byte, []int)
Deprecated: Use Image_Media.Descriptor instead.
func (Image_Media) Number ¶
func (x Image_Media) Number() protoreflect.EnumNumber
func (Image_Media) String ¶
func (x Image_Media) String() string
func (Image_Media) Type ¶
func (Image_Media) Type() protoreflect.EnumType
type IsAliveRequest ¶
type IsAliveRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*IsAliveRequest) Descriptor
deprecated
func (*IsAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsAliveRequest.ProtoReflect.Descriptor instead.
func (*IsAliveRequest) GetId ¶
func (x *IsAliveRequest) GetId() *UUID
func (*IsAliveRequest) ProtoMessage ¶
func (*IsAliveRequest) ProtoMessage()
func (*IsAliveRequest) ProtoReflect ¶
func (x *IsAliveRequest) ProtoReflect() protoreflect.Message
func (*IsAliveRequest) Reset ¶
func (x *IsAliveRequest) Reset()
func (*IsAliveRequest) String ¶
func (x *IsAliveRequest) String() string
type IsAliveResponse ¶
type IsAliveResponse struct { // Types that are assignable to AliveOrError: // *IsAliveResponse_Alive // *IsAliveResponse_Error AliveOrError isIsAliveResponse_AliveOrError `protobuf_oneof:"alive_or_error"` // contains filtered or unexported fields }
func (*IsAliveResponse) Descriptor
deprecated
func (*IsAliveResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsAliveResponse.ProtoReflect.Descriptor instead.
func (*IsAliveResponse) GetAlive ¶
func (x *IsAliveResponse) GetAlive() bool
func (*IsAliveResponse) GetAliveOrError ¶
func (m *IsAliveResponse) GetAliveOrError() isIsAliveResponse_AliveOrError
func (*IsAliveResponse) GetError ¶
func (x *IsAliveResponse) GetError() *Error
func (*IsAliveResponse) ProtoMessage ¶
func (*IsAliveResponse) ProtoMessage()
func (*IsAliveResponse) ProtoReflect ¶
func (x *IsAliveResponse) ProtoReflect() protoreflect.Message
func (*IsAliveResponse) Reset ¶
func (x *IsAliveResponse) Reset()
func (*IsAliveResponse) String ¶
func (x *IsAliveResponse) String() string
type IsAliveResponse_Alive ¶
type IsAliveResponse_Alive struct {
Alive bool `protobuf:"varint,1,opt,name=alive,proto3,oneof"`
}
type IsAliveResponse_Error ¶
type IsAliveResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type MetadataMap ¶
type MetadataMap struct { Data map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MetadataMap) Descriptor
deprecated
func (*MetadataMap) Descriptor() ([]byte, []int)
Deprecated: Use MetadataMap.ProtoReflect.Descriptor instead.
func (*MetadataMap) GetData ¶
func (x *MetadataMap) GetData() map[string]string
func (*MetadataMap) ProtoMessage ¶
func (*MetadataMap) ProtoMessage()
func (*MetadataMap) ProtoReflect ¶
func (x *MetadataMap) ProtoReflect() protoreflect.Message
func (*MetadataMap) Reset ¶
func (x *MetadataMap) Reset()
func (*MetadataMap) String ¶
func (x *MetadataMap) String() string
type NetworkAddressFamily ¶
type NetworkAddressFamily int32
const ( NetworkAddressFamily_IPV4 NetworkAddressFamily = 0 NetworkAddressFamily_IPV6 NetworkAddressFamily = 1 NetworkAddressFamily_UNIX NetworkAddressFamily = 2 NetworkAddressFamily_VSOCK NetworkAddressFamily = 3 NetworkAddressFamily_UNKNOWN NetworkAddressFamily = 4 )
func (NetworkAddressFamily) Descriptor ¶
func (NetworkAddressFamily) Descriptor() protoreflect.EnumDescriptor
func (NetworkAddressFamily) Enum ¶
func (x NetworkAddressFamily) Enum() *NetworkAddressFamily
func (NetworkAddressFamily) EnumDescriptor
deprecated
func (NetworkAddressFamily) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkAddressFamily.Descriptor instead.
func (NetworkAddressFamily) Number ¶
func (x NetworkAddressFamily) Number() protoreflect.EnumNumber
func (NetworkAddressFamily) String ¶
func (x NetworkAddressFamily) String() string
func (NetworkAddressFamily) Type ¶
func (NetworkAddressFamily) Type() protoreflect.EnumType
type PowerAction ¶
type PowerAction int32
const ( PowerAction_POWERON PowerAction = 0 PowerAction_POWERDOWN PowerAction = 1 PowerAction_POWERDOWN_ACPI PowerAction = 2 PowerAction_RESET PowerAction = 3 )
func (PowerAction) Descriptor ¶
func (PowerAction) Descriptor() protoreflect.EnumDescriptor
func (PowerAction) Enum ¶
func (x PowerAction) Enum() *PowerAction
func (PowerAction) EnumDescriptor
deprecated
func (PowerAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use PowerAction.Descriptor instead.
func (PowerAction) Number ¶
func (x PowerAction) Number() protoreflect.EnumNumber
func (PowerAction) String ¶
func (x PowerAction) String() string
func (PowerAction) Type ¶
func (PowerAction) Type() protoreflect.EnumType
type SendPowerActionRequest ¶
type SendPowerActionRequest struct { Machine *UUID `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` Action PowerAction `protobuf:"varint,2,opt,name=action,proto3,enum=kitsune.proto.v1.PowerAction" json:"action,omitempty"` // contains filtered or unexported fields }
func (*SendPowerActionRequest) Descriptor
deprecated
func (*SendPowerActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendPowerActionRequest.ProtoReflect.Descriptor instead.
func (*SendPowerActionRequest) GetAction ¶
func (x *SendPowerActionRequest) GetAction() PowerAction
func (*SendPowerActionRequest) GetMachine ¶
func (x *SendPowerActionRequest) GetMachine() *UUID
func (*SendPowerActionRequest) ProtoMessage ¶
func (*SendPowerActionRequest) ProtoMessage()
func (*SendPowerActionRequest) ProtoReflect ¶
func (x *SendPowerActionRequest) ProtoReflect() protoreflect.Message
func (*SendPowerActionRequest) Reset ¶
func (x *SendPowerActionRequest) Reset()
func (*SendPowerActionRequest) String ¶
func (x *SendPowerActionRequest) String() string
type SendPowerActionResponse ¶
type SendPowerActionResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SendPowerActionResponse) Descriptor
deprecated
func (*SendPowerActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendPowerActionResponse.ProtoReflect.Descriptor instead.
func (*SendPowerActionResponse) GetError ¶
func (x *SendPowerActionResponse) GetError() *Error
func (*SendPowerActionResponse) ProtoMessage ¶
func (*SendPowerActionResponse) ProtoMessage()
func (*SendPowerActionResponse) ProtoReflect ¶
func (x *SendPowerActionResponse) ProtoReflect() protoreflect.Message
func (*SendPowerActionResponse) Reset ¶
func (x *SendPowerActionResponse) Reset()
func (*SendPowerActionResponse) String ¶
func (x *SendPowerActionResponse) String() string
type SetMetadataRequest ¶
type SetMetadataRequest struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Meta *MetadataMap `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*SetMetadataRequest) Descriptor
deprecated
func (*SetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMetadataRequest.ProtoReflect.Descriptor instead.
func (*SetMetadataRequest) GetId ¶
func (x *SetMetadataRequest) GetId() *UUID
func (*SetMetadataRequest) GetMeta ¶
func (x *SetMetadataRequest) GetMeta() *MetadataMap
func (*SetMetadataRequest) ProtoMessage ¶
func (*SetMetadataRequest) ProtoMessage()
func (*SetMetadataRequest) ProtoReflect ¶
func (x *SetMetadataRequest) ProtoReflect() protoreflect.Message
func (*SetMetadataRequest) Reset ¶
func (x *SetMetadataRequest) Reset()
func (*SetMetadataRequest) String ¶
func (x *SetMetadataRequest) String() string
type SetMetadataResponse ¶
type SetMetadataResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3,oneof" json:"error,omitempty"` // contains filtered or unexported fields }
func (*SetMetadataResponse) Descriptor
deprecated
func (*SetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetMetadataResponse.ProtoReflect.Descriptor instead.
func (*SetMetadataResponse) GetError ¶
func (x *SetMetadataResponse) GetError() *Error
func (*SetMetadataResponse) ProtoMessage ¶
func (*SetMetadataResponse) ProtoMessage()
func (*SetMetadataResponse) ProtoReflect ¶
func (x *SetMetadataResponse) ProtoReflect() protoreflect.Message
func (*SetMetadataResponse) Reset ¶
func (x *SetMetadataResponse) Reset()
func (*SetMetadataResponse) String ¶
func (x *SetMetadataResponse) String() string
type UUID ¶
type UUID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUID) Descriptor
deprecated
func (*UUID) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) ProtoReflect ¶
func (x *UUID) ProtoReflect() protoreflect.Message
type UnimplementedImageRegistryServiceServer ¶
type UnimplementedImageRegistryServiceServer struct { }
UnimplementedImageRegistryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedImageRegistryServiceServer) CreateImage ¶
func (UnimplementedImageRegistryServiceServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
func (UnimplementedImageRegistryServiceServer) DeleteImage ¶
func (UnimplementedImageRegistryServiceServer) DeleteImage(context.Context, *DeleteImageRequest) (*DeleteImageResponse, error)
func (UnimplementedImageRegistryServiceServer) FindImage ¶
func (UnimplementedImageRegistryServiceServer) FindImage(context.Context, *FindImageRequest) (*FindImageResponse, error)
func (UnimplementedImageRegistryServiceServer) GetImages ¶
func (UnimplementedImageRegistryServiceServer) GetImages(*emptypb.Empty, ImageRegistryService_GetImagesServer) error
func (UnimplementedImageRegistryServiceServer) GetMetadata ¶
func (UnimplementedImageRegistryServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
func (UnimplementedImageRegistryServiceServer) SetMetadata ¶
func (UnimplementedImageRegistryServiceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
type UnimplementedVirtualMachineRegistryServiceServer ¶
type UnimplementedVirtualMachineRegistryServiceServer struct { }
UnimplementedVirtualMachineRegistryServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedVirtualMachineRegistryServiceServer) AttachImage ¶
func (UnimplementedVirtualMachineRegistryServiceServer) AttachImage(context.Context, *AttachImageRequest) (*AttachImageResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) CreateVirtualMachine ¶
func (UnimplementedVirtualMachineRegistryServiceServer) CreateVirtualMachine(context.Context, *CreateVirtualMachineRequest) (*CreateVirtualMachineResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) DeleteVirtualMachine ¶
func (UnimplementedVirtualMachineRegistryServiceServer) DeleteVirtualMachine(context.Context, *DeleteVirtualMachineRequest) (*DeleteVirtualMachineResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) DetachImage ¶
func (UnimplementedVirtualMachineRegistryServiceServer) DetachImage(context.Context, *DetachImageRequest) (*DetachImageResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) FindVirtualMachine ¶
func (UnimplementedVirtualMachineRegistryServiceServer) FindVirtualMachine(context.Context, *FindVirtualMachineRequest) (*FindVirtualMachineResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) GetAttachedImages ¶
func (UnimplementedVirtualMachineRegistryServiceServer) GetAttachedImages(context.Context, *GetAttachedImagesRequest) (*GetAttachedImagesResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) GetMetadata ¶
func (UnimplementedVirtualMachineRegistryServiceServer) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) GetVNCServers ¶
func (UnimplementedVirtualMachineRegistryServiceServer) GetVNCServers(context.Context, *GetVNCServersRequest) (*GetVNCServersResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) GetVirtualMachines ¶
func (UnimplementedVirtualMachineRegistryServiceServer) GetVirtualMachines(*emptypb.Empty, VirtualMachineRegistryService_GetVirtualMachinesServer) error
func (UnimplementedVirtualMachineRegistryServiceServer) IsAlive ¶
func (UnimplementedVirtualMachineRegistryServiceServer) IsAlive(context.Context, *IsAliveRequest) (*IsAliveResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) SendPowerAction ¶
func (UnimplementedVirtualMachineRegistryServiceServer) SendPowerAction(context.Context, *SendPowerActionRequest) (*SendPowerActionResponse, error)
func (UnimplementedVirtualMachineRegistryServiceServer) SetMetadata ¶
func (UnimplementedVirtualMachineRegistryServiceServer) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error)
type UnsafeImageRegistryServiceServer ¶
type UnsafeImageRegistryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeImageRegistryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ImageRegistryServiceServer will result in compilation errors.
type UnsafeVirtualMachineRegistryServiceServer ¶
type UnsafeVirtualMachineRegistryServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVirtualMachineRegistryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VirtualMachineRegistryServiceServer will result in compilation errors.
type VNCServer ¶
type VNCServer struct { Sockets []*VNCServerSocket `protobuf:"bytes,1,rep,name=sockets,proto3" json:"sockets,omitempty"` Display *string `protobuf:"bytes,2,opt,name=display,proto3,oneof" json:"display,omitempty"` // contains filtered or unexported fields }
func (*VNCServer) Descriptor
deprecated
func (*VNCServer) GetDisplay ¶
func (*VNCServer) GetSockets ¶
func (x *VNCServer) GetSockets() []*VNCServerSocket
func (*VNCServer) ProtoMessage ¶
func (*VNCServer) ProtoMessage()
func (*VNCServer) ProtoReflect ¶
func (x *VNCServer) ProtoReflect() protoreflect.Message
type VNCServerSocket ¶
type VNCServerSocket struct { Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` Family NetworkAddressFamily `protobuf:"varint,2,opt,name=family,proto3,enum=kitsune.proto.v1.NetworkAddressFamily" json:"family,omitempty"` IsWebSocket bool `protobuf:"varint,3,opt,name=isWebSocket,proto3" json:"isWebSocket,omitempty"` // contains filtered or unexported fields }
func (*VNCServerSocket) Descriptor
deprecated
func (*VNCServerSocket) Descriptor() ([]byte, []int)
Deprecated: Use VNCServerSocket.ProtoReflect.Descriptor instead.
func (*VNCServerSocket) GetFamily ¶
func (x *VNCServerSocket) GetFamily() NetworkAddressFamily
func (*VNCServerSocket) GetIsWebSocket ¶
func (x *VNCServerSocket) GetIsWebSocket() bool
func (*VNCServerSocket) GetPort ¶
func (x *VNCServerSocket) GetPort() uint32
func (*VNCServerSocket) ProtoMessage ¶
func (*VNCServerSocket) ProtoMessage()
func (*VNCServerSocket) ProtoReflect ¶
func (x *VNCServerSocket) ProtoReflect() protoreflect.Message
func (*VNCServerSocket) Reset ¶
func (x *VNCServerSocket) Reset()
func (*VNCServerSocket) String ¶
func (x *VNCServerSocket) String() string
type VirtualMachine ¶
type VirtualMachine struct { Id *UUID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Arch Architecture `protobuf:"varint,2,opt,name=arch,proto3,enum=kitsune.proto.v1.Architecture" json:"arch,omitempty"` MemorySize uint64 `protobuf:"varint,4,opt,name=memorySize,proto3" json:"memorySize,omitempty"` // contains filtered or unexported fields }
func (*VirtualMachine) Descriptor
deprecated
func (*VirtualMachine) Descriptor() ([]byte, []int)
Deprecated: Use VirtualMachine.ProtoReflect.Descriptor instead.
func (*VirtualMachine) GetArch ¶
func (x *VirtualMachine) GetArch() Architecture
func (*VirtualMachine) GetId ¶
func (x *VirtualMachine) GetId() *UUID
func (*VirtualMachine) GetMemorySize ¶
func (x *VirtualMachine) GetMemorySize() uint64
func (*VirtualMachine) ProtoMessage ¶
func (*VirtualMachine) ProtoMessage()
func (*VirtualMachine) ProtoReflect ¶
func (x *VirtualMachine) ProtoReflect() protoreflect.Message
func (*VirtualMachine) Reset ¶
func (x *VirtualMachine) Reset()
func (*VirtualMachine) String ¶
func (x *VirtualMachine) String() string
type VirtualMachineRegistryServiceClient ¶
type VirtualMachineRegistryServiceClient interface { GetVirtualMachines(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (VirtualMachineRegistryService_GetVirtualMachinesClient, error) FindVirtualMachine(ctx context.Context, in *FindVirtualMachineRequest, opts ...grpc.CallOption) (*FindVirtualMachineResponse, error) CreateVirtualMachine(ctx context.Context, in *CreateVirtualMachineRequest, opts ...grpc.CallOption) (*CreateVirtualMachineResponse, error) DeleteVirtualMachine(ctx context.Context, in *DeleteVirtualMachineRequest, opts ...grpc.CallOption) (*DeleteVirtualMachineResponse, error) IsAlive(ctx context.Context, in *IsAliveRequest, opts ...grpc.CallOption) (*IsAliveResponse, error) GetAttachedImages(ctx context.Context, in *GetAttachedImagesRequest, opts ...grpc.CallOption) (*GetAttachedImagesResponse, error) AttachImage(ctx context.Context, in *AttachImageRequest, opts ...grpc.CallOption) (*AttachImageResponse, error) DetachImage(ctx context.Context, in *DetachImageRequest, opts ...grpc.CallOption) (*DetachImageResponse, error) SendPowerAction(ctx context.Context, in *SendPowerActionRequest, opts ...grpc.CallOption) (*SendPowerActionResponse, error) GetVNCServers(ctx context.Context, in *GetVNCServersRequest, opts ...grpc.CallOption) (*GetVNCServersResponse, error) GetMetadata(ctx context.Context, in *GetMetadataRequest, opts ...grpc.CallOption) (*GetMetadataResponse, error) SetMetadata(ctx context.Context, in *SetMetadataRequest, opts ...grpc.CallOption) (*SetMetadataResponse, error) }
VirtualMachineRegistryServiceClient is the client API for VirtualMachineRegistryService 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 NewVirtualMachineRegistryServiceClient ¶
func NewVirtualMachineRegistryServiceClient(cc grpc.ClientConnInterface) VirtualMachineRegistryServiceClient
type VirtualMachineRegistryServiceServer ¶
type VirtualMachineRegistryServiceServer interface { GetVirtualMachines(*emptypb.Empty, VirtualMachineRegistryService_GetVirtualMachinesServer) error FindVirtualMachine(context.Context, *FindVirtualMachineRequest) (*FindVirtualMachineResponse, error) CreateVirtualMachine(context.Context, *CreateVirtualMachineRequest) (*CreateVirtualMachineResponse, error) DeleteVirtualMachine(context.Context, *DeleteVirtualMachineRequest) (*DeleteVirtualMachineResponse, error) IsAlive(context.Context, *IsAliveRequest) (*IsAliveResponse, error) GetAttachedImages(context.Context, *GetAttachedImagesRequest) (*GetAttachedImagesResponse, error) AttachImage(context.Context, *AttachImageRequest) (*AttachImageResponse, error) DetachImage(context.Context, *DetachImageRequest) (*DetachImageResponse, error) SendPowerAction(context.Context, *SendPowerActionRequest) (*SendPowerActionResponse, error) GetVNCServers(context.Context, *GetVNCServersRequest) (*GetVNCServersResponse, error) GetMetadata(context.Context, *GetMetadataRequest) (*GetMetadataResponse, error) SetMetadata(context.Context, *SetMetadataRequest) (*SetMetadataResponse, error) // contains filtered or unexported methods }
VirtualMachineRegistryServiceServer is the server API for VirtualMachineRegistryService service. All implementations must embed UnimplementedVirtualMachineRegistryServiceServer for forward compatibility
type VirtualMachineRegistryService_GetVirtualMachinesClient ¶
type VirtualMachineRegistryService_GetVirtualMachinesClient interface { Recv() (*VirtualMachine, error) grpc.ClientStream }
type VirtualMachineRegistryService_GetVirtualMachinesServer ¶
type VirtualMachineRegistryService_GetVirtualMachinesServer interface { Send(*VirtualMachine) error grpc.ServerStream }