waServerSync

package
v0.0.0-...-bd87e3a Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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" json:"code,omitempty"`
	Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*ExitCode) Descriptor deprecated

func (*ExitCode) Descriptor() ([]byte, []int)

Deprecated: Use ExitCode.ProtoReflect.Descriptor instead.

func (*ExitCode) GetCode

func (x *ExitCode) GetCode() uint64

func (*ExitCode) GetText

func (x *ExitCode) GetText() string

func (*ExitCode) ProtoMessage

func (*ExitCode) ProtoMessage()

func (*ExitCode) ProtoReflect

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

func (*ExitCode) Reset

func (x *ExitCode) Reset()

func (*ExitCode) String

func (x *ExitCode) String() string

type ExternalBlobReference

type ExternalBlobReference struct {
	MediaKey      []byte  `protobuf:"bytes,1,opt,name=mediaKey" json:"mediaKey,omitempty"`
	DirectPath    *string `protobuf:"bytes,2,opt,name=directPath" json:"directPath,omitempty"`
	Handle        *string `protobuf:"bytes,3,opt,name=handle" json:"handle,omitempty"`
	FileSizeBytes *uint64 `protobuf:"varint,4,opt,name=fileSizeBytes" json:"fileSizeBytes,omitempty"`
	FileSHA256    []byte  `protobuf:"bytes,5,opt,name=fileSHA256" json:"fileSHA256,omitempty"`
	FileEncSHA256 []byte  `protobuf:"bytes,6,opt,name=fileEncSHA256" 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" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyId) Descriptor deprecated

func (*KeyId) Descriptor() ([]byte, []int)

Deprecated: Use KeyId.ProtoReflect.Descriptor instead.

func (*KeyId) GetID

func (x *KeyId) GetID() []byte

func (*KeyId) GetId deprecated

func (x *KeyId) GetId() []byte

Deprecated: Use GetID

func (*KeyId) ProtoMessage

func (*KeyId) ProtoMessage()

func (*KeyId) ProtoReflect

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

func (*KeyId) Reset

func (x *KeyId) Reset()

func (*KeyId) String

func (x *KeyId) String() string

type SyncdIndex

type SyncdIndex struct {
	Blob []byte `protobuf:"bytes,1,opt,name=blob" 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,enum=WAServerSync.SyncdMutation_SyncdOperation" json:"operation,omitempty"`
	Record    *SyncdRecord                  `protobuf:"bytes,2,opt,name=record" 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) Enum

func (SyncdMutation_SyncdOperation) EnumDescriptor deprecated

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

Deprecated: Use SyncdMutation_SyncdOperation.Descriptor instead.

func (SyncdMutation_SyncdOperation) Number

func (SyncdMutation_SyncdOperation) String

func (SyncdMutation_SyncdOperation) Type

func (*SyncdMutation_SyncdOperation) UnmarshalJSON deprecated

func (x *SyncdMutation_SyncdOperation) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type SyncdMutations

type SyncdMutations struct {
	Mutations []*SyncdMutation `protobuf:"bytes,1,rep,name=mutations" 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" json:"version,omitempty"`
	Mutations         []*SyncdMutation       `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
	ExternalMutations *ExternalBlobReference `protobuf:"bytes,3,opt,name=externalMutations" json:"externalMutations,omitempty"`
	SnapshotMAC       []byte                 `protobuf:"bytes,4,opt,name=snapshotMAC" json:"snapshotMAC,omitempty"`
	PatchMAC          []byte                 `protobuf:"bytes,5,opt,name=patchMAC" json:"patchMAC,omitempty"`
	KeyID             *KeyId                 `protobuf:"bytes,6,opt,name=keyID" json:"keyID,omitempty"`
	ExitCode          *ExitCode              `protobuf:"bytes,7,opt,name=exitCode" json:"exitCode,omitempty"`
	DeviceIndex       *uint32                `protobuf:"varint,8,opt,name=deviceIndex" json:"deviceIndex,omitempty"`
	ClientDebugData   []byte                 `protobuf:"bytes,9,opt,name=clientDebugData" 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) GetKeyId deprecated

func (x *SyncdPatch) GetKeyId() *KeyId

Deprecated: Use GetKeyID

func (*SyncdPatch) GetMutations

func (x *SyncdPatch) GetMutations() []*SyncdMutation

func (*SyncdPatch) GetPatchMAC

func (x *SyncdPatch) GetPatchMAC() []byte

func (*SyncdPatch) GetPatchMac deprecated

func (x *SyncdPatch) GetPatchMac() []byte

Deprecated: Use GetPatchMAC

func (*SyncdPatch) GetSnapshotMAC

func (x *SyncdPatch) GetSnapshotMAC() []byte

func (*SyncdPatch) GetSnapshotMac deprecated

func (x *SyncdPatch) GetSnapshotMac() []byte

Deprecated: Use GetSnapshotMAC

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" json:"index,omitempty"`
	Value *SyncdValue `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	KeyID *KeyId      `protobuf:"bytes,3,opt,name=keyID" 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) GetKeyId deprecated

func (x *SyncdRecord) GetKeyId() *KeyId

Deprecated: Use GetKeyID

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" json:"version,omitempty"`
	Records []*SyncdRecord `protobuf:"bytes,2,rep,name=records" json:"records,omitempty"`
	Mac     []byte         `protobuf:"bytes,3,opt,name=mac" json:"mac,omitempty"`
	KeyID   *KeyId         `protobuf:"bytes,4,opt,name=keyID" 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) GetKeyId deprecated

func (x *SyncdSnapshot) GetKeyId() *KeyId

Deprecated: Use GetKeyID

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" 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" 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

Jump to

Keyboard shortcuts

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