Documentation ¶
Index ¶
- Variables
- type ChangelogEntry
- func (*ChangelogEntry) Descriptor() ([]byte, []int)
- func (m *ChangelogEntry) GetChangesets() []*NamedChangeSet
- func (m *ChangelogEntry) GetUpgrades() []*TreeNameUpgrade
- func (m *ChangelogEntry) GetVersion() int64
- func (m *ChangelogEntry) Marshal() (dAtA []byte, err error)
- func (m *ChangelogEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangelogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChangelogEntry) ProtoMessage()
- func (m *ChangelogEntry) Reset()
- func (m *ChangelogEntry) Size() (n int)
- func (m *ChangelogEntry) String() string
- func (m *ChangelogEntry) Unmarshal(dAtA []byte) error
- func (m *ChangelogEntry) XXX_DiscardUnknown()
- func (m *ChangelogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangelogEntry) XXX_Merge(src proto.Message)
- func (m *ChangelogEntry) XXX_Size() int
- func (m *ChangelogEntry) XXX_Unmarshal(b []byte) error
- type CommitID
- func (*CommitID) Descriptor() ([]byte, []int)
- func (m *CommitID) GetHash() []byte
- func (m *CommitID) GetVersion() int64
- func (m *CommitID) Marshal() (dAtA []byte, err error)
- func (m *CommitID) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitID) ProtoMessage()
- func (m *CommitID) Reset()
- func (m *CommitID) Size() (n int)
- func (cid CommitID) String() string
- func (m *CommitID) Unmarshal(dAtA []byte) error
- func (m *CommitID) XXX_DiscardUnknown()
- func (m *CommitID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitID) XXX_Merge(src proto.Message)
- func (m *CommitID) XXX_Size() int
- func (m *CommitID) XXX_Unmarshal(b []byte) error
- type CommitInfo
- func (*CommitInfo) Descriptor() ([]byte, []int)
- func (m *CommitInfo) GetStoreInfos() []StoreInfo
- func (m *CommitInfo) GetVersion() int64
- func (m *CommitInfo) Marshal() (dAtA []byte, err error)
- func (m *CommitInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CommitInfo) ProtoMessage()
- func (m *CommitInfo) Reset()
- func (m *CommitInfo) Size() (n int)
- func (m *CommitInfo) String() string
- func (m *CommitInfo) Unmarshal(dAtA []byte) error
- func (m *CommitInfo) XXX_DiscardUnknown()
- func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommitInfo) XXX_Merge(src proto.Message)
- func (m *CommitInfo) XXX_Size() int
- func (m *CommitInfo) XXX_Unmarshal(b []byte) error
- type MultiTreeMetadata
- func (*MultiTreeMetadata) Descriptor() ([]byte, []int)
- func (m *MultiTreeMetadata) GetCommitInfo() *CommitInfo
- func (m *MultiTreeMetadata) GetInitialVersion() int64
- func (m *MultiTreeMetadata) Marshal() (dAtA []byte, err error)
- func (m *MultiTreeMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MultiTreeMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MultiTreeMetadata) ProtoMessage()
- func (m *MultiTreeMetadata) Reset()
- func (m *MultiTreeMetadata) Size() (n int)
- func (m *MultiTreeMetadata) String() string
- func (m *MultiTreeMetadata) Unmarshal(dAtA []byte) error
- func (m *MultiTreeMetadata) XXX_DiscardUnknown()
- func (m *MultiTreeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MultiTreeMetadata) XXX_Merge(src proto.Message)
- func (m *MultiTreeMetadata) XXX_Size() int
- func (m *MultiTreeMetadata) XXX_Unmarshal(b []byte) error
- type NamedChangeSet
- func (*NamedChangeSet) Descriptor() ([]byte, []int)
- func (m *NamedChangeSet) GetChangeset() iavl.ChangeSet
- func (m *NamedChangeSet) GetName() string
- func (m *NamedChangeSet) Marshal() (dAtA []byte, err error)
- func (m *NamedChangeSet) MarshalTo(dAtA []byte) (int, error)
- func (m *NamedChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NamedChangeSet) ProtoMessage()
- func (m *NamedChangeSet) Reset()
- func (m *NamedChangeSet) Size() (n int)
- func (m *NamedChangeSet) String() string
- func (m *NamedChangeSet) Unmarshal(dAtA []byte) error
- func (m *NamedChangeSet) XXX_DiscardUnknown()
- func (m *NamedChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamedChangeSet) XXX_Merge(src proto.Message)
- func (m *NamedChangeSet) XXX_Size() int
- func (m *NamedChangeSet) XXX_Unmarshal(b []byte) error
- type StoreInfo
- func (*StoreInfo) Descriptor() ([]byte, []int)
- func (m *StoreInfo) GetCommitId() CommitID
- func (m *StoreInfo) GetName() string
- func (m *StoreInfo) Marshal() (dAtA []byte, err error)
- func (m *StoreInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *StoreInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StoreInfo) ProtoMessage()
- func (m *StoreInfo) Reset()
- func (m *StoreInfo) Size() (n int)
- func (m *StoreInfo) String() string
- func (m *StoreInfo) Unmarshal(dAtA []byte) error
- func (m *StoreInfo) XXX_DiscardUnknown()
- func (m *StoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StoreInfo) XXX_Merge(src proto.Message)
- func (m *StoreInfo) XXX_Size() int
- func (m *StoreInfo) XXX_Unmarshal(b []byte) error
- type TreeNameUpgrade
- func (*TreeNameUpgrade) Descriptor() ([]byte, []int)
- func (m *TreeNameUpgrade) GetDelete() bool
- func (m *TreeNameUpgrade) GetName() string
- func (m *TreeNameUpgrade) GetRenameFrom() string
- func (m *TreeNameUpgrade) Marshal() (dAtA []byte, err error)
- func (m *TreeNameUpgrade) MarshalTo(dAtA []byte) (int, error)
- func (m *TreeNameUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TreeNameUpgrade) ProtoMessage()
- func (m *TreeNameUpgrade) Reset()
- func (m *TreeNameUpgrade) Size() (n int)
- func (m *TreeNameUpgrade) String() string
- func (m *TreeNameUpgrade) Unmarshal(dAtA []byte) error
- func (m *TreeNameUpgrade) XXX_DiscardUnknown()
- func (m *TreeNameUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TreeNameUpgrade) XXX_Merge(src proto.Message)
- func (m *TreeNameUpgrade) XXX_Size() int
- func (m *TreeNameUpgrade) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChangelogEntry ¶ added in v0.0.8
type ChangelogEntry struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Changesets []*NamedChangeSet `protobuf:"bytes,2,rep,name=changesets,proto3" json:"changesets,omitempty"` Upgrades []*TreeNameUpgrade `protobuf:"bytes,3,rep,name=upgrades,proto3" json:"upgrades,omitempty"` }
ChangelogEntry is a single entry in the changelog
func (*ChangelogEntry) Descriptor ¶ added in v0.0.8
func (*ChangelogEntry) Descriptor() ([]byte, []int)
func (*ChangelogEntry) GetChangesets ¶ added in v0.0.8
func (m *ChangelogEntry) GetChangesets() []*NamedChangeSet
func (*ChangelogEntry) GetUpgrades ¶ added in v0.0.8
func (m *ChangelogEntry) GetUpgrades() []*TreeNameUpgrade
func (*ChangelogEntry) GetVersion ¶ added in v0.0.8
func (m *ChangelogEntry) GetVersion() int64
func (*ChangelogEntry) Marshal ¶ added in v0.0.8
func (m *ChangelogEntry) Marshal() (dAtA []byte, err error)
func (*ChangelogEntry) MarshalTo ¶ added in v0.0.8
func (m *ChangelogEntry) MarshalTo(dAtA []byte) (int, error)
func (*ChangelogEntry) MarshalToSizedBuffer ¶ added in v0.0.8
func (m *ChangelogEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChangelogEntry) ProtoMessage ¶ added in v0.0.8
func (*ChangelogEntry) ProtoMessage()
func (*ChangelogEntry) Reset ¶ added in v0.0.8
func (m *ChangelogEntry) Reset()
func (*ChangelogEntry) Size ¶ added in v0.0.8
func (m *ChangelogEntry) Size() (n int)
func (*ChangelogEntry) String ¶ added in v0.0.8
func (m *ChangelogEntry) String() string
func (*ChangelogEntry) Unmarshal ¶ added in v0.0.8
func (m *ChangelogEntry) Unmarshal(dAtA []byte) error
func (*ChangelogEntry) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *ChangelogEntry) XXX_DiscardUnknown()
func (*ChangelogEntry) XXX_Marshal ¶ added in v0.0.8
func (m *ChangelogEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangelogEntry) XXX_Merge ¶ added in v0.0.8
func (m *ChangelogEntry) XXX_Merge(src proto.Message)
func (*ChangelogEntry) XXX_Size ¶ added in v0.0.8
func (m *ChangelogEntry) XXX_Size() int
func (*ChangelogEntry) XXX_Unmarshal ¶ added in v0.0.8
func (m *ChangelogEntry) XXX_Unmarshal(b []byte) error
type CommitID ¶
type CommitID struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` }
CommitID defines the commitment information when a specific store is committed.
func (*CommitID) Descriptor ¶
func (*CommitID) GetVersion ¶
func (*CommitID) MarshalToSizedBuffer ¶
func (*CommitID) ProtoMessage ¶
func (*CommitID) ProtoMessage()
func (*CommitID) XXX_DiscardUnknown ¶
func (m *CommitID) XXX_DiscardUnknown()
func (*CommitID) XXX_Marshal ¶
func (*CommitID) XXX_Unmarshal ¶
type CommitInfo ¶
type CommitInfo struct { Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` StoreInfos []StoreInfo `protobuf:"bytes,2,rep,name=store_infos,json=storeInfos,proto3" json:"store_infos"` }
CommitInfo defines commit information used by the multi-store when committing a version/height.
func (*CommitInfo) Descriptor ¶
func (*CommitInfo) Descriptor() ([]byte, []int)
func (*CommitInfo) GetStoreInfos ¶
func (m *CommitInfo) GetStoreInfos() []StoreInfo
func (*CommitInfo) GetVersion ¶
func (m *CommitInfo) GetVersion() int64
func (*CommitInfo) Marshal ¶
func (m *CommitInfo) Marshal() (dAtA []byte, err error)
func (*CommitInfo) MarshalToSizedBuffer ¶
func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CommitInfo) ProtoMessage ¶
func (*CommitInfo) ProtoMessage()
func (*CommitInfo) Reset ¶
func (m *CommitInfo) Reset()
func (*CommitInfo) Size ¶
func (m *CommitInfo) Size() (n int)
func (*CommitInfo) String ¶
func (m *CommitInfo) String() string
func (*CommitInfo) Unmarshal ¶
func (m *CommitInfo) Unmarshal(dAtA []byte) error
func (*CommitInfo) XXX_DiscardUnknown ¶
func (m *CommitInfo) XXX_DiscardUnknown()
func (*CommitInfo) XXX_Marshal ¶
func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommitInfo) XXX_Merge ¶
func (m *CommitInfo) XXX_Merge(src proto.Message)
func (*CommitInfo) XXX_Size ¶
func (m *CommitInfo) XXX_Size() int
func (*CommitInfo) XXX_Unmarshal ¶
func (m *CommitInfo) XXX_Unmarshal(b []byte) error
type MultiTreeMetadata ¶
type MultiTreeMetadata struct { CommitInfo *CommitInfo `protobuf:"bytes,1,opt,name=commit_info,json=commitInfo,proto3" json:"commit_info,omitempty"` InitialVersion int64 `protobuf:"varint,2,opt,name=initial_version,json=initialVersion,proto3" json:"initial_version,omitempty"` }
MultiTreeMetadata stores the metadata for MultiTree
func (*MultiTreeMetadata) Descriptor ¶
func (*MultiTreeMetadata) Descriptor() ([]byte, []int)
func (*MultiTreeMetadata) GetCommitInfo ¶
func (m *MultiTreeMetadata) GetCommitInfo() *CommitInfo
func (*MultiTreeMetadata) GetInitialVersion ¶
func (m *MultiTreeMetadata) GetInitialVersion() int64
func (*MultiTreeMetadata) Marshal ¶
func (m *MultiTreeMetadata) Marshal() (dAtA []byte, err error)
func (*MultiTreeMetadata) MarshalTo ¶
func (m *MultiTreeMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MultiTreeMetadata) MarshalToSizedBuffer ¶
func (m *MultiTreeMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MultiTreeMetadata) ProtoMessage ¶
func (*MultiTreeMetadata) ProtoMessage()
func (*MultiTreeMetadata) Reset ¶
func (m *MultiTreeMetadata) Reset()
func (*MultiTreeMetadata) Size ¶
func (m *MultiTreeMetadata) Size() (n int)
func (*MultiTreeMetadata) String ¶
func (m *MultiTreeMetadata) String() string
func (*MultiTreeMetadata) Unmarshal ¶
func (m *MultiTreeMetadata) Unmarshal(dAtA []byte) error
func (*MultiTreeMetadata) XXX_DiscardUnknown ¶
func (m *MultiTreeMetadata) XXX_DiscardUnknown()
func (*MultiTreeMetadata) XXX_Marshal ¶
func (m *MultiTreeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiTreeMetadata) XXX_Merge ¶
func (m *MultiTreeMetadata) XXX_Merge(src proto.Message)
func (*MultiTreeMetadata) XXX_Size ¶
func (m *MultiTreeMetadata) XXX_Size() int
func (*MultiTreeMetadata) XXX_Unmarshal ¶
func (m *MultiTreeMetadata) XXX_Unmarshal(b []byte) error
type NamedChangeSet ¶
type NamedChangeSet struct { Changeset iavl.ChangeSet `protobuf:"bytes,1,opt,name=changeset,proto3" json:"changeset"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
NamedChangeSet combine a tree name with the changeset
func (*NamedChangeSet) Descriptor ¶
func (*NamedChangeSet) Descriptor() ([]byte, []int)
func (*NamedChangeSet) GetChangeset ¶
func (m *NamedChangeSet) GetChangeset() iavl.ChangeSet
func (*NamedChangeSet) GetName ¶
func (m *NamedChangeSet) GetName() string
func (*NamedChangeSet) Marshal ¶
func (m *NamedChangeSet) Marshal() (dAtA []byte, err error)
func (*NamedChangeSet) MarshalToSizedBuffer ¶
func (m *NamedChangeSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NamedChangeSet) ProtoMessage ¶
func (*NamedChangeSet) ProtoMessage()
func (*NamedChangeSet) Reset ¶
func (m *NamedChangeSet) Reset()
func (*NamedChangeSet) Size ¶
func (m *NamedChangeSet) Size() (n int)
func (*NamedChangeSet) String ¶
func (m *NamedChangeSet) String() string
func (*NamedChangeSet) Unmarshal ¶
func (m *NamedChangeSet) Unmarshal(dAtA []byte) error
func (*NamedChangeSet) XXX_DiscardUnknown ¶
func (m *NamedChangeSet) XXX_DiscardUnknown()
func (*NamedChangeSet) XXX_Marshal ¶
func (m *NamedChangeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamedChangeSet) XXX_Merge ¶
func (m *NamedChangeSet) XXX_Merge(src proto.Message)
func (*NamedChangeSet) XXX_Size ¶
func (m *NamedChangeSet) XXX_Size() int
func (*NamedChangeSet) XXX_Unmarshal ¶
func (m *NamedChangeSet) XXX_Unmarshal(b []byte) error
type StoreInfo ¶
type StoreInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CommitId CommitID `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id"` }
StoreInfo defines store-specific commit information. It contains a reference between a store name and the commit ID.
func (*StoreInfo) Descriptor ¶
func (*StoreInfo) GetCommitId ¶
func (*StoreInfo) MarshalToSizedBuffer ¶
func (*StoreInfo) ProtoMessage ¶
func (*StoreInfo) ProtoMessage()
func (*StoreInfo) XXX_DiscardUnknown ¶
func (m *StoreInfo) XXX_DiscardUnknown()
func (*StoreInfo) XXX_Marshal ¶
func (*StoreInfo) XXX_Unmarshal ¶
type TreeNameUpgrade ¶
type TreeNameUpgrade struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RenameFrom string `protobuf:"bytes,2,opt,name=rename_from,json=renameFrom,proto3" json:"rename_from,omitempty"` Delete bool `protobuf:"varint,3,opt,name=delete,proto3" json:"delete,omitempty"` }
TreeNameUpgrade defines upgrade of tree names: - New tree: { name: "tree" } - Delete tree: { name: "tree", delete: true } - Rename tree: { name: "new-tree", rename_from: "old-tree" }
func (*TreeNameUpgrade) Descriptor ¶
func (*TreeNameUpgrade) Descriptor() ([]byte, []int)
func (*TreeNameUpgrade) GetDelete ¶
func (m *TreeNameUpgrade) GetDelete() bool
func (*TreeNameUpgrade) GetName ¶
func (m *TreeNameUpgrade) GetName() string
func (*TreeNameUpgrade) GetRenameFrom ¶
func (m *TreeNameUpgrade) GetRenameFrom() string
func (*TreeNameUpgrade) Marshal ¶
func (m *TreeNameUpgrade) Marshal() (dAtA []byte, err error)
func (*TreeNameUpgrade) MarshalToSizedBuffer ¶
func (m *TreeNameUpgrade) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TreeNameUpgrade) ProtoMessage ¶
func (*TreeNameUpgrade) ProtoMessage()
func (*TreeNameUpgrade) Reset ¶
func (m *TreeNameUpgrade) Reset()
func (*TreeNameUpgrade) Size ¶
func (m *TreeNameUpgrade) Size() (n int)
func (*TreeNameUpgrade) String ¶
func (m *TreeNameUpgrade) String() string
func (*TreeNameUpgrade) Unmarshal ¶
func (m *TreeNameUpgrade) Unmarshal(dAtA []byte) error
func (*TreeNameUpgrade) XXX_DiscardUnknown ¶
func (m *TreeNameUpgrade) XXX_DiscardUnknown()
func (*TreeNameUpgrade) XXX_Marshal ¶
func (m *TreeNameUpgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TreeNameUpgrade) XXX_Merge ¶
func (m *TreeNameUpgrade) XXX_Merge(src proto.Message)
func (*TreeNameUpgrade) XXX_Size ¶
func (m *TreeNameUpgrade) XXX_Size() int
func (*TreeNameUpgrade) XXX_Unmarshal ¶
func (m *TreeNameUpgrade) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.