Documentation
¶
Index ¶
- Variables
- type Address
- type Code
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetAddresses() []*Address
- func (x *Device) GetBootedAt() *timestamppb.Timestamp
- func (x *Device) GetClientId() string
- func (x *Device) GetDeviceId() string
- func (x *Device) GetDisplayName() string
- func (x *Device) GetHardwareModelName() string
- func (x *Device) GetHostname() string
- func (x *Device) GetImageVersion() string
- func (x *Device) GetIpAddresses() []string
- func (x *Device) GetLastSeenAt() *timestamppb.Timestamp
- func (x *Device) GetNfr() bool
- func (x *Device) GetPackageVersion() string
- func (x *Device) GetSerialNumber() string
- func (x *Device) GetServiceModelName() string
- func (x *Device) GetServiceModelNameShort() string
- func (x *Device) GetServiceStatus() string
- func (x *Device) GetStorageTotalBytes() uint64
- func (x *Device) GetStorageUsedBytes() uint64
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type ErrorResponse
- func (*ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorResponse) GetCodes() []Code
- func (x *ErrorResponse) GetDetails() []string
- func (x *ErrorResponse) GetMessage() string
- func (*ErrorResponse) ProtoMessage()
- func (x *ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *ErrorResponse) Reset()
- func (x *ErrorResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Code_name = map[int32]string{ 0: "err_unspecified", 1: "err_endpoint_not_found", 2: "err_entity_not_found", 3: "err_validation_error", 4: "err_missing_authentication", 5: "err_unauthorized", 6: "err_internal_server_error", 7: "err_rate_limit_exceeded", 8: "err_agent_not_connected_to_device", 9: "err_device_not_connected_to_cloud", 10: "err_backup_already_running", 11: "err_client_not_found", } Code_value = map[string]int32{ "err_unspecified": 0, "err_endpoint_not_found": 1, "err_entity_not_found": 2, "err_validation_error": 3, "err_missing_authentication": 4, "err_unauthorized": 5, "err_internal_server_error": 6, "err_rate_limit_exceeded": 7, "err_agent_not_connected_to_device": 8, "err_device_not_connected_to_cloud": 9, "err_backup_already_running": 10, "err_client_not_found": 11, } )
Enum value maps for Code.
View Source
var File_slide_v1_device_proto protoreflect.FileDescriptor
View Source
var File_slide_v1_errors_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Mac *string `protobuf:"bytes,1,opt,name=mac" json:"mac,omitempty"` Ips []string `protobuf:"bytes,2,rep,name=ips" json:"ips,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Code ¶
type Code int32
const ( Code_err_unspecified Code = 0 Code_err_endpoint_not_found Code = 1 Code_err_entity_not_found Code = 2 Code_err_validation_error Code = 3 Code_err_missing_authentication Code = 4 Code_err_internal_server_error Code = 6 Code_err_rate_limit_exceeded Code = 7 Code_err_agent_not_connected_to_device Code = 8 Code_err_device_not_connected_to_cloud Code = 9 Code_err_backup_already_running Code = 10 Code_err_client_not_found Code = 11 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type Device ¶
type Device struct { Addresses []*Address `protobuf:"bytes,1,rep,name=addresses" json:"addresses,omitempty"` BootedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=booted_at,json=bootedAt" json:"booted_at,omitempty"` ClientId *string `protobuf:"bytes,3,opt,name=client_id,json=clientId" json:"client_id,omitempty"` DeviceId *string `protobuf:"bytes,4,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` DisplayName *string `protobuf:"bytes,5,opt,name=display_name,json=displayName" json:"display_name,omitempty"` HardwareModelName *string `protobuf:"bytes,6,opt,name=hardware_model_name,json=hardwareModelName" json:"hardware_model_name,omitempty"` Hostname *string `protobuf:"bytes,7,opt,name=hostname" json:"hostname,omitempty"` ImageVersion *string `protobuf:"bytes,8,opt,name=image_version,json=imageVersion" json:"image_version,omitempty"` IpAddresses []string `protobuf:"bytes,9,rep,name=ip_addresses,json=ipAddresses" json:"ip_addresses,omitempty"` LastSeenAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_seen_at,json=lastSeenAt" json:"last_seen_at,omitempty"` Nfr *bool `protobuf:"varint,11,opt,name=nfr" json:"nfr,omitempty"` PackageVersion *string `protobuf:"bytes,12,opt,name=package_version,json=packageVersion" json:"package_version,omitempty"` SerialNumber *string `protobuf:"bytes,13,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"` ServiceModelName *string `protobuf:"bytes,14,opt,name=service_model_name,json=serviceModelName" json:"service_model_name,omitempty"` ServiceModelNameShort *string `protobuf:"bytes,15,opt,name=service_model_name_short,json=serviceModelNameShort" json:"service_model_name_short,omitempty"` ServiceStatus *string `protobuf:"bytes,16,opt,name=service_status,json=serviceStatus" json:"service_status,omitempty"` StorageTotalBytes *uint64 `protobuf:"varint,17,opt,name=storage_total_bytes,json=storageTotalBytes" json:"storage_total_bytes,omitempty"` StorageUsedBytes *uint64 `protobuf:"varint,18,opt,name=storage_used_bytes,json=storageUsedBytes" json:"storage_used_bytes,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetAddresses ¶
func (*Device) GetBootedAt ¶
func (x *Device) GetBootedAt() *timestamppb.Timestamp
func (*Device) GetClientId ¶
func (*Device) GetDeviceId ¶
func (*Device) GetDisplayName ¶
func (*Device) GetHardwareModelName ¶
func (*Device) GetHostname ¶
func (*Device) GetImageVersion ¶
func (*Device) GetIpAddresses ¶
func (*Device) GetLastSeenAt ¶
func (x *Device) GetLastSeenAt() *timestamppb.Timestamp
func (*Device) GetPackageVersion ¶
func (*Device) GetSerialNumber ¶
func (*Device) GetServiceModelName ¶
func (*Device) GetServiceModelNameShort ¶
func (*Device) GetServiceStatus ¶
func (*Device) GetStorageTotalBytes ¶
func (*Device) GetStorageUsedBytes ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type ErrorResponse ¶
type ErrorResponse struct { Codes []Code `protobuf:"varint,1,rep,packed,name=codes,enum=slide.v1.Code" json:"codes,omitempty"` Details []string `protobuf:"bytes,2,rep,name=details" json:"details,omitempty"` Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) GetCodes ¶
func (x *ErrorResponse) GetCodes() []Code
func (*ErrorResponse) GetDetails ¶
func (x *ErrorResponse) GetDetails() []string
func (*ErrorResponse) GetMessage ¶
func (x *ErrorResponse) GetMessage() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
Click to show internal directories.
Click to hide internal directories.