Documentation ¶
Index ¶
- Variables
- type Pin
- func (*Pin) Descriptor() ([]byte, []int)
- func (m *Pin) GetAllocations() [][]byte
- func (m *Pin) GetCid() []byte
- func (m *Pin) GetMaxDepth() int32
- func (m *Pin) GetOptions() *PinOptions
- func (m *Pin) GetReference() []byte
- func (m *Pin) GetType() Pin_PinType
- func (*Pin) ProtoMessage()
- func (m *Pin) Reset()
- func (m *Pin) String() string
- func (m *Pin) XXX_DiscardUnknown()
- func (m *Pin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pin) XXX_Merge(src proto.Message)
- func (m *Pin) XXX_Size() int
- func (m *Pin) XXX_Unmarshal(b []byte) error
- type PinOptions
- func (*PinOptions) Descriptor() ([]byte, []int)
- func (m *PinOptions) GetMetadata() map[string]string
- func (m *PinOptions) GetName() string
- func (m *PinOptions) GetReplicationFactorMax() int32
- func (m *PinOptions) GetReplicationFactorMin() int32
- func (m *PinOptions) GetShardSize() uint64
- func (*PinOptions) ProtoMessage()
- func (m *PinOptions) Reset()
- func (m *PinOptions) String() string
- func (m *PinOptions) XXX_DiscardUnknown()
- func (m *PinOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PinOptions) XXX_Merge(src proto.Message)
- func (m *PinOptions) XXX_Size() int
- func (m *PinOptions) XXX_Unmarshal(b []byte) error
- type Pin_PinType
Constants ¶
This section is empty.
Variables ¶
View Source
var Pin_PinType_name = map[int32]string{
0: "BadType",
1: "DataType",
2: "MetaType",
3: "ClusterDAGType",
4: "ShardType",
}
View Source
var Pin_PinType_value = map[string]int32{
"BadType": 0,
"DataType": 1,
"MetaType": 2,
"ClusterDAGType": 3,
"ShardType": 4,
}
Functions ¶
This section is empty.
Types ¶
type Pin ¶
type Pin struct { Cid []byte `protobuf:"bytes,1,opt,name=Cid,proto3" json:"Cid,omitempty"` Type Pin_PinType `protobuf:"varint,2,opt,name=Type,proto3,enum=api.pb.Pin_PinType" json:"Type,omitempty"` Allocations [][]byte `protobuf:"bytes,3,rep,name=Allocations,proto3" json:"Allocations,omitempty"` MaxDepth int32 `protobuf:"zigzag32,4,opt,name=MaxDepth,proto3" json:"MaxDepth,omitempty"` Reference []byte `protobuf:"bytes,5,opt,name=Reference,proto3" json:"Reference,omitempty"` Options *PinOptions `protobuf:"bytes,6,opt,name=Options,proto3" json:"Options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pin) Descriptor ¶
func (*Pin) GetAllocations ¶
func (*Pin) GetMaxDepth ¶
func (*Pin) GetOptions ¶
func (m *Pin) GetOptions() *PinOptions
func (*Pin) GetReference ¶
func (*Pin) GetType ¶
func (m *Pin) GetType() Pin_PinType
func (*Pin) ProtoMessage ¶
func (*Pin) ProtoMessage()
func (*Pin) XXX_DiscardUnknown ¶
func (m *Pin) XXX_DiscardUnknown()
func (*Pin) XXX_Unmarshal ¶
type PinOptions ¶
type PinOptions struct { ReplicationFactorMin int32 `protobuf:"zigzag32,1,opt,name=ReplicationFactorMin,proto3" json:"ReplicationFactorMin,omitempty"` ReplicationFactorMax int32 `protobuf:"zigzag32,2,opt,name=ReplicationFactorMax,proto3" json:"ReplicationFactorMax,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` ShardSize uint64 `protobuf:"varint,4,opt,name=ShardSize,proto3" json:"ShardSize,omitempty"` Metadata map[string]string `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PinOptions) Descriptor ¶
func (*PinOptions) Descriptor() ([]byte, []int)
func (*PinOptions) GetMetadata ¶
func (m *PinOptions) GetMetadata() map[string]string
func (*PinOptions) GetName ¶
func (m *PinOptions) GetName() string
func (*PinOptions) GetReplicationFactorMax ¶
func (m *PinOptions) GetReplicationFactorMax() int32
func (*PinOptions) GetReplicationFactorMin ¶
func (m *PinOptions) GetReplicationFactorMin() int32
func (*PinOptions) GetShardSize ¶
func (m *PinOptions) GetShardSize() uint64
func (*PinOptions) ProtoMessage ¶
func (*PinOptions) ProtoMessage()
func (*PinOptions) Reset ¶
func (m *PinOptions) Reset()
func (*PinOptions) String ¶
func (m *PinOptions) String() string
func (*PinOptions) XXX_DiscardUnknown ¶
func (m *PinOptions) XXX_DiscardUnknown()
func (*PinOptions) XXX_Marshal ¶
func (m *PinOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PinOptions) XXX_Merge ¶
func (m *PinOptions) XXX_Merge(src proto.Message)
func (*PinOptions) XXX_Size ¶
func (m *PinOptions) XXX_Size() int
func (*PinOptions) XXX_Unmarshal ¶
func (m *PinOptions) XXX_Unmarshal(b []byte) error
type Pin_PinType ¶
type Pin_PinType int32
const ( Pin_BadType Pin_PinType = 0 Pin_DataType Pin_PinType = 1 Pin_MetaType Pin_PinType = 2 Pin_ClusterDAGType Pin_PinType = 3 Pin_ShardType Pin_PinType = 4 )
func (Pin_PinType) EnumDescriptor ¶
func (Pin_PinType) EnumDescriptor() ([]byte, []int)
func (Pin_PinType) String ¶
func (x Pin_PinType) String() string
Click to show internal directories.
Click to hide internal directories.