snapshotsv1beta1

package
v0.0.0-...-a315113 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_cosmos_base_snapshots_v1beta1_snapshot_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	ChunkHashes [][]byte `protobuf:"bytes,1,rep,name=chunk_hashes,json=chunkHashes,proto3" json:"chunk_hashes,omitempty"` // SHA-256 chunk hashes
	// contains filtered or unexported fields
}

Metadata contains SDK-specific snapshot metadata.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetChunkHashes

func (x *Metadata) GetChunkHashes() [][]byte

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Snapshot

type Snapshot struct {
	Height   uint64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format   uint32    `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Chunks   uint32    `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
	Hash     []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Snapshot contains Tendermint state sync snapshot info.

func (*Snapshot) Descriptor deprecated

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

Deprecated: Use Snapshot.ProtoReflect.Descriptor instead.

func (*Snapshot) GetChunks

func (x *Snapshot) GetChunks() uint32

func (*Snapshot) GetFormat

func (x *Snapshot) GetFormat() uint32

func (*Snapshot) GetHash

func (x *Snapshot) GetHash() []byte

func (*Snapshot) GetHeight

func (x *Snapshot) GetHeight() uint64

func (*Snapshot) GetMetadata

func (x *Snapshot) GetMetadata() *Metadata

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) ProtoReflect

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

func (*Snapshot) Reset

func (x *Snapshot) Reset()

func (*Snapshot) String

func (x *Snapshot) String() string

type SnapshotExtensionMeta

type SnapshotExtensionMeta struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

SnapshotExtensionMeta contains metadata about an external snapshotter.

func (*SnapshotExtensionMeta) Descriptor deprecated

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

Deprecated: Use SnapshotExtensionMeta.ProtoReflect.Descriptor instead.

func (*SnapshotExtensionMeta) GetFormat

func (x *SnapshotExtensionMeta) GetFormat() uint32

func (*SnapshotExtensionMeta) GetName

func (x *SnapshotExtensionMeta) GetName() string

func (*SnapshotExtensionMeta) ProtoMessage

func (*SnapshotExtensionMeta) ProtoMessage()

func (*SnapshotExtensionMeta) ProtoReflect

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

func (*SnapshotExtensionMeta) Reset

func (x *SnapshotExtensionMeta) Reset()

func (*SnapshotExtensionMeta) String

func (x *SnapshotExtensionMeta) String() string

type SnapshotExtensionPayload

type SnapshotExtensionPayload struct {
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

SnapshotExtensionPayload contains payloads of an external snapshotter.

func (*SnapshotExtensionPayload) Descriptor deprecated

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

Deprecated: Use SnapshotExtensionPayload.ProtoReflect.Descriptor instead.

func (*SnapshotExtensionPayload) GetPayload

func (x *SnapshotExtensionPayload) GetPayload() []byte

func (*SnapshotExtensionPayload) ProtoMessage

func (*SnapshotExtensionPayload) ProtoMessage()

func (*SnapshotExtensionPayload) ProtoReflect

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

func (*SnapshotExtensionPayload) Reset

func (x *SnapshotExtensionPayload) Reset()

func (*SnapshotExtensionPayload) String

func (x *SnapshotExtensionPayload) String() string

type SnapshotIAVLItem

type SnapshotIAVLItem struct {
	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// version is block height
	Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// height is depth of the tree.
	Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

SnapshotIAVLItem is an exported IAVL node.

func (*SnapshotIAVLItem) Descriptor deprecated

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

Deprecated: Use SnapshotIAVLItem.ProtoReflect.Descriptor instead.

func (*SnapshotIAVLItem) GetHeight

func (x *SnapshotIAVLItem) GetHeight() int32

func (*SnapshotIAVLItem) GetKey

func (x *SnapshotIAVLItem) GetKey() []byte

func (*SnapshotIAVLItem) GetValue

func (x *SnapshotIAVLItem) GetValue() []byte

func (*SnapshotIAVLItem) GetVersion

func (x *SnapshotIAVLItem) GetVersion() int64

func (*SnapshotIAVLItem) ProtoMessage

func (*SnapshotIAVLItem) ProtoMessage()

func (*SnapshotIAVLItem) ProtoReflect

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

func (*SnapshotIAVLItem) Reset

func (x *SnapshotIAVLItem) Reset()

func (*SnapshotIAVLItem) String

func (x *SnapshotIAVLItem) String() string

type SnapshotItem

type SnapshotItem struct {

	// item is the specific type of snapshot item.
	//
	// Types that are assignable to Item:
	//	*SnapshotItem_Store
	//	*SnapshotItem_Iavl
	//	*SnapshotItem_Extension
	//	*SnapshotItem_ExtensionPayload
	//	*SnapshotItem_Kv
	//	*SnapshotItem_Schema
	Item isSnapshotItem_Item `protobuf_oneof:"item"`
	// contains filtered or unexported fields
}

SnapshotItem is an item contained in a rootmulti.Store snapshot.

func (*SnapshotItem) Descriptor deprecated

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

Deprecated: Use SnapshotItem.ProtoReflect.Descriptor instead.

func (*SnapshotItem) GetExtension

func (x *SnapshotItem) GetExtension() *SnapshotExtensionMeta

func (*SnapshotItem) GetExtensionPayload

func (x *SnapshotItem) GetExtensionPayload() *SnapshotExtensionPayload

func (*SnapshotItem) GetIavl

func (x *SnapshotItem) GetIavl() *SnapshotIAVLItem

func (*SnapshotItem) GetItem

func (x *SnapshotItem) GetItem() isSnapshotItem_Item

func (*SnapshotItem) GetKv

func (x *SnapshotItem) GetKv() *SnapshotKVItem

func (*SnapshotItem) GetSchema

func (x *SnapshotItem) GetSchema() *SnapshotSchema

func (*SnapshotItem) GetStore

func (x *SnapshotItem) GetStore() *SnapshotStoreItem

func (*SnapshotItem) ProtoMessage

func (*SnapshotItem) ProtoMessage()

func (*SnapshotItem) ProtoReflect

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

func (*SnapshotItem) Reset

func (x *SnapshotItem) Reset()

func (*SnapshotItem) String

func (x *SnapshotItem) String() string

type SnapshotItem_Extension

type SnapshotItem_Extension struct {
	Extension *SnapshotExtensionMeta `protobuf:"bytes,3,opt,name=extension,proto3,oneof"`
}

type SnapshotItem_ExtensionPayload

type SnapshotItem_ExtensionPayload struct {
	ExtensionPayload *SnapshotExtensionPayload `protobuf:"bytes,4,opt,name=extension_payload,json=extensionPayload,proto3,oneof"`
}

type SnapshotItem_Iavl

type SnapshotItem_Iavl struct {
	Iavl *SnapshotIAVLItem `protobuf:"bytes,2,opt,name=iavl,proto3,oneof"`
}

type SnapshotItem_Kv

type SnapshotItem_Kv struct {
	Kv *SnapshotKVItem `protobuf:"bytes,5,opt,name=kv,proto3,oneof"`
}

type SnapshotItem_Schema

type SnapshotItem_Schema struct {
	Schema *SnapshotSchema `protobuf:"bytes,6,opt,name=schema,proto3,oneof"`
}

type SnapshotItem_Store

type SnapshotItem_Store struct {
	Store *SnapshotStoreItem `protobuf:"bytes,1,opt,name=store,proto3,oneof"`
}

type SnapshotKVItem

type SnapshotKVItem struct {
	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

SnapshotKVItem is an exported Key/Value Pair

func (*SnapshotKVItem) Descriptor deprecated

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

Deprecated: Use SnapshotKVItem.ProtoReflect.Descriptor instead.

func (*SnapshotKVItem) GetKey

func (x *SnapshotKVItem) GetKey() []byte

func (*SnapshotKVItem) GetValue

func (x *SnapshotKVItem) GetValue() []byte

func (*SnapshotKVItem) ProtoMessage

func (*SnapshotKVItem) ProtoMessage()

func (*SnapshotKVItem) ProtoReflect

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

func (*SnapshotKVItem) Reset

func (x *SnapshotKVItem) Reset()

func (*SnapshotKVItem) String

func (x *SnapshotKVItem) String() string

type SnapshotSchema

type SnapshotSchema struct {
	Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

SnapshotSchema is an exported schema of smt store

func (*SnapshotSchema) Descriptor deprecated

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

Deprecated: Use SnapshotSchema.ProtoReflect.Descriptor instead.

func (*SnapshotSchema) GetKeys

func (x *SnapshotSchema) GetKeys() [][]byte

func (*SnapshotSchema) ProtoMessage

func (*SnapshotSchema) ProtoMessage()

func (*SnapshotSchema) ProtoReflect

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

func (*SnapshotSchema) Reset

func (x *SnapshotSchema) Reset()

func (*SnapshotSchema) String

func (x *SnapshotSchema) String() string

type SnapshotStoreItem

type SnapshotStoreItem struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SnapshotStoreItem contains metadata about a snapshotted store.

func (*SnapshotStoreItem) Descriptor deprecated

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

Deprecated: Use SnapshotStoreItem.ProtoReflect.Descriptor instead.

func (*SnapshotStoreItem) GetName

func (x *SnapshotStoreItem) GetName() string

func (*SnapshotStoreItem) ProtoMessage

func (*SnapshotStoreItem) ProtoMessage()

func (*SnapshotStoreItem) ProtoReflect

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

func (*SnapshotStoreItem) Reset

func (x *SnapshotStoreItem) Reset()

func (*SnapshotStoreItem) String

func (x *SnapshotStoreItem) String() string

Jump to

Keyboard shortcuts

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