Documentation ¶
Index ¶
- Variables
- type ExitCode
- type ExternalBlobReference
- func (*ExternalBlobReference) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalBlobReference) GetDirectPath() string
- func (x *ExternalBlobReference) GetFileEncSHA256() []byte
- func (x *ExternalBlobReference) GetFileSHA256() []byte
- func (x *ExternalBlobReference) GetFileSizeBytes() uint64
- func (x *ExternalBlobReference) GetHandle() string
- func (x *ExternalBlobReference) GetMediaKey() []byte
- func (*ExternalBlobReference) ProtoMessage()
- func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message
- func (x *ExternalBlobReference) Reset()
- func (x *ExternalBlobReference) String() string
- type KeyId
- type SyncdIndex
- type SyncdMutation
- func (*SyncdMutation) Descriptor() ([]byte, []int)deprecated
- func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation
- func (x *SyncdMutation) GetRecord() *SyncdRecord
- func (*SyncdMutation) ProtoMessage()
- func (x *SyncdMutation) ProtoReflect() protoreflect.Message
- func (x *SyncdMutation) Reset()
- func (x *SyncdMutation) String() string
- type SyncdMutation_SyncdOperation
- func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor
- func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation
- func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber
- func (x SyncdMutation_SyncdOperation) String() string
- func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType
- type SyncdMutations
- type SyncdPatch
- func (*SyncdPatch) Descriptor() ([]byte, []int)deprecated
- func (x *SyncdPatch) GetClientDebugData() []byte
- func (x *SyncdPatch) GetDeviceIndex() uint32
- func (x *SyncdPatch) GetExitCode() *ExitCode
- func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference
- func (x *SyncdPatch) GetKeyID() *KeyId
- func (x *SyncdPatch) GetMutations() []*SyncdMutation
- func (x *SyncdPatch) GetPatchMAC() []byte
- func (x *SyncdPatch) GetSnapshotMAC() []byte
- func (x *SyncdPatch) GetVersion() *SyncdVersion
- func (*SyncdPatch) ProtoMessage()
- func (x *SyncdPatch) ProtoReflect() protoreflect.Message
- func (x *SyncdPatch) Reset()
- func (x *SyncdPatch) String() string
- type SyncdRecord
- func (*SyncdRecord) Descriptor() ([]byte, []int)deprecated
- func (x *SyncdRecord) GetIndex() *SyncdIndex
- func (x *SyncdRecord) GetKeyID() *KeyId
- func (x *SyncdRecord) GetValue() *SyncdValue
- func (*SyncdRecord) ProtoMessage()
- func (x *SyncdRecord) ProtoReflect() protoreflect.Message
- func (x *SyncdRecord) Reset()
- func (x *SyncdRecord) String() string
- type SyncdSnapshot
- func (*SyncdSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *SyncdSnapshot) GetKeyID() *KeyId
- func (x *SyncdSnapshot) GetMac() []byte
- func (x *SyncdSnapshot) GetRecords() []*SyncdRecord
- func (x *SyncdSnapshot) GetVersion() *SyncdVersion
- func (*SyncdSnapshot) ProtoMessage()
- func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message
- func (x *SyncdSnapshot) Reset()
- func (x *SyncdSnapshot) String() string
- type SyncdValue
- type SyncdVersion
Constants ¶
This section is empty.
Variables ¶
var ( SyncdMutation_SyncdOperation_name = map[int32]string{ 0: "SET", 1: "REMOVE", } SyncdMutation_SyncdOperation_value = map[string]int32{ "SET": 0, "REMOVE": 1, } )
Enum value maps for SyncdMutation_SyncdOperation.
var File_waServerSync_WAServerSync_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExitCode ¶
type ExitCode struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*ExitCode) Descriptor
deprecated
func (*ExitCode) ProtoMessage ¶
func (*ExitCode) ProtoMessage()
func (*ExitCode) ProtoReflect ¶
func (x *ExitCode) ProtoReflect() protoreflect.Message
type ExternalBlobReference ¶
type ExternalBlobReference struct { MediaKey []byte `protobuf:"bytes,1,opt,name=mediaKey,proto3" json:"mediaKey,omitempty"` DirectPath string `protobuf:"bytes,2,opt,name=directPath,proto3" json:"directPath,omitempty"` Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"` FileSizeBytes uint64 `protobuf:"varint,4,opt,name=fileSizeBytes,proto3" json:"fileSizeBytes,omitempty"` FileSHA256 []byte `protobuf:"bytes,5,opt,name=fileSHA256,proto3" json:"fileSHA256,omitempty"` FileEncSHA256 []byte `protobuf:"bytes,6,opt,name=fileEncSHA256,proto3" json:"fileEncSHA256,omitempty"` // contains filtered or unexported fields }
func (*ExternalBlobReference) Descriptor
deprecated
func (*ExternalBlobReference) Descriptor() ([]byte, []int)
Deprecated: Use ExternalBlobReference.ProtoReflect.Descriptor instead.
func (*ExternalBlobReference) GetDirectPath ¶
func (x *ExternalBlobReference) GetDirectPath() string
func (*ExternalBlobReference) GetFileEncSHA256 ¶
func (x *ExternalBlobReference) GetFileEncSHA256() []byte
func (*ExternalBlobReference) GetFileSHA256 ¶
func (x *ExternalBlobReference) GetFileSHA256() []byte
func (*ExternalBlobReference) GetFileSizeBytes ¶
func (x *ExternalBlobReference) GetFileSizeBytes() uint64
func (*ExternalBlobReference) GetHandle ¶
func (x *ExternalBlobReference) GetHandle() string
func (*ExternalBlobReference) GetMediaKey ¶
func (x *ExternalBlobReference) GetMediaKey() []byte
func (*ExternalBlobReference) ProtoMessage ¶
func (*ExternalBlobReference) ProtoMessage()
func (*ExternalBlobReference) ProtoReflect ¶
func (x *ExternalBlobReference) ProtoReflect() protoreflect.Message
func (*ExternalBlobReference) Reset ¶
func (x *ExternalBlobReference) Reset()
func (*ExternalBlobReference) String ¶
func (x *ExternalBlobReference) String() string
type KeyId ¶
type KeyId struct { ID []byte `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // contains filtered or unexported fields }
func (*KeyId) Descriptor
deprecated
func (*KeyId) ProtoMessage ¶
func (*KeyId) ProtoMessage()
func (*KeyId) ProtoReflect ¶
func (x *KeyId) ProtoReflect() protoreflect.Message
type SyncdIndex ¶
type SyncdIndex struct { Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` // contains filtered or unexported fields }
func (*SyncdIndex) Descriptor
deprecated
func (*SyncdIndex) Descriptor() ([]byte, []int)
Deprecated: Use SyncdIndex.ProtoReflect.Descriptor instead.
func (*SyncdIndex) GetBlob ¶
func (x *SyncdIndex) GetBlob() []byte
func (*SyncdIndex) ProtoMessage ¶
func (*SyncdIndex) ProtoMessage()
func (*SyncdIndex) ProtoReflect ¶
func (x *SyncdIndex) ProtoReflect() protoreflect.Message
func (*SyncdIndex) Reset ¶
func (x *SyncdIndex) Reset()
func (*SyncdIndex) String ¶
func (x *SyncdIndex) String() string
type SyncdMutation ¶
type SyncdMutation struct { Operation SyncdMutation_SyncdOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"` Record *SyncdRecord `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*SyncdMutation) Descriptor
deprecated
func (*SyncdMutation) Descriptor() ([]byte, []int)
Deprecated: Use SyncdMutation.ProtoReflect.Descriptor instead.
func (*SyncdMutation) GetOperation ¶
func (x *SyncdMutation) GetOperation() SyncdMutation_SyncdOperation
func (*SyncdMutation) GetRecord ¶
func (x *SyncdMutation) GetRecord() *SyncdRecord
func (*SyncdMutation) ProtoMessage ¶
func (*SyncdMutation) ProtoMessage()
func (*SyncdMutation) ProtoReflect ¶
func (x *SyncdMutation) ProtoReflect() protoreflect.Message
func (*SyncdMutation) Reset ¶
func (x *SyncdMutation) Reset()
func (*SyncdMutation) String ¶
func (x *SyncdMutation) String() string
type SyncdMutation_SyncdOperation ¶
type SyncdMutation_SyncdOperation int32
const ( SyncdMutation_SET SyncdMutation_SyncdOperation = 0 SyncdMutation_REMOVE SyncdMutation_SyncdOperation = 1 )
func (SyncdMutation_SyncdOperation) Descriptor ¶
func (SyncdMutation_SyncdOperation) Descriptor() protoreflect.EnumDescriptor
func (SyncdMutation_SyncdOperation) Enum ¶
func (x SyncdMutation_SyncdOperation) Enum() *SyncdMutation_SyncdOperation
func (SyncdMutation_SyncdOperation) EnumDescriptor
deprecated
func (SyncdMutation_SyncdOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead.
func (SyncdMutation_SyncdOperation) Number ¶
func (x SyncdMutation_SyncdOperation) Number() protoreflect.EnumNumber
func (SyncdMutation_SyncdOperation) String ¶
func (x SyncdMutation_SyncdOperation) String() string
func (SyncdMutation_SyncdOperation) Type ¶
func (SyncdMutation_SyncdOperation) Type() protoreflect.EnumType
type SyncdMutations ¶
type SyncdMutations struct { Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations,proto3" json:"mutations,omitempty"` // contains filtered or unexported fields }
func (*SyncdMutations) Descriptor
deprecated
func (*SyncdMutations) Descriptor() ([]byte, []int)
Deprecated: Use SyncdMutations.ProtoReflect.Descriptor instead.
func (*SyncdMutations) GetMutations ¶
func (x *SyncdMutations) GetMutations() []*SyncdMutation
func (*SyncdMutations) ProtoMessage ¶
func (*SyncdMutations) ProtoMessage()
func (*SyncdMutations) ProtoReflect ¶
func (x *SyncdMutations) ProtoReflect() protoreflect.Message
func (*SyncdMutations) Reset ¶
func (x *SyncdMutations) Reset()
func (*SyncdMutations) String ¶
func (x *SyncdMutations) String() string
type SyncdPatch ¶
type SyncdPatch struct { Version *SyncdVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Mutations []*SyncdMutation `protobuf:"bytes,2,rep,name=mutations,proto3" json:"mutations,omitempty"` ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations,proto3" json:"externalMutations,omitempty"` SnapshotMAC []byte `protobuf:"bytes,4,opt,name=snapshotMAC,proto3" json:"snapshotMAC,omitempty"` PatchMAC []byte `protobuf:"bytes,5,opt,name=patchMAC,proto3" json:"patchMAC,omitempty"` KeyID *KeyId `protobuf:"bytes,6,opt,name=keyID,proto3" json:"keyID,omitempty"` ExitCode *ExitCode `protobuf:"bytes,7,opt,name=exitCode,proto3" json:"exitCode,omitempty"` DeviceIndex uint32 `protobuf:"varint,8,opt,name=deviceIndex,proto3" json:"deviceIndex,omitempty"` ClientDebugData []byte `protobuf:"bytes,9,opt,name=clientDebugData,proto3" json:"clientDebugData,omitempty"` // contains filtered or unexported fields }
func (*SyncdPatch) Descriptor
deprecated
func (*SyncdPatch) Descriptor() ([]byte, []int)
Deprecated: Use SyncdPatch.ProtoReflect.Descriptor instead.
func (*SyncdPatch) GetClientDebugData ¶
func (x *SyncdPatch) GetClientDebugData() []byte
func (*SyncdPatch) GetDeviceIndex ¶
func (x *SyncdPatch) GetDeviceIndex() uint32
func (*SyncdPatch) GetExitCode ¶
func (x *SyncdPatch) GetExitCode() *ExitCode
func (*SyncdPatch) GetExternalMutations ¶
func (x *SyncdPatch) GetExternalMutations() *ExternalBlobReference
func (*SyncdPatch) GetKeyID ¶
func (x *SyncdPatch) GetKeyID() *KeyId
func (*SyncdPatch) GetMutations ¶
func (x *SyncdPatch) GetMutations() []*SyncdMutation
func (*SyncdPatch) GetPatchMAC ¶
func (x *SyncdPatch) GetPatchMAC() []byte
func (*SyncdPatch) GetSnapshotMAC ¶
func (x *SyncdPatch) GetSnapshotMAC() []byte
func (*SyncdPatch) GetVersion ¶
func (x *SyncdPatch) GetVersion() *SyncdVersion
func (*SyncdPatch) ProtoMessage ¶
func (*SyncdPatch) ProtoMessage()
func (*SyncdPatch) ProtoReflect ¶
func (x *SyncdPatch) ProtoReflect() protoreflect.Message
func (*SyncdPatch) Reset ¶
func (x *SyncdPatch) Reset()
func (*SyncdPatch) String ¶
func (x *SyncdPatch) String() string
type SyncdRecord ¶
type SyncdRecord struct { Index *SyncdIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Value *SyncdValue `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` KeyID *KeyId `protobuf:"bytes,3,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*SyncdRecord) Descriptor
deprecated
func (*SyncdRecord) Descriptor() ([]byte, []int)
Deprecated: Use SyncdRecord.ProtoReflect.Descriptor instead.
func (*SyncdRecord) GetIndex ¶
func (x *SyncdRecord) GetIndex() *SyncdIndex
func (*SyncdRecord) GetKeyID ¶
func (x *SyncdRecord) GetKeyID() *KeyId
func (*SyncdRecord) GetValue ¶
func (x *SyncdRecord) GetValue() *SyncdValue
func (*SyncdRecord) ProtoMessage ¶
func (*SyncdRecord) ProtoMessage()
func (*SyncdRecord) ProtoReflect ¶
func (x *SyncdRecord) ProtoReflect() protoreflect.Message
func (*SyncdRecord) Reset ¶
func (x *SyncdRecord) Reset()
func (*SyncdRecord) String ¶
func (x *SyncdRecord) String() string
type SyncdSnapshot ¶
type SyncdSnapshot struct { Version *SyncdVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` Mac []byte `protobuf:"bytes,3,opt,name=mac,proto3" json:"mac,omitempty"` KeyID *KeyId `protobuf:"bytes,4,opt,name=keyID,proto3" json:"keyID,omitempty"` // contains filtered or unexported fields }
func (*SyncdSnapshot) Descriptor
deprecated
func (*SyncdSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use SyncdSnapshot.ProtoReflect.Descriptor instead.
func (*SyncdSnapshot) GetKeyID ¶
func (x *SyncdSnapshot) GetKeyID() *KeyId
func (*SyncdSnapshot) GetMac ¶
func (x *SyncdSnapshot) GetMac() []byte
func (*SyncdSnapshot) GetRecords ¶
func (x *SyncdSnapshot) GetRecords() []*SyncdRecord
func (*SyncdSnapshot) GetVersion ¶
func (x *SyncdSnapshot) GetVersion() *SyncdVersion
func (*SyncdSnapshot) ProtoMessage ¶
func (*SyncdSnapshot) ProtoMessage()
func (*SyncdSnapshot) ProtoReflect ¶
func (x *SyncdSnapshot) ProtoReflect() protoreflect.Message
func (*SyncdSnapshot) Reset ¶
func (x *SyncdSnapshot) Reset()
func (*SyncdSnapshot) String ¶
func (x *SyncdSnapshot) String() string
type SyncdValue ¶
type SyncdValue struct { Blob []byte `protobuf:"bytes,1,opt,name=blob,proto3" json:"blob,omitempty"` // contains filtered or unexported fields }
func (*SyncdValue) Descriptor
deprecated
func (*SyncdValue) Descriptor() ([]byte, []int)
Deprecated: Use SyncdValue.ProtoReflect.Descriptor instead.
func (*SyncdValue) GetBlob ¶
func (x *SyncdValue) GetBlob() []byte
func (*SyncdValue) ProtoMessage ¶
func (*SyncdValue) ProtoMessage()
func (*SyncdValue) ProtoReflect ¶
func (x *SyncdValue) ProtoReflect() protoreflect.Message
func (*SyncdValue) Reset ¶
func (x *SyncdValue) Reset()
func (*SyncdValue) String ¶
func (x *SyncdValue) String() string
type SyncdVersion ¶
type SyncdVersion struct { Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SyncdVersion) Descriptor
deprecated
func (*SyncdVersion) Descriptor() ([]byte, []int)
Deprecated: Use SyncdVersion.ProtoReflect.Descriptor instead.
func (*SyncdVersion) GetVersion ¶
func (x *SyncdVersion) GetVersion() uint64
func (*SyncdVersion) ProtoMessage ¶
func (*SyncdVersion) ProtoMessage()
func (*SyncdVersion) ProtoReflect ¶
func (x *SyncdVersion) ProtoReflect() protoreflect.Message
func (*SyncdVersion) Reset ¶
func (x *SyncdVersion) Reset()
func (*SyncdVersion) String ¶
func (x *SyncdVersion) String() string