vault: github.com/hashicorp/vault/vendor/github.com/hashicorp/go-raftchunking/types Index | Files

package types

import "github.com/hashicorp/vault/vendor/github.com/hashicorp/go-raftchunking/types"

Index

Package Files

types.pb.go

type ChunkInfo Uses

type ChunkInfo struct {
    // OpNum is the ID of the op, used to ensure values are applied to the
    // right operation
    OpNum uint64 `protobuf:"varint,1,opt,name=op_num,json=opNum,proto3" json:"op_num,omitempty"`
    // SequenceNum is the current number of the ops; when applying we should
    // see this start at zero and increment by one without skips
    SequenceNum uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum,proto3" json:"sequence_num,omitempty"`
    // NumChunks is used to check whether all chunks have been received and
    // reconstruction should be attempted
    NumChunks uint32 `protobuf:"varint,3,opt,name=num_chunks,json=numChunks,proto3" json:"num_chunks,omitempty"`
    // NextExtensions holds inner extensions information for the next layer
    // down of Apply
    NextExtensions       []byte   `protobuf:"bytes,4,opt,name=next_extensions,json=nextExtensions,proto3" json:"next_extensions,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*ChunkInfo) Descriptor Uses

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

func (*ChunkInfo) GetNextExtensions Uses

func (m *ChunkInfo) GetNextExtensions() []byte

func (*ChunkInfo) GetNumChunks Uses

func (m *ChunkInfo) GetNumChunks() uint32

func (*ChunkInfo) GetOpNum Uses

func (m *ChunkInfo) GetOpNum() uint64

func (*ChunkInfo) GetSequenceNum Uses

func (m *ChunkInfo) GetSequenceNum() uint32

func (*ChunkInfo) ProtoMessage Uses

func (*ChunkInfo) ProtoMessage()

func (*ChunkInfo) Reset Uses

func (m *ChunkInfo) Reset()

func (*ChunkInfo) String Uses

func (m *ChunkInfo) String() string

func (*ChunkInfo) XXX_DiscardUnknown Uses

func (m *ChunkInfo) XXX_DiscardUnknown()

func (*ChunkInfo) XXX_Marshal Uses

func (m *ChunkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChunkInfo) XXX_Merge Uses

func (m *ChunkInfo) XXX_Merge(src proto.Message)

func (*ChunkInfo) XXX_Size Uses

func (m *ChunkInfo) XXX_Size() int

func (*ChunkInfo) XXX_Unmarshal Uses

func (m *ChunkInfo) XXX_Unmarshal(b []byte) error

Package types imports 3 packages (graph). Updated 2019-07-25. Refresh now. Tools for package owners.