wire

package
v0.0.0-...-810cf82 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manifest

type Manifest struct {
	Root                 []byte   `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	Size                 uint64   `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
	ChunkSize            uint32   `protobuf:"varint,3,opt,name=chunkSize,proto3" json:"chunkSize,omitempty"`
	Fanout               uint32   `protobuf:"varint,4,opt,name=fanout,proto3" json:"fanout,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func FromBlob

func FromBlob(m *blobs.Manifest) *Manifest

func (*Manifest) Descriptor

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

func (*Manifest) GetChunkSize

func (m *Manifest) GetChunkSize() uint32

func (*Manifest) GetFanout

func (m *Manifest) GetFanout() uint32

func (*Manifest) GetRoot

func (m *Manifest) GetRoot() []byte

func (*Manifest) GetSize

func (m *Manifest) GetSize() uint64

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) Reset

func (m *Manifest) Reset()

func (*Manifest) String

func (m *Manifest) String() string

func (*Manifest) ToBlob

func (m *Manifest) ToBlob(type_ string) (*blobs.Manifest, error)

func (*Manifest) XXX_DiscardUnknown

func (m *Manifest) XXX_DiscardUnknown()

func (*Manifest) XXX_Marshal

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

func (*Manifest) XXX_Merge

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

func (*Manifest) XXX_Size

func (m *Manifest) XXX_Size() int

func (*Manifest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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