Documentation ¶
Index ¶
- Variables
- type BootSnapshotMetadata
- func (*BootSnapshotMetadata) Descriptor() ([]byte, []int)
- func (m *BootSnapshotMetadata) GetAdditionalMetadata() string
- func (m *BootSnapshotMetadata) GetSingableMetadata() string
- func (*BootSnapshotMetadata) ProtoMessage()
- func (m *BootSnapshotMetadata) Reset()
- func (m *BootSnapshotMetadata) String() string
- func (m *BootSnapshotMetadata) XXX_DiscardUnknown()
- func (m *BootSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BootSnapshotMetadata) XXX_Merge(src proto.Message)
- func (m *BootSnapshotMetadata) XXX_Size() int
- func (m *BootSnapshotMetadata) XXX_Unmarshal(b []byte) error
- type LedgerMetadata
- func (*LedgerMetadata) Descriptor() ([]byte, []int)
- func (m *LedgerMetadata) GetBootSnapshotMetadata() *BootSnapshotMetadata
- func (m *LedgerMetadata) GetStatus() Status
- func (*LedgerMetadata) ProtoMessage()
- func (m *LedgerMetadata) Reset()
- func (m *LedgerMetadata) String() string
- func (m *LedgerMetadata) XXX_DiscardUnknown()
- func (m *LedgerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LedgerMetadata) XXX_Merge(src proto.Message)
- func (m *LedgerMetadata) XXX_Size() int
- func (m *LedgerMetadata) XXX_Unmarshal(b []byte) error
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var Status_name = map[int32]string{
0: "ACTIVE",
1: "INACTIVE",
2: "UNDER_CONSTRUCTION",
3: "UNDER_DELETION",
}
View Source
var Status_value = map[string]int32{
"ACTIVE": 0,
"INACTIVE": 1,
"UNDER_CONSTRUCTION": 2,
"UNDER_DELETION": 3,
}
Functions ¶
This section is empty.
Types ¶
type BootSnapshotMetadata ¶
type BootSnapshotMetadata struct { SingableMetadata string `protobuf:"bytes,1,opt,name=singableMetadata,proto3" json:"singableMetadata,omitempty"` AdditionalMetadata string `protobuf:"bytes,2,opt,name=additionalMetadata,proto3" json:"additionalMetadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
BootSnapshotMetadata captures the metadata of the snapshot that was used to bootstrap the ledger
func (*BootSnapshotMetadata) Descriptor ¶
func (*BootSnapshotMetadata) Descriptor() ([]byte, []int)
func (*BootSnapshotMetadata) GetAdditionalMetadata ¶
func (m *BootSnapshotMetadata) GetAdditionalMetadata() string
func (*BootSnapshotMetadata) GetSingableMetadata ¶
func (m *BootSnapshotMetadata) GetSingableMetadata() string
func (*BootSnapshotMetadata) ProtoMessage ¶
func (*BootSnapshotMetadata) ProtoMessage()
func (*BootSnapshotMetadata) Reset ¶
func (m *BootSnapshotMetadata) Reset()
func (*BootSnapshotMetadata) String ¶
func (m *BootSnapshotMetadata) String() string
func (*BootSnapshotMetadata) XXX_DiscardUnknown ¶
func (m *BootSnapshotMetadata) XXX_DiscardUnknown()
func (*BootSnapshotMetadata) XXX_Marshal ¶
func (m *BootSnapshotMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BootSnapshotMetadata) XXX_Merge ¶
func (m *BootSnapshotMetadata) XXX_Merge(src proto.Message)
func (*BootSnapshotMetadata) XXX_Size ¶
func (m *BootSnapshotMetadata) XXX_Size() int
func (*BootSnapshotMetadata) XXX_Unmarshal ¶
func (m *BootSnapshotMetadata) XXX_Unmarshal(b []byte) error
type LedgerMetadata ¶
type LedgerMetadata struct { Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=msgs.Status" json:"status,omitempty"` BootSnapshotMetadata *BootSnapshotMetadata `protobuf:"bytes,2,opt,name=boot_snapshot_metadata,json=bootSnapshotMetadata,proto3" json:"boot_snapshot_metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
LedgerMetadata specifies the metadata of a ledger
func (*LedgerMetadata) Descriptor ¶
func (*LedgerMetadata) Descriptor() ([]byte, []int)
func (*LedgerMetadata) GetBootSnapshotMetadata ¶
func (m *LedgerMetadata) GetBootSnapshotMetadata() *BootSnapshotMetadata
func (*LedgerMetadata) GetStatus ¶
func (m *LedgerMetadata) GetStatus() Status
func (*LedgerMetadata) ProtoMessage ¶
func (*LedgerMetadata) ProtoMessage()
func (*LedgerMetadata) Reset ¶
func (m *LedgerMetadata) Reset()
func (*LedgerMetadata) String ¶
func (m *LedgerMetadata) String() string
func (*LedgerMetadata) XXX_DiscardUnknown ¶
func (m *LedgerMetadata) XXX_DiscardUnknown()
func (*LedgerMetadata) XXX_Marshal ¶
func (m *LedgerMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LedgerMetadata) XXX_Merge ¶
func (m *LedgerMetadata) XXX_Merge(src proto.Message)
func (*LedgerMetadata) XXX_Size ¶
func (m *LedgerMetadata) XXX_Size() int
func (*LedgerMetadata) XXX_Unmarshal ¶
func (m *LedgerMetadata) XXX_Unmarshal(b []byte) error
type Status ¶
type Status int32
Status specifies the status of a ledger
func (Status) EnumDescriptor ¶
Click to show internal directories.
Click to hide internal directories.