slideschema

package
v0.0.0-...-e26bdd8 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetIps

func (x *Address) GetIps() []string

func (*Address) GetMac

func (x *Address) GetMac() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

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_unauthorized                  Code = 5
	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) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAddresses

func (x *Device) GetAddresses() []*Address

func (*Device) GetBootedAt

func (x *Device) GetBootedAt() *timestamppb.Timestamp

func (*Device) GetClientId

func (x *Device) GetClientId() string

func (*Device) GetDeviceId

func (x *Device) GetDeviceId() string

func (*Device) GetDisplayName

func (x *Device) GetDisplayName() string

func (*Device) GetHardwareModelName

func (x *Device) GetHardwareModelName() string

func (*Device) GetHostname

func (x *Device) GetHostname() string

func (*Device) GetImageVersion

func (x *Device) GetImageVersion() string

func (*Device) GetIpAddresses

func (x *Device) GetIpAddresses() []string

func (*Device) GetLastSeenAt

func (x *Device) GetLastSeenAt() *timestamppb.Timestamp

func (*Device) GetNfr

func (x *Device) GetNfr() bool

func (*Device) GetPackageVersion

func (x *Device) GetPackageVersion() string

func (*Device) GetSerialNumber

func (x *Device) GetSerialNumber() string

func (*Device) GetServiceModelName

func (x *Device) GetServiceModelName() string

func (*Device) GetServiceModelNameShort

func (x *Device) GetServiceModelNameShort() string

func (*Device) GetServiceStatus

func (x *Device) GetServiceStatus() string

func (*Device) GetStorageTotalBytes

func (x *Device) GetStorageTotalBytes() uint64

func (*Device) GetStorageUsedBytes

func (x *Device) GetStorageUsedBytes() uint64

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

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

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

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

Jump to

Keyboard shortcuts

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