Documentation ¶
Index ¶
- Variables
- func RegisterSoxServer(s grpc.ServiceRegistrar, srv SoxServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetSubject() string
- func (x *Activity) GetTimestamp() *timestamppb.Timestamp
- func (x *Activity) GetType() Activity_Type
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type Activity_Type
- func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Activity_Type) Enum() *Activity_Type
- func (Activity_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Activity_Type) Number() protoreflect.EnumNumber
- func (x Activity_Type) String() string
- func (Activity_Type) Type() protoreflect.EnumType
- type CreateMachineRequest
- func (*CreateMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMachineRequest) GetImageId() string
- func (x *CreateMachineRequest) GetName() string
- func (x *CreateMachineRequest) GetNetworkIds() []string
- func (x *CreateMachineRequest) GetSpecs() *Machine_Specs
- func (x *CreateMachineRequest) GetSshKeyIds() []string
- func (x *CreateMachineRequest) GetUser() string
- func (*CreateMachineRequest) ProtoMessage()
- func (x *CreateMachineRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMachineRequest) Reset()
- func (x *CreateMachineRequest) String() string
- type CreateMachineResponse
- func (*CreateMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMachineResponse) GetId() string
- func (*CreateMachineResponse) ProtoMessage()
- func (x *CreateMachineResponse) ProtoReflect() protoreflect.Message
- func (x *CreateMachineResponse) Reset()
- func (x *CreateMachineResponse) String() string
- type CreateNetworkRequest
- func (*CreateNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkRequest) GetBridgeId() uint32
- func (x *CreateNetworkRequest) GetIpV4() *IpNetwork
- func (x *CreateNetworkRequest) GetIpV6() *IpNetwork
- func (x *CreateNetworkRequest) GetName() string
- func (*CreateNetworkRequest) ProtoMessage()
- func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkRequest) Reset()
- func (x *CreateNetworkRequest) String() string
- type CreateNetworkResponse
- func (*CreateNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkResponse) GetId() string
- func (*CreateNetworkResponse) ProtoMessage()
- func (x *CreateNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkResponse) Reset()
- func (x *CreateNetworkResponse) String() string
- type CreateSSHKeyRequest
- func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSSHKeyRequest) GetName() string
- func (x *CreateSSHKeyRequest) GetPubkey() string
- func (*CreateSSHKeyRequest) ProtoMessage()
- func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSSHKeyRequest) Reset()
- func (x *CreateSSHKeyRequest) String() string
- type CreateSSHKeyResponse
- func (*CreateSSHKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSSHKeyResponse) GetId() string
- func (*CreateSSHKeyResponse) ProtoMessage()
- func (x *CreateSSHKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSSHKeyResponse) Reset()
- func (x *CreateSSHKeyResponse) String() string
- type DeleteMachineRequest
- func (*DeleteMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMachineRequest) GetId() string
- func (*DeleteMachineRequest) ProtoMessage()
- func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMachineRequest) Reset()
- func (x *DeleteMachineRequest) String() string
- type DeleteMachineResponse
- type DeleteSSHKeyRequest
- func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSSHKeyRequest) GetId() string
- func (*DeleteSSHKeyRequest) ProtoMessage()
- func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSSHKeyRequest) Reset()
- func (x *DeleteSSHKeyRequest) String() string
- type DeleteSSHKeyResponse
- type GetMachineDetailsRequest
- func (*GetMachineDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineDetailsRequest) GetId() string
- func (*GetMachineDetailsRequest) ProtoMessage()
- func (x *GetMachineDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetMachineDetailsRequest) Reset()
- func (x *GetMachineDetailsRequest) String() string
- type GetMachineDetailsResponse
- func (*GetMachineDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMachineDetailsResponse) GetMachine() *Machine
- func (*GetMachineDetailsResponse) ProtoMessage()
- func (x *GetMachineDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetMachineDetailsResponse) Reset()
- func (x *GetMachineDetailsResponse) String() string
- type Image
- type Image_OS
- type IpNetwork
- type ListActivitiesRequest
- type ListActivitiesResponse
- func (*ListActivitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActivitiesResponse) GetActivities() []*Activity
- func (*ListActivitiesResponse) ProtoMessage()
- func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListActivitiesResponse) Reset()
- func (x *ListActivitiesResponse) String() string
- type ListImagesRequest
- type ListImagesResponse
- func (*ListImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListImagesResponse) GetImages() []*Image
- func (*ListImagesResponse) ProtoMessage()
- func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListImagesResponse) Reset()
- func (x *ListImagesResponse) String() string
- type ListMachinesRequest
- type ListMachinesResponse
- func (*ListMachinesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMachinesResponse) GetMachines() []*Machine
- func (*ListMachinesResponse) ProtoMessage()
- func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMachinesResponse) Reset()
- func (x *ListMachinesResponse) String() string
- type ListNetworksRequest
- type ListNetworksResponse
- func (*ListNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksResponse) GetNetworks() []*Network
- func (*ListNetworksResponse) ProtoMessage()
- func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetworksResponse) Reset()
- func (x *ListNetworksResponse) String() string
- type ListSSHKeysRequest
- type ListSSHKeysResponse
- func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSSHKeysResponse) GetKeys() []*SSHKey
- func (*ListSSHKeysResponse) ProtoMessage()
- func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListSSHKeysResponse) Reset()
- func (x *ListSSHKeysResponse) String() string
- type Machine
- func (*Machine) Descriptor() ([]byte, []int)deprecated
- func (x *Machine) GetId() string
- func (x *Machine) GetImageId() string
- func (x *Machine) GetName() string
- func (x *Machine) GetNetworks() []*NetworkInterface
- func (x *Machine) GetSpecs() *Machine_Specs
- func (x *Machine) GetSshKeyIds() []string
- func (x *Machine) GetStatus() Machine_Status
- func (x *Machine) GetUser() string
- func (*Machine) ProtoMessage()
- func (x *Machine) ProtoReflect() protoreflect.Message
- func (x *Machine) Reset()
- func (x *Machine) String() string
- type Machine_Specs
- func (*Machine_Specs) Descriptor() ([]byte, []int)deprecated
- func (x *Machine_Specs) GetCpus() int64
- func (x *Machine_Specs) GetDisk() int64
- func (x *Machine_Specs) GetMemory() int64
- func (*Machine_Specs) ProtoMessage()
- func (x *Machine_Specs) ProtoReflect() protoreflect.Message
- func (x *Machine_Specs) Reset()
- func (x *Machine_Specs) String() string
- type Machine_Status
- func (Machine_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Machine_Status) Enum() *Machine_Status
- func (Machine_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Machine_Status) Number() protoreflect.EnumNumber
- func (x Machine_Status) String() string
- func (Machine_Status) Type() protoreflect.EnumType
- type Network
- func (*Network) Descriptor() ([]byte, []int)deprecated
- func (x *Network) GetBridgeId() uint32
- func (x *Network) GetId() string
- func (x *Network) GetIpV4() *IpNetwork
- func (x *Network) GetIpV6() *IpNetwork
- func (x *Network) GetName() string
- func (x *Network) GetNameservers() []string
- func (x *Network) GetSearchDomains() []string
- func (*Network) ProtoMessage()
- func (x *Network) ProtoReflect() protoreflect.Message
- func (x *Network) Reset()
- func (x *Network) String() string
- type NetworkInterface
- func (*NetworkInterface) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterface) GetIpV4() string
- func (x *NetworkInterface) GetIpV6() string
- func (x *NetworkInterface) GetNetworkId() string
- func (*NetworkInterface) ProtoMessage()
- func (x *NetworkInterface) ProtoReflect() protoreflect.Message
- func (x *NetworkInterface) Reset()
- func (x *NetworkInterface) String() string
- type SSHKey
- type SoxClient
- type SoxServer
- type TriggerMachineRequest
- func (*TriggerMachineRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerMachineRequest) GetEvent() TriggerMachineRequest_Event
- func (x *TriggerMachineRequest) GetId() string
- func (*TriggerMachineRequest) ProtoMessage()
- func (x *TriggerMachineRequest) ProtoReflect() protoreflect.Message
- func (x *TriggerMachineRequest) Reset()
- func (x *TriggerMachineRequest) String() string
- type TriggerMachineRequest_Event
- func (TriggerMachineRequest_Event) Descriptor() protoreflect.EnumDescriptor
- func (x TriggerMachineRequest_Event) Enum() *TriggerMachineRequest_Event
- func (TriggerMachineRequest_Event) EnumDescriptor() ([]byte, []int)deprecated
- func (x TriggerMachineRequest_Event) Number() protoreflect.EnumNumber
- func (x TriggerMachineRequest_Event) String() string
- func (TriggerMachineRequest_Event) Type() protoreflect.EnumType
- type TriggerMachineResponse
- func (*TriggerMachineResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TriggerMachineResponse) GetStatus() Machine_Status
- func (*TriggerMachineResponse) ProtoMessage()
- func (x *TriggerMachineResponse) ProtoReflect() protoreflect.Message
- func (x *TriggerMachineResponse) Reset()
- func (x *TriggerMachineResponse) String() string
- type UnimplementedSoxServer
- func (UnimplementedSoxServer) CreateMachine(context.Context, *CreateMachineRequest) (*CreateMachineResponse, error)
- func (UnimplementedSoxServer) CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
- func (UnimplementedSoxServer) CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*CreateSSHKeyResponse, error)
- func (UnimplementedSoxServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
- func (UnimplementedSoxServer) DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*DeleteSSHKeyResponse, error)
- func (UnimplementedSoxServer) GetMachineDetails(context.Context, *GetMachineDetailsRequest) (*GetMachineDetailsResponse, error)
- func (UnimplementedSoxServer) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
- func (UnimplementedSoxServer) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
- func (UnimplementedSoxServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
- func (UnimplementedSoxServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
- func (UnimplementedSoxServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
- func (UnimplementedSoxServer) TriggerMachine(context.Context, *TriggerMachineRequest) (*TriggerMachineResponse, error)
- type UnsafeSoxServer
Constants ¶
This section is empty.
Variables ¶
var ( Image_OS_name = map[int32]string{ 0: "OS_UNSPECIFIEED", 1: "DEBIAN_BUSTER", 2: "DEBIAN_BULLSEYE", 3: "DEBIAN_BOOKWORM", } Image_OS_value = map[string]int32{ "OS_UNSPECIFIEED": 0, "DEBIAN_BUSTER": 1, "DEBIAN_BULLSEYE": 2, "DEBIAN_BOOKWORM": 3, } )
Enum value maps for Image_OS.
var ( Machine_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATED", 2: "STOPPED", 3: "RUNNING", 4: "CRASHED", } Machine_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATED": 1, "STOPPED": 2, "RUNNING": 3, "CRASHED": 4, } )
Enum value maps for Machine_Status.
var ( Activity_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "MACHINE_CREATED", 2: "MACHINE_POWERON", 3: "MACHINE_POWEROFF", 4: "MACHINE_DELETED", 5: "MACHINE_REBOOT", 6: "IMAGE_CREATED", 7: "IMAGE_DELETED", 8: "SSHKEY_CREATED", 9: "SSHKEY_DELETED", } Activity_Type_value = map[string]int32{ "UNKNOWN": 0, "MACHINE_CREATED": 1, "MACHINE_POWERON": 2, "MACHINE_POWEROFF": 3, "MACHINE_DELETED": 4, "MACHINE_REBOOT": 5, "IMAGE_CREATED": 6, "IMAGE_DELETED": 7, "SSHKEY_CREATED": 8, "SSHKEY_DELETED": 9, } )
Enum value maps for Activity_Type.
var ( TriggerMachineRequest_Event_name = map[int32]string{ 0: "EVENT_UNKNOWN", 1: "POWERON", 2: "POWEROFF", 3: "REBOOT", } TriggerMachineRequest_Event_value = map[string]int32{ "EVENT_UNKNOWN": 0, "POWERON": 1, "POWEROFF": 2, "REBOOT": 3, } )
Enum value maps for TriggerMachineRequest_Event.
var File_data_proto protoreflect.FileDescriptor
var File_service_proto protoreflect.FileDescriptor
var Sox_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sox.v1.Sox", HandlerType: (*SoxServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateMachine", Handler: _Sox_CreateMachine_Handler, }, { MethodName: "ListMachines", Handler: _Sox_ListMachines_Handler, }, { MethodName: "GetMachineDetails", Handler: _Sox_GetMachineDetails_Handler, }, { MethodName: "DeleteMachine", Handler: _Sox_DeleteMachine_Handler, }, { MethodName: "TriggerMachine", Handler: _Sox_TriggerMachine_Handler, }, { MethodName: "CreateSSHKey", Handler: _Sox_CreateSSHKey_Handler, }, { MethodName: "ListSSHKeys", Handler: _Sox_ListSSHKeys_Handler, }, { MethodName: "DeleteSSHKey", Handler: _Sox_DeleteSSHKey_Handler, }, { MethodName: "ListImages", Handler: _Sox_ListImages_Handler, }, { MethodName: "ListNetworks", Handler: _Sox_ListNetworks_Handler, }, { MethodName: "CreateNetwork", Handler: _Sox_CreateNetwork_Handler, }, { MethodName: "ListActivities", Handler: _Sox_ListActivities_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
Sox_ServiceDesc is the grpc.ServiceDesc for Sox service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSoxServer ¶
func RegisterSoxServer(s grpc.ServiceRegistrar, srv SoxServer)
Types ¶
type Activity ¶
type Activity struct { Type Activity_Type `protobuf:"varint,1,opt,name=type,proto3,enum=sox.v1.Activity_Type" json:"type,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // contains filtered or unexported fields }
func (*Activity) Descriptor
deprecated
func (*Activity) GetSubject ¶
func (*Activity) GetTimestamp ¶
func (x *Activity) GetTimestamp() *timestamppb.Timestamp
func (*Activity) GetType ¶
func (x *Activity) GetType() Activity_Type
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type Activity_Type ¶
type Activity_Type int32
const ( Activity_UNKNOWN Activity_Type = 0 Activity_MACHINE_CREATED Activity_Type = 1 Activity_MACHINE_POWERON Activity_Type = 2 Activity_MACHINE_POWEROFF Activity_Type = 3 Activity_MACHINE_DELETED Activity_Type = 4 Activity_MACHINE_REBOOT Activity_Type = 5 Activity_IMAGE_CREATED Activity_Type = 6 Activity_IMAGE_DELETED Activity_Type = 7 Activity_SSHKEY_CREATED Activity_Type = 8 Activity_SSHKEY_DELETED Activity_Type = 9 )
func (Activity_Type) Descriptor ¶
func (Activity_Type) Descriptor() protoreflect.EnumDescriptor
func (Activity_Type) Enum ¶
func (x Activity_Type) Enum() *Activity_Type
func (Activity_Type) EnumDescriptor
deprecated
func (Activity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Activity_Type.Descriptor instead.
func (Activity_Type) Number ¶
func (x Activity_Type) Number() protoreflect.EnumNumber
func (Activity_Type) String ¶
func (x Activity_Type) String() string
func (Activity_Type) Type ¶
func (Activity_Type) Type() protoreflect.EnumType
type CreateMachineRequest ¶
type CreateMachineRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Specs *Machine_Specs `protobuf:"bytes,2,opt,name=specs,proto3" json:"specs,omitempty"` ImageId string `protobuf:"bytes,3,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` SshKeyIds []string `protobuf:"bytes,4,rep,name=ssh_key_ids,json=sshKeyIds,proto3" json:"ssh_key_ids,omitempty"` NetworkIds []string `protobuf:"bytes,5,rep,name=network_ids,json=networkIds,proto3" json:"network_ids,omitempty"` User string `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateMachineRequest) Descriptor
deprecated
func (*CreateMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMachineRequest.ProtoReflect.Descriptor instead.
func (*CreateMachineRequest) GetImageId ¶
func (x *CreateMachineRequest) GetImageId() string
func (*CreateMachineRequest) GetName ¶
func (x *CreateMachineRequest) GetName() string
func (*CreateMachineRequest) GetNetworkIds ¶
func (x *CreateMachineRequest) GetNetworkIds() []string
func (*CreateMachineRequest) GetSpecs ¶
func (x *CreateMachineRequest) GetSpecs() *Machine_Specs
func (*CreateMachineRequest) GetSshKeyIds ¶
func (x *CreateMachineRequest) GetSshKeyIds() []string
func (*CreateMachineRequest) GetUser ¶
func (x *CreateMachineRequest) GetUser() 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 CreateMachineResponse ¶
type CreateMachineResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateMachineResponse) Descriptor
deprecated
func (*CreateMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMachineResponse.ProtoReflect.Descriptor instead.
func (*CreateMachineResponse) GetId ¶
func (x *CreateMachineResponse) GetId() string
func (*CreateMachineResponse) ProtoMessage ¶
func (*CreateMachineResponse) ProtoMessage()
func (*CreateMachineResponse) ProtoReflect ¶
func (x *CreateMachineResponse) ProtoReflect() protoreflect.Message
func (*CreateMachineResponse) Reset ¶
func (x *CreateMachineResponse) Reset()
func (*CreateMachineResponse) String ¶
func (x *CreateMachineResponse) String() string
type CreateNetworkRequest ¶
type CreateNetworkRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` BridgeId uint32 `protobuf:"varint,2,opt,name=bridge_id,json=bridgeId,proto3" json:"bridge_id,omitempty"` IpV4 *IpNetwork `protobuf:"bytes,3,opt,name=ip_v4,json=ipV4,proto3" json:"ip_v4,omitempty"` IpV6 *IpNetwork `protobuf:"bytes,4,opt,name=ip_v6,json=ipV6,proto3" json:"ip_v6,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkRequest) Descriptor
deprecated
func (*CreateNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.
func (*CreateNetworkRequest) GetBridgeId ¶
func (x *CreateNetworkRequest) GetBridgeId() uint32
func (*CreateNetworkRequest) GetIpV4 ¶
func (x *CreateNetworkRequest) GetIpV4() *IpNetwork
func (*CreateNetworkRequest) GetIpV6 ¶
func (x *CreateNetworkRequest) GetIpV6() *IpNetwork
func (*CreateNetworkRequest) GetName ¶
func (x *CreateNetworkRequest) GetName() 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 CreateNetworkResponse ¶
type CreateNetworkResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkResponse) Descriptor
deprecated
func (*CreateNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkResponse.ProtoReflect.Descriptor instead.
func (*CreateNetworkResponse) GetId ¶
func (x *CreateNetworkResponse) GetId() string
func (*CreateNetworkResponse) ProtoMessage ¶
func (*CreateNetworkResponse) ProtoMessage()
func (*CreateNetworkResponse) ProtoReflect ¶
func (x *CreateNetworkResponse) ProtoReflect() protoreflect.Message
func (*CreateNetworkResponse) Reset ¶
func (x *CreateNetworkResponse) Reset()
func (*CreateNetworkResponse) String ¶
func (x *CreateNetworkResponse) String() string
type CreateSSHKeyRequest ¶
type CreateSSHKeyRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*CreateSSHKeyRequest) Descriptor
deprecated
func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyRequest) GetName ¶
func (x *CreateSSHKeyRequest) GetName() string
func (*CreateSSHKeyRequest) GetPubkey ¶
func (x *CreateSSHKeyRequest) GetPubkey() string
func (*CreateSSHKeyRequest) ProtoMessage ¶
func (*CreateSSHKeyRequest) ProtoMessage()
func (*CreateSSHKeyRequest) ProtoReflect ¶
func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateSSHKeyRequest) Reset ¶
func (x *CreateSSHKeyRequest) Reset()
func (*CreateSSHKeyRequest) String ¶
func (x *CreateSSHKeyRequest) String() string
type CreateSSHKeyResponse ¶
type CreateSSHKeyResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateSSHKeyResponse) Descriptor
deprecated
func (*CreateSSHKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSSHKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateSSHKeyResponse) GetId ¶
func (x *CreateSSHKeyResponse) GetId() string
func (*CreateSSHKeyResponse) ProtoMessage ¶
func (*CreateSSHKeyResponse) ProtoMessage()
func (*CreateSSHKeyResponse) ProtoReflect ¶
func (x *CreateSSHKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateSSHKeyResponse) Reset ¶
func (x *CreateSSHKeyResponse) Reset()
func (*CreateSSHKeyResponse) String ¶
func (x *CreateSSHKeyResponse) String() string
type DeleteMachineRequest ¶
type DeleteMachineRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMachineRequest) Descriptor
deprecated
func (*DeleteMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineRequest.ProtoReflect.Descriptor instead.
func (*DeleteMachineRequest) GetId ¶
func (x *DeleteMachineRequest) GetId() string
func (*DeleteMachineRequest) ProtoMessage ¶
func (*DeleteMachineRequest) ProtoMessage()
func (*DeleteMachineRequest) ProtoReflect ¶
func (x *DeleteMachineRequest) ProtoReflect() protoreflect.Message
func (*DeleteMachineRequest) Reset ¶
func (x *DeleteMachineRequest) Reset()
func (*DeleteMachineRequest) String ¶
func (x *DeleteMachineRequest) String() string
type DeleteMachineResponse ¶
type DeleteMachineResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMachineResponse) Descriptor
deprecated
func (*DeleteMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMachineResponse.ProtoReflect.Descriptor instead.
func (*DeleteMachineResponse) ProtoMessage ¶
func (*DeleteMachineResponse) ProtoMessage()
func (*DeleteMachineResponse) ProtoReflect ¶
func (x *DeleteMachineResponse) ProtoReflect() protoreflect.Message
func (*DeleteMachineResponse) Reset ¶
func (x *DeleteMachineResponse) Reset()
func (*DeleteMachineResponse) String ¶
func (x *DeleteMachineResponse) String() string
type DeleteSSHKeyRequest ¶
type DeleteSSHKeyRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSSHKeyRequest) Descriptor
deprecated
func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSSHKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyRequest) GetId ¶
func (x *DeleteSSHKeyRequest) GetId() string
func (*DeleteSSHKeyRequest) ProtoMessage ¶
func (*DeleteSSHKeyRequest) ProtoMessage()
func (*DeleteSSHKeyRequest) ProtoReflect ¶
func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteSSHKeyRequest) Reset ¶
func (x *DeleteSSHKeyRequest) Reset()
func (*DeleteSSHKeyRequest) String ¶
func (x *DeleteSSHKeyRequest) String() string
type DeleteSSHKeyResponse ¶
type DeleteSSHKeyResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSSHKeyResponse) Descriptor
deprecated
func (*DeleteSSHKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSSHKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteSSHKeyResponse) ProtoMessage ¶
func (*DeleteSSHKeyResponse) ProtoMessage()
func (*DeleteSSHKeyResponse) ProtoReflect ¶
func (x *DeleteSSHKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteSSHKeyResponse) Reset ¶
func (x *DeleteSSHKeyResponse) Reset()
func (*DeleteSSHKeyResponse) String ¶
func (x *DeleteSSHKeyResponse) String() string
type GetMachineDetailsRequest ¶
type GetMachineDetailsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMachineDetailsRequest) Descriptor
deprecated
func (*GetMachineDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetMachineDetailsRequest) GetId ¶
func (x *GetMachineDetailsRequest) GetId() string
func (*GetMachineDetailsRequest) ProtoMessage ¶
func (*GetMachineDetailsRequest) ProtoMessage()
func (*GetMachineDetailsRequest) ProtoReflect ¶
func (x *GetMachineDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetMachineDetailsRequest) Reset ¶
func (x *GetMachineDetailsRequest) Reset()
func (*GetMachineDetailsRequest) String ¶
func (x *GetMachineDetailsRequest) String() string
type GetMachineDetailsResponse ¶
type GetMachineDetailsResponse struct { Machine *Machine `protobuf:"bytes,1,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*GetMachineDetailsResponse) Descriptor
deprecated
func (*GetMachineDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMachineDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetMachineDetailsResponse) GetMachine ¶
func (x *GetMachineDetailsResponse) GetMachine() *Machine
func (*GetMachineDetailsResponse) ProtoMessage ¶
func (*GetMachineDetailsResponse) ProtoMessage()
func (*GetMachineDetailsResponse) ProtoReflect ¶
func (x *GetMachineDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetMachineDetailsResponse) Reset ¶
func (x *GetMachineDetailsResponse) Reset()
func (*GetMachineDetailsResponse) String ¶
func (x *GetMachineDetailsResponse) String() string
type Image ¶
type Image 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"` System Image_OS `protobuf:"varint,3,opt,name=system,proto3,enum=sox.v1.Image_OS" json:"system,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor
deprecated
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type Image_OS ¶
type Image_OS int32
func (Image_OS) Descriptor ¶
func (Image_OS) Descriptor() protoreflect.EnumDescriptor
func (Image_OS) EnumDescriptor
deprecated
func (Image_OS) Number ¶
func (x Image_OS) Number() protoreflect.EnumNumber
func (Image_OS) Type ¶
func (Image_OS) Type() protoreflect.EnumType
type IpNetwork ¶
type IpNetwork struct { Subnet string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"` Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"` // contains filtered or unexported fields }
func (*IpNetwork) Descriptor
deprecated
func (*IpNetwork) GetGateway ¶
func (*IpNetwork) ProtoMessage ¶
func (*IpNetwork) ProtoMessage()
func (*IpNetwork) ProtoReflect ¶
func (x *IpNetwork) ProtoReflect() protoreflect.Message
type ListActivitiesRequest ¶
type ListActivitiesRequest struct {
// contains filtered or unexported fields
}
func (*ListActivitiesRequest) Descriptor
deprecated
func (*ListActivitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesRequest.ProtoReflect.Descriptor instead.
func (*ListActivitiesRequest) ProtoMessage ¶
func (*ListActivitiesRequest) ProtoMessage()
func (*ListActivitiesRequest) ProtoReflect ¶
func (x *ListActivitiesRequest) ProtoReflect() protoreflect.Message
func (*ListActivitiesRequest) Reset ¶
func (x *ListActivitiesRequest) Reset()
func (*ListActivitiesRequest) String ¶
func (x *ListActivitiesRequest) String() string
type ListActivitiesResponse ¶
type ListActivitiesResponse struct { Activities []*Activity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"` // contains filtered or unexported fields }
func (*ListActivitiesResponse) Descriptor
deprecated
func (*ListActivitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActivitiesResponse.ProtoReflect.Descriptor instead.
func (*ListActivitiesResponse) GetActivities ¶
func (x *ListActivitiesResponse) GetActivities() []*Activity
func (*ListActivitiesResponse) ProtoMessage ¶
func (*ListActivitiesResponse) ProtoMessage()
func (*ListActivitiesResponse) ProtoReflect ¶
func (x *ListActivitiesResponse) ProtoReflect() protoreflect.Message
func (*ListActivitiesResponse) Reset ¶
func (x *ListActivitiesResponse) Reset()
func (*ListActivitiesResponse) String ¶
func (x *ListActivitiesResponse) String() string
type ListImagesRequest ¶
type ListImagesRequest struct {
// contains filtered or unexported fields
}
func (*ListImagesRequest) Descriptor
deprecated
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (*ListImagesRequest) ProtoMessage ¶
func (*ListImagesRequest) ProtoMessage()
func (*ListImagesRequest) ProtoReflect ¶
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (*ListImagesRequest) Reset ¶
func (x *ListImagesRequest) Reset()
func (*ListImagesRequest) String ¶
func (x *ListImagesRequest) String() string
type ListImagesResponse ¶
type ListImagesResponse struct { Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // contains filtered or unexported fields }
func (*ListImagesResponse) Descriptor
deprecated
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (*ListImagesResponse) GetImages ¶
func (x *ListImagesResponse) GetImages() []*Image
func (*ListImagesResponse) ProtoMessage ¶
func (*ListImagesResponse) ProtoMessage()
func (*ListImagesResponse) ProtoReflect ¶
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (*ListImagesResponse) Reset ¶
func (x *ListImagesResponse) Reset()
func (*ListImagesResponse) String ¶
func (x *ListImagesResponse) String() string
type ListMachinesRequest ¶
type ListMachinesRequest struct {
// contains filtered or unexported fields
}
func (*ListMachinesRequest) Descriptor
deprecated
func (*ListMachinesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesRequest.ProtoReflect.Descriptor instead.
func (*ListMachinesRequest) ProtoMessage ¶
func (*ListMachinesRequest) ProtoMessage()
func (*ListMachinesRequest) ProtoReflect ¶
func (x *ListMachinesRequest) ProtoReflect() protoreflect.Message
func (*ListMachinesRequest) Reset ¶
func (x *ListMachinesRequest) Reset()
func (*ListMachinesRequest) String ¶
func (x *ListMachinesRequest) String() string
type ListMachinesResponse ¶
type ListMachinesResponse struct { Machines []*Machine `protobuf:"bytes,1,rep,name=machines,proto3" json:"machines,omitempty"` // contains filtered or unexported fields }
func (*ListMachinesResponse) Descriptor
deprecated
func (*ListMachinesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMachinesResponse.ProtoReflect.Descriptor instead.
func (*ListMachinesResponse) GetMachines ¶
func (x *ListMachinesResponse) GetMachines() []*Machine
func (*ListMachinesResponse) ProtoMessage ¶
func (*ListMachinesResponse) ProtoMessage()
func (*ListMachinesResponse) ProtoReflect ¶
func (x *ListMachinesResponse) ProtoReflect() protoreflect.Message
func (*ListMachinesResponse) Reset ¶
func (x *ListMachinesResponse) Reset()
func (*ListMachinesResponse) String ¶
func (x *ListMachinesResponse) String() string
type ListNetworksRequest ¶
type ListNetworksRequest struct {
// contains filtered or unexported fields
}
func (*ListNetworksRequest) Descriptor
deprecated
func (*ListNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.
func (*ListNetworksRequest) ProtoMessage ¶
func (*ListNetworksRequest) ProtoMessage()
func (*ListNetworksRequest) ProtoReflect ¶
func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message
func (*ListNetworksRequest) Reset ¶
func (x *ListNetworksRequest) Reset()
func (*ListNetworksRequest) String ¶
func (x *ListNetworksRequest) String() string
type ListNetworksResponse ¶
type ListNetworksResponse struct { Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` // contains filtered or unexported fields }
func (*ListNetworksResponse) Descriptor
deprecated
func (*ListNetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.
func (*ListNetworksResponse) GetNetworks ¶
func (x *ListNetworksResponse) GetNetworks() []*Network
func (*ListNetworksResponse) ProtoMessage ¶
func (*ListNetworksResponse) ProtoMessage()
func (*ListNetworksResponse) ProtoReflect ¶
func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
func (*ListNetworksResponse) Reset ¶
func (x *ListNetworksResponse) Reset()
func (*ListNetworksResponse) String ¶
func (x *ListNetworksResponse) String() string
type ListSSHKeysRequest ¶
type ListSSHKeysRequest struct {
// contains filtered or unexported fields
}
func (*ListSSHKeysRequest) Descriptor
deprecated
func (*ListSSHKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.
func (*ListSSHKeysRequest) ProtoMessage ¶
func (*ListSSHKeysRequest) ProtoMessage()
func (*ListSSHKeysRequest) ProtoReflect ¶
func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message
func (*ListSSHKeysRequest) Reset ¶
func (x *ListSSHKeysRequest) Reset()
func (*ListSSHKeysRequest) String ¶
func (x *ListSSHKeysRequest) String() string
type ListSSHKeysResponse ¶
type ListSSHKeysResponse struct { Keys []*SSHKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*ListSSHKeysResponse) Descriptor
deprecated
func (*ListSSHKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSSHKeysResponse) GetKeys ¶
func (x *ListSSHKeysResponse) GetKeys() []*SSHKey
func (*ListSSHKeysResponse) ProtoMessage ¶
func (*ListSSHKeysResponse) ProtoMessage()
func (*ListSSHKeysResponse) ProtoReflect ¶
func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message
func (*ListSSHKeysResponse) Reset ¶
func (x *ListSSHKeysResponse) Reset()
func (*ListSSHKeysResponse) String ¶
func (x *ListSSHKeysResponse) 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"` Status Machine_Status `protobuf:"varint,3,opt,name=status,proto3,enum=sox.v1.Machine_Status" json:"status,omitempty"` Specs *Machine_Specs `protobuf:"bytes,4,opt,name=specs,proto3" json:"specs,omitempty"` Networks []*NetworkInterface `protobuf:"bytes,5,rep,name=networks,proto3" json:"networks,omitempty"` ImageId string `protobuf:"bytes,6,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` SshKeyIds []string `protobuf:"bytes,7,rep,name=ssh_key_ids,json=sshKeyIds,proto3" json:"ssh_key_ids,omitempty"` User string `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Machine) Descriptor
deprecated
func (*Machine) GetImageId ¶
func (*Machine) GetNetworks ¶
func (x *Machine) GetNetworks() []*NetworkInterface
func (*Machine) GetSpecs ¶
func (x *Machine) GetSpecs() *Machine_Specs
func (*Machine) GetSshKeyIds ¶
func (*Machine) GetStatus ¶
func (x *Machine) GetStatus() Machine_Status
func (*Machine) ProtoMessage ¶
func (*Machine) ProtoMessage()
func (*Machine) ProtoReflect ¶
func (x *Machine) ProtoReflect() protoreflect.Message
type Machine_Specs ¶
type Machine_Specs struct { Cpus int64 `protobuf:"varint,1,opt,name=cpus,proto3" json:"cpus,omitempty"` Memory int64 `protobuf:"varint,2,opt,name=memory,proto3" json:"memory,omitempty"` Disk int64 `protobuf:"varint,3,opt,name=disk,proto3" json:"disk,omitempty"` // contains filtered or unexported fields }
func (*Machine_Specs) Descriptor
deprecated
func (*Machine_Specs) Descriptor() ([]byte, []int)
Deprecated: Use Machine_Specs.ProtoReflect.Descriptor instead.
func (*Machine_Specs) GetCpus ¶
func (x *Machine_Specs) GetCpus() int64
func (*Machine_Specs) GetDisk ¶
func (x *Machine_Specs) GetDisk() int64
func (*Machine_Specs) GetMemory ¶
func (x *Machine_Specs) GetMemory() int64
func (*Machine_Specs) ProtoMessage ¶
func (*Machine_Specs) ProtoMessage()
func (*Machine_Specs) ProtoReflect ¶
func (x *Machine_Specs) ProtoReflect() protoreflect.Message
func (*Machine_Specs) Reset ¶
func (x *Machine_Specs) Reset()
func (*Machine_Specs) String ¶
func (x *Machine_Specs) String() string
type Machine_Status ¶
type Machine_Status int32
const ( Machine_STATUS_UNSPECIFIED Machine_Status = 0 Machine_CREATED Machine_Status = 1 Machine_STOPPED Machine_Status = 2 Machine_RUNNING Machine_Status = 3 Machine_CRASHED Machine_Status = 4 )
func (Machine_Status) Descriptor ¶
func (Machine_Status) Descriptor() protoreflect.EnumDescriptor
func (Machine_Status) Enum ¶
func (x Machine_Status) Enum() *Machine_Status
func (Machine_Status) EnumDescriptor
deprecated
func (Machine_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Machine_Status.Descriptor instead.
func (Machine_Status) Number ¶
func (x Machine_Status) Number() protoreflect.EnumNumber
func (Machine_Status) String ¶
func (x Machine_Status) String() string
func (Machine_Status) Type ¶
func (Machine_Status) Type() protoreflect.EnumType
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"` IpV4 *IpNetwork `protobuf:"bytes,3,opt,name=ip_v4,json=ipV4,proto3" json:"ip_v4,omitempty"` IpV6 *IpNetwork `protobuf:"bytes,4,opt,name=ip_v6,json=ipV6,proto3" json:"ip_v6,omitempty"` Nameservers []string `protobuf:"bytes,5,rep,name=nameservers,proto3" json:"nameservers,omitempty"` SearchDomains []string `protobuf:"bytes,6,rep,name=searchDomains,proto3" json:"searchDomains,omitempty"` BridgeId uint32 `protobuf:"varint,7,opt,name=bridge_id,json=bridgeId,proto3" json:"bridge_id,omitempty"` // contains filtered or unexported fields }
func (*Network) Descriptor
deprecated
func (*Network) GetBridgeId ¶
func (*Network) GetNameservers ¶
func (*Network) GetSearchDomains ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkInterface ¶
type NetworkInterface struct { NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` IpV4 string `protobuf:"bytes,2,opt,name=ip_v4,json=ipV4,proto3" json:"ip_v4,omitempty"` IpV6 string `protobuf:"bytes,3,opt,name=ip_v6,json=ipV6,proto3" json:"ip_v6,omitempty"` // contains filtered or unexported fields }
func (*NetworkInterface) Descriptor
deprecated
func (*NetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.
func (*NetworkInterface) GetIpV4 ¶
func (x *NetworkInterface) GetIpV4() string
func (*NetworkInterface) GetIpV6 ¶
func (x *NetworkInterface) GetIpV6() string
func (*NetworkInterface) GetNetworkId ¶
func (x *NetworkInterface) GetNetworkId() string
func (*NetworkInterface) ProtoMessage ¶
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) ProtoReflect ¶
func (x *NetworkInterface) ProtoReflect() protoreflect.Message
func (*NetworkInterface) Reset ¶
func (x *NetworkInterface) Reset()
func (*NetworkInterface) String ¶
func (x *NetworkInterface) String() string
type SSHKey ¶
type SSHKey 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"` Pubkey string `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // contains filtered or unexported fields }
func (*SSHKey) Descriptor
deprecated
func (*SSHKey) ProtoMessage ¶
func (*SSHKey) ProtoMessage()
func (*SSHKey) ProtoReflect ¶
func (x *SSHKey) ProtoReflect() protoreflect.Message
type SoxClient ¶
type SoxClient interface { CreateMachine(ctx context.Context, in *CreateMachineRequest, opts ...grpc.CallOption) (*CreateMachineResponse, error) ListMachines(ctx context.Context, in *ListMachinesRequest, opts ...grpc.CallOption) (*ListMachinesResponse, error) GetMachineDetails(ctx context.Context, in *GetMachineDetailsRequest, opts ...grpc.CallOption) (*GetMachineDetailsResponse, error) DeleteMachine(ctx context.Context, in *DeleteMachineRequest, opts ...grpc.CallOption) (*DeleteMachineResponse, error) TriggerMachine(ctx context.Context, in *TriggerMachineRequest, opts ...grpc.CallOption) (*TriggerMachineResponse, error) CreateSSHKey(ctx context.Context, in *CreateSSHKeyRequest, opts ...grpc.CallOption) (*CreateSSHKeyResponse, error) ListSSHKeys(ctx context.Context, in *ListSSHKeysRequest, opts ...grpc.CallOption) (*ListSSHKeysResponse, error) DeleteSSHKey(ctx context.Context, in *DeleteSSHKeyRequest, opts ...grpc.CallOption) (*DeleteSSHKeyResponse, error) ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) ListActivities(ctx context.Context, in *ListActivitiesRequest, opts ...grpc.CallOption) (*ListActivitiesResponse, error) }
SoxClient is the client API for Sox 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 NewSoxClient ¶
func NewSoxClient(cc grpc.ClientConnInterface) SoxClient
type SoxServer ¶
type SoxServer interface { CreateMachine(context.Context, *CreateMachineRequest) (*CreateMachineResponse, error) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error) GetMachineDetails(context.Context, *GetMachineDetailsRequest) (*GetMachineDetailsResponse, error) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error) TriggerMachine(context.Context, *TriggerMachineRequest) (*TriggerMachineResponse, error) CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*CreateSSHKeyResponse, error) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error) DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*DeleteSSHKeyResponse, error) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error) CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error) // contains filtered or unexported methods }
SoxServer is the server API for Sox service. All implementations must embed UnimplementedSoxServer for forward compatibility
type TriggerMachineRequest ¶
type TriggerMachineRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Event TriggerMachineRequest_Event `protobuf:"varint,2,opt,name=event,proto3,enum=sox.v1.TriggerMachineRequest_Event" json:"event,omitempty"` // contains filtered or unexported fields }
func (*TriggerMachineRequest) Descriptor
deprecated
func (*TriggerMachineRequest) Descriptor() ([]byte, []int)
Deprecated: Use TriggerMachineRequest.ProtoReflect.Descriptor instead.
func (*TriggerMachineRequest) GetEvent ¶
func (x *TriggerMachineRequest) GetEvent() TriggerMachineRequest_Event
func (*TriggerMachineRequest) GetId ¶
func (x *TriggerMachineRequest) GetId() string
func (*TriggerMachineRequest) ProtoMessage ¶
func (*TriggerMachineRequest) ProtoMessage()
func (*TriggerMachineRequest) ProtoReflect ¶
func (x *TriggerMachineRequest) ProtoReflect() protoreflect.Message
func (*TriggerMachineRequest) Reset ¶
func (x *TriggerMachineRequest) Reset()
func (*TriggerMachineRequest) String ¶
func (x *TriggerMachineRequest) String() string
type TriggerMachineRequest_Event ¶
type TriggerMachineRequest_Event int32
const ( TriggerMachineRequest_EVENT_UNKNOWN TriggerMachineRequest_Event = 0 TriggerMachineRequest_POWERON TriggerMachineRequest_Event = 1 TriggerMachineRequest_POWEROFF TriggerMachineRequest_Event = 2 TriggerMachineRequest_REBOOT TriggerMachineRequest_Event = 3 )
func (TriggerMachineRequest_Event) Descriptor ¶
func (TriggerMachineRequest_Event) Descriptor() protoreflect.EnumDescriptor
func (TriggerMachineRequest_Event) Enum ¶
func (x TriggerMachineRequest_Event) Enum() *TriggerMachineRequest_Event
func (TriggerMachineRequest_Event) EnumDescriptor
deprecated
func (TriggerMachineRequest_Event) EnumDescriptor() ([]byte, []int)
Deprecated: Use TriggerMachineRequest_Event.Descriptor instead.
func (TriggerMachineRequest_Event) Number ¶
func (x TriggerMachineRequest_Event) Number() protoreflect.EnumNumber
func (TriggerMachineRequest_Event) String ¶
func (x TriggerMachineRequest_Event) String() string
func (TriggerMachineRequest_Event) Type ¶
func (TriggerMachineRequest_Event) Type() protoreflect.EnumType
type TriggerMachineResponse ¶
type TriggerMachineResponse struct { Status Machine_Status `protobuf:"varint,1,opt,name=status,proto3,enum=sox.v1.Machine_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*TriggerMachineResponse) Descriptor
deprecated
func (*TriggerMachineResponse) Descriptor() ([]byte, []int)
Deprecated: Use TriggerMachineResponse.ProtoReflect.Descriptor instead.
func (*TriggerMachineResponse) GetStatus ¶
func (x *TriggerMachineResponse) GetStatus() Machine_Status
func (*TriggerMachineResponse) ProtoMessage ¶
func (*TriggerMachineResponse) ProtoMessage()
func (*TriggerMachineResponse) ProtoReflect ¶
func (x *TriggerMachineResponse) ProtoReflect() protoreflect.Message
func (*TriggerMachineResponse) Reset ¶
func (x *TriggerMachineResponse) Reset()
func (*TriggerMachineResponse) String ¶
func (x *TriggerMachineResponse) String() string
type UnimplementedSoxServer ¶
type UnimplementedSoxServer struct { }
UnimplementedSoxServer must be embedded to have forward compatible implementations.
func (UnimplementedSoxServer) CreateMachine ¶
func (UnimplementedSoxServer) CreateMachine(context.Context, *CreateMachineRequest) (*CreateMachineResponse, error)
func (UnimplementedSoxServer) CreateNetwork ¶
func (UnimplementedSoxServer) CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
func (UnimplementedSoxServer) CreateSSHKey ¶
func (UnimplementedSoxServer) CreateSSHKey(context.Context, *CreateSSHKeyRequest) (*CreateSSHKeyResponse, error)
func (UnimplementedSoxServer) DeleteMachine ¶
func (UnimplementedSoxServer) DeleteMachine(context.Context, *DeleteMachineRequest) (*DeleteMachineResponse, error)
func (UnimplementedSoxServer) DeleteSSHKey ¶
func (UnimplementedSoxServer) DeleteSSHKey(context.Context, *DeleteSSHKeyRequest) (*DeleteSSHKeyResponse, error)
func (UnimplementedSoxServer) GetMachineDetails ¶
func (UnimplementedSoxServer) GetMachineDetails(context.Context, *GetMachineDetailsRequest) (*GetMachineDetailsResponse, error)
func (UnimplementedSoxServer) ListActivities ¶
func (UnimplementedSoxServer) ListActivities(context.Context, *ListActivitiesRequest) (*ListActivitiesResponse, error)
func (UnimplementedSoxServer) ListImages ¶
func (UnimplementedSoxServer) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
func (UnimplementedSoxServer) ListMachines ¶
func (UnimplementedSoxServer) ListMachines(context.Context, *ListMachinesRequest) (*ListMachinesResponse, error)
func (UnimplementedSoxServer) ListNetworks ¶
func (UnimplementedSoxServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
func (UnimplementedSoxServer) ListSSHKeys ¶
func (UnimplementedSoxServer) ListSSHKeys(context.Context, *ListSSHKeysRequest) (*ListSSHKeysResponse, error)
func (UnimplementedSoxServer) TriggerMachine ¶
func (UnimplementedSoxServer) TriggerMachine(context.Context, *TriggerMachineRequest) (*TriggerMachineResponse, error)
type UnsafeSoxServer ¶
type UnsafeSoxServer interface {
// contains filtered or unexported methods
}
UnsafeSoxServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SoxServer will result in compilation errors.