tree

package
v0.0.0-...-0352b5b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func GetNodeByPathInfoToGRPC

func GetNodeByPathInfoToGRPC(m []*GetNodeByPathResponseInfo) (res []*tree.GetNodeByPathResponse_Info)

Types

type AddByPathRequest

type AddByPathRequest struct {
	// contains filtered or unexported fields
}

func (*AddByPathRequest) FromGRPCMessage

func (r *AddByPathRequest) FromGRPCMessage(m grpc.Message) error

func (*AddByPathRequest) GetSignature

func (r *AddByPathRequest) GetSignature() *tree.Signature

func (*AddByPathRequest) ReadSignedData

func (r *AddByPathRequest) ReadSignedData(bytes []byte) ([]byte, error)

func (*AddByPathRequest) SetBody

func (r *AddByPathRequest) SetBody(v *AddByPathRequestBody)

func (*AddByPathRequest) SetSignature

func (r *AddByPathRequest) SetSignature(signature *tree.Signature) error

func (*AddByPathRequest) SignedDataSize

func (r *AddByPathRequest) SignedDataSize() int

func (*AddByPathRequest) ToGRPCMessage

func (r *AddByPathRequest) ToGRPCMessage() grpc.Message

type AddByPathRequestBody

type AddByPathRequestBody struct {
	// contains filtered or unexported fields
}

func (*AddByPathRequestBody) FromGRPCMessage

func (r *AddByPathRequestBody) FromGRPCMessage(m grpc.Message) error

func (*AddByPathRequestBody) SetBearerToken

func (r *AddByPathRequestBody) SetBearerToken(v []byte)

func (*AddByPathRequestBody) SetContainerID

func (r *AddByPathRequestBody) SetContainerID(v []byte)

func (*AddByPathRequestBody) SetMeta

func (r *AddByPathRequestBody) SetMeta(v []*KeyValue)

func (*AddByPathRequestBody) SetPath

func (r *AddByPathRequestBody) SetPath(v []string)

func (*AddByPathRequestBody) SetPathAttribute

func (r *AddByPathRequestBody) SetPathAttribute(v string)

func (*AddByPathRequestBody) SetTreeID

func (r *AddByPathRequestBody) SetTreeID(v string)

func (*AddByPathRequestBody) ToGRPCMessage

func (r *AddByPathRequestBody) ToGRPCMessage() grpc.Message

type AddByPathResponse

type AddByPathResponse struct {
	// contains filtered or unexported fields
}

func (*AddByPathResponse) FromGRPCMessage

func (r *AddByPathResponse) FromGRPCMessage(m grpc.Message) error

func (*AddByPathResponse) GetBody

func (*AddByPathResponse) GetSignature

func (r *AddByPathResponse) GetSignature() *Signature

func (*AddByPathResponse) ToGRPCMessage

func (r *AddByPathResponse) ToGRPCMessage() grpc.Message

type AddByPathResponseBody

type AddByPathResponseBody struct {
	// contains filtered or unexported fields
}

func (*AddByPathResponseBody) FromGRPCMessage

func (r *AddByPathResponseBody) FromGRPCMessage(m grpc.Message) error

func (*AddByPathResponseBody) GetNodes

func (r *AddByPathResponseBody) GetNodes() []uint64

func (*AddByPathResponseBody) GetParentID

func (r *AddByPathResponseBody) GetParentID() uint64

func (*AddByPathResponseBody) ToGRPCMessage

func (r *AddByPathResponseBody) ToGRPCMessage() grpc.Message

type AddRequest

type AddRequest struct {
	// contains filtered or unexported fields
}

func (*AddRequest) FromGRPCMessage

func (r *AddRequest) FromGRPCMessage(m grpc.Message) error

func (*AddRequest) GetBody

func (r *AddRequest) GetBody() *AddRequestBody

func (*AddRequest) GetSignature

func (r *AddRequest) GetSignature() *tree.Signature

func (*AddRequest) ReadSignedData

func (r *AddRequest) ReadSignedData(buf []byte) ([]byte, error)

func (*AddRequest) SetBody

func (r *AddRequest) SetBody(v *AddRequestBody)

func (*AddRequest) SetSignature

func (r *AddRequest) SetSignature(signature *tree.Signature) error

func (*AddRequest) SignedDataSize

func (r *AddRequest) SignedDataSize() int

func (*AddRequest) ToGRPCMessage

func (r *AddRequest) ToGRPCMessage() grpc.Message

type AddRequestBody

type AddRequestBody struct {
	// contains filtered or unexported fields
}

func (*AddRequestBody) FromGRPCMessage

func (r *AddRequestBody) FromGRPCMessage(m grpc.Message) error

func (*AddRequestBody) SetBearerToken

func (r *AddRequestBody) SetBearerToken(v []byte)

func (*AddRequestBody) SetContainerID

func (r *AddRequestBody) SetContainerID(v []byte)

func (*AddRequestBody) SetMeta

func (r *AddRequestBody) SetMeta(v []*KeyValue)

func (*AddRequestBody) SetParentID

func (r *AddRequestBody) SetParentID(v uint64)

func (*AddRequestBody) SetTreeID

func (r *AddRequestBody) SetTreeID(v string)

func (*AddRequestBody) ToGRPCMessage

func (r *AddRequestBody) ToGRPCMessage() grpc.Message

type AddResponse

type AddResponse struct {
	// contains filtered or unexported fields
}

func (*AddResponse) FromGRPCMessage

func (r *AddResponse) FromGRPCMessage(m grpc.Message) error

func (*AddResponse) GetBody

func (r *AddResponse) GetBody() *AddResponseBody

func (*AddResponse) ToGRPCMessage

func (r *AddResponse) ToGRPCMessage() grpc.Message

type AddResponseBody

type AddResponseBody struct {
	// contains filtered or unexported fields
}

func (*AddResponseBody) FromGRPCMessage

func (r *AddResponseBody) FromGRPCMessage(m grpc.Message) error

func (*AddResponseBody) GetNodeID

func (r *AddResponseBody) GetNodeID() uint64

func (*AddResponseBody) ToGRPCMessage

func (r *AddResponseBody) ToGRPCMessage() grpc.Message

type ApplyRequest

type ApplyRequest struct {
	// contains filtered or unexported fields
}

func (*ApplyRequest) FromGRPCMessage

func (r *ApplyRequest) FromGRPCMessage(m grpc.Message) error

func (*ApplyRequest) SetBody

func (r *ApplyRequest) SetBody(v *ApplyRequestBody)

func (*ApplyRequest) ToGRPCMessage

func (r *ApplyRequest) ToGRPCMessage() grpc.Message

type ApplyRequestBody

type ApplyRequestBody struct {
	// contains filtered or unexported fields
}

func (*ApplyRequestBody) FromGRPCMessage

func (r *ApplyRequestBody) FromGRPCMessage(m grpc.Message) error

func (*ApplyRequestBody) SetContainerID

func (r *ApplyRequestBody) SetContainerID(v []byte)

func (*ApplyRequestBody) SetOperation

func (r *ApplyRequestBody) SetOperation(v *LogMove)

func (*ApplyRequestBody) SetTreeID

func (r *ApplyRequestBody) SetTreeID(v string)

func (*ApplyRequestBody) ToGRPCMessage

func (r *ApplyRequestBody) ToGRPCMessage() grpc.Message

type ApplyResponse

type ApplyResponse struct {
	// contains filtered or unexported fields
}

func (*ApplyResponse) FromGRPCMessage

func (r *ApplyResponse) FromGRPCMessage(m grpc.Message) error

func (*ApplyResponse) GetBody

func (r *ApplyResponse) GetBody() *ApplyResponseBody

func (*ApplyResponse) GetSignature

func (r *ApplyResponse) GetSignature() *Signature

func (*ApplyResponse) ToGRPCMessage

func (r *ApplyResponse) ToGRPCMessage() grpc.Message

type ApplyResponseBody

type ApplyResponseBody struct{}

func (*ApplyResponseBody) FromGRPCMessage

func (r *ApplyResponseBody) FromGRPCMessage(grpc.Message) error

func (*ApplyResponseBody) ToGRPCMessage

func (r *ApplyResponseBody) ToGRPCMessage() grpc.Message

type GetNodeByPathRequest

type GetNodeByPathRequest struct {
	// contains filtered or unexported fields
}

func (*GetNodeByPathRequest) FromGRPCMessage

func (r *GetNodeByPathRequest) FromGRPCMessage(m grpc.Message) error

func (*GetNodeByPathRequest) GetSignature

func (r *GetNodeByPathRequest) GetSignature() *tree.Signature

func (*GetNodeByPathRequest) ReadSignedData

func (r *GetNodeByPathRequest) ReadSignedData(buf []byte) ([]byte, error)

func (*GetNodeByPathRequest) SetBody

func (*GetNodeByPathRequest) SetSignature

func (r *GetNodeByPathRequest) SetSignature(signature *tree.Signature) error

func (*GetNodeByPathRequest) SignedDataSize

func (r *GetNodeByPathRequest) SignedDataSize() int

func (*GetNodeByPathRequest) ToGRPCMessage

func (r *GetNodeByPathRequest) ToGRPCMessage() grpc.Message

type GetNodeByPathRequestBody

type GetNodeByPathRequestBody struct {
	// contains filtered or unexported fields
}

func (*GetNodeByPathRequestBody) FromGRPCMessage

func (r *GetNodeByPathRequestBody) FromGRPCMessage(m grpc.Message) error

func (*GetNodeByPathRequestBody) SetAllAttributes

func (r *GetNodeByPathRequestBody) SetAllAttributes(v bool)

func (*GetNodeByPathRequestBody) SetAttributes

func (r *GetNodeByPathRequestBody) SetAttributes(v []string)

func (*GetNodeByPathRequestBody) SetBearerToken

func (r *GetNodeByPathRequestBody) SetBearerToken(v []byte)

func (*GetNodeByPathRequestBody) SetContainerID

func (r *GetNodeByPathRequestBody) SetContainerID(v [32]byte)

func (*GetNodeByPathRequestBody) SetLatestOnly

func (r *GetNodeByPathRequestBody) SetLatestOnly(v bool)

func (*GetNodeByPathRequestBody) SetParentID

func (r *GetNodeByPathRequestBody) SetParentID(v string)

func (*GetNodeByPathRequestBody) SetPath

func (r *GetNodeByPathRequestBody) SetPath(v []string)

func (*GetNodeByPathRequestBody) SetPathAttribute

func (r *GetNodeByPathRequestBody) SetPathAttribute(v string)

func (*GetNodeByPathRequestBody) SetTreeID

func (r *GetNodeByPathRequestBody) SetTreeID(v string)

func (*GetNodeByPathRequestBody) ToGRPCMessage

func (r *GetNodeByPathRequestBody) ToGRPCMessage() grpc.Message

type GetNodeByPathResponse

type GetNodeByPathResponse struct {
	// contains filtered or unexported fields
}

func (*GetNodeByPathResponse) FromGRPCMessage

func (r *GetNodeByPathResponse) FromGRPCMessage(m grpc.Message) error

func (*GetNodeByPathResponse) GetBody

func (*GetNodeByPathResponse) GetSignature

func (r *GetNodeByPathResponse) GetSignature() *Signature

func (*GetNodeByPathResponse) ToGRPCMessage

func (r *GetNodeByPathResponse) ToGRPCMessage() grpc.Message

type GetNodeByPathResponseBody

type GetNodeByPathResponseBody struct {
	// contains filtered or unexported fields
}

func (*GetNodeByPathResponseBody) FromGRPCMessage

func (r *GetNodeByPathResponseBody) FromGRPCMessage(m grpc.Message) error

func (*GetNodeByPathResponseBody) GetNodes

func (*GetNodeByPathResponseBody) ToGRPCMessage

func (r *GetNodeByPathResponseBody) ToGRPCMessage() grpc.Message

type GetNodeByPathResponseInfo

type GetNodeByPathResponseInfo struct {
	// contains filtered or unexported fields
}

func GetNodeByPathInfoFromGRPC

func GetNodeByPathInfoFromGRPC(m []*tree.GetNodeByPathResponse_Info) (res []*GetNodeByPathResponseInfo, err error)

func (*GetNodeByPathResponseInfo) FromGRPCMessage

func (r *GetNodeByPathResponseInfo) FromGRPCMessage(m grpc.Message) error

func (*GetNodeByPathResponseInfo) GetMeta

func (r *GetNodeByPathResponseInfo) GetMeta() []*KeyValue

func (*GetNodeByPathResponseInfo) GetNodeID

func (r *GetNodeByPathResponseInfo) GetNodeID() uint64

func (*GetNodeByPathResponseInfo) GetParentID

func (r *GetNodeByPathResponseInfo) GetParentID() uint64

func (*GetNodeByPathResponseInfo) GetTimestamp

func (r *GetNodeByPathResponseInfo) GetTimestamp() uint64

func (*GetNodeByPathResponseInfo) ToGRPCMessage

func (r *GetNodeByPathResponseInfo) ToGRPCMessage() grpc.Message

type GetOpLogRequest

type GetOpLogRequest struct {
	// contains filtered or unexported fields
}

func (*GetOpLogRequest) FromGRPCMessage

func (r *GetOpLogRequest) FromGRPCMessage(m grpc.Message) error

func (*GetOpLogRequest) GetSignature

func (r *GetOpLogRequest) GetSignature() *tree.Signature

func (*GetOpLogRequest) ReadSignedData

func (r *GetOpLogRequest) ReadSignedData(buf []byte) ([]byte, error)

func (*GetOpLogRequest) SetBody

func (r *GetOpLogRequest) SetBody(v *GetOpLogRequestBody)

func (*GetOpLogRequest) SetSignature

func (r *GetOpLogRequest) SetSignature(signature *tree.Signature) error

func (*GetOpLogRequest) SignedDataSize

func (r *GetOpLogRequest) SignedDataSize() int

func (*GetOpLogRequest) ToGRPCMessage

func (r *GetOpLogRequest) ToGRPCMessage() grpc.Message

type GetOpLogRequestBody

type GetOpLogRequestBody struct {
	// contains filtered or unexported fields
}

func (*GetOpLogRequestBody) FromGRPCMessage

func (r *GetOpLogRequestBody) FromGRPCMessage(m grpc.Message) error

func (*GetOpLogRequestBody) SetContainerID

func (r *GetOpLogRequestBody) SetContainerID(v []byte)

func (*GetOpLogRequestBody) SetCount

func (r *GetOpLogRequestBody) SetCount(v uint64)

func (*GetOpLogRequestBody) SetHeight

func (r *GetOpLogRequestBody) SetHeight(v uint64)

func (*GetOpLogRequestBody) SetTreeID

func (r *GetOpLogRequestBody) SetTreeID(v string)

func (*GetOpLogRequestBody) ToGRPCMessage

func (r *GetOpLogRequestBody) ToGRPCMessage() grpc.Message

type GetOpLogResponse

type GetOpLogResponse struct {
	// contains filtered or unexported fields
}

func (*GetOpLogResponse) FromGRPCMessage

func (r *GetOpLogResponse) FromGRPCMessage(m grpc.Message) error

func (*GetOpLogResponse) GetBody

func (r *GetOpLogResponse) GetBody() *GetOpLogResponseBody

func (*GetOpLogResponse) GetSignature

func (r *GetOpLogResponse) GetSignature() *Signature

func (*GetOpLogResponse) ToGRPCMessage

func (r *GetOpLogResponse) ToGRPCMessage() grpc.Message

type GetOpLogResponseBody

type GetOpLogResponseBody struct {
	// contains filtered or unexported fields
}

func (*GetOpLogResponseBody) FromGRPCMessage

func (r *GetOpLogResponseBody) FromGRPCMessage(m grpc.Message) error

func (*GetOpLogResponseBody) GetOperation

func (r *GetOpLogResponseBody) GetOperation() *LogMove

func (*GetOpLogResponseBody) ToGRPCMessage

func (r *GetOpLogResponseBody) ToGRPCMessage() grpc.Message

type GetSubTreeRequest

type GetSubTreeRequest struct {
	// contains filtered or unexported fields
}

func (*GetSubTreeRequest) FromGRPCMessage

func (r *GetSubTreeRequest) FromGRPCMessage(m grpc.Message) error

func (*GetSubTreeRequest) GetSignature

func (r *GetSubTreeRequest) GetSignature() *tree.Signature

func (*GetSubTreeRequest) ReadSignedData

func (r *GetSubTreeRequest) ReadSignedData(buf []byte) ([]byte, error)

func (*GetSubTreeRequest) SetBody

func (*GetSubTreeRequest) SetSignature

func (r *GetSubTreeRequest) SetSignature(signature *tree.Signature) error

func (*GetSubTreeRequest) SignedDataSize

func (r *GetSubTreeRequest) SignedDataSize() int

func (*GetSubTreeRequest) ToGRPCMessage

func (r *GetSubTreeRequest) ToGRPCMessage() grpc.Message

type GetSubTreeRequestBody

type GetSubTreeRequestBody struct {
	// contains filtered or unexported fields
}

func (*GetSubTreeRequestBody) FromGRPCMessage

func (r *GetSubTreeRequestBody) FromGRPCMessage(m grpc.Message) error

func (*GetSubTreeRequestBody) SetBearerToken

func (r *GetSubTreeRequestBody) SetBearerToken(v []byte)

func (*GetSubTreeRequestBody) SetContainerID

func (r *GetSubTreeRequestBody) SetContainerID(v []byte)

func (*GetSubTreeRequestBody) SetDepth

func (r *GetSubTreeRequestBody) SetDepth(v uint32)

func (*GetSubTreeRequestBody) SetOrderBy

func (*GetSubTreeRequestBody) SetRootID

func (r *GetSubTreeRequestBody) SetRootID(v []uint64)

func (*GetSubTreeRequestBody) SetTreeID

func (r *GetSubTreeRequestBody) SetTreeID(v string)

func (*GetSubTreeRequestBody) ToGRPCMessage

func (r *GetSubTreeRequestBody) ToGRPCMessage() grpc.Message

type GetSubTreeRequestBodyOrder

type GetSubTreeRequestBodyOrder struct {
	// contains filtered or unexported fields
}

func (*GetSubTreeRequestBodyOrder) FromGRPCMessage

func (r *GetSubTreeRequestBodyOrder) FromGRPCMessage(m grpc.Message) error

func (*GetSubTreeRequestBodyOrder) SetDirection

func (*GetSubTreeRequestBodyOrder) ToGRPCMessage

func (r *GetSubTreeRequestBodyOrder) ToGRPCMessage() grpc.Message

type GetSubTreeRequestBodyOrderDirection

type GetSubTreeRequestBodyOrderDirection int32

type GetSubTreeResponse

type GetSubTreeResponse struct {
	// contains filtered or unexported fields
}

func (*GetSubTreeResponse) FromGRPCMessage

func (r *GetSubTreeResponse) FromGRPCMessage(m grpc.Message) error

func (*GetSubTreeResponse) GetBody

func (*GetSubTreeResponse) GetSignature

func (r *GetSubTreeResponse) GetSignature() *Signature

func (*GetSubTreeResponse) ToGRPCMessage

func (r *GetSubTreeResponse) ToGRPCMessage() grpc.Message

type GetSubTreeResponseBody

type GetSubTreeResponseBody struct {
	// contains filtered or unexported fields
}

func (*GetSubTreeResponseBody) FromGRPCMessage

func (r *GetSubTreeResponseBody) FromGRPCMessage(m grpc.Message) error

func (*GetSubTreeResponseBody) GetMeta

func (r *GetSubTreeResponseBody) GetMeta() []*KeyValue

func (*GetSubTreeResponseBody) GetNodeID

func (r *GetSubTreeResponseBody) GetNodeID() []uint64

func (*GetSubTreeResponseBody) GetParentID

func (r *GetSubTreeResponseBody) GetParentID() []uint64

func (*GetSubTreeResponseBody) GetTimestamp

func (r *GetSubTreeResponseBody) GetTimestamp() []uint64

func (*GetSubTreeResponseBody) ToGRPCMessage

func (r *GetSubTreeResponseBody) ToGRPCMessage() grpc.Message

type HealthcheckRequest

type HealthcheckRequest struct {
	session.RequestHeaders
	// contains filtered or unexported fields
}

func (*HealthcheckRequest) FromGRPCMessage

func (r *HealthcheckRequest) FromGRPCMessage(m grpc.Message) error

func (*HealthcheckRequest) SetBody

func (*HealthcheckRequest) ToGRPCMessage

func (r *HealthcheckRequest) ToGRPCMessage() grpc.Message

type HealthcheckRequestBody

type HealthcheckRequestBody struct{}

func (*HealthcheckRequestBody) FromGRPCMessage

func (r *HealthcheckRequestBody) FromGRPCMessage(grpc.Message) error

func (*HealthcheckRequestBody) ToGRPCMessage

func (r *HealthcheckRequestBody) ToGRPCMessage() grpc.Message

type HealthcheckResponse

type HealthcheckResponse struct {
	// contains filtered or unexported fields
}

func (*HealthcheckResponse) FromGRPCMessage

func (r *HealthcheckResponse) FromGRPCMessage(m grpc.Message) error

func (*HealthcheckResponse) GetBody

func (*HealthcheckResponse) GetSignature

func (r *HealthcheckResponse) GetSignature() *Signature

func (*HealthcheckResponse) ToGRPCMessage

func (r *HealthcheckResponse) ToGRPCMessage() grpc.Message

type HealthcheckResponseBody

type HealthcheckResponseBody struct{}

func (*HealthcheckResponseBody) FromGRPCMessage

func (r *HealthcheckResponseBody) FromGRPCMessage(grpc.Message) error

func (*HealthcheckResponseBody) ToGRPCMessage

func (r *HealthcheckResponseBody) ToGRPCMessage() grpc.Message

type KeyValue

type KeyValue struct {
	// contains filtered or unexported fields
}

func (*KeyValue) FromGRPCMessage

func (k *KeyValue) FromGRPCMessage(m grpc.Message) error

func (*KeyValue) GetKey

func (k *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (k *KeyValue) GetValue() []byte

func (*KeyValue) SetKey

func (k *KeyValue) SetKey(v string)

func (*KeyValue) SetValue

func (k *KeyValue) SetValue(v []byte)

func (*KeyValue) ToGRPCMessage

func (k *KeyValue) ToGRPCMessage() grpc.Message

type ListRequest

type ListRequest struct {
	// contains filtered or unexported fields
}

func (*ListRequest) FromGRPCMessage

func (r *ListRequest) FromGRPCMessage(m grpc.Message) error

func (*ListRequest) SetBody

func (r *ListRequest) SetBody(v *ListRequestBody)

func (*ListRequest) ToGRPCMessage

func (r *ListRequest) ToGRPCMessage() grpc.Message

type ListRequestBody

type ListRequestBody struct {
	// contains filtered or unexported fields
}

func (*ListRequestBody) FromGRPCMessage

func (r *ListRequestBody) FromGRPCMessage(m grpc.Message) error

func (*ListRequestBody) SetContainerID

func (r *ListRequestBody) SetContainerID(v []byte)

func (*ListRequestBody) ToGRPCMessage

func (r *ListRequestBody) ToGRPCMessage() grpc.Message

type ListResponse

type ListResponse struct {
	// contains filtered or unexported fields
}

func (*ListResponse) FromGRPCMessage

func (r *ListResponse) FromGRPCMessage(m grpc.Message) error

func (*ListResponse) GetBody

func (r *ListResponse) GetBody() *ListResponseBody

func (*ListResponse) GetSignature

func (r *ListResponse) GetSignature() *Signature

func (*ListResponse) ToGRPCMessage

func (r *ListResponse) ToGRPCMessage() grpc.Message

type ListResponseBody

type ListResponseBody struct {
	// contains filtered or unexported fields
}

func (*ListResponseBody) FromGRPCMessage

func (r *ListResponseBody) FromGRPCMessage(m grpc.Message) error

func (*ListResponseBody) GetIDs

func (r *ListResponseBody) GetIDs() []string

func (*ListResponseBody) ToGRPCMessage

func (r *ListResponseBody) ToGRPCMessage() grpc.Message

type LogMove

type LogMove struct {
	// contains filtered or unexported fields
}

func (*LogMove) FromGRPCMessage

func (g *LogMove) FromGRPCMessage(m grpc.Message) error

func (*LogMove) GetChildID

func (g *LogMove) GetChildID() []byte

func (*LogMove) GetMeta

func (g *LogMove) GetMeta() []byte

func (*LogMove) GetParentID

func (g *LogMove) GetParentID() uint64

func (*LogMove) SetChildID

func (g *LogMove) SetChildID(v []byte)

func (*LogMove) SetMeta

func (g *LogMove) SetMeta(v []byte)

func (*LogMove) SetParentID

func (g *LogMove) SetParentID(v uint64)

func (*LogMove) ToGRPCMessage

func (g *LogMove) ToGRPCMessage() grpc.Message

type MoveRequest

type MoveRequest struct {
	// contains filtered or unexported fields
}

func (*MoveRequest) FromGRPCMessage

func (r *MoveRequest) FromGRPCMessage(m grpc.Message) error

func (*MoveRequest) GetSignature

func (r *MoveRequest) GetSignature() *tree.Signature

func (*MoveRequest) ReadSignedData

func (r *MoveRequest) ReadSignedData(buf []byte) ([]byte, error)

func (*MoveRequest) SetBody

func (r *MoveRequest) SetBody(v *MoveRequestBody)

func (*MoveRequest) SetSignature

func (r *MoveRequest) SetSignature(signature *tree.Signature) error

func (*MoveRequest) SignedDataSize

func (r *MoveRequest) SignedDataSize() int

func (*MoveRequest) ToGRPCMessage

func (r *MoveRequest) ToGRPCMessage() grpc.Message

type MoveRequestBody

type MoveRequestBody struct {
	// contains filtered or unexported fields
}

func (*MoveRequestBody) FromGRPCMessage

func (r *MoveRequestBody) FromGRPCMessage(m grpc.Message) error

func (*MoveRequestBody) SetBearerToken

func (r *MoveRequestBody) SetBearerToken(v []byte)

func (*MoveRequestBody) SetContainerID

func (r *MoveRequestBody) SetContainerID(v []byte)

func (*MoveRequestBody) SetMeta

func (r *MoveRequestBody) SetMeta(v []*KeyValue)

func (*MoveRequestBody) SetNodeID

func (r *MoveRequestBody) SetNodeID(v uint64)

func (*MoveRequestBody) SetParentID

func (r *MoveRequestBody) SetParentID(v uint64)

func (*MoveRequestBody) SetTreeID

func (r *MoveRequestBody) SetTreeID(v string)

func (*MoveRequestBody) ToGRPCMessage

func (r *MoveRequestBody) ToGRPCMessage() grpc.Message

type MoveResponse

type MoveResponse struct {
	// contains filtered or unexported fields
}

func (*MoveResponse) FromGRPCMessage

func (r *MoveResponse) FromGRPCMessage(m grpc.Message) error

func (*MoveResponse) GetBody

func (r *MoveResponse) GetBody() *MoveResponseBody

func (*MoveResponse) GetSignature

func (r *MoveResponse) GetSignature() *Signature

func (*MoveResponse) ToGRPCMessage

func (r *MoveResponse) ToGRPCMessage() grpc.Message

type MoveResponseBody

type MoveResponseBody struct{}

func (*MoveResponseBody) FromGRPCMessage

func (r *MoveResponseBody) FromGRPCMessage(grpc.Message) error

func (*MoveResponseBody) ToGRPCMessage

func (r *MoveResponseBody) ToGRPCMessage() grpc.Message

type RemoveRequest

type RemoveRequest struct {
	// contains filtered or unexported fields
}

func (*RemoveRequest) FromGRPCMessage

func (r *RemoveRequest) FromGRPCMessage(m grpc.Message) error

func (*RemoveRequest) GetSignature

func (r *RemoveRequest) GetSignature() *tree.Signature

func (*RemoveRequest) ReadSignedData

func (r *RemoveRequest) ReadSignedData(bytes []byte) ([]byte, error)

func (*RemoveRequest) SetBody

func (r *RemoveRequest) SetBody(v *RemoveRequestBody)

func (*RemoveRequest) SetSignature

func (r *RemoveRequest) SetSignature(signature *tree.Signature) error

func (*RemoveRequest) SignedDataSize

func (r *RemoveRequest) SignedDataSize() int

func (*RemoveRequest) ToGRPCMessage

func (r *RemoveRequest) ToGRPCMessage() grpc.Message

type RemoveRequestBody

type RemoveRequestBody struct {
	// contains filtered or unexported fields
}

func (*RemoveRequestBody) FromGRPCMessage

func (r *RemoveRequestBody) FromGRPCMessage(m grpc.Message) error

func (*RemoveRequestBody) SetBearerToken

func (r *RemoveRequestBody) SetBearerToken(v []byte)

func (*RemoveRequestBody) SetContainerID

func (r *RemoveRequestBody) SetContainerID(v []byte)

func (*RemoveRequestBody) SetNodeID

func (r *RemoveRequestBody) SetNodeID(v uint64)

func (*RemoveRequestBody) SetTreeID

func (r *RemoveRequestBody) SetTreeID(v string)

func (*RemoveRequestBody) ToGRPCMessage

func (r *RemoveRequestBody) ToGRPCMessage() grpc.Message

type RemoveResponse

type RemoveResponse struct {
	// contains filtered or unexported fields
}

func (*RemoveResponse) FromGRPCMessage

func (r *RemoveResponse) FromGRPCMessage(m grpc.Message) error

func (*RemoveResponse) GetBody

func (r *RemoveResponse) GetBody() *RemoveResponseBody

func (*RemoveResponse) GetSignature

func (r *RemoveResponse) GetSignature() *Signature

func (*RemoveResponse) ToGRPCMessage

func (r *RemoveResponse) ToGRPCMessage() grpc.Message

type RemoveResponseBody

type RemoveResponseBody struct{}

func (*RemoveResponseBody) FromGRPCMessage

func (r *RemoveResponseBody) FromGRPCMessage(grpc.Message) error

func (*RemoveResponseBody) ToGRPCMessage

func (r *RemoveResponseBody) ToGRPCMessage() grpc.Message

type Signature

type Signature struct {
	// contains filtered or unexported fields
}

func (*Signature) FromGRPCMessage

func (s *Signature) FromGRPCMessage(m grpc.Message) error

func (*Signature) GetKey

func (s *Signature) GetKey() []byte

func (*Signature) GetSign

func (s *Signature) GetSign() []byte

func (*Signature) SetKey

func (s *Signature) SetKey(v []byte)

func (*Signature) SetSign

func (s *Signature) SetSign(v []byte)

func (*Signature) ToGRPCMessage

func (s *Signature) ToGRPCMessage() grpc.Message

Jump to

Keyboard shortcuts

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