pb

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CipherSuite_name = map[int32]string{
	0: "ENC_UNSPECIFIED",
	1: "ENC_NULL",
	2: "ENC_AESGCM",
	3: "ENC_SECRETBOX",
}
View Source
var CipherSuite_value = map[string]int32{
	"ENC_UNSPECIFIED": 0,
	"ENC_NULL":        1,
	"ENC_AESGCM":      2,
	"ENC_SECRETBOX":   3,
}
View Source
var NodeTransport_name = map[int32]string{
	0: "TCP_TLS_GRPC",
}
View Source
var NodeTransport_value = map[string]int32{
	"TCP_TLS_GRPC": 0,
}
View Source
var NodeType_name = map[int32]string{
	0: "INVALID",
	1: "SATELLITE",
	2: "STORAGE",
	3: "UPLINK",
	4: "BOOTSTRAP",
}
View Source
var NodeType_value = map[string]int32{
	"INVALID":   0,
	"SATELLITE": 1,
	"STORAGE":   2,
	"UPLINK":    3,
	"BOOTSTRAP": 4,
}
View Source
var Object_Status_name = map[int32]string{
	0: "INVALID",
	1: "UPLOADING",
	2: "COMMITTING",
	3: "COMMITTED",
	4: "DELETING",
}
View Source
var Object_Status_value = map[string]int32{
	"INVALID":    0,
	"UPLOADING":  1,
	"COMMITTING": 2,
	"COMMITTED":  3,
	"DELETING":   4,
}
View Source
var PieceAction_name = map[int32]string{
	0: "INVALID",
	1: "PUT",
	2: "GET",
	3: "GET_AUDIT",
	4: "GET_REPAIR",
	5: "PUT_REPAIR",
	6: "DELETE",
}
View Source
var PieceAction_value = map[string]int32{
	"INVALID":    0,
	"PUT":        1,
	"GET":        2,
	"GET_AUDIT":  3,
	"GET_REPAIR": 4,
	"PUT_REPAIR": 5,
	"DELETE":     6,
}
View Source
var PieceHeader_FormatVersion_name = map[int32]string{
	0: "FORMAT_V0",
	1: "FORMAT_V1",
}
View Source
var PieceHeader_FormatVersion_value = map[string]int32{
	"FORMAT_V0": 0,
	"FORMAT_V1": 1,
}
View Source
var Pointer_DataType_name = map[int32]string{
	0: "INLINE",
	1: "REMOTE",
}
View Source
var Pointer_DataType_value = map[string]int32{
	"INLINE": 0,
	"REMOTE": 1,
}
View Source
var RedundancyScheme_SchemeType_name = map[int32]string{
	0: "INVALID",
	1: "RS",
}
View Source
var RedundancyScheme_SchemeType_value = map[string]int32{
	"INVALID": 0,
	"RS":      1,
}
View Source
var Restriction_Operand_name = map[int32]string{
	0: "FREE_BANDWIDTH",
	1: "FREE_DISK",
}
View Source
var Restriction_Operand_value = map[string]int32{
	"FREE_BANDWIDTH": 0,
	"FREE_DISK":      1,
}
View Source
var Restriction_Operator_name = map[int32]string{
	0: "LT",
	1: "EQ",
	2: "GT",
	3: "LTE",
	4: "GTE",
}
View Source
var Restriction_Operator_value = map[string]int32{
	"LT":  0,
	"EQ":  1,
	"GT":  2,
	"LTE": 3,
	"GTE": 4,
}
View Source
var SettlementResponse_Status_name = map[int32]string{
	0: "INVALID",
	1: "ACCEPTED",
	2: "REJECTED",
}
View Source
var SettlementResponse_Status_value = map[string]int32{
	"INVALID":  0,
	"ACCEPTED": 1,
	"REJECTED": 2,
}
View Source
var VoucherResponse_Status_name = map[int32]string{
	0: "INVALID",
	1: "ACCEPTED",
	2: "REJECTED",
}
View Source
var VoucherResponse_Status_value = map[string]int32{
	"INVALID":  0,
	"ACCEPTED": 1,
	"REJECTED": 2,
}

Functions

func AddressEqual

func AddressEqual(a1, a2 *NodeAddress) bool

AddressEqual compares two node addresses

func Equal

func Equal(msg1, msg2 proto.Message) bool

Equal compares two Protobuf messages via serialization

func NodesToIDs

func NodesToIDs(nodes []*Node) storj.NodeIDList

NodesToIDs extracts Node-s into a list of ids

func RegisterCertificatesServer

func RegisterCertificatesServer(s *grpc.Server, srv CertificatesServer)

func RegisterHealthInspectorServer

func RegisterHealthInspectorServer(s *grpc.Server, srv HealthInspectorServer)

func RegisterIrreparableInspectorServer

func RegisterIrreparableInspectorServer(s *grpc.Server, srv IrreparableInspectorServer)

func RegisterKadInspectorServer

func RegisterKadInspectorServer(s *grpc.Server, srv KadInspectorServer)

func RegisterMetainfoServer

func RegisterMetainfoServer(s *grpc.Server, srv MetainfoServer)

func RegisterNodeStatsServer added in v0.15.0

func RegisterNodeStatsServer(s *grpc.Server, srv NodeStatsServer)

func RegisterNodesServer

func RegisterNodesServer(s *grpc.Server, srv NodesServer)

func RegisterOrdersServer

func RegisterOrdersServer(s *grpc.Server, srv OrdersServer)

func RegisterOverlayInspectorServer

func RegisterOverlayInspectorServer(s *grpc.Server, srv OverlayInspectorServer)

func RegisterPieceStoreInspectorServer

func RegisterPieceStoreInspectorServer(s *grpc.Server, srv PieceStoreInspectorServer)

func RegisterPiecestoreServer

func RegisterPiecestoreServer(s *grpc.Server, srv PiecestoreServer)

func RegisterVouchersServer added in v0.12.0

func RegisterVouchersServer(s *grpc.Server, srv VouchersServer)

Types

type AddressedOrderLimit

type AddressedOrderLimit struct {
	Limit                *OrderLimit  `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	StorageNodeAddress   *NodeAddress `protobuf:"bytes,2,opt,name=storage_node_address,json=storageNodeAddress,proto3" json:"storage_node_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*AddressedOrderLimit) Descriptor

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

func (*AddressedOrderLimit) GetLimit

func (m *AddressedOrderLimit) GetLimit() *OrderLimit

func (*AddressedOrderLimit) GetStorageNodeAddress

func (m *AddressedOrderLimit) GetStorageNodeAddress() *NodeAddress

func (*AddressedOrderLimit) ProtoMessage

func (*AddressedOrderLimit) ProtoMessage()

func (*AddressedOrderLimit) Reset

func (m *AddressedOrderLimit) Reset()

func (*AddressedOrderLimit) String

func (m *AddressedOrderLimit) String() string

func (*AddressedOrderLimit) XXX_DiscardUnknown

func (m *AddressedOrderLimit) XXX_DiscardUnknown()

func (*AddressedOrderLimit) XXX_Marshal

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

func (*AddressedOrderLimit) XXX_Merge

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

func (*AddressedOrderLimit) XXX_Size

func (m *AddressedOrderLimit) XXX_Size() int

func (*AddressedOrderLimit) XXX_Unmarshal

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

type BatchRequest added in v0.17.0

type BatchRequest struct {
	Requests             []*BatchRequestItem `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*BatchRequest) Descriptor added in v0.17.0

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

func (*BatchRequest) GetRequests added in v0.17.0

func (m *BatchRequest) GetRequests() []*BatchRequestItem

func (*BatchRequest) ProtoMessage added in v0.17.0

func (*BatchRequest) ProtoMessage()

func (*BatchRequest) Reset added in v0.17.0

func (m *BatchRequest) Reset()

func (*BatchRequest) String added in v0.17.0

func (m *BatchRequest) String() string

func (*BatchRequest) XXX_DiscardUnknown added in v0.17.0

func (m *BatchRequest) XXX_DiscardUnknown()

func (*BatchRequest) XXX_Marshal added in v0.17.0

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

func (*BatchRequest) XXX_Merge added in v0.17.0

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

func (*BatchRequest) XXX_Size added in v0.17.0

func (m *BatchRequest) XXX_Size() int

func (*BatchRequest) XXX_Unmarshal added in v0.17.0

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

type BatchRequestItem added in v0.17.0

type BatchRequestItem struct {
	// Types that are valid to be assigned to Request:
	//	*BatchRequestItem_BucketCreate
	//	*BatchRequestItem_BucketGet
	//	*BatchRequestItem_BucketDelete
	//	*BatchRequestItem_BucketList
	//	*BatchRequestItem_BucketSetAttribution
	//	*BatchRequestItem_ObjectBegin
	//	*BatchRequestItem_ObjectCommit
	//	*BatchRequestItem_ObjectGet
	//	*BatchRequestItem_ObjectList
	//	*BatchRequestItem_ObjectBeginDelete
	//	*BatchRequestItem_ObjectFinishDelete
	//	*BatchRequestItem_SegmentBegin
	//	*BatchRequestItem_SegmentCommit
	//	*BatchRequestItem_SegmentMakeInline
	//	*BatchRequestItem_SegmentBeginDelete
	//	*BatchRequestItem_SegmentFinishDelete
	//	*BatchRequestItem_SegmentList
	//	*BatchRequestItem_SegmentDownload
	Request              isBatchRequestItem_Request `protobuf_oneof:"Request"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*BatchRequestItem) Descriptor added in v0.17.0

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

func (*BatchRequestItem) GetBucketCreate added in v0.17.0

func (m *BatchRequestItem) GetBucketCreate() *BucketCreateRequest

func (*BatchRequestItem) GetBucketDelete added in v0.17.0

func (m *BatchRequestItem) GetBucketDelete() *BucketDeleteRequest

func (*BatchRequestItem) GetBucketGet added in v0.17.0

func (m *BatchRequestItem) GetBucketGet() *BucketGetRequest

func (*BatchRequestItem) GetBucketList added in v0.17.0

func (m *BatchRequestItem) GetBucketList() *BucketListRequest

func (*BatchRequestItem) GetBucketSetAttribution added in v0.17.0

func (m *BatchRequestItem) GetBucketSetAttribution() *BucketSetAttributionRequest

func (*BatchRequestItem) GetObjectBegin added in v0.17.0

func (m *BatchRequestItem) GetObjectBegin() *ObjectBeginRequest

func (*BatchRequestItem) GetObjectBeginDelete added in v0.17.0

func (m *BatchRequestItem) GetObjectBeginDelete() *ObjectBeginDeleteRequest

func (*BatchRequestItem) GetObjectCommit added in v0.17.0

func (m *BatchRequestItem) GetObjectCommit() *ObjectCommitRequest

func (*BatchRequestItem) GetObjectFinishDelete added in v0.17.0

func (m *BatchRequestItem) GetObjectFinishDelete() *ObjectFinishDeleteRequest

func (*BatchRequestItem) GetObjectGet added in v0.17.0

func (m *BatchRequestItem) GetObjectGet() *ObjectGetRequest

func (*BatchRequestItem) GetObjectList added in v0.17.0

func (m *BatchRequestItem) GetObjectList() *ObjectListRequest

func (*BatchRequestItem) GetRequest added in v0.17.0

func (m *BatchRequestItem) GetRequest() isBatchRequestItem_Request

func (*BatchRequestItem) GetSegmentBegin added in v0.17.0

func (m *BatchRequestItem) GetSegmentBegin() *SegmentBeginRequest

func (*BatchRequestItem) GetSegmentBeginDelete added in v0.17.0

func (m *BatchRequestItem) GetSegmentBeginDelete() *SegmentBeginDeleteRequest

func (*BatchRequestItem) GetSegmentCommit added in v0.17.0

func (m *BatchRequestItem) GetSegmentCommit() *SegmentCommitRequest

func (*BatchRequestItem) GetSegmentDownload added in v0.17.0

func (m *BatchRequestItem) GetSegmentDownload() *SegmentDownloadRequest

func (*BatchRequestItem) GetSegmentFinishDelete added in v0.17.0

func (m *BatchRequestItem) GetSegmentFinishDelete() *SegmentFinishDeleteRequest

func (*BatchRequestItem) GetSegmentList added in v0.17.0

func (m *BatchRequestItem) GetSegmentList() *SegmentListRequest

func (*BatchRequestItem) GetSegmentMakeInline added in v0.17.0

func (m *BatchRequestItem) GetSegmentMakeInline() *SegmentMakeInlineRequest

func (*BatchRequestItem) ProtoMessage added in v0.17.0

func (*BatchRequestItem) ProtoMessage()

func (*BatchRequestItem) Reset added in v0.17.0

func (m *BatchRequestItem) Reset()

func (*BatchRequestItem) String added in v0.17.0

func (m *BatchRequestItem) String() string

func (*BatchRequestItem) XXX_DiscardUnknown added in v0.17.0

func (m *BatchRequestItem) XXX_DiscardUnknown()

func (*BatchRequestItem) XXX_Marshal added in v0.17.0

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

func (*BatchRequestItem) XXX_Merge added in v0.17.0

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

func (*BatchRequestItem) XXX_OneofFuncs added in v0.17.0

func (*BatchRequestItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*BatchRequestItem) XXX_Size added in v0.17.0

func (m *BatchRequestItem) XXX_Size() int

func (*BatchRequestItem) XXX_Unmarshal added in v0.17.0

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

type BatchRequestItem_BucketCreate added in v0.17.0

type BatchRequestItem_BucketCreate struct {
	BucketCreate *BucketCreateRequest `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof"`
}

type BatchRequestItem_BucketDelete added in v0.17.0

type BatchRequestItem_BucketDelete struct {
	BucketDelete *BucketDeleteRequest `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof"`
}

type BatchRequestItem_BucketGet added in v0.17.0

type BatchRequestItem_BucketGet struct {
	BucketGet *BucketGetRequest `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof"`
}

type BatchRequestItem_BucketList added in v0.17.0

type BatchRequestItem_BucketList struct {
	BucketList *BucketListRequest `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof"`
}

type BatchRequestItem_BucketSetAttribution added in v0.17.0

type BatchRequestItem_BucketSetAttribution struct {
	BucketSetAttribution *BucketSetAttributionRequest `protobuf:"bytes,5,opt,name=bucket_set_attribution,json=bucketSetAttribution,proto3,oneof"`
}

type BatchRequestItem_ObjectBegin added in v0.17.0

type BatchRequestItem_ObjectBegin struct {
	ObjectBegin *ObjectBeginRequest `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof"`
}

type BatchRequestItem_ObjectBeginDelete added in v0.17.0

type BatchRequestItem_ObjectBeginDelete struct {
	ObjectBeginDelete *ObjectBeginDeleteRequest `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof"`
}

type BatchRequestItem_ObjectCommit added in v0.17.0

type BatchRequestItem_ObjectCommit struct {
	ObjectCommit *ObjectCommitRequest `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof"`
}

type BatchRequestItem_ObjectFinishDelete added in v0.17.0

type BatchRequestItem_ObjectFinishDelete struct {
	ObjectFinishDelete *ObjectFinishDeleteRequest `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof"`
}

type BatchRequestItem_ObjectGet added in v0.17.0

type BatchRequestItem_ObjectGet struct {
	ObjectGet *ObjectGetRequest `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof"`
}

type BatchRequestItem_ObjectList added in v0.17.0

type BatchRequestItem_ObjectList struct {
	ObjectList *ObjectListRequest `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof"`
}

type BatchRequestItem_SegmentBegin added in v0.17.0

type BatchRequestItem_SegmentBegin struct {
	SegmentBegin *SegmentBeginRequest `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof"`
}

type BatchRequestItem_SegmentBeginDelete added in v0.17.0

type BatchRequestItem_SegmentBeginDelete struct {
	SegmentBeginDelete *SegmentBeginDeleteRequest `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof"`
}

type BatchRequestItem_SegmentCommit added in v0.17.0

type BatchRequestItem_SegmentCommit struct {
	SegmentCommit *SegmentCommitRequest `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof"`
}

type BatchRequestItem_SegmentDownload added in v0.17.0

type BatchRequestItem_SegmentDownload struct {
	SegmentDownload *SegmentDownloadRequest `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof"`
}

type BatchRequestItem_SegmentFinishDelete added in v0.17.0

type BatchRequestItem_SegmentFinishDelete struct {
	SegmentFinishDelete *SegmentFinishDeleteRequest `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof"`
}

type BatchRequestItem_SegmentList added in v0.17.0

type BatchRequestItem_SegmentList struct {
	SegmentList *SegmentListRequest `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof"`
}

type BatchRequestItem_SegmentMakeInline added in v0.17.0

type BatchRequestItem_SegmentMakeInline struct {
	SegmentMakeInline *SegmentMakeInlineRequest `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof"`
}

type BatchResponse added in v0.17.0

type BatchResponse struct {
	Responses            []*BatchResponseItem `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BatchResponse) Descriptor added in v0.17.0

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

func (*BatchResponse) GetResponses added in v0.17.0

func (m *BatchResponse) GetResponses() []*BatchResponseItem

func (*BatchResponse) ProtoMessage added in v0.17.0

func (*BatchResponse) ProtoMessage()

func (*BatchResponse) Reset added in v0.17.0

func (m *BatchResponse) Reset()

func (*BatchResponse) String added in v0.17.0

func (m *BatchResponse) String() string

func (*BatchResponse) XXX_DiscardUnknown added in v0.17.0

func (m *BatchResponse) XXX_DiscardUnknown()

func (*BatchResponse) XXX_Marshal added in v0.17.0

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

func (*BatchResponse) XXX_Merge added in v0.17.0

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

func (*BatchResponse) XXX_Size added in v0.17.0

func (m *BatchResponse) XXX_Size() int

func (*BatchResponse) XXX_Unmarshal added in v0.17.0

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

type BatchResponseItem added in v0.17.0

type BatchResponseItem struct {
	// Types that are valid to be assigned to Response:
	//	*BatchResponseItem_BucketCreate
	//	*BatchResponseItem_BucketGet
	//	*BatchResponseItem_BucketDelete
	//	*BatchResponseItem_BucketList
	//	*BatchResponseItem_BucketSetAttribution
	//	*BatchResponseItem_ObjectBegin
	//	*BatchResponseItem_ObjectCommit
	//	*BatchResponseItem_ObjectGet
	//	*BatchResponseItem_ObjectList
	//	*BatchResponseItem_ObjectBeginDelete
	//	*BatchResponseItem_ObjectFinishDelete
	//	*BatchResponseItem_SegmentBegin
	//	*BatchResponseItem_SegmentCommit
	//	*BatchResponseItem_SegmentMakeInline
	//	*BatchResponseItem_SegmentBeginDelete
	//	*BatchResponseItem_SegmentFinishDelete
	//	*BatchResponseItem_SegmentList
	//	*BatchResponseItem_SegmentDownload
	Response             isBatchResponseItem_Response `protobuf_oneof:"Response"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*BatchResponseItem) Descriptor added in v0.17.0

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

func (*BatchResponseItem) GetBucketCreate added in v0.17.0

func (m *BatchResponseItem) GetBucketCreate() *BucketCreateResponse

func (*BatchResponseItem) GetBucketDelete added in v0.17.0

func (m *BatchResponseItem) GetBucketDelete() *BucketDeleteResponse

func (*BatchResponseItem) GetBucketGet added in v0.17.0

func (m *BatchResponseItem) GetBucketGet() *BucketGetResponse

func (*BatchResponseItem) GetBucketList added in v0.17.0

func (m *BatchResponseItem) GetBucketList() *BucketListResponse

func (*BatchResponseItem) GetBucketSetAttribution added in v0.17.0

func (m *BatchResponseItem) GetBucketSetAttribution() *BucketSetAttributionResponse

func (*BatchResponseItem) GetObjectBegin added in v0.17.0

func (m *BatchResponseItem) GetObjectBegin() *ObjectBeginResponse

func (*BatchResponseItem) GetObjectBeginDelete added in v0.17.0

func (m *BatchResponseItem) GetObjectBeginDelete() *ObjectBeginDeleteResponse

func (*BatchResponseItem) GetObjectCommit added in v0.17.0

func (m *BatchResponseItem) GetObjectCommit() *ObjectCommitResponse

func (*BatchResponseItem) GetObjectFinishDelete added in v0.17.0

func (m *BatchResponseItem) GetObjectFinishDelete() *ObjectFinishDeleteResponse

func (*BatchResponseItem) GetObjectGet added in v0.17.0

func (m *BatchResponseItem) GetObjectGet() *ObjectGetResponse

func (*BatchResponseItem) GetObjectList added in v0.17.0

func (m *BatchResponseItem) GetObjectList() *ObjectListResponse

func (*BatchResponseItem) GetResponse added in v0.17.0

func (m *BatchResponseItem) GetResponse() isBatchResponseItem_Response

func (*BatchResponseItem) GetSegmentBegin added in v0.17.0

func (m *BatchResponseItem) GetSegmentBegin() *SegmentBeginResponse

func (*BatchResponseItem) GetSegmentBeginDelete added in v0.17.0

func (m *BatchResponseItem) GetSegmentBeginDelete() *SegmentBeginDeleteResponse

func (*BatchResponseItem) GetSegmentCommit added in v0.17.0

func (m *BatchResponseItem) GetSegmentCommit() *SegmentCommitResponse

func (*BatchResponseItem) GetSegmentDownload added in v0.17.0

func (m *BatchResponseItem) GetSegmentDownload() *SegmentDownloadResponse

func (*BatchResponseItem) GetSegmentFinishDelete added in v0.17.0

func (m *BatchResponseItem) GetSegmentFinishDelete() *SegmentFinishDeleteResponse

func (*BatchResponseItem) GetSegmentList added in v0.17.0

func (m *BatchResponseItem) GetSegmentList() *SegmentListResponse

func (*BatchResponseItem) GetSegmentMakeInline added in v0.17.0

func (m *BatchResponseItem) GetSegmentMakeInline() *SegmentMakeInlineResponse

func (*BatchResponseItem) ProtoMessage added in v0.17.0

func (*BatchResponseItem) ProtoMessage()

func (*BatchResponseItem) Reset added in v0.17.0

func (m *BatchResponseItem) Reset()

func (*BatchResponseItem) String added in v0.17.0

func (m *BatchResponseItem) String() string

func (*BatchResponseItem) XXX_DiscardUnknown added in v0.17.0

func (m *BatchResponseItem) XXX_DiscardUnknown()

func (*BatchResponseItem) XXX_Marshal added in v0.17.0

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

func (*BatchResponseItem) XXX_Merge added in v0.17.0

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

func (*BatchResponseItem) XXX_OneofFuncs added in v0.17.0

func (*BatchResponseItem) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*BatchResponseItem) XXX_Size added in v0.17.0

func (m *BatchResponseItem) XXX_Size() int

func (*BatchResponseItem) XXX_Unmarshal added in v0.17.0

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

type BatchResponseItem_BucketCreate added in v0.17.0

type BatchResponseItem_BucketCreate struct {
	BucketCreate *BucketCreateResponse `protobuf:"bytes,1,opt,name=bucket_create,json=bucketCreate,proto3,oneof"`
}

type BatchResponseItem_BucketDelete added in v0.17.0

type BatchResponseItem_BucketDelete struct {
	BucketDelete *BucketDeleteResponse `protobuf:"bytes,3,opt,name=bucket_delete,json=bucketDelete,proto3,oneof"`
}

type BatchResponseItem_BucketGet added in v0.17.0

type BatchResponseItem_BucketGet struct {
	BucketGet *BucketGetResponse `protobuf:"bytes,2,opt,name=bucket_get,json=bucketGet,proto3,oneof"`
}

type BatchResponseItem_BucketList added in v0.17.0

type BatchResponseItem_BucketList struct {
	BucketList *BucketListResponse `protobuf:"bytes,4,opt,name=bucket_list,json=bucketList,proto3,oneof"`
}

type BatchResponseItem_BucketSetAttribution added in v0.17.0

type BatchResponseItem_BucketSetAttribution struct {
	BucketSetAttribution *BucketSetAttributionResponse `protobuf:"bytes,5,opt,name=bucket_set_attribution,json=bucketSetAttribution,proto3,oneof"`
}

type BatchResponseItem_ObjectBegin added in v0.17.0

type BatchResponseItem_ObjectBegin struct {
	ObjectBegin *ObjectBeginResponse `protobuf:"bytes,6,opt,name=object_begin,json=objectBegin,proto3,oneof"`
}

type BatchResponseItem_ObjectBeginDelete added in v0.17.0

type BatchResponseItem_ObjectBeginDelete struct {
	ObjectBeginDelete *ObjectBeginDeleteResponse `protobuf:"bytes,10,opt,name=object_begin_delete,json=objectBeginDelete,proto3,oneof"`
}

type BatchResponseItem_ObjectCommit added in v0.17.0

type BatchResponseItem_ObjectCommit struct {
	ObjectCommit *ObjectCommitResponse `protobuf:"bytes,7,opt,name=object_commit,json=objectCommit,proto3,oneof"`
}

type BatchResponseItem_ObjectFinishDelete added in v0.17.0

type BatchResponseItem_ObjectFinishDelete struct {
	ObjectFinishDelete *ObjectFinishDeleteResponse `protobuf:"bytes,11,opt,name=object_finish_delete,json=objectFinishDelete,proto3,oneof"`
}

type BatchResponseItem_ObjectGet added in v0.17.0

type BatchResponseItem_ObjectGet struct {
	ObjectGet *ObjectGetResponse `protobuf:"bytes,8,opt,name=object_get,json=objectGet,proto3,oneof"`
}

type BatchResponseItem_ObjectList added in v0.17.0

type BatchResponseItem_ObjectList struct {
	ObjectList *ObjectListResponse `protobuf:"bytes,9,opt,name=object_list,json=objectList,proto3,oneof"`
}

type BatchResponseItem_SegmentBegin added in v0.17.0

type BatchResponseItem_SegmentBegin struct {
	SegmentBegin *SegmentBeginResponse `protobuf:"bytes,12,opt,name=segment_begin,json=segmentBegin,proto3,oneof"`
}

type BatchResponseItem_SegmentBeginDelete added in v0.17.0

type BatchResponseItem_SegmentBeginDelete struct {
	SegmentBeginDelete *SegmentBeginDeleteResponse `protobuf:"bytes,15,opt,name=segment_begin_delete,json=segmentBeginDelete,proto3,oneof"`
}

type BatchResponseItem_SegmentCommit added in v0.17.0

type BatchResponseItem_SegmentCommit struct {
	SegmentCommit *SegmentCommitResponse `protobuf:"bytes,13,opt,name=segment_commit,json=segmentCommit,proto3,oneof"`
}

type BatchResponseItem_SegmentDownload added in v0.17.0

type BatchResponseItem_SegmentDownload struct {
	SegmentDownload *SegmentDownloadResponse `protobuf:"bytes,18,opt,name=segment_download,json=segmentDownload,proto3,oneof"`
}

type BatchResponseItem_SegmentFinishDelete added in v0.17.0

type BatchResponseItem_SegmentFinishDelete struct {
	SegmentFinishDelete *SegmentFinishDeleteResponse `protobuf:"bytes,16,opt,name=segment_finish_delete,json=segmentFinishDelete,proto3,oneof"`
}

type BatchResponseItem_SegmentList added in v0.17.0

type BatchResponseItem_SegmentList struct {
	SegmentList *SegmentListResponse `protobuf:"bytes,17,opt,name=segment_list,json=segmentList,proto3,oneof"`
}

type BatchResponseItem_SegmentMakeInline added in v0.17.0

type BatchResponseItem_SegmentMakeInline struct {
	SegmentMakeInline *SegmentMakeInlineResponse `protobuf:"bytes,14,opt,name=segment_make_inline,json=segmentMakeInline,proto3,oneof"`
}

type Bucket

type Bucket struct {
	Name                        []byte                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PathCipher                  CipherSuite           `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
	CreatedAt                   time.Time             `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	DefaultSegmentSize          int64                 `protobuf:"varint,4,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
	DefaultRedundancyScheme     *RedundancyScheme     `` /* 132-byte string literal not displayed */
	DefaultEncryptionParameters *EncryptionParameters `` /* 144-byte string literal not displayed */
	PartnerId                   []byte                `protobuf:"bytes,7,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
	XXX_NoUnkeyedLiteral        struct{}              `json:"-"`
	XXX_unrecognized            []byte                `json:"-"`
	XXX_sizecache               int32                 `json:"-"`
}

func (*Bucket) Descriptor

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

func (*Bucket) GetCreatedAt added in v0.15.0

func (m *Bucket) GetCreatedAt() time.Time

func (*Bucket) GetDefaultEncryptionParameters added in v0.15.0

func (m *Bucket) GetDefaultEncryptionParameters() *EncryptionParameters

func (*Bucket) GetDefaultRedundancyScheme added in v0.15.0

func (m *Bucket) GetDefaultRedundancyScheme() *RedundancyScheme

func (*Bucket) GetDefaultSegmentSize added in v0.15.0

func (m *Bucket) GetDefaultSegmentSize() int64

func (*Bucket) GetName added in v0.15.0

func (m *Bucket) GetName() []byte

func (*Bucket) GetPartnerId added in v0.16.0

func (m *Bucket) GetPartnerId() []byte

func (*Bucket) GetPathCipher added in v0.15.0

func (m *Bucket) GetPathCipher() CipherSuite

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) Reset

func (m *Bucket) Reset()

func (*Bucket) String

func (m *Bucket) String() string

func (*Bucket) XXX_DiscardUnknown

func (m *Bucket) XXX_DiscardUnknown()

func (*Bucket) XXX_Marshal

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

func (*Bucket) XXX_Merge

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

func (*Bucket) XXX_Size

func (m *Bucket) XXX_Size() int

func (*Bucket) XXX_Unmarshal

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

type BucketCreateRequest added in v0.15.0

type BucketCreateRequest struct {
	Name                        []byte                `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PathCipher                  CipherSuite           `protobuf:"varint,2,opt,name=path_cipher,json=pathCipher,proto3,enum=encryption.CipherSuite" json:"path_cipher,omitempty"`
	DefaultSegmentSize          int64                 `protobuf:"varint,3,opt,name=default_segment_size,json=defaultSegmentSize,proto3" json:"default_segment_size,omitempty"`
	DefaultRedundancyScheme     *RedundancyScheme     `` /* 132-byte string literal not displayed */
	DefaultEncryptionParameters *EncryptionParameters `` /* 144-byte string literal not displayed */
	PartnerId                   []byte                `protobuf:"bytes,6,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
	XXX_NoUnkeyedLiteral        struct{}              `json:"-"`
	XXX_unrecognized            []byte                `json:"-"`
	XXX_sizecache               int32                 `json:"-"`
}

func (*BucketCreateRequest) Descriptor added in v0.15.0

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

func (*BucketCreateRequest) GetDefaultEncryptionParameters added in v0.15.0

func (m *BucketCreateRequest) GetDefaultEncryptionParameters() *EncryptionParameters

func (*BucketCreateRequest) GetDefaultRedundancyScheme added in v0.15.0

func (m *BucketCreateRequest) GetDefaultRedundancyScheme() *RedundancyScheme

func (*BucketCreateRequest) GetDefaultSegmentSize added in v0.15.0

func (m *BucketCreateRequest) GetDefaultSegmentSize() int64

func (*BucketCreateRequest) GetName added in v0.15.0

func (m *BucketCreateRequest) GetName() []byte

func (*BucketCreateRequest) GetPartnerId added in v0.16.0

func (m *BucketCreateRequest) GetPartnerId() []byte

func (*BucketCreateRequest) GetPathCipher added in v0.15.0

func (m *BucketCreateRequest) GetPathCipher() CipherSuite

func (*BucketCreateRequest) ProtoMessage added in v0.15.0

func (*BucketCreateRequest) ProtoMessage()

func (*BucketCreateRequest) Reset added in v0.15.0

func (m *BucketCreateRequest) Reset()

func (*BucketCreateRequest) String added in v0.15.0

func (m *BucketCreateRequest) String() string

func (*BucketCreateRequest) XXX_DiscardUnknown added in v0.15.0

func (m *BucketCreateRequest) XXX_DiscardUnknown()

func (*BucketCreateRequest) XXX_Marshal added in v0.15.0

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

func (*BucketCreateRequest) XXX_Merge added in v0.15.0

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

func (*BucketCreateRequest) XXX_Size added in v0.15.0

func (m *BucketCreateRequest) XXX_Size() int

func (*BucketCreateRequest) XXX_Unmarshal added in v0.15.0

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

type BucketCreateResponse added in v0.15.0

type BucketCreateResponse struct {
	Bucket               *Bucket  `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketCreateResponse) Descriptor added in v0.15.0

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

func (*BucketCreateResponse) GetBucket added in v0.15.0

func (m *BucketCreateResponse) GetBucket() *Bucket

func (*BucketCreateResponse) ProtoMessage added in v0.15.0

func (*BucketCreateResponse) ProtoMessage()

func (*BucketCreateResponse) Reset added in v0.15.0

func (m *BucketCreateResponse) Reset()

func (*BucketCreateResponse) String added in v0.15.0

func (m *BucketCreateResponse) String() string

func (*BucketCreateResponse) XXX_DiscardUnknown added in v0.15.0

func (m *BucketCreateResponse) XXX_DiscardUnknown()

func (*BucketCreateResponse) XXX_Marshal added in v0.15.0

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

func (*BucketCreateResponse) XXX_Merge added in v0.15.0

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

func (*BucketCreateResponse) XXX_Size added in v0.15.0

func (m *BucketCreateResponse) XXX_Size() int

func (*BucketCreateResponse) XXX_Unmarshal added in v0.15.0

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

type BucketDeleteRequest added in v0.15.0

type BucketDeleteRequest struct {
	Name                 []byte   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketDeleteRequest) Descriptor added in v0.15.0

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

func (*BucketDeleteRequest) GetName added in v0.15.0

func (m *BucketDeleteRequest) GetName() []byte

func (*BucketDeleteRequest) ProtoMessage added in v0.15.0

func (*BucketDeleteRequest) ProtoMessage()

func (*BucketDeleteRequest) Reset added in v0.15.0

func (m *BucketDeleteRequest) Reset()

func (*BucketDeleteRequest) String added in v0.15.0

func (m *BucketDeleteRequest) String() string

func (*BucketDeleteRequest) XXX_DiscardUnknown added in v0.15.0

func (m *BucketDeleteRequest) XXX_DiscardUnknown()

func (*BucketDeleteRequest) XXX_Marshal added in v0.15.0

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

func (*BucketDeleteRequest) XXX_Merge added in v0.15.0

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

func (*BucketDeleteRequest) XXX_Size added in v0.15.0

func (m *BucketDeleteRequest) XXX_Size() int

func (*BucketDeleteRequest) XXX_Unmarshal added in v0.15.0

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

type BucketDeleteResponse added in v0.15.0

type BucketDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketDeleteResponse) Descriptor added in v0.15.0

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

func (*BucketDeleteResponse) ProtoMessage added in v0.15.0

func (*BucketDeleteResponse) ProtoMessage()

func (*BucketDeleteResponse) Reset added in v0.15.0

func (m *BucketDeleteResponse) Reset()

func (*BucketDeleteResponse) String added in v0.15.0

func (m *BucketDeleteResponse) String() string

func (*BucketDeleteResponse) XXX_DiscardUnknown added in v0.15.0

func (m *BucketDeleteResponse) XXX_DiscardUnknown()

func (*BucketDeleteResponse) XXX_Marshal added in v0.15.0

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

func (*BucketDeleteResponse) XXX_Merge added in v0.15.0

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

func (*BucketDeleteResponse) XXX_Size added in v0.15.0

func (m *BucketDeleteResponse) XXX_Size() int

func (*BucketDeleteResponse) XXX_Unmarshal added in v0.15.0

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

type BucketGetRequest added in v0.15.0

type BucketGetRequest struct {
	Name                 []byte   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketGetRequest) Descriptor added in v0.15.0

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

func (*BucketGetRequest) GetName added in v0.15.0

func (m *BucketGetRequest) GetName() []byte

func (*BucketGetRequest) ProtoMessage added in v0.15.0

func (*BucketGetRequest) ProtoMessage()

func (*BucketGetRequest) Reset added in v0.15.0

func (m *BucketGetRequest) Reset()

func (*BucketGetRequest) String added in v0.15.0

func (m *BucketGetRequest) String() string

func (*BucketGetRequest) XXX_DiscardUnknown added in v0.15.0

func (m *BucketGetRequest) XXX_DiscardUnknown()

func (*BucketGetRequest) XXX_Marshal added in v0.15.0

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

func (*BucketGetRequest) XXX_Merge added in v0.15.0

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

func (*BucketGetRequest) XXX_Size added in v0.15.0

func (m *BucketGetRequest) XXX_Size() int

func (*BucketGetRequest) XXX_Unmarshal added in v0.15.0

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

type BucketGetResponse added in v0.15.0

type BucketGetResponse struct {
	Bucket               *Bucket  `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketGetResponse) Descriptor added in v0.15.0

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

func (*BucketGetResponse) GetBucket added in v0.15.0

func (m *BucketGetResponse) GetBucket() *Bucket

func (*BucketGetResponse) ProtoMessage added in v0.15.0

func (*BucketGetResponse) ProtoMessage()

func (*BucketGetResponse) Reset added in v0.15.0

func (m *BucketGetResponse) Reset()

func (*BucketGetResponse) String added in v0.15.0

func (m *BucketGetResponse) String() string

func (*BucketGetResponse) XXX_DiscardUnknown added in v0.15.0

func (m *BucketGetResponse) XXX_DiscardUnknown()

func (*BucketGetResponse) XXX_Marshal added in v0.15.0

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

func (*BucketGetResponse) XXX_Merge added in v0.15.0

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

func (*BucketGetResponse) XXX_Size added in v0.15.0

func (m *BucketGetResponse) XXX_Size() int

func (*BucketGetResponse) XXX_Unmarshal added in v0.15.0

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

type BucketList

type BucketList struct {
	Nodes                []*Node  `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketList) Descriptor

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

func (*BucketList) GetNodes

func (m *BucketList) GetNodes() []*Node

func (*BucketList) ProtoMessage

func (*BucketList) ProtoMessage()

func (*BucketList) Reset

func (m *BucketList) Reset()

func (*BucketList) String

func (m *BucketList) String() string

func (*BucketList) XXX_DiscardUnknown

func (m *BucketList) XXX_DiscardUnknown()

func (*BucketList) XXX_Marshal

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

func (*BucketList) XXX_Merge

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

func (*BucketList) XXX_Size

func (m *BucketList) XXX_Size() int

func (*BucketList) XXX_Unmarshal

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

type BucketListItem added in v0.15.0

type BucketListItem struct {
	Name                 []byte    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt            time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*BucketListItem) Descriptor added in v0.15.0

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

func (*BucketListItem) GetCreatedAt added in v0.15.0

func (m *BucketListItem) GetCreatedAt() time.Time

func (*BucketListItem) GetName added in v0.15.0

func (m *BucketListItem) GetName() []byte

func (*BucketListItem) ProtoMessage added in v0.15.0

func (*BucketListItem) ProtoMessage()

func (*BucketListItem) Reset added in v0.15.0

func (m *BucketListItem) Reset()

func (*BucketListItem) String added in v0.15.0

func (m *BucketListItem) String() string

func (*BucketListItem) XXX_DiscardUnknown added in v0.15.0

func (m *BucketListItem) XXX_DiscardUnknown()

func (*BucketListItem) XXX_Marshal added in v0.15.0

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

func (*BucketListItem) XXX_Merge added in v0.15.0

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

func (*BucketListItem) XXX_Size added in v0.15.0

func (m *BucketListItem) XXX_Size() int

func (*BucketListItem) XXX_Unmarshal added in v0.15.0

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

type BucketListRequest added in v0.15.0

type BucketListRequest struct {
	Cursor               []byte   `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
	Limit                int32    `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Direction            int32    `protobuf:"varint,3,opt,name=direction,proto3" json:"direction,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketListRequest) Descriptor added in v0.15.0

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

func (*BucketListRequest) GetCursor added in v0.15.0

func (m *BucketListRequest) GetCursor() []byte

func (*BucketListRequest) GetDirection added in v0.15.0

func (m *BucketListRequest) GetDirection() int32

func (*BucketListRequest) GetLimit added in v0.15.0

func (m *BucketListRequest) GetLimit() int32

func (*BucketListRequest) ProtoMessage added in v0.15.0

func (*BucketListRequest) ProtoMessage()

func (*BucketListRequest) Reset added in v0.15.0

func (m *BucketListRequest) Reset()

func (*BucketListRequest) String added in v0.15.0

func (m *BucketListRequest) String() string

func (*BucketListRequest) XXX_DiscardUnknown added in v0.15.0

func (m *BucketListRequest) XXX_DiscardUnknown()

func (*BucketListRequest) XXX_Marshal added in v0.15.0

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

func (*BucketListRequest) XXX_Merge added in v0.15.0

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

func (*BucketListRequest) XXX_Size added in v0.15.0

func (m *BucketListRequest) XXX_Size() int

func (*BucketListRequest) XXX_Unmarshal added in v0.15.0

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

type BucketListResponse added in v0.15.0

type BucketListResponse struct {
	Items                []*BucketListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	More                 bool              `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*BucketListResponse) Descriptor added in v0.15.0

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

func (*BucketListResponse) GetItems added in v0.15.0

func (m *BucketListResponse) GetItems() []*BucketListItem

func (*BucketListResponse) GetMore added in v0.15.0

func (m *BucketListResponse) GetMore() bool

func (*BucketListResponse) ProtoMessage added in v0.15.0

func (*BucketListResponse) ProtoMessage()

func (*BucketListResponse) Reset added in v0.15.0

func (m *BucketListResponse) Reset()

func (*BucketListResponse) String added in v0.15.0

func (m *BucketListResponse) String() string

func (*BucketListResponse) XXX_DiscardUnknown added in v0.15.0

func (m *BucketListResponse) XXX_DiscardUnknown()

func (*BucketListResponse) XXX_Marshal added in v0.15.0

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

func (*BucketListResponse) XXX_Merge added in v0.15.0

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

func (*BucketListResponse) XXX_Size added in v0.15.0

func (m *BucketListResponse) XXX_Size() int

func (*BucketListResponse) XXX_Unmarshal added in v0.15.0

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

type BucketSetAttributionRequest added in v0.15.0

type BucketSetAttributionRequest struct {
	Name                 []byte   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	PartnerId            []byte   `protobuf:"bytes,2,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketSetAttributionRequest) Descriptor added in v0.15.0

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

func (*BucketSetAttributionRequest) GetName added in v0.15.0

func (m *BucketSetAttributionRequest) GetName() []byte

func (*BucketSetAttributionRequest) GetPartnerId added in v0.17.0

func (m *BucketSetAttributionRequest) GetPartnerId() []byte

func (*BucketSetAttributionRequest) ProtoMessage added in v0.15.0

func (*BucketSetAttributionRequest) ProtoMessage()

func (*BucketSetAttributionRequest) Reset added in v0.15.0

func (m *BucketSetAttributionRequest) Reset()

func (*BucketSetAttributionRequest) String added in v0.15.0

func (m *BucketSetAttributionRequest) String() string

func (*BucketSetAttributionRequest) XXX_DiscardUnknown added in v0.15.0

func (m *BucketSetAttributionRequest) XXX_DiscardUnknown()

func (*BucketSetAttributionRequest) XXX_Marshal added in v0.15.0

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

func (*BucketSetAttributionRequest) XXX_Merge added in v0.15.0

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

func (*BucketSetAttributionRequest) XXX_Size added in v0.15.0

func (m *BucketSetAttributionRequest) XXX_Size() int

func (*BucketSetAttributionRequest) XXX_Unmarshal added in v0.15.0

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

type BucketSetAttributionResponse added in v0.15.0

type BucketSetAttributionResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BucketSetAttributionResponse) Descriptor added in v0.15.0

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

func (*BucketSetAttributionResponse) ProtoMessage added in v0.15.0

func (*BucketSetAttributionResponse) ProtoMessage()

func (*BucketSetAttributionResponse) Reset added in v0.15.0

func (m *BucketSetAttributionResponse) Reset()

func (*BucketSetAttributionResponse) String added in v0.15.0

func (*BucketSetAttributionResponse) XXX_DiscardUnknown added in v0.15.0

func (m *BucketSetAttributionResponse) XXX_DiscardUnknown()

func (*BucketSetAttributionResponse) XXX_Marshal added in v0.15.0

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

func (*BucketSetAttributionResponse) XXX_Merge added in v0.15.0

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

func (*BucketSetAttributionResponse) XXX_Size added in v0.15.0

func (m *BucketSetAttributionResponse) XXX_Size() int

func (*BucketSetAttributionResponse) XXX_Unmarshal added in v0.15.0

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

type CertificatesClient

type CertificatesClient interface {
	Sign(ctx context.Context, in *SigningRequest, opts ...grpc.CallOption) (*SigningResponse, error)
}

CertificatesClient is the client API for Certificates service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCertificatesClient

func NewCertificatesClient(cc *grpc.ClientConn) CertificatesClient

type CertificatesServer

type CertificatesServer interface {
	Sign(context.Context, *SigningRequest) (*SigningResponse, error)
}

CertificatesServer is the server API for Certificates service.

type CipherSuite added in v0.15.0

type CipherSuite int32
const (
	CipherSuite_ENC_UNSPECIFIED CipherSuite = 0
	CipherSuite_ENC_NULL        CipherSuite = 1
	CipherSuite_ENC_AESGCM      CipherSuite = 2
	CipherSuite_ENC_SECRETBOX   CipherSuite = 3
)

func (CipherSuite) EnumDescriptor added in v0.15.0

func (CipherSuite) EnumDescriptor() ([]byte, []int)

func (CipherSuite) String added in v0.15.0

func (x CipherSuite) String() string

type CountNodesRequest

type CountNodesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CountNodesRequest) Descriptor

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

func (*CountNodesRequest) ProtoMessage

func (*CountNodesRequest) ProtoMessage()

func (*CountNodesRequest) Reset

func (m *CountNodesRequest) Reset()

func (*CountNodesRequest) String

func (m *CountNodesRequest) String() string

func (*CountNodesRequest) XXX_DiscardUnknown

func (m *CountNodesRequest) XXX_DiscardUnknown()

func (*CountNodesRequest) XXX_Marshal

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

func (*CountNodesRequest) XXX_Merge

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

func (*CountNodesRequest) XXX_Size

func (m *CountNodesRequest) XXX_Size() int

func (*CountNodesRequest) XXX_Unmarshal

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

type CountNodesResponse

type CountNodesResponse struct {
	Count                int64    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CountNodes

func (*CountNodesResponse) Descriptor

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

func (*CountNodesResponse) GetCount

func (m *CountNodesResponse) GetCount() int64

func (*CountNodesResponse) ProtoMessage

func (*CountNodesResponse) ProtoMessage()

func (*CountNodesResponse) Reset

func (m *CountNodesResponse) Reset()

func (*CountNodesResponse) String

func (m *CountNodesResponse) String() string

func (*CountNodesResponse) XXX_DiscardUnknown

func (m *CountNodesResponse) XXX_DiscardUnknown()

func (*CountNodesResponse) XXX_Marshal

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

func (*CountNodesResponse) XXX_Merge

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

func (*CountNodesResponse) XXX_Size

func (m *CountNodesResponse) XXX_Size() int

func (*CountNodesResponse) XXX_Unmarshal

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

type DailyStorageUsageRequest added in v0.15.0

type DailyStorageUsageRequest struct {
	From                 time.Time `protobuf:"bytes,1,opt,name=from,proto3,stdtime" json:"from"`
	To                   time.Time `protobuf:"bytes,2,opt,name=to,proto3,stdtime" json:"to"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DailyStorageUsageRequest) Descriptor added in v0.15.0

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

func (*DailyStorageUsageRequest) GetFrom added in v0.15.0

func (m *DailyStorageUsageRequest) GetFrom() time.Time

func (*DailyStorageUsageRequest) GetTo added in v0.15.0

func (m *DailyStorageUsageRequest) GetTo() time.Time

func (*DailyStorageUsageRequest) ProtoMessage added in v0.15.0

func (*DailyStorageUsageRequest) ProtoMessage()

func (*DailyStorageUsageRequest) Reset added in v0.15.0

func (m *DailyStorageUsageRequest) Reset()

func (*DailyStorageUsageRequest) String added in v0.15.0

func (m *DailyStorageUsageRequest) String() string

func (*DailyStorageUsageRequest) XXX_DiscardUnknown added in v0.15.0

func (m *DailyStorageUsageRequest) XXX_DiscardUnknown()

func (*DailyStorageUsageRequest) XXX_Marshal added in v0.15.0

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

func (*DailyStorageUsageRequest) XXX_Merge added in v0.15.0

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

func (*DailyStorageUsageRequest) XXX_Size added in v0.15.0

func (m *DailyStorageUsageRequest) XXX_Size() int

func (*DailyStorageUsageRequest) XXX_Unmarshal added in v0.15.0

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

type DailyStorageUsageResponse added in v0.15.0

type DailyStorageUsageResponse struct {
	NodeId               NodeID                                    `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	DailyStorageUsage    []*DailyStorageUsageResponse_StorageUsage `protobuf:"bytes,2,rep,name=daily_storage_usage,json=dailyStorageUsage,proto3" json:"daily_storage_usage,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                  `json:"-"`
	XXX_unrecognized     []byte                                    `json:"-"`
	XXX_sizecache        int32                                     `json:"-"`
}

func (*DailyStorageUsageResponse) Descriptor added in v0.15.0

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

func (*DailyStorageUsageResponse) GetDailyStorageUsage added in v0.15.0

func (*DailyStorageUsageResponse) ProtoMessage added in v0.15.0

func (*DailyStorageUsageResponse) ProtoMessage()

func (*DailyStorageUsageResponse) Reset added in v0.15.0

func (m *DailyStorageUsageResponse) Reset()

func (*DailyStorageUsageResponse) String added in v0.15.0

func (m *DailyStorageUsageResponse) String() string

func (*DailyStorageUsageResponse) XXX_DiscardUnknown added in v0.15.0

func (m *DailyStorageUsageResponse) XXX_DiscardUnknown()

func (*DailyStorageUsageResponse) XXX_Marshal added in v0.15.0

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

func (*DailyStorageUsageResponse) XXX_Merge added in v0.15.0

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

func (*DailyStorageUsageResponse) XXX_Size added in v0.15.0

func (m *DailyStorageUsageResponse) XXX_Size() int

func (*DailyStorageUsageResponse) XXX_Unmarshal added in v0.15.0

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

type DailyStorageUsageResponse_StorageUsage added in v0.15.0

type DailyStorageUsageResponse_StorageUsage struct {
	AtRestTotal          float64   `protobuf:"fixed64,1,opt,name=at_rest_total,json=atRestTotal,proto3" json:"at_rest_total,omitempty"`
	Timestamp            time.Time `protobuf:"bytes,2,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DailyStorageUsageResponse_StorageUsage) Descriptor added in v0.15.0

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

func (*DailyStorageUsageResponse_StorageUsage) GetAtRestTotal added in v0.15.0

func (m *DailyStorageUsageResponse_StorageUsage) GetAtRestTotal() float64

func (*DailyStorageUsageResponse_StorageUsage) GetTimestamp added in v0.18.0

func (*DailyStorageUsageResponse_StorageUsage) ProtoMessage added in v0.15.0

func (*DailyStorageUsageResponse_StorageUsage) Reset added in v0.15.0

func (*DailyStorageUsageResponse_StorageUsage) String added in v0.15.0

func (*DailyStorageUsageResponse_StorageUsage) XXX_DiscardUnknown added in v0.15.0

func (m *DailyStorageUsageResponse_StorageUsage) XXX_DiscardUnknown()

func (*DailyStorageUsageResponse_StorageUsage) XXX_Marshal added in v0.15.0

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

func (*DailyStorageUsageResponse_StorageUsage) XXX_Merge added in v0.15.0

func (*DailyStorageUsageResponse_StorageUsage) XXX_Size added in v0.15.0

func (*DailyStorageUsageResponse_StorageUsage) XXX_Unmarshal added in v0.15.0

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

type DashboardRequest

type DashboardRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DashboardRequest) Descriptor

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

func (*DashboardRequest) ProtoMessage

func (*DashboardRequest) ProtoMessage()

func (*DashboardRequest) Reset

func (m *DashboardRequest) Reset()

func (*DashboardRequest) String

func (m *DashboardRequest) String() string

func (*DashboardRequest) XXX_DiscardUnknown

func (m *DashboardRequest) XXX_DiscardUnknown()

func (*DashboardRequest) XXX_Marshal

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

func (*DashboardRequest) XXX_Merge

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

func (*DashboardRequest) XXX_Size

func (m *DashboardRequest) XXX_Size() int

func (*DashboardRequest) XXX_Unmarshal

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

type DashboardResponse

type DashboardResponse struct {
	NodeId               NodeID               `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	NodeConnections      int64                `protobuf:"varint,2,opt,name=node_connections,json=nodeConnections,proto3" json:"node_connections,omitempty"`
	BootstrapAddress     string               `protobuf:"bytes,3,opt,name=bootstrap_address,json=bootstrapAddress,proto3" json:"bootstrap_address,omitempty"`
	InternalAddress      string               `protobuf:"bytes,4,opt,name=internal_address,json=internalAddress,proto3" json:"internal_address,omitempty"`
	ExternalAddress      string               `protobuf:"bytes,5,opt,name=external_address,json=externalAddress,proto3" json:"external_address,omitempty"`
	DashboardAddress     string               `protobuf:"bytes,6,opt,name=dashboard_address,json=dashboardAddress,proto3" json:"dashboard_address,omitempty"`
	Stats                *StatSummaryResponse `protobuf:"bytes,7,opt,name=stats,proto3" json:"stats,omitempty"`
	Uptime               *duration.Duration   `protobuf:"bytes,8,opt,name=uptime,proto3" json:"uptime,omitempty"`
	LastPinged           time.Time            `protobuf:"bytes,9,opt,name=last_pinged,json=lastPinged,proto3,stdtime" json:"last_pinged"`
	LastQueried          time.Time            `protobuf:"bytes,10,opt,name=last_queried,json=lastQueried,proto3,stdtime" json:"last_queried"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*DashboardResponse) Descriptor

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

func (*DashboardResponse) GetBootstrapAddress

func (m *DashboardResponse) GetBootstrapAddress() string

func (*DashboardResponse) GetDashboardAddress added in v0.15.0

func (m *DashboardResponse) GetDashboardAddress() string

func (*DashboardResponse) GetExternalAddress

func (m *DashboardResponse) GetExternalAddress() string

func (*DashboardResponse) GetInternalAddress

func (m *DashboardResponse) GetInternalAddress() string

func (*DashboardResponse) GetLastPinged

func (m *DashboardResponse) GetLastPinged() time.Time

func (*DashboardResponse) GetLastQueried

func (m *DashboardResponse) GetLastQueried() time.Time

func (*DashboardResponse) GetNodeConnections

func (m *DashboardResponse) GetNodeConnections() int64

func (*DashboardResponse) GetStats

func (m *DashboardResponse) GetStats() *StatSummaryResponse

func (*DashboardResponse) GetUptime

func (m *DashboardResponse) GetUptime() *duration.Duration

func (*DashboardResponse) ProtoMessage

func (*DashboardResponse) ProtoMessage()

func (*DashboardResponse) Reset

func (m *DashboardResponse) Reset()

func (*DashboardResponse) String

func (m *DashboardResponse) String() string

func (*DashboardResponse) XXX_DiscardUnknown

func (m *DashboardResponse) XXX_DiscardUnknown()

func (*DashboardResponse) XXX_Marshal

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

func (*DashboardResponse) XXX_Merge

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

func (*DashboardResponse) XXX_Size

func (m *DashboardResponse) XXX_Size() int

func (*DashboardResponse) XXX_Unmarshal

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

type DumpNodesRequest

type DumpNodesRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpNodesRequest) Descriptor

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

func (*DumpNodesRequest) ProtoMessage

func (*DumpNodesRequest) ProtoMessage()

func (*DumpNodesRequest) Reset

func (m *DumpNodesRequest) Reset()

func (*DumpNodesRequest) String

func (m *DumpNodesRequest) String() string

func (*DumpNodesRequest) XXX_DiscardUnknown

func (m *DumpNodesRequest) XXX_DiscardUnknown()

func (*DumpNodesRequest) XXX_Marshal

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

func (*DumpNodesRequest) XXX_Merge

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

func (*DumpNodesRequest) XXX_Size

func (m *DumpNodesRequest) XXX_Size() int

func (*DumpNodesRequest) XXX_Unmarshal

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

type DumpNodesResponse

type DumpNodesResponse struct {
	Nodes                []*Node  `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DumpNodesResponse) Descriptor

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

func (*DumpNodesResponse) GetNodes

func (m *DumpNodesResponse) GetNodes() []*Node

func (*DumpNodesResponse) ProtoMessage

func (*DumpNodesResponse) ProtoMessage()

func (*DumpNodesResponse) Reset

func (m *DumpNodesResponse) Reset()

func (*DumpNodesResponse) String

func (m *DumpNodesResponse) String() string

func (*DumpNodesResponse) XXX_DiscardUnknown

func (m *DumpNodesResponse) XXX_DiscardUnknown()

func (*DumpNodesResponse) XXX_Marshal

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

func (*DumpNodesResponse) XXX_Merge

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

func (*DumpNodesResponse) XXX_Size

func (m *DumpNodesResponse) XXX_Size() int

func (*DumpNodesResponse) XXX_Unmarshal

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

type EncryptionAccess added in v0.14.5

type EncryptionAccess struct {
	DefaultKey           []byte                         `protobuf:"bytes,1,opt,name=default_key,json=defaultKey,proto3" json:"default_key,omitempty"`
	StoreEntries         []*EncryptionAccess_StoreEntry `protobuf:"bytes,2,rep,name=store_entries,json=storeEntries,proto3" json:"store_entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*EncryptionAccess) Descriptor added in v0.14.5

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

func (*EncryptionAccess) GetDefaultKey added in v0.14.5

func (m *EncryptionAccess) GetDefaultKey() []byte

func (*EncryptionAccess) GetStoreEntries added in v0.14.5

func (m *EncryptionAccess) GetStoreEntries() []*EncryptionAccess_StoreEntry

func (*EncryptionAccess) ProtoMessage added in v0.14.5

func (*EncryptionAccess) ProtoMessage()

func (*EncryptionAccess) Reset added in v0.14.5

func (m *EncryptionAccess) Reset()

func (*EncryptionAccess) String added in v0.14.5

func (m *EncryptionAccess) String() string

func (*EncryptionAccess) XXX_DiscardUnknown added in v0.14.5

func (m *EncryptionAccess) XXX_DiscardUnknown()

func (*EncryptionAccess) XXX_Marshal added in v0.14.5

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

func (*EncryptionAccess) XXX_Merge added in v0.14.5

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

func (*EncryptionAccess) XXX_Size added in v0.14.5

func (m *EncryptionAccess) XXX_Size() int

func (*EncryptionAccess) XXX_Unmarshal added in v0.14.5

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

type EncryptionAccess_StoreEntry added in v0.14.5

type EncryptionAccess_StoreEntry struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	UnencryptedPath      []byte   `protobuf:"bytes,2,opt,name=unencrypted_path,json=unencryptedPath,proto3" json:"unencrypted_path,omitempty"`
	EncryptedPath        []byte   `protobuf:"bytes,3,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Key                  []byte   `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EncryptionAccess_StoreEntry) Descriptor added in v0.14.5

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

func (*EncryptionAccess_StoreEntry) GetBucket added in v0.14.5

func (m *EncryptionAccess_StoreEntry) GetBucket() []byte

func (*EncryptionAccess_StoreEntry) GetEncryptedPath added in v0.14.5

func (m *EncryptionAccess_StoreEntry) GetEncryptedPath() []byte

func (*EncryptionAccess_StoreEntry) GetKey added in v0.14.5

func (m *EncryptionAccess_StoreEntry) GetKey() []byte

func (*EncryptionAccess_StoreEntry) GetUnencryptedPath added in v0.14.5

func (m *EncryptionAccess_StoreEntry) GetUnencryptedPath() []byte

func (*EncryptionAccess_StoreEntry) ProtoMessage added in v0.14.5

func (*EncryptionAccess_StoreEntry) ProtoMessage()

func (*EncryptionAccess_StoreEntry) Reset added in v0.14.5

func (m *EncryptionAccess_StoreEntry) Reset()

func (*EncryptionAccess_StoreEntry) String added in v0.14.5

func (m *EncryptionAccess_StoreEntry) String() string

func (*EncryptionAccess_StoreEntry) XXX_DiscardUnknown added in v0.14.5

func (m *EncryptionAccess_StoreEntry) XXX_DiscardUnknown()

func (*EncryptionAccess_StoreEntry) XXX_Marshal added in v0.14.5

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

func (*EncryptionAccess_StoreEntry) XXX_Merge added in v0.14.5

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

func (*EncryptionAccess_StoreEntry) XXX_Size added in v0.14.5

func (m *EncryptionAccess_StoreEntry) XXX_Size() int

func (*EncryptionAccess_StoreEntry) XXX_Unmarshal added in v0.14.5

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

type EncryptionParameters added in v0.15.0

type EncryptionParameters struct {
	CipherSuite          CipherSuite `protobuf:"varint,1,opt,name=cipher_suite,json=cipherSuite,proto3,enum=encryption.CipherSuite" json:"cipher_suite,omitempty"`
	BlockSize            int64       `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*EncryptionParameters) Descriptor added in v0.15.0

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

func (*EncryptionParameters) GetBlockSize added in v0.15.0

func (m *EncryptionParameters) GetBlockSize() int64

func (*EncryptionParameters) GetCipherSuite added in v0.15.0

func (m *EncryptionParameters) GetCipherSuite() CipherSuite

func (*EncryptionParameters) ProtoMessage added in v0.15.0

func (*EncryptionParameters) ProtoMessage()

func (*EncryptionParameters) Reset added in v0.15.0

func (m *EncryptionParameters) Reset()

func (*EncryptionParameters) String added in v0.15.0

func (m *EncryptionParameters) String() string

func (*EncryptionParameters) XXX_DiscardUnknown added in v0.15.0

func (m *EncryptionParameters) XXX_DiscardUnknown()

func (*EncryptionParameters) XXX_Marshal added in v0.15.0

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

func (*EncryptionParameters) XXX_Merge added in v0.15.0

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

func (*EncryptionParameters) XXX_Size added in v0.15.0

func (m *EncryptionParameters) XXX_Size() int

func (*EncryptionParameters) XXX_Unmarshal added in v0.15.0

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

type FindNearRequest

type FindNearRequest struct {
	Id                   NodeID   `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	Start                NodeID   `protobuf:"bytes,2,opt,name=start,proto3,customtype=NodeID" json:"start"`
	Limit                int64    `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindNearRequest) Descriptor

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

func (*FindNearRequest) GetLimit

func (m *FindNearRequest) GetLimit() int64

func (*FindNearRequest) ProtoMessage

func (*FindNearRequest) ProtoMessage()

func (*FindNearRequest) Reset

func (m *FindNearRequest) Reset()

func (*FindNearRequest) String

func (m *FindNearRequest) String() string

func (*FindNearRequest) XXX_DiscardUnknown

func (m *FindNearRequest) XXX_DiscardUnknown()

func (*FindNearRequest) XXX_Marshal

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

func (*FindNearRequest) XXX_Merge

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

func (*FindNearRequest) XXX_Size

func (m *FindNearRequest) XXX_Size() int

func (*FindNearRequest) XXX_Unmarshal

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

type FindNearResponse

type FindNearResponse struct {
	Nodes                []*Node  `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FindNearResponse) Descriptor

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

func (*FindNearResponse) GetNodes

func (m *FindNearResponse) GetNodes() []*Node

func (*FindNearResponse) ProtoMessage

func (*FindNearResponse) ProtoMessage()

func (*FindNearResponse) Reset

func (m *FindNearResponse) Reset()

func (*FindNearResponse) String

func (m *FindNearResponse) String() string

func (*FindNearResponse) XXX_DiscardUnknown

func (m *FindNearResponse) XXX_DiscardUnknown()

func (*FindNearResponse) XXX_Marshal

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

func (*FindNearResponse) XXX_Merge

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

func (*FindNearResponse) XXX_Size

func (m *FindNearResponse) XXX_Size() int

func (*FindNearResponse) XXX_Unmarshal

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

type GetBucketListRequest added in v0.10.0

type GetBucketListRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketListRequest) Descriptor added in v0.10.0

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

func (*GetBucketListRequest) ProtoMessage added in v0.10.0

func (*GetBucketListRequest) ProtoMessage()

func (*GetBucketListRequest) Reset added in v0.10.0

func (m *GetBucketListRequest) Reset()

func (*GetBucketListRequest) String added in v0.10.0

func (m *GetBucketListRequest) String() string

func (*GetBucketListRequest) XXX_DiscardUnknown added in v0.10.0

func (m *GetBucketListRequest) XXX_DiscardUnknown()

func (*GetBucketListRequest) XXX_Marshal added in v0.10.0

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

func (*GetBucketListRequest) XXX_Merge added in v0.10.0

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

func (*GetBucketListRequest) XXX_Size added in v0.10.0

func (m *GetBucketListRequest) XXX_Size() int

func (*GetBucketListRequest) XXX_Unmarshal added in v0.10.0

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

type GetBucketListResponse added in v0.10.0

type GetBucketListResponse struct {
	Buckets              []*GetBucketListResponse_Bucket `protobuf:"bytes,1,rep,name=buckets,proto3" json:"buckets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*GetBucketListResponse) Descriptor added in v0.10.0

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

func (*GetBucketListResponse) GetBuckets added in v0.10.0

func (*GetBucketListResponse) ProtoMessage added in v0.10.0

func (*GetBucketListResponse) ProtoMessage()

func (*GetBucketListResponse) Reset added in v0.10.0

func (m *GetBucketListResponse) Reset()

func (*GetBucketListResponse) String added in v0.10.0

func (m *GetBucketListResponse) String() string

func (*GetBucketListResponse) XXX_DiscardUnknown added in v0.10.0

func (m *GetBucketListResponse) XXX_DiscardUnknown()

func (*GetBucketListResponse) XXX_Marshal added in v0.10.0

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

func (*GetBucketListResponse) XXX_Merge added in v0.10.0

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

func (*GetBucketListResponse) XXX_Size added in v0.10.0

func (m *GetBucketListResponse) XXX_Size() int

func (*GetBucketListResponse) XXX_Unmarshal added in v0.10.0

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

type GetBucketListResponse_Bucket added in v0.10.0

type GetBucketListResponse_Bucket struct {
	BucketId             NodeID   `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3,customtype=NodeID" json:"bucket_id"`
	RoutingNodes         []*Node  `protobuf:"bytes,2,rep,name=routing_nodes,json=routingNodes,proto3" json:"routing_nodes,omitempty"`
	CachedNodes          []*Node  `protobuf:"bytes,3,rep,name=cached_nodes,json=cachedNodes,proto3" json:"cached_nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketListResponse_Bucket) Descriptor added in v0.10.0

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

func (*GetBucketListResponse_Bucket) GetCachedNodes added in v0.10.0

func (m *GetBucketListResponse_Bucket) GetCachedNodes() []*Node

func (*GetBucketListResponse_Bucket) GetRoutingNodes added in v0.10.0

func (m *GetBucketListResponse_Bucket) GetRoutingNodes() []*Node

func (*GetBucketListResponse_Bucket) ProtoMessage added in v0.10.0

func (*GetBucketListResponse_Bucket) ProtoMessage()

func (*GetBucketListResponse_Bucket) Reset added in v0.10.0

func (m *GetBucketListResponse_Bucket) Reset()

func (*GetBucketListResponse_Bucket) String added in v0.10.0

func (*GetBucketListResponse_Bucket) XXX_DiscardUnknown added in v0.10.0

func (m *GetBucketListResponse_Bucket) XXX_DiscardUnknown()

func (*GetBucketListResponse_Bucket) XXX_Marshal added in v0.10.0

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

func (*GetBucketListResponse_Bucket) XXX_Merge added in v0.10.0

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

func (*GetBucketListResponse_Bucket) XXX_Size added in v0.10.0

func (m *GetBucketListResponse_Bucket) XXX_Size() int

func (*GetBucketListResponse_Bucket) XXX_Unmarshal added in v0.10.0

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

type GetBucketRequest

type GetBucketRequest struct {
	Id                   NodeID   `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetBucket

func (*GetBucketRequest) Descriptor

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

func (*GetBucketRequest) ProtoMessage

func (*GetBucketRequest) ProtoMessage()

func (*GetBucketRequest) Reset

func (m *GetBucketRequest) Reset()

func (*GetBucketRequest) String

func (m *GetBucketRequest) String() string

func (*GetBucketRequest) XXX_DiscardUnknown

func (m *GetBucketRequest) XXX_DiscardUnknown()

func (*GetBucketRequest) XXX_Marshal

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

func (*GetBucketRequest) XXX_Merge

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

func (*GetBucketRequest) XXX_Size

func (m *GetBucketRequest) XXX_Size() int

func (*GetBucketRequest) XXX_Unmarshal

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

type GetBucketResponse

type GetBucketResponse struct {
	Id                   NodeID   `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	Nodes                []*Node  `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketResponse) Descriptor

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

func (*GetBucketResponse) GetNodes

func (m *GetBucketResponse) GetNodes() []*Node

func (*GetBucketResponse) ProtoMessage

func (*GetBucketResponse) ProtoMessage()

func (*GetBucketResponse) Reset

func (m *GetBucketResponse) Reset()

func (*GetBucketResponse) String

func (m *GetBucketResponse) String() string

func (*GetBucketResponse) XXX_DiscardUnknown

func (m *GetBucketResponse) XXX_DiscardUnknown()

func (*GetBucketResponse) XXX_Marshal

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

func (*GetBucketResponse) XXX_Merge

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

func (*GetBucketResponse) XXX_Size

func (m *GetBucketResponse) XXX_Size() int

func (*GetBucketResponse) XXX_Unmarshal

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

type GetBucketsRequest

type GetBucketsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetBuckets

func (*GetBucketsRequest) Descriptor

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

func (*GetBucketsRequest) ProtoMessage

func (*GetBucketsRequest) ProtoMessage()

func (*GetBucketsRequest) Reset

func (m *GetBucketsRequest) Reset()

func (*GetBucketsRequest) String

func (m *GetBucketsRequest) String() string

func (*GetBucketsRequest) XXX_DiscardUnknown

func (m *GetBucketsRequest) XXX_DiscardUnknown()

func (*GetBucketsRequest) XXX_Marshal

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

func (*GetBucketsRequest) XXX_Merge

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

func (*GetBucketsRequest) XXX_Size

func (m *GetBucketsRequest) XXX_Size() int

func (*GetBucketsRequest) XXX_Unmarshal

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

type GetBucketsResponse

type GetBucketsResponse struct {
	Total                int64    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Ids                  []NodeID `protobuf:"bytes,2,rep,name=ids,proto3,customtype=NodeID" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetBucketsResponse) Descriptor

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

func (*GetBucketsResponse) GetTotal

func (m *GetBucketsResponse) GetTotal() int64

func (*GetBucketsResponse) ProtoMessage

func (*GetBucketsResponse) ProtoMessage()

func (*GetBucketsResponse) Reset

func (m *GetBucketsResponse) Reset()

func (*GetBucketsResponse) String

func (m *GetBucketsResponse) String() string

func (*GetBucketsResponse) XXX_DiscardUnknown

func (m *GetBucketsResponse) XXX_DiscardUnknown()

func (*GetBucketsResponse) XXX_Marshal

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

func (*GetBucketsResponse) XXX_Merge

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

func (*GetBucketsResponse) XXX_Size

func (m *GetBucketsResponse) XXX_Size() int

func (*GetBucketsResponse) XXX_Unmarshal

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

type GetStatsRequest

type GetStatsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetStatsRequest) Descriptor

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

func (*GetStatsRequest) ProtoMessage

func (*GetStatsRequest) ProtoMessage()

func (*GetStatsRequest) Reset

func (m *GetStatsRequest) Reset()

func (*GetStatsRequest) String

func (m *GetStatsRequest) String() string

func (*GetStatsRequest) XXX_DiscardUnknown

func (m *GetStatsRequest) XXX_DiscardUnknown()

func (*GetStatsRequest) XXX_Marshal

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

func (*GetStatsRequest) XXX_Merge

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

func (*GetStatsRequest) XXX_Size

func (m *GetStatsRequest) XXX_Size() int

func (*GetStatsRequest) XXX_Unmarshal

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

type GetStatsResponse

type GetStatsResponse struct {
	UptimeCheck          *ReputationStats `protobuf:"bytes,1,opt,name=uptime_check,json=uptimeCheck,proto3" json:"uptime_check,omitempty"`
	AuditCheck           *ReputationStats `protobuf:"bytes,2,opt,name=audit_check,json=auditCheck,proto3" json:"audit_check,omitempty"`
	Disqualified         *time.Time       `protobuf:"bytes,3,opt,name=disqualified,proto3,stdtime" json:"disqualified,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetStatsResponse) Descriptor

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

func (*GetStatsResponse) GetAuditCheck added in v0.15.0

func (m *GetStatsResponse) GetAuditCheck() *ReputationStats

func (*GetStatsResponse) GetDisqualified added in v0.19.0

func (m *GetStatsResponse) GetDisqualified() *time.Time

func (*GetStatsResponse) GetUptimeCheck added in v0.15.0

func (m *GetStatsResponse) GetUptimeCheck() *ReputationStats

func (*GetStatsResponse) ProtoMessage

func (*GetStatsResponse) ProtoMessage()

func (*GetStatsResponse) Reset

func (m *GetStatsResponse) Reset()

func (*GetStatsResponse) String

func (m *GetStatsResponse) String() string

func (*GetStatsResponse) XXX_DiscardUnknown

func (m *GetStatsResponse) XXX_DiscardUnknown()

func (*GetStatsResponse) XXX_Marshal

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

func (*GetStatsResponse) XXX_Merge

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

func (*GetStatsResponse) XXX_Size

func (m *GetStatsResponse) XXX_Size() int

func (*GetStatsResponse) XXX_Unmarshal

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

type HealthInspectorClient

type HealthInspectorClient interface {
	// ObjectHealth will return stats about the health of an object
	ObjectHealth(ctx context.Context, in *ObjectHealthRequest, opts ...grpc.CallOption) (*ObjectHealthResponse, error)
	// SegmentHealth will return stats about the health of a segment
	SegmentHealth(ctx context.Context, in *SegmentHealthRequest, opts ...grpc.CallOption) (*SegmentHealthResponse, error)
}

HealthInspectorClient is the client API for HealthInspector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHealthInspectorClient

func NewHealthInspectorClient(cc *grpc.ClientConn) HealthInspectorClient

type HealthInspectorServer

type HealthInspectorServer interface {
	// ObjectHealth will return stats about the health of an object
	ObjectHealth(context.Context, *ObjectHealthRequest) (*ObjectHealthResponse, error)
	// SegmentHealth will return stats about the health of a segment
	SegmentHealth(context.Context, *SegmentHealthRequest) (*SegmentHealthResponse, error)
}

HealthInspectorServer is the server API for HealthInspector service.

type InfoRequest

type InfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TODO: add fields that validate who is requesting the info

func (*InfoRequest) Descriptor

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

func (*InfoRequest) ProtoMessage

func (*InfoRequest) ProtoMessage()

func (*InfoRequest) Reset

func (m *InfoRequest) Reset()

func (*InfoRequest) String

func (m *InfoRequest) String() string

func (*InfoRequest) XXX_DiscardUnknown

func (m *InfoRequest) XXX_DiscardUnknown()

func (*InfoRequest) XXX_Marshal

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

func (*InfoRequest) XXX_Merge

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

func (*InfoRequest) XXX_Size

func (m *InfoRequest) XXX_Size() int

func (*InfoRequest) XXX_Unmarshal

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

type InfoResponse

type InfoResponse struct {
	Type                 NodeType      `protobuf:"varint,2,opt,name=type,proto3,enum=node.NodeType" json:"type,omitempty"`
	Operator             *NodeOperator `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	Capacity             *NodeCapacity `protobuf:"bytes,4,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Version              *NodeVersion  `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*InfoResponse) Descriptor

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

func (*InfoResponse) GetCapacity

func (m *InfoResponse) GetCapacity() *NodeCapacity

func (*InfoResponse) GetOperator

func (m *InfoResponse) GetOperator() *NodeOperator

func (*InfoResponse) GetType

func (m *InfoResponse) GetType() NodeType

func (*InfoResponse) GetVersion added in v0.8.1

func (m *InfoResponse) GetVersion() *NodeVersion

func (*InfoResponse) ProtoMessage

func (*InfoResponse) ProtoMessage()

func (*InfoResponse) Reset

func (m *InfoResponse) Reset()

func (*InfoResponse) String

func (m *InfoResponse) String() string

func (*InfoResponse) XXX_DiscardUnknown

func (m *InfoResponse) XXX_DiscardUnknown()

func (*InfoResponse) XXX_Marshal

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

func (*InfoResponse) XXX_Merge

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

func (*InfoResponse) XXX_Size

func (m *InfoResponse) XXX_Size() int

func (*InfoResponse) XXX_Unmarshal

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

type InjuredSegment

type InjuredSegment struct {
	Path                 []byte    `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	LostPieces           []int32   `protobuf:"varint,2,rep,packed,name=lost_pieces,json=lostPieces,proto3" json:"lost_pieces,omitempty"`
	InsertedTime         time.Time `protobuf:"bytes,3,opt,name=inserted_time,json=insertedTime,proto3,stdtime" json:"inserted_time"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

InjuredSegment is the queue item used for the data repair queue

func (*InjuredSegment) Descriptor

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

func (*InjuredSegment) GetInsertedTime added in v0.14.12

func (m *InjuredSegment) GetInsertedTime() time.Time

func (*InjuredSegment) GetLostPieces

func (m *InjuredSegment) GetLostPieces() []int32

func (*InjuredSegment) GetPath

func (m *InjuredSegment) GetPath() []byte

func (*InjuredSegment) ProtoMessage

func (*InjuredSegment) ProtoMessage()

func (*InjuredSegment) Reset

func (m *InjuredSegment) Reset()

func (*InjuredSegment) Scan

func (n *InjuredSegment) Scan(value interface{}) error

Scan implements the Scanner interface.

func (*InjuredSegment) String

func (m *InjuredSegment) String() string

func (InjuredSegment) Value

func (n InjuredSegment) Value() (driver.Value, error)

Value implements the driver Valuer interface.

func (*InjuredSegment) XXX_DiscardUnknown

func (m *InjuredSegment) XXX_DiscardUnknown()

func (*InjuredSegment) XXX_Marshal

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

func (*InjuredSegment) XXX_Merge

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

func (*InjuredSegment) XXX_Size

func (m *InjuredSegment) XXX_Size() int

func (*InjuredSegment) XXX_Unmarshal

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

type IrreparableInspectorClient

type IrreparableInspectorClient interface {
	// ListIrreparableSegments returns damaged segments
	ListIrreparableSegments(ctx context.Context, in *ListIrreparableSegmentsRequest, opts ...grpc.CallOption) (*ListIrreparableSegmentsResponse, error)
}

IrreparableInspectorClient is the client API for IrreparableInspector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewIrreparableInspectorClient

func NewIrreparableInspectorClient(cc *grpc.ClientConn) IrreparableInspectorClient

type IrreparableInspectorServer

type IrreparableInspectorServer interface {
	// ListIrreparableSegments returns damaged segments
	ListIrreparableSegments(context.Context, *ListIrreparableSegmentsRequest) (*ListIrreparableSegmentsResponse, error)
}

IrreparableInspectorServer is the server API for IrreparableInspector service.

type IrreparableSegment

type IrreparableSegment struct {
	Path                 []byte   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	SegmentDetail        *Pointer `protobuf:"bytes,2,opt,name=segment_detail,json=segmentDetail,proto3" json:"segment_detail,omitempty"`
	LostPieces           int32    `protobuf:"varint,3,opt,name=lost_pieces,json=lostPieces,proto3" json:"lost_pieces,omitempty"`
	LastRepairAttempt    int64    `protobuf:"varint,4,opt,name=last_repair_attempt,json=lastRepairAttempt,proto3" json:"last_repair_attempt,omitempty"`
	RepairAttemptCount   int64    `protobuf:"varint,5,opt,name=repair_attempt_count,json=repairAttemptCount,proto3" json:"repair_attempt_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IrreparableSegment) Descriptor

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

func (*IrreparableSegment) GetLastRepairAttempt

func (m *IrreparableSegment) GetLastRepairAttempt() int64

func (*IrreparableSegment) GetLostPieces

func (m *IrreparableSegment) GetLostPieces() int32

func (*IrreparableSegment) GetPath

func (m *IrreparableSegment) GetPath() []byte

func (*IrreparableSegment) GetRepairAttemptCount

func (m *IrreparableSegment) GetRepairAttemptCount() int64

func (*IrreparableSegment) GetSegmentDetail

func (m *IrreparableSegment) GetSegmentDetail() *Pointer

func (*IrreparableSegment) ProtoMessage

func (*IrreparableSegment) ProtoMessage()

func (*IrreparableSegment) Reset

func (m *IrreparableSegment) Reset()

func (*IrreparableSegment) String

func (m *IrreparableSegment) String() string

func (*IrreparableSegment) XXX_DiscardUnknown

func (m *IrreparableSegment) XXX_DiscardUnknown()

func (*IrreparableSegment) XXX_Marshal

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

func (*IrreparableSegment) XXX_Merge

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

func (*IrreparableSegment) XXX_Size

func (m *IrreparableSegment) XXX_Size() int

func (*IrreparableSegment) XXX_Unmarshal

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

type KadInspectorClient

type KadInspectorClient interface {
	// CountNodes returns the number of nodes in the routing table
	CountNodes(ctx context.Context, in *CountNodesRequest, opts ...grpc.CallOption) (*CountNodesResponse, error)
	// PingNode sends a PING RPC to a node and returns its availability
	PingNode(ctx context.Context, in *PingNodeRequest, opts ...grpc.CallOption) (*PingNodeResponse, error)
	// LookupNode triggers a Kademlia FindNode and returns the response
	LookupNode(ctx context.Context, in *LookupNodeRequest, opts ...grpc.CallOption) (*LookupNodeResponse, error)
	// NodeInfo sends a PING RPC to a node and returns its local info
	NodeInfo(ctx context.Context, in *NodeInfoRequest, opts ...grpc.CallOption) (*NodeInfoResponse, error)
	// FindNear returns limit number of IDs "near" the Start ID
	FindNear(ctx context.Context, in *FindNearRequest, opts ...grpc.CallOption) (*FindNearResponse, error)
	// DumpNodes returns all the nodes in the node database
	DumpNodes(ctx context.Context, in *DumpNodesRequest, opts ...grpc.CallOption) (*DumpNodesResponse, error)
	// GetBucketList returns all the buckets with all their nodes
	GetBucketList(ctx context.Context, in *GetBucketListRequest, opts ...grpc.CallOption) (*GetBucketListResponse, error)
}

KadInspectorClient is the client API for KadInspector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewKadInspectorClient

func NewKadInspectorClient(cc *grpc.ClientConn) KadInspectorClient

type KadInspectorServer

type KadInspectorServer interface {
	// CountNodes returns the number of nodes in the routing table
	CountNodes(context.Context, *CountNodesRequest) (*CountNodesResponse, error)
	// PingNode sends a PING RPC to a node and returns its availability
	PingNode(context.Context, *PingNodeRequest) (*PingNodeResponse, error)
	// LookupNode triggers a Kademlia FindNode and returns the response
	LookupNode(context.Context, *LookupNodeRequest) (*LookupNodeResponse, error)
	// NodeInfo sends a PING RPC to a node and returns its local info
	NodeInfo(context.Context, *NodeInfoRequest) (*NodeInfoResponse, error)
	// FindNear returns limit number of IDs "near" the Start ID
	FindNear(context.Context, *FindNearRequest) (*FindNearResponse, error)
	// DumpNodes returns all the nodes in the node database
	DumpNodes(context.Context, *DumpNodesRequest) (*DumpNodesResponse, error)
	// GetBucketList returns all the buckets with all their nodes
	GetBucketList(context.Context, *GetBucketListRequest) (*GetBucketListResponse, error)
}

KadInspectorServer is the server API for KadInspector service.

type ListIrreparableSegmentsRequest

type ListIrreparableSegmentsRequest struct {
	Limit                int32    `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	LastSeenSegmentPath  []byte   `protobuf:"bytes,2,opt,name=last_seen_segment_path,json=lastSeenSegmentPath,proto3" json:"last_seen_segment_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ListSegments

func (*ListIrreparableSegmentsRequest) Descriptor

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

func (*ListIrreparableSegmentsRequest) GetLastSeenSegmentPath added in v0.16.0

func (m *ListIrreparableSegmentsRequest) GetLastSeenSegmentPath() []byte

func (*ListIrreparableSegmentsRequest) GetLimit

func (m *ListIrreparableSegmentsRequest) GetLimit() int32

func (*ListIrreparableSegmentsRequest) ProtoMessage

func (*ListIrreparableSegmentsRequest) ProtoMessage()

func (*ListIrreparableSegmentsRequest) Reset

func (m *ListIrreparableSegmentsRequest) Reset()

func (*ListIrreparableSegmentsRequest) String

func (*ListIrreparableSegmentsRequest) XXX_DiscardUnknown

func (m *ListIrreparableSegmentsRequest) XXX_DiscardUnknown()

func (*ListIrreparableSegmentsRequest) XXX_Marshal

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

func (*ListIrreparableSegmentsRequest) XXX_Merge

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

func (*ListIrreparableSegmentsRequest) XXX_Size

func (m *ListIrreparableSegmentsRequest) XXX_Size() int

func (*ListIrreparableSegmentsRequest) XXX_Unmarshal

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

type ListIrreparableSegmentsResponse

type ListIrreparableSegmentsResponse struct {
	Segments             []*IrreparableSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ListIrreparableSegmentsResponse) Descriptor

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

func (*ListIrreparableSegmentsResponse) GetSegments

func (*ListIrreparableSegmentsResponse) ProtoMessage

func (*ListIrreparableSegmentsResponse) ProtoMessage()

func (*ListIrreparableSegmentsResponse) Reset

func (*ListIrreparableSegmentsResponse) String

func (*ListIrreparableSegmentsResponse) XXX_DiscardUnknown

func (m *ListIrreparableSegmentsResponse) XXX_DiscardUnknown()

func (*ListIrreparableSegmentsResponse) XXX_Marshal

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

func (*ListIrreparableSegmentsResponse) XXX_Merge

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

func (*ListIrreparableSegmentsResponse) XXX_Size

func (m *ListIrreparableSegmentsResponse) XXX_Size() int

func (*ListIrreparableSegmentsResponse) XXX_Unmarshal

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

type ListResponse

type ListResponse struct {
	Items                []*ListResponse_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	More                 bool                 `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

ListResponse is a response message for the List rpc call

func (*ListResponse) Descriptor

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

func (*ListResponse) GetItems

func (m *ListResponse) GetItems() []*ListResponse_Item

func (*ListResponse) GetMore

func (m *ListResponse) GetMore() bool

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) Reset

func (m *ListResponse) Reset()

func (*ListResponse) String

func (m *ListResponse) String() string

func (*ListResponse) XXX_DiscardUnknown

func (m *ListResponse) XXX_DiscardUnknown()

func (*ListResponse) XXX_Marshal

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

func (*ListResponse) XXX_Merge

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

func (*ListResponse) XXX_Size

func (m *ListResponse) XXX_Size() int

func (*ListResponse) XXX_Unmarshal

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

type ListResponse_Item

type ListResponse_Item struct {
	Path                 string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Pointer              *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	IsPrefix             bool     `protobuf:"varint,3,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListResponse_Item) Descriptor

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

func (*ListResponse_Item) GetIsPrefix

func (m *ListResponse_Item) GetIsPrefix() bool

func (*ListResponse_Item) GetPath

func (m *ListResponse_Item) GetPath() string

func (*ListResponse_Item) GetPointer

func (m *ListResponse_Item) GetPointer() *Pointer

func (*ListResponse_Item) ProtoMessage

func (*ListResponse_Item) ProtoMessage()

func (*ListResponse_Item) Reset

func (m *ListResponse_Item) Reset()

func (*ListResponse_Item) String

func (m *ListResponse_Item) String() string

func (*ListResponse_Item) XXX_DiscardUnknown

func (m *ListResponse_Item) XXX_DiscardUnknown()

func (*ListResponse_Item) XXX_Marshal

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

func (*ListResponse_Item) XXX_Merge

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

func (*ListResponse_Item) XXX_Size

func (m *ListResponse_Item) XXX_Size() int

func (*ListResponse_Item) XXX_Unmarshal

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

type ListSegmentsRequestOld added in v0.15.0

type ListSegmentsRequestOld struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Prefix               []byte   `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	StartAfter           []byte   `protobuf:"bytes,3,opt,name=start_after,json=startAfter,proto3" json:"start_after,omitempty"`
	EndBefore            []byte   `protobuf:"bytes,4,opt,name=end_before,json=endBefore,proto3" json:"end_before,omitempty"`
	Recursive            bool     `protobuf:"varint,5,opt,name=recursive,proto3" json:"recursive,omitempty"`
	Limit                int32    `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	MetaFlags            uint32   `protobuf:"fixed32,7,opt,name=meta_flags,json=metaFlags,proto3" json:"meta_flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListSegmentsRequestOld) Descriptor added in v0.15.0

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

func (*ListSegmentsRequestOld) GetBucket added in v0.15.0

func (m *ListSegmentsRequestOld) GetBucket() []byte

func (*ListSegmentsRequestOld) GetEndBefore added in v0.15.0

func (m *ListSegmentsRequestOld) GetEndBefore() []byte

func (*ListSegmentsRequestOld) GetLimit added in v0.15.0

func (m *ListSegmentsRequestOld) GetLimit() int32

func (*ListSegmentsRequestOld) GetMetaFlags added in v0.15.0

func (m *ListSegmentsRequestOld) GetMetaFlags() uint32

func (*ListSegmentsRequestOld) GetPrefix added in v0.15.0

func (m *ListSegmentsRequestOld) GetPrefix() []byte

func (*ListSegmentsRequestOld) GetRecursive added in v0.15.0

func (m *ListSegmentsRequestOld) GetRecursive() bool

func (*ListSegmentsRequestOld) GetStartAfter added in v0.15.0

func (m *ListSegmentsRequestOld) GetStartAfter() []byte

func (*ListSegmentsRequestOld) ProtoMessage added in v0.15.0

func (*ListSegmentsRequestOld) ProtoMessage()

func (*ListSegmentsRequestOld) Reset added in v0.15.0

func (m *ListSegmentsRequestOld) Reset()

func (*ListSegmentsRequestOld) String added in v0.15.0

func (m *ListSegmentsRequestOld) String() string

func (*ListSegmentsRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *ListSegmentsRequestOld) XXX_DiscardUnknown()

func (*ListSegmentsRequestOld) XXX_Marshal added in v0.15.0

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

func (*ListSegmentsRequestOld) XXX_Merge added in v0.15.0

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

func (*ListSegmentsRequestOld) XXX_Size added in v0.15.0

func (m *ListSegmentsRequestOld) XXX_Size() int

func (*ListSegmentsRequestOld) XXX_Unmarshal added in v0.15.0

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

type ListSegmentsResponseOld added in v0.15.0

type ListSegmentsResponseOld struct {
	Items                []*ListSegmentsResponseOld_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	More                 bool                            `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*ListSegmentsResponseOld) Descriptor added in v0.15.0

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

func (*ListSegmentsResponseOld) GetItems added in v0.15.0

func (*ListSegmentsResponseOld) GetMore added in v0.15.0

func (m *ListSegmentsResponseOld) GetMore() bool

func (*ListSegmentsResponseOld) ProtoMessage added in v0.15.0

func (*ListSegmentsResponseOld) ProtoMessage()

func (*ListSegmentsResponseOld) Reset added in v0.15.0

func (m *ListSegmentsResponseOld) Reset()

func (*ListSegmentsResponseOld) String added in v0.15.0

func (m *ListSegmentsResponseOld) String() string

func (*ListSegmentsResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *ListSegmentsResponseOld) XXX_DiscardUnknown()

func (*ListSegmentsResponseOld) XXX_Marshal added in v0.15.0

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

func (*ListSegmentsResponseOld) XXX_Merge added in v0.15.0

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

func (*ListSegmentsResponseOld) XXX_Size added in v0.15.0

func (m *ListSegmentsResponseOld) XXX_Size() int

func (*ListSegmentsResponseOld) XXX_Unmarshal added in v0.15.0

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

type ListSegmentsResponseOld_Item added in v0.15.0

type ListSegmentsResponseOld_Item struct {
	Path                 []byte   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Pointer              *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	IsPrefix             bool     `protobuf:"varint,3,opt,name=is_prefix,json=isPrefix,proto3" json:"is_prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListSegmentsResponseOld_Item) Descriptor added in v0.15.0

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

func (*ListSegmentsResponseOld_Item) GetIsPrefix added in v0.15.0

func (m *ListSegmentsResponseOld_Item) GetIsPrefix() bool

func (*ListSegmentsResponseOld_Item) GetPath added in v0.15.0

func (m *ListSegmentsResponseOld_Item) GetPath() []byte

func (*ListSegmentsResponseOld_Item) GetPointer added in v0.15.0

func (m *ListSegmentsResponseOld_Item) GetPointer() *Pointer

func (*ListSegmentsResponseOld_Item) ProtoMessage added in v0.15.0

func (*ListSegmentsResponseOld_Item) ProtoMessage()

func (*ListSegmentsResponseOld_Item) Reset added in v0.15.0

func (m *ListSegmentsResponseOld_Item) Reset()

func (*ListSegmentsResponseOld_Item) String added in v0.15.0

func (*ListSegmentsResponseOld_Item) XXX_DiscardUnknown added in v0.15.0

func (m *ListSegmentsResponseOld_Item) XXX_DiscardUnknown()

func (*ListSegmentsResponseOld_Item) XXX_Marshal added in v0.15.0

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

func (*ListSegmentsResponseOld_Item) XXX_Merge added in v0.15.0

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

func (*ListSegmentsResponseOld_Item) XXX_Size added in v0.15.0

func (m *ListSegmentsResponseOld_Item) XXX_Size() int

func (*ListSegmentsResponseOld_Item) XXX_Unmarshal added in v0.15.0

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

type LookupNodeRequest

type LookupNodeRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LookupNodeRequest) Descriptor

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

func (*LookupNodeRequest) GetAddress

func (m *LookupNodeRequest) GetAddress() string

func (*LookupNodeRequest) GetId

func (m *LookupNodeRequest) GetId() string

func (*LookupNodeRequest) ProtoMessage

func (*LookupNodeRequest) ProtoMessage()

func (*LookupNodeRequest) Reset

func (m *LookupNodeRequest) Reset()

func (*LookupNodeRequest) String

func (m *LookupNodeRequest) String() string

func (*LookupNodeRequest) XXX_DiscardUnknown

func (m *LookupNodeRequest) XXX_DiscardUnknown()

func (*LookupNodeRequest) XXX_Marshal

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

func (*LookupNodeRequest) XXX_Merge

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

func (*LookupNodeRequest) XXX_Size

func (m *LookupNodeRequest) XXX_Size() int

func (*LookupNodeRequest) XXX_Unmarshal

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

type LookupNodeResponse

type LookupNodeResponse struct {
	Node                 *Node         `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	Meta                 *NodeMetadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*LookupNodeResponse) Descriptor

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

func (*LookupNodeResponse) GetMeta

func (m *LookupNodeResponse) GetMeta() *NodeMetadata

func (*LookupNodeResponse) GetNode

func (m *LookupNodeResponse) GetNode() *Node

func (*LookupNodeResponse) ProtoMessage

func (*LookupNodeResponse) ProtoMessage()

func (*LookupNodeResponse) Reset

func (m *LookupNodeResponse) Reset()

func (*LookupNodeResponse) String

func (m *LookupNodeResponse) String() string

func (*LookupNodeResponse) XXX_DiscardUnknown

func (m *LookupNodeResponse) XXX_DiscardUnknown()

func (*LookupNodeResponse) XXX_Marshal

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

func (*LookupNodeResponse) XXX_Merge

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

func (*LookupNodeResponse) XXX_Size

func (m *LookupNodeResponse) XXX_Size() int

func (*LookupNodeResponse) XXX_Unmarshal

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

type MetainfoClient

type MetainfoClient interface {
	// Bucket
	CreateBucket(ctx context.Context, in *BucketCreateRequest, opts ...grpc.CallOption) (*BucketCreateResponse, error)
	GetBucket(ctx context.Context, in *BucketGetRequest, opts ...grpc.CallOption) (*BucketGetResponse, error)
	DeleteBucket(ctx context.Context, in *BucketDeleteRequest, opts ...grpc.CallOption) (*BucketDeleteResponse, error)
	ListBuckets(ctx context.Context, in *BucketListRequest, opts ...grpc.CallOption) (*BucketListResponse, error)
	SetBucketAttribution(ctx context.Context, in *BucketSetAttributionRequest, opts ...grpc.CallOption) (*BucketSetAttributionResponse, error)
	// Object
	BeginObject(ctx context.Context, in *ObjectBeginRequest, opts ...grpc.CallOption) (*ObjectBeginResponse, error)
	CommitObject(ctx context.Context, in *ObjectCommitRequest, opts ...grpc.CallOption) (*ObjectCommitResponse, error)
	GetObject(ctx context.Context, in *ObjectGetRequest, opts ...grpc.CallOption) (*ObjectGetResponse, error)
	ListObjects(ctx context.Context, in *ObjectListRequest, opts ...grpc.CallOption) (*ObjectListResponse, error)
	BeginDeleteObject(ctx context.Context, in *ObjectBeginDeleteRequest, opts ...grpc.CallOption) (*ObjectBeginDeleteResponse, error)
	FinishDeleteObject(ctx context.Context, in *ObjectFinishDeleteRequest, opts ...grpc.CallOption) (*ObjectFinishDeleteResponse, error)
	BeginSegment(ctx context.Context, in *SegmentBeginRequest, opts ...grpc.CallOption) (*SegmentBeginResponse, error)
	CommitSegment(ctx context.Context, in *SegmentCommitRequest, opts ...grpc.CallOption) (*SegmentCommitResponse, error)
	MakeInlineSegment(ctx context.Context, in *SegmentMakeInlineRequest, opts ...grpc.CallOption) (*SegmentMakeInlineResponse, error)
	BeginDeleteSegment(ctx context.Context, in *SegmentBeginDeleteRequest, opts ...grpc.CallOption) (*SegmentBeginDeleteResponse, error)
	FinishDeleteSegment(ctx context.Context, in *SegmentFinishDeleteRequest, opts ...grpc.CallOption) (*SegmentFinishDeleteResponse, error)
	ListSegments(ctx context.Context, in *SegmentListRequest, opts ...grpc.CallOption) (*SegmentListResponse, error)
	DownloadSegment(ctx context.Context, in *SegmentDownloadRequest, opts ...grpc.CallOption) (*SegmentDownloadResponse, error)
	Batch(ctx context.Context, in *BatchRequest, opts ...grpc.CallOption) (*BatchResponse, error)
	CreateSegmentOld(ctx context.Context, in *SegmentWriteRequestOld, opts ...grpc.CallOption) (*SegmentWriteResponseOld, error)
	CommitSegmentOld(ctx context.Context, in *SegmentCommitRequestOld, opts ...grpc.CallOption) (*SegmentCommitResponseOld, error)
	SegmentInfoOld(ctx context.Context, in *SegmentInfoRequestOld, opts ...grpc.CallOption) (*SegmentInfoResponseOld, error)
	DownloadSegmentOld(ctx context.Context, in *SegmentDownloadRequestOld, opts ...grpc.CallOption) (*SegmentDownloadResponseOld, error)
	DeleteSegmentOld(ctx context.Context, in *SegmentDeleteRequestOld, opts ...grpc.CallOption) (*SegmentDeleteResponseOld, error)
	ListSegmentsOld(ctx context.Context, in *ListSegmentsRequestOld, opts ...grpc.CallOption) (*ListSegmentsResponseOld, error)
	SetAttributionOld(ctx context.Context, in *SetAttributionRequestOld, opts ...grpc.CallOption) (*SetAttributionResponseOld, error)
	ProjectInfo(ctx context.Context, in *ProjectInfoRequest, opts ...grpc.CallOption) (*ProjectInfoResponse, error)
}

MetainfoClient is the client API for Metainfo service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMetainfoClient

func NewMetainfoClient(cc *grpc.ClientConn) MetainfoClient

type MetainfoServer

type MetainfoServer interface {
	// Bucket
	CreateBucket(context.Context, *BucketCreateRequest) (*BucketCreateResponse, error)
	GetBucket(context.Context, *BucketGetRequest) (*BucketGetResponse, error)
	DeleteBucket(context.Context, *BucketDeleteRequest) (*BucketDeleteResponse, error)
	ListBuckets(context.Context, *BucketListRequest) (*BucketListResponse, error)
	SetBucketAttribution(context.Context, *BucketSetAttributionRequest) (*BucketSetAttributionResponse, error)
	// Object
	BeginObject(context.Context, *ObjectBeginRequest) (*ObjectBeginResponse, error)
	CommitObject(context.Context, *ObjectCommitRequest) (*ObjectCommitResponse, error)
	GetObject(context.Context, *ObjectGetRequest) (*ObjectGetResponse, error)
	ListObjects(context.Context, *ObjectListRequest) (*ObjectListResponse, error)
	BeginDeleteObject(context.Context, *ObjectBeginDeleteRequest) (*ObjectBeginDeleteResponse, error)
	FinishDeleteObject(context.Context, *ObjectFinishDeleteRequest) (*ObjectFinishDeleteResponse, error)
	BeginSegment(context.Context, *SegmentBeginRequest) (*SegmentBeginResponse, error)
	CommitSegment(context.Context, *SegmentCommitRequest) (*SegmentCommitResponse, error)
	MakeInlineSegment(context.Context, *SegmentMakeInlineRequest) (*SegmentMakeInlineResponse, error)
	BeginDeleteSegment(context.Context, *SegmentBeginDeleteRequest) (*SegmentBeginDeleteResponse, error)
	FinishDeleteSegment(context.Context, *SegmentFinishDeleteRequest) (*SegmentFinishDeleteResponse, error)
	ListSegments(context.Context, *SegmentListRequest) (*SegmentListResponse, error)
	DownloadSegment(context.Context, *SegmentDownloadRequest) (*SegmentDownloadResponse, error)
	Batch(context.Context, *BatchRequest) (*BatchResponse, error)
	CreateSegmentOld(context.Context, *SegmentWriteRequestOld) (*SegmentWriteResponseOld, error)
	CommitSegmentOld(context.Context, *SegmentCommitRequestOld) (*SegmentCommitResponseOld, error)
	SegmentInfoOld(context.Context, *SegmentInfoRequestOld) (*SegmentInfoResponseOld, error)
	DownloadSegmentOld(context.Context, *SegmentDownloadRequestOld) (*SegmentDownloadResponseOld, error)
	DeleteSegmentOld(context.Context, *SegmentDeleteRequestOld) (*SegmentDeleteResponseOld, error)
	ListSegmentsOld(context.Context, *ListSegmentsRequestOld) (*ListSegmentsResponseOld, error)
	SetAttributionOld(context.Context, *SetAttributionRequestOld) (*SetAttributionResponseOld, error)
	ProjectInfo(context.Context, *ProjectInfoRequest) (*ProjectInfoResponse, error)
}

MetainfoServer is the server API for Metainfo service.

type Node

type Node struct {
	Id                   NodeID       `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	Address              *NodeAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	LastIp               string       `protobuf:"bytes,14,opt,name=last_ip,json=lastIp,proto3" json:"last_ip,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

TODO move statdb.Update() stuff out of here Node represents a node in the overlay network Node is info for a updating a single storagenode, used in the Update rpc calls

func CopyNode

func CopyNode(src *Node) (dst *Node)

CopyNode returns a deep copy of a node It would be better to use `proto.Clone` but it is curently incompatible with gogo's customtype extension. (see https://github.com/gogo/protobuf/issues/147)

func (*Node) Descriptor

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

func (*Node) GetAddress

func (m *Node) GetAddress() *NodeAddress

func (*Node) GetLastIp added in v0.12.0

func (m *Node) GetLastIp() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

type NodeAddress

type NodeAddress struct {
	Transport            NodeTransport `protobuf:"varint,1,opt,name=transport,proto3,enum=node.NodeTransport" json:"transport,omitempty"`
	Address              string        `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

NodeAddress contains the information needed to communicate with a node on the network

func (*NodeAddress) Descriptor

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

func (*NodeAddress) GetAddress

func (m *NodeAddress) GetAddress() string

func (*NodeAddress) GetTransport

func (m *NodeAddress) GetTransport() NodeTransport

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) String

func (m *NodeAddress) String() string

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

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

func (*NodeAddress) XXX_Merge

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

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

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

type NodeCapacity

type NodeCapacity struct {
	FreeBandwidth        int64    `protobuf:"varint,1,opt,name=free_bandwidth,json=freeBandwidth,proto3" json:"free_bandwidth,omitempty"`
	FreeDisk             int64    `protobuf:"varint,2,opt,name=free_disk,json=freeDisk,proto3" json:"free_disk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

NodeCapacity contains all relevant data about a nodes ability to store data

func (*NodeCapacity) Descriptor

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

func (*NodeCapacity) GetFreeBandwidth

func (m *NodeCapacity) GetFreeBandwidth() int64

func (*NodeCapacity) GetFreeDisk

func (m *NodeCapacity) GetFreeDisk() int64

func (*NodeCapacity) ProtoMessage

func (*NodeCapacity) ProtoMessage()

func (*NodeCapacity) Reset

func (m *NodeCapacity) Reset()

func (*NodeCapacity) String

func (m *NodeCapacity) String() string

func (*NodeCapacity) XXX_DiscardUnknown

func (m *NodeCapacity) XXX_DiscardUnknown()

func (*NodeCapacity) XXX_Marshal

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

func (*NodeCapacity) XXX_Merge

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

func (*NodeCapacity) XXX_Size

func (m *NodeCapacity) XXX_Size() int

func (*NodeCapacity) XXX_Unmarshal

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

type NodeID

type NodeID = storj.NodeID

NodeID is an alias to storj.NodeID for use in generated protobuf code

type NodeIDList

type NodeIDList = storj.NodeIDList

NodeIDList is an alias to storj.NodeIDList for use in generated protobuf code

type NodeInfoRequest

type NodeInfoRequest struct {
	Id                   NodeID       `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	Address              *NodeAddress `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*NodeInfoRequest) Descriptor

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

func (*NodeInfoRequest) GetAddress

func (m *NodeInfoRequest) GetAddress() *NodeAddress

func (*NodeInfoRequest) ProtoMessage

func (*NodeInfoRequest) ProtoMessage()

func (*NodeInfoRequest) Reset

func (m *NodeInfoRequest) Reset()

func (*NodeInfoRequest) String

func (m *NodeInfoRequest) String() string

func (*NodeInfoRequest) XXX_DiscardUnknown

func (m *NodeInfoRequest) XXX_DiscardUnknown()

func (*NodeInfoRequest) XXX_Marshal

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

func (*NodeInfoRequest) XXX_Merge

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

func (*NodeInfoRequest) XXX_Size

func (m *NodeInfoRequest) XXX_Size() int

func (*NodeInfoRequest) XXX_Unmarshal

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

type NodeInfoResponse

type NodeInfoResponse struct {
	Type                 NodeType      `protobuf:"varint,1,opt,name=type,proto3,enum=node.NodeType" json:"type,omitempty"`
	Operator             *NodeOperator `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"`
	Capacity             *NodeCapacity `protobuf:"bytes,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Version              *NodeVersion  `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*NodeInfoResponse) Descriptor

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

func (*NodeInfoResponse) GetCapacity

func (m *NodeInfoResponse) GetCapacity() *NodeCapacity

func (*NodeInfoResponse) GetOperator

func (m *NodeInfoResponse) GetOperator() *NodeOperator

func (*NodeInfoResponse) GetType

func (m *NodeInfoResponse) GetType() NodeType

func (*NodeInfoResponse) GetVersion added in v0.9.0

func (m *NodeInfoResponse) GetVersion() *NodeVersion

func (*NodeInfoResponse) ProtoMessage

func (*NodeInfoResponse) ProtoMessage()

func (*NodeInfoResponse) Reset

func (m *NodeInfoResponse) Reset()

func (*NodeInfoResponse) String

func (m *NodeInfoResponse) String() string

func (*NodeInfoResponse) XXX_DiscardUnknown

func (m *NodeInfoResponse) XXX_DiscardUnknown()

func (*NodeInfoResponse) XXX_Marshal

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

func (*NodeInfoResponse) XXX_Merge

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

func (*NodeInfoResponse) XXX_Size

func (m *NodeInfoResponse) XXX_Size() int

func (*NodeInfoResponse) XXX_Unmarshal

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

type NodeMetadata deprecated

type NodeMetadata struct {
	Email                string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Wallet               string   `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: use NodeOperator instead

func (*NodeMetadata) Descriptor

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

func (*NodeMetadata) GetEmail

func (m *NodeMetadata) GetEmail() string

func (*NodeMetadata) GetWallet

func (m *NodeMetadata) GetWallet() string

func (*NodeMetadata) ProtoMessage

func (*NodeMetadata) ProtoMessage()

func (*NodeMetadata) Reset

func (m *NodeMetadata) Reset()

func (*NodeMetadata) String

func (m *NodeMetadata) String() string

func (*NodeMetadata) XXX_DiscardUnknown

func (m *NodeMetadata) XXX_DiscardUnknown()

func (*NodeMetadata) XXX_Marshal

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

func (*NodeMetadata) XXX_Merge

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

func (*NodeMetadata) XXX_Size

func (m *NodeMetadata) XXX_Size() int

func (*NodeMetadata) XXX_Unmarshal

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

type NodeOperator

type NodeOperator struct {
	Email                string   `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Wallet               string   `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

NodeOperator contains info about the storage node operator

func (*NodeOperator) Descriptor

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

func (*NodeOperator) GetEmail

func (m *NodeOperator) GetEmail() string

func (*NodeOperator) GetWallet

func (m *NodeOperator) GetWallet() string

func (*NodeOperator) ProtoMessage

func (*NodeOperator) ProtoMessage()

func (*NodeOperator) Reset

func (m *NodeOperator) Reset()

func (*NodeOperator) String

func (m *NodeOperator) String() string

func (*NodeOperator) XXX_DiscardUnknown

func (m *NodeOperator) XXX_DiscardUnknown()

func (*NodeOperator) XXX_Marshal

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

func (*NodeOperator) XXX_Merge

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

func (*NodeOperator) XXX_Size

func (m *NodeOperator) XXX_Size() int

func (*NodeOperator) XXX_Unmarshal

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

type NodeRestrictions deprecated

type NodeRestrictions struct {
	FreeBandwidth        int64    `protobuf:"varint,1,opt,name=free_bandwidth,json=freeBandwidth,proto3" json:"free_bandwidth,omitempty"`
	FreeDisk             int64    `protobuf:"varint,2,opt,name=free_disk,json=freeDisk,proto3" json:"free_disk,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Deprecated: use NodeCapacity instead

func (*NodeRestrictions) Descriptor

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

func (*NodeRestrictions) GetFreeBandwidth

func (m *NodeRestrictions) GetFreeBandwidth() int64

func (*NodeRestrictions) GetFreeDisk

func (m *NodeRestrictions) GetFreeDisk() int64

func (*NodeRestrictions) ProtoMessage

func (*NodeRestrictions) ProtoMessage()

func (*NodeRestrictions) Reset

func (m *NodeRestrictions) Reset()

func (*NodeRestrictions) String

func (m *NodeRestrictions) String() string

func (*NodeRestrictions) XXX_DiscardUnknown

func (m *NodeRestrictions) XXX_DiscardUnknown()

func (*NodeRestrictions) XXX_Marshal

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

func (*NodeRestrictions) XXX_Merge

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

func (*NodeRestrictions) XXX_Size

func (m *NodeRestrictions) XXX_Size() int

func (*NodeRestrictions) XXX_Unmarshal

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

type NodeStatsClient added in v0.15.0

type NodeStatsClient interface {
	GetStats(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (*GetStatsResponse, error)
	DailyStorageUsage(ctx context.Context, in *DailyStorageUsageRequest, opts ...grpc.CallOption) (*DailyStorageUsageResponse, error)
}

NodeStatsClient is the client API for NodeStats service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNodeStatsClient added in v0.15.0

func NewNodeStatsClient(cc *grpc.ClientConn) NodeStatsClient

type NodeStatsServer added in v0.15.0

type NodeStatsServer interface {
	GetStats(context.Context, *GetStatsRequest) (*GetStatsResponse, error)
	DailyStorageUsage(context.Context, *DailyStorageUsageRequest) (*DailyStorageUsageResponse, error)
}

NodeStatsServer is the server API for NodeStats service.

type NodeTransport

type NodeTransport int32

NodeTransport is an enum of possible transports for the overlay network

const (
	NodeTransport_TCP_TLS_GRPC NodeTransport = 0
)

func (NodeTransport) EnumDescriptor

func (NodeTransport) EnumDescriptor() ([]byte, []int)

func (NodeTransport) String

func (x NodeTransport) String() string

type NodeType

type NodeType int32

NodeType is an enum of possible node types

const (
	NodeType_INVALID   NodeType = 0
	NodeType_SATELLITE NodeType = 1
	NodeType_STORAGE   NodeType = 2
	NodeType_UPLINK    NodeType = 3
	NodeType_BOOTSTRAP NodeType = 4
)

func (NodeType) EnumDescriptor

func (NodeType) EnumDescriptor() ([]byte, []int)

func (NodeType) String

func (x NodeType) String() string

type NodeVersion added in v0.8.1

type NodeVersion struct {
	Version              string    `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	CommitHash           string    `protobuf:"bytes,2,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
	Timestamp            time.Time `protobuf:"bytes,3,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
	Release              bool      `protobuf:"varint,4,opt,name=release,proto3" json:"release,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

NodeVersion contains

func (*NodeVersion) Descriptor added in v0.8.1

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

func (*NodeVersion) GetCommitHash added in v0.8.1

func (m *NodeVersion) GetCommitHash() string

func (*NodeVersion) GetRelease added in v0.8.1

func (m *NodeVersion) GetRelease() bool

func (*NodeVersion) GetTimestamp added in v0.8.1

func (m *NodeVersion) GetTimestamp() time.Time

func (*NodeVersion) GetVersion added in v0.8.1

func (m *NodeVersion) GetVersion() string

func (*NodeVersion) ProtoMessage added in v0.8.1

func (*NodeVersion) ProtoMessage()

func (*NodeVersion) Reset added in v0.8.1

func (m *NodeVersion) Reset()

func (*NodeVersion) String added in v0.8.1

func (m *NodeVersion) String() string

func (*NodeVersion) XXX_DiscardUnknown added in v0.8.1

func (m *NodeVersion) XXX_DiscardUnknown()

func (*NodeVersion) XXX_Marshal added in v0.8.1

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

func (*NodeVersion) XXX_Merge added in v0.8.1

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

func (*NodeVersion) XXX_Size added in v0.8.1

func (m *NodeVersion) XXX_Size() int

func (*NodeVersion) XXX_Unmarshal added in v0.8.1

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

type NodesClient

type NodesClient interface {
	Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
	Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error)
	RequestInfo(ctx context.Context, in *InfoRequest, opts ...grpc.CallOption) (*InfoResponse, error)
}

NodesClient is the client API for Nodes service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNodesClient

func NewNodesClient(cc *grpc.ClientConn) NodesClient

type NodesServer

type NodesServer interface {
	Query(context.Context, *QueryRequest) (*QueryResponse, error)
	Ping(context.Context, *PingRequest) (*PingResponse, error)
	RequestInfo(context.Context, *InfoRequest) (*InfoResponse, error)
}

NodesServer is the server API for Nodes service.

type Nonce added in v0.16.0

type Nonce = storj.Nonce

Nonce is an alias to storj.Nonce for use in generated protobuf code

type Object added in v0.16.0

type Object struct {
	Bucket                 []byte                `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath          []byte                `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version                int32                 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Status                 Object_Status         `protobuf:"varint,4,opt,name=status,proto3,enum=metainfo.Object_Status" json:"status,omitempty"`
	StreamId               StreamID              `protobuf:"bytes,5,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	CreatedAt              time.Time             `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	StatusAt               time.Time             `protobuf:"bytes,7,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
	ExpiresAt              time.Time             `protobuf:"bytes,8,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
	EncryptedMetadataNonce Nonce                 `` /* 136-byte string literal not displayed */
	EncryptedMetadata      []byte                `protobuf:"bytes,10,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
	FixedSegmentSize       int64                 `protobuf:"varint,11,opt,name=fixed_segment_size,json=fixedSegmentSize,proto3" json:"fixed_segment_size,omitempty"`
	RedundancyScheme       *RedundancyScheme     `protobuf:"bytes,12,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
	EncryptionParameters   *EncryptionParameters `protobuf:"bytes,13,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	TotalSize              int64                 `protobuf:"varint,14,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	InlineSize             int64                 `protobuf:"varint,15,opt,name=inline_size,json=inlineSize,proto3" json:"inline_size,omitempty"`
	RemoteSize             int64                 `protobuf:"varint,16,opt,name=remote_size,json=remoteSize,proto3" json:"remote_size,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}              `json:"-"`
	XXX_unrecognized       []byte                `json:"-"`
	XXX_sizecache          int32                 `json:"-"`
}

func (*Object) Descriptor added in v0.16.0

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

func (*Object) GetBucket added in v0.16.0

func (m *Object) GetBucket() []byte

func (*Object) GetCreatedAt added in v0.16.0

func (m *Object) GetCreatedAt() time.Time

func (*Object) GetEncryptedMetadata added in v0.16.0

func (m *Object) GetEncryptedMetadata() []byte

func (*Object) GetEncryptedPath added in v0.16.0

func (m *Object) GetEncryptedPath() []byte

func (*Object) GetEncryptionParameters added in v0.16.0

func (m *Object) GetEncryptionParameters() *EncryptionParameters

func (*Object) GetExpiresAt added in v0.16.0

func (m *Object) GetExpiresAt() time.Time

func (*Object) GetFixedSegmentSize added in v0.16.0

func (m *Object) GetFixedSegmentSize() int64

func (*Object) GetInlineSize added in v0.16.0

func (m *Object) GetInlineSize() int64

func (*Object) GetRedundancyScheme added in v0.16.0

func (m *Object) GetRedundancyScheme() *RedundancyScheme

func (*Object) GetRemoteSize added in v0.16.0

func (m *Object) GetRemoteSize() int64

func (*Object) GetStatus added in v0.16.0

func (m *Object) GetStatus() Object_Status

func (*Object) GetStatusAt added in v0.16.0

func (m *Object) GetStatusAt() time.Time

func (*Object) GetTotalSize added in v0.16.0

func (m *Object) GetTotalSize() int64

func (*Object) GetVersion added in v0.16.0

func (m *Object) GetVersion() int32

func (*Object) ProtoMessage added in v0.16.0

func (*Object) ProtoMessage()

func (*Object) Reset added in v0.16.0

func (m *Object) Reset()

func (*Object) String added in v0.16.0

func (m *Object) String() string

func (*Object) XXX_DiscardUnknown added in v0.16.0

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal added in v0.16.0

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

func (*Object) XXX_Merge added in v0.16.0

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

func (*Object) XXX_Size added in v0.16.0

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal added in v0.16.0

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

type ObjectBeginDeleteRequest added in v0.16.0

type ObjectBeginDeleteRequest struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte   `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version              int32    `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectBeginDeleteRequest) Descriptor added in v0.16.0

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

func (*ObjectBeginDeleteRequest) GetBucket added in v0.16.0

func (m *ObjectBeginDeleteRequest) GetBucket() []byte

func (*ObjectBeginDeleteRequest) GetEncryptedPath added in v0.16.0

func (m *ObjectBeginDeleteRequest) GetEncryptedPath() []byte

func (*ObjectBeginDeleteRequest) GetVersion added in v0.16.0

func (m *ObjectBeginDeleteRequest) GetVersion() int32

func (*ObjectBeginDeleteRequest) ProtoMessage added in v0.16.0

func (*ObjectBeginDeleteRequest) ProtoMessage()

func (*ObjectBeginDeleteRequest) Reset added in v0.16.0

func (m *ObjectBeginDeleteRequest) Reset()

func (*ObjectBeginDeleteRequest) String added in v0.16.0

func (m *ObjectBeginDeleteRequest) String() string

func (*ObjectBeginDeleteRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectBeginDeleteRequest) XXX_DiscardUnknown()

func (*ObjectBeginDeleteRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectBeginDeleteRequest) XXX_Merge added in v0.16.0

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

func (*ObjectBeginDeleteRequest) XXX_Size added in v0.16.0

func (m *ObjectBeginDeleteRequest) XXX_Size() int

func (*ObjectBeginDeleteRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectBeginDeleteResponse added in v0.16.0

type ObjectBeginDeleteResponse struct {
	StreamId             StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectBeginDeleteResponse) Descriptor added in v0.16.0

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

func (*ObjectBeginDeleteResponse) ProtoMessage added in v0.16.0

func (*ObjectBeginDeleteResponse) ProtoMessage()

func (*ObjectBeginDeleteResponse) Reset added in v0.16.0

func (m *ObjectBeginDeleteResponse) Reset()

func (*ObjectBeginDeleteResponse) String added in v0.16.0

func (m *ObjectBeginDeleteResponse) String() string

func (*ObjectBeginDeleteResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectBeginDeleteResponse) XXX_DiscardUnknown()

func (*ObjectBeginDeleteResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectBeginDeleteResponse) XXX_Merge added in v0.16.0

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

func (*ObjectBeginDeleteResponse) XXX_Size added in v0.16.0

func (m *ObjectBeginDeleteResponse) XXX_Size() int

func (*ObjectBeginDeleteResponse) XXX_Unmarshal added in v0.16.0

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

type ObjectBeginRequest added in v0.16.0

type ObjectBeginRequest struct {
	Bucket               []byte                `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte                `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version              int32                 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	ExpiresAt            time.Time             `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
	RedundancyScheme     *RedundancyScheme     `protobuf:"bytes,7,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
	EncryptionParameters *EncryptionParameters `protobuf:"bytes,8,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ObjectBeginRequest) Descriptor added in v0.16.0

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

func (*ObjectBeginRequest) GetBucket added in v0.16.0

func (m *ObjectBeginRequest) GetBucket() []byte

func (*ObjectBeginRequest) GetEncryptedPath added in v0.16.0

func (m *ObjectBeginRequest) GetEncryptedPath() []byte

func (*ObjectBeginRequest) GetEncryptionParameters added in v0.16.0

func (m *ObjectBeginRequest) GetEncryptionParameters() *EncryptionParameters

func (*ObjectBeginRequest) GetExpiresAt added in v0.16.0

func (m *ObjectBeginRequest) GetExpiresAt() time.Time

func (*ObjectBeginRequest) GetRedundancyScheme added in v0.16.0

func (m *ObjectBeginRequest) GetRedundancyScheme() *RedundancyScheme

func (*ObjectBeginRequest) GetVersion added in v0.16.0

func (m *ObjectBeginRequest) GetVersion() int32

func (*ObjectBeginRequest) ProtoMessage added in v0.16.0

func (*ObjectBeginRequest) ProtoMessage()

func (*ObjectBeginRequest) Reset added in v0.16.0

func (m *ObjectBeginRequest) Reset()

func (*ObjectBeginRequest) String added in v0.16.0

func (m *ObjectBeginRequest) String() string

func (*ObjectBeginRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectBeginRequest) XXX_DiscardUnknown()

func (*ObjectBeginRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectBeginRequest) XXX_Merge added in v0.16.0

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

func (*ObjectBeginRequest) XXX_Size added in v0.16.0

func (m *ObjectBeginRequest) XXX_Size() int

func (*ObjectBeginRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectBeginResponse added in v0.16.0

type ObjectBeginResponse struct {
	Bucket               []byte                `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte                `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version              int32                 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	StreamId             StreamID              `protobuf:"bytes,4,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	RedundancyScheme     *RedundancyScheme     `protobuf:"bytes,5,opt,name=redundancy_scheme,json=redundancyScheme,proto3" json:"redundancy_scheme,omitempty"`
	EncryptionParameters *EncryptionParameters `protobuf:"bytes,6,opt,name=encryption_parameters,json=encryptionParameters,proto3" json:"encryption_parameters,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ObjectBeginResponse) Descriptor added in v0.16.0

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

func (*ObjectBeginResponse) GetBucket added in v0.16.0

func (m *ObjectBeginResponse) GetBucket() []byte

func (*ObjectBeginResponse) GetEncryptedPath added in v0.16.0

func (m *ObjectBeginResponse) GetEncryptedPath() []byte

func (*ObjectBeginResponse) GetEncryptionParameters added in v0.16.0

func (m *ObjectBeginResponse) GetEncryptionParameters() *EncryptionParameters

func (*ObjectBeginResponse) GetRedundancyScheme added in v0.16.0

func (m *ObjectBeginResponse) GetRedundancyScheme() *RedundancyScheme

func (*ObjectBeginResponse) GetVersion added in v0.16.0

func (m *ObjectBeginResponse) GetVersion() int32

func (*ObjectBeginResponse) ProtoMessage added in v0.16.0

func (*ObjectBeginResponse) ProtoMessage()

func (*ObjectBeginResponse) Reset added in v0.16.0

func (m *ObjectBeginResponse) Reset()

func (*ObjectBeginResponse) String added in v0.16.0

func (m *ObjectBeginResponse) String() string

func (*ObjectBeginResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectBeginResponse) XXX_DiscardUnknown()

func (*ObjectBeginResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectBeginResponse) XXX_Merge added in v0.16.0

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

func (*ObjectBeginResponse) XXX_Size added in v0.16.0

func (m *ObjectBeginResponse) XXX_Size() int

func (*ObjectBeginResponse) XXX_Unmarshal added in v0.16.0

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

type ObjectCommitRequest added in v0.16.0

type ObjectCommitRequest struct {
	StreamId               StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	EncryptedMetadataNonce Nonce    `` /* 136-byte string literal not displayed */
	EncryptedMetadata      []byte   `protobuf:"bytes,3,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
	XXX_NoUnkeyedLiteral   struct{} `json:"-"`
	XXX_unrecognized       []byte   `json:"-"`
	XXX_sizecache          int32    `json:"-"`
}

func (*ObjectCommitRequest) Descriptor added in v0.16.0

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

func (*ObjectCommitRequest) GetEncryptedMetadata added in v0.17.0

func (m *ObjectCommitRequest) GetEncryptedMetadata() []byte

func (*ObjectCommitRequest) ProtoMessage added in v0.16.0

func (*ObjectCommitRequest) ProtoMessage()

func (*ObjectCommitRequest) Reset added in v0.16.0

func (m *ObjectCommitRequest) Reset()

func (*ObjectCommitRequest) String added in v0.16.0

func (m *ObjectCommitRequest) String() string

func (*ObjectCommitRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectCommitRequest) XXX_DiscardUnknown()

func (*ObjectCommitRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectCommitRequest) XXX_Merge added in v0.16.0

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

func (*ObjectCommitRequest) XXX_Size added in v0.16.0

func (m *ObjectCommitRequest) XXX_Size() int

func (*ObjectCommitRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectCommitResponse added in v0.16.0

type ObjectCommitResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectCommitResponse) Descriptor added in v0.16.0

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

func (*ObjectCommitResponse) ProtoMessage added in v0.16.0

func (*ObjectCommitResponse) ProtoMessage()

func (*ObjectCommitResponse) Reset added in v0.16.0

func (m *ObjectCommitResponse) Reset()

func (*ObjectCommitResponse) String added in v0.16.0

func (m *ObjectCommitResponse) String() string

func (*ObjectCommitResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectCommitResponse) XXX_DiscardUnknown()

func (*ObjectCommitResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectCommitResponse) XXX_Merge added in v0.16.0

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

func (*ObjectCommitResponse) XXX_Size added in v0.16.0

func (m *ObjectCommitResponse) XXX_Size() int

func (*ObjectCommitResponse) XXX_Unmarshal added in v0.16.0

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

type ObjectFinishDeleteRequest added in v0.16.0

type ObjectFinishDeleteRequest struct {
	StreamId             StreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectFinishDeleteRequest) Descriptor added in v0.16.0

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

func (*ObjectFinishDeleteRequest) ProtoMessage added in v0.16.0

func (*ObjectFinishDeleteRequest) ProtoMessage()

func (*ObjectFinishDeleteRequest) Reset added in v0.16.0

func (m *ObjectFinishDeleteRequest) Reset()

func (*ObjectFinishDeleteRequest) String added in v0.16.0

func (m *ObjectFinishDeleteRequest) String() string

func (*ObjectFinishDeleteRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectFinishDeleteRequest) XXX_DiscardUnknown()

func (*ObjectFinishDeleteRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectFinishDeleteRequest) XXX_Merge added in v0.16.0

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

func (*ObjectFinishDeleteRequest) XXX_Size added in v0.16.0

func (m *ObjectFinishDeleteRequest) XXX_Size() int

func (*ObjectFinishDeleteRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectFinishDeleteResponse added in v0.16.0

type ObjectFinishDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectFinishDeleteResponse) Descriptor added in v0.16.0

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

func (*ObjectFinishDeleteResponse) ProtoMessage added in v0.16.0

func (*ObjectFinishDeleteResponse) ProtoMessage()

func (*ObjectFinishDeleteResponse) Reset added in v0.16.0

func (m *ObjectFinishDeleteResponse) Reset()

func (*ObjectFinishDeleteResponse) String added in v0.16.0

func (m *ObjectFinishDeleteResponse) String() string

func (*ObjectFinishDeleteResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectFinishDeleteResponse) XXX_DiscardUnknown()

func (*ObjectFinishDeleteResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectFinishDeleteResponse) XXX_Merge added in v0.16.0

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

func (*ObjectFinishDeleteResponse) XXX_Size added in v0.16.0

func (m *ObjectFinishDeleteResponse) XXX_Size() int

func (*ObjectFinishDeleteResponse) XXX_Unmarshal added in v0.16.0

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

type ObjectGetRequest added in v0.16.0

type ObjectGetRequest struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte   `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version              int32    `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectGetRequest) Descriptor added in v0.16.0

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

func (*ObjectGetRequest) GetBucket added in v0.16.0

func (m *ObjectGetRequest) GetBucket() []byte

func (*ObjectGetRequest) GetEncryptedPath added in v0.16.0

func (m *ObjectGetRequest) GetEncryptedPath() []byte

func (*ObjectGetRequest) GetVersion added in v0.16.0

func (m *ObjectGetRequest) GetVersion() int32

func (*ObjectGetRequest) ProtoMessage added in v0.16.0

func (*ObjectGetRequest) ProtoMessage()

func (*ObjectGetRequest) Reset added in v0.16.0

func (m *ObjectGetRequest) Reset()

func (*ObjectGetRequest) String added in v0.16.0

func (m *ObjectGetRequest) String() string

func (*ObjectGetRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectGetRequest) XXX_DiscardUnknown()

func (*ObjectGetRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectGetRequest) XXX_Merge added in v0.16.0

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

func (*ObjectGetRequest) XXX_Size added in v0.16.0

func (m *ObjectGetRequest) XXX_Size() int

func (*ObjectGetRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectGetResponse added in v0.16.0

type ObjectGetResponse struct {
	Object               *Object  `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectGetResponse) Descriptor added in v0.16.0

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

func (*ObjectGetResponse) GetObject added in v0.16.0

func (m *ObjectGetResponse) GetObject() *Object

func (*ObjectGetResponse) ProtoMessage added in v0.16.0

func (*ObjectGetResponse) ProtoMessage()

func (*ObjectGetResponse) Reset added in v0.16.0

func (m *ObjectGetResponse) Reset()

func (*ObjectGetResponse) String added in v0.16.0

func (m *ObjectGetResponse) String() string

func (*ObjectGetResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectGetResponse) XXX_DiscardUnknown()

func (*ObjectGetResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectGetResponse) XXX_Merge added in v0.16.0

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

func (*ObjectGetResponse) XXX_Size added in v0.16.0

func (m *ObjectGetResponse) XXX_Size() int

func (*ObjectGetResponse) XXX_Unmarshal added in v0.16.0

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

type ObjectHealthRequest

type ObjectHealthRequest struct {
	EncryptedPath        []byte   `protobuf:"bytes,1,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Bucket               []byte   `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
	ProjectId            []byte   `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	StartAfterSegment    int64    `protobuf:"varint,4,opt,name=start_after_segment,json=startAfterSegment,proto3" json:"start_after_segment,omitempty"`
	EndBeforeSegment     int64    `protobuf:"varint,5,opt,name=end_before_segment,json=endBeforeSegment,proto3" json:"end_before_segment,omitempty"`
	Limit                int32    `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectHealthRequest) Descriptor

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

func (*ObjectHealthRequest) GetBucket

func (m *ObjectHealthRequest) GetBucket() []byte

func (*ObjectHealthRequest) GetEncryptedPath

func (m *ObjectHealthRequest) GetEncryptedPath() []byte

func (*ObjectHealthRequest) GetEndBeforeSegment

func (m *ObjectHealthRequest) GetEndBeforeSegment() int64

func (*ObjectHealthRequest) GetLimit

func (m *ObjectHealthRequest) GetLimit() int32

func (*ObjectHealthRequest) GetProjectId

func (m *ObjectHealthRequest) GetProjectId() []byte

func (*ObjectHealthRequest) GetStartAfterSegment

func (m *ObjectHealthRequest) GetStartAfterSegment() int64

func (*ObjectHealthRequest) ProtoMessage

func (*ObjectHealthRequest) ProtoMessage()

func (*ObjectHealthRequest) Reset

func (m *ObjectHealthRequest) Reset()

func (*ObjectHealthRequest) String

func (m *ObjectHealthRequest) String() string

func (*ObjectHealthRequest) XXX_DiscardUnknown

func (m *ObjectHealthRequest) XXX_DiscardUnknown()

func (*ObjectHealthRequest) XXX_Marshal

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

func (*ObjectHealthRequest) XXX_Merge

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

func (*ObjectHealthRequest) XXX_Size

func (m *ObjectHealthRequest) XXX_Size() int

func (*ObjectHealthRequest) XXX_Unmarshal

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

type ObjectHealthResponse

type ObjectHealthResponse struct {
	Segments             []*SegmentHealth  `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	Redundancy           *RedundancyScheme `protobuf:"bytes,2,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ObjectHealthResponse) Descriptor

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

func (*ObjectHealthResponse) GetRedundancy

func (m *ObjectHealthResponse) GetRedundancy() *RedundancyScheme

func (*ObjectHealthResponse) GetSegments

func (m *ObjectHealthResponse) GetSegments() []*SegmentHealth

func (*ObjectHealthResponse) ProtoMessage

func (*ObjectHealthResponse) ProtoMessage()

func (*ObjectHealthResponse) Reset

func (m *ObjectHealthResponse) Reset()

func (*ObjectHealthResponse) String

func (m *ObjectHealthResponse) String() string

func (*ObjectHealthResponse) XXX_DiscardUnknown

func (m *ObjectHealthResponse) XXX_DiscardUnknown()

func (*ObjectHealthResponse) XXX_Marshal

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

func (*ObjectHealthResponse) XXX_Merge

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

func (*ObjectHealthResponse) XXX_Size

func (m *ObjectHealthResponse) XXX_Size() int

func (*ObjectHealthResponse) XXX_Unmarshal

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

type ObjectListItem added in v0.16.0

type ObjectListItem struct {
	EncryptedPath          []byte        `protobuf:"bytes,1,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version                int32         `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Status                 Object_Status `protobuf:"varint,3,opt,name=status,proto3,enum=metainfo.Object_Status" json:"status,omitempty"`
	CreatedAt              time.Time     `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
	StatusAt               time.Time     `protobuf:"bytes,5,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"`
	ExpiresAt              time.Time     `protobuf:"bytes,6,opt,name=expires_at,json=expiresAt,proto3,stdtime" json:"expires_at"`
	EncryptedMetadataNonce Nonce         `` /* 136-byte string literal not displayed */
	EncryptedMetadata      []byte        `protobuf:"bytes,8,opt,name=encrypted_metadata,json=encryptedMetadata,proto3" json:"encrypted_metadata,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}      `json:"-"`
	XXX_unrecognized       []byte        `json:"-"`
	XXX_sizecache          int32         `json:"-"`
}

func (*ObjectListItem) Descriptor added in v0.16.0

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

func (*ObjectListItem) GetCreatedAt added in v0.16.0

func (m *ObjectListItem) GetCreatedAt() time.Time

func (*ObjectListItem) GetEncryptedMetadata added in v0.16.0

func (m *ObjectListItem) GetEncryptedMetadata() []byte

func (*ObjectListItem) GetEncryptedPath added in v0.16.0

func (m *ObjectListItem) GetEncryptedPath() []byte

func (*ObjectListItem) GetExpiresAt added in v0.16.0

func (m *ObjectListItem) GetExpiresAt() time.Time

func (*ObjectListItem) GetStatus added in v0.16.0

func (m *ObjectListItem) GetStatus() Object_Status

func (*ObjectListItem) GetStatusAt added in v0.16.0

func (m *ObjectListItem) GetStatusAt() time.Time

func (*ObjectListItem) GetVersion added in v0.16.0

func (m *ObjectListItem) GetVersion() int32

func (*ObjectListItem) ProtoMessage added in v0.16.0

func (*ObjectListItem) ProtoMessage()

func (*ObjectListItem) Reset added in v0.16.0

func (m *ObjectListItem) Reset()

func (*ObjectListItem) String added in v0.16.0

func (m *ObjectListItem) String() string

func (*ObjectListItem) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectListItem) XXX_DiscardUnknown()

func (*ObjectListItem) XXX_Marshal added in v0.16.0

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

func (*ObjectListItem) XXX_Merge added in v0.16.0

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

func (*ObjectListItem) XXX_Size added in v0.16.0

func (m *ObjectListItem) XXX_Size() int

func (*ObjectListItem) XXX_Unmarshal added in v0.16.0

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

type ObjectListItemIncludes added in v0.16.0

type ObjectListItemIncludes struct {
	Metadata             bool     `protobuf:"varint,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ObjectListItemIncludes) Descriptor added in v0.16.0

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

func (*ObjectListItemIncludes) GetMetadata added in v0.16.0

func (m *ObjectListItemIncludes) GetMetadata() bool

func (*ObjectListItemIncludes) ProtoMessage added in v0.16.0

func (*ObjectListItemIncludes) ProtoMessage()

func (*ObjectListItemIncludes) Reset added in v0.16.0

func (m *ObjectListItemIncludes) Reset()

func (*ObjectListItemIncludes) String added in v0.16.0

func (m *ObjectListItemIncludes) String() string

func (*ObjectListItemIncludes) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectListItemIncludes) XXX_DiscardUnknown()

func (*ObjectListItemIncludes) XXX_Marshal added in v0.16.0

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

func (*ObjectListItemIncludes) XXX_Merge added in v0.16.0

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

func (*ObjectListItemIncludes) XXX_Size added in v0.16.0

func (m *ObjectListItemIncludes) XXX_Size() int

func (*ObjectListItemIncludes) XXX_Unmarshal added in v0.16.0

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

type ObjectListRequest added in v0.16.0

type ObjectListRequest struct {
	Bucket               []byte                  `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPrefix      []byte                  `protobuf:"bytes,2,opt,name=encrypted_prefix,json=encryptedPrefix,proto3" json:"encrypted_prefix,omitempty"`
	EncryptedCursor      []byte                  `protobuf:"bytes,3,opt,name=encrypted_cursor,json=encryptedCursor,proto3" json:"encrypted_cursor,omitempty"`
	Recursive            bool                    `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	Limit                int32                   `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	ObjectIncludes       *ObjectListItemIncludes `protobuf:"bytes,6,opt,name=object_includes,json=objectIncludes,proto3" json:"object_includes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*ObjectListRequest) Descriptor added in v0.16.0

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

func (*ObjectListRequest) GetBucket added in v0.16.0

func (m *ObjectListRequest) GetBucket() []byte

func (*ObjectListRequest) GetEncryptedCursor added in v0.16.0

func (m *ObjectListRequest) GetEncryptedCursor() []byte

func (*ObjectListRequest) GetEncryptedPrefix added in v0.16.0

func (m *ObjectListRequest) GetEncryptedPrefix() []byte

func (*ObjectListRequest) GetLimit added in v0.16.0

func (m *ObjectListRequest) GetLimit() int32

func (*ObjectListRequest) GetObjectIncludes added in v0.16.0

func (m *ObjectListRequest) GetObjectIncludes() *ObjectListItemIncludes

func (*ObjectListRequest) GetRecursive added in v0.17.0

func (m *ObjectListRequest) GetRecursive() bool

func (*ObjectListRequest) ProtoMessage added in v0.16.0

func (*ObjectListRequest) ProtoMessage()

func (*ObjectListRequest) Reset added in v0.16.0

func (m *ObjectListRequest) Reset()

func (*ObjectListRequest) String added in v0.16.0

func (m *ObjectListRequest) String() string

func (*ObjectListRequest) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectListRequest) XXX_DiscardUnknown()

func (*ObjectListRequest) XXX_Marshal added in v0.16.0

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

func (*ObjectListRequest) XXX_Merge added in v0.16.0

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

func (*ObjectListRequest) XXX_Size added in v0.16.0

func (m *ObjectListRequest) XXX_Size() int

func (*ObjectListRequest) XXX_Unmarshal added in v0.16.0

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

type ObjectListResponse added in v0.16.0

type ObjectListResponse struct {
	Items                []*ObjectListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	More                 bool              `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ObjectListResponse) Descriptor added in v0.16.0

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

func (*ObjectListResponse) GetItems added in v0.16.0

func (m *ObjectListResponse) GetItems() []*ObjectListItem

func (*ObjectListResponse) GetMore added in v0.16.0

func (m *ObjectListResponse) GetMore() bool

func (*ObjectListResponse) ProtoMessage added in v0.16.0

func (*ObjectListResponse) ProtoMessage()

func (*ObjectListResponse) Reset added in v0.16.0

func (m *ObjectListResponse) Reset()

func (*ObjectListResponse) String added in v0.16.0

func (m *ObjectListResponse) String() string

func (*ObjectListResponse) XXX_DiscardUnknown added in v0.16.0

func (m *ObjectListResponse) XXX_DiscardUnknown()

func (*ObjectListResponse) XXX_Marshal added in v0.16.0

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

func (*ObjectListResponse) XXX_Merge added in v0.16.0

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

func (*ObjectListResponse) XXX_Size added in v0.16.0

func (m *ObjectListResponse) XXX_Size() int

func (*ObjectListResponse) XXX_Unmarshal added in v0.16.0

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

type Object_Status added in v0.16.0

type Object_Status int32
const (
	Object_INVALID    Object_Status = 0
	Object_UPLOADING  Object_Status = 1
	Object_COMMITTING Object_Status = 2
	Object_COMMITTED  Object_Status = 3
	Object_DELETING   Object_Status = 4
)

func (Object_Status) EnumDescriptor added in v0.16.0

func (Object_Status) EnumDescriptor() ([]byte, []int)

func (Object_Status) String added in v0.16.0

func (x Object_Status) String() string

type Order

type Order struct {
	// serial of the order limit that was signed
	SerialNumber SerialNumber `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3,customtype=SerialNumber" json:"serial_number"`
	// amount to be signed for
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// signature
	UplinkSignature      []byte   `protobuf:"bytes,3,opt,name=uplink_signature,json=uplinkSignature,proto3" json:"uplink_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Order is a one step of fullfilling Amount number of bytes from an OrderLimit with SerialNumber

func (*Order) Descriptor added in v0.15.0

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

func (*Order) GetAmount added in v0.15.0

func (m *Order) GetAmount() int64

func (*Order) GetUplinkSignature added in v0.15.0

func (m *Order) GetUplinkSignature() []byte

func (*Order) ProtoMessage added in v0.15.0

func (*Order) ProtoMessage()

func (*Order) Reset added in v0.15.0

func (m *Order) Reset()

func (*Order) String added in v0.15.0

func (m *Order) String() string

func (*Order) XXX_DiscardUnknown added in v0.15.0

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal added in v0.15.0

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

func (*Order) XXX_Merge added in v0.15.0

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

func (*Order) XXX_Size added in v0.15.0

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal added in v0.15.0

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

type OrderLimit

type OrderLimit struct {
	// unique serial to avoid replay attacks
	SerialNumber SerialNumber `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3,customtype=SerialNumber" json:"serial_number"`
	// satellite who issued this order limit allowing orderer to do the specified action
	SatelliteId NodeID `protobuf:"bytes,2,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
	// uplink who requested or whom behalf the order limit to do an action
	DeprecatedUplinkId *NodeID `` /* 135-byte string literal not displayed */
	// public key that will be used to sign orders and piece hash
	UplinkPublicKey PiecePublicKey `protobuf:"bytes,13,opt,name=uplink_public_key,json=uplinkPublicKey,proto3,customtype=PiecePublicKey" json:"uplink_public_key"`
	// storage node who can re claimthe order limit specified by serial
	StorageNodeId NodeID `protobuf:"bytes,4,opt,name=storage_node_id,json=storageNodeId,proto3,customtype=NodeID" json:"storage_node_id"`
	// piece which is allowed to be touched
	PieceId PieceID `protobuf:"bytes,5,opt,name=piece_id,json=pieceId,proto3,customtype=PieceID" json:"piece_id"`
	// limit in bytes how much can be changed
	Limit              int64       `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	Action             PieceAction `protobuf:"varint,7,opt,name=action,proto3,enum=orders.PieceAction" json:"action,omitempty"`
	PieceExpiration    time.Time   `protobuf:"bytes,8,opt,name=piece_expiration,json=pieceExpiration,proto3,stdtime" json:"piece_expiration"`
	OrderExpiration    time.Time   `protobuf:"bytes,9,opt,name=order_expiration,json=orderExpiration,proto3,stdtime" json:"order_expiration"`
	OrderCreation      time.Time   `protobuf:"bytes,12,opt,name=order_creation,json=orderCreation,proto3,stdtime" json:"order_creation"`
	SatelliteSignature []byte      `protobuf:"bytes,10,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
	// satellites aren't necessarily discoverable in kademlia. this allows
	// a storage node to find a satellite and handshake with it to get its key.
	SatelliteAddress     *NodeAddress `protobuf:"bytes,11,opt,name=satellite_address,json=satelliteAddress,proto3" json:"satellite_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

OrderLimit is provided by satellite to execute specific action on storage node within some limits

func (*OrderLimit) Descriptor added in v0.15.0

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

func (*OrderLimit) GetAction added in v0.15.0

func (m *OrderLimit) GetAction() PieceAction

func (*OrderLimit) GetLimit added in v0.15.0

func (m *OrderLimit) GetLimit() int64

func (*OrderLimit) GetOrderCreation added in v0.15.0

func (m *OrderLimit) GetOrderCreation() time.Time

func (*OrderLimit) GetOrderExpiration added in v0.15.0

func (m *OrderLimit) GetOrderExpiration() time.Time

func (*OrderLimit) GetPieceExpiration added in v0.15.0

func (m *OrderLimit) GetPieceExpiration() time.Time

func (*OrderLimit) GetSatelliteAddress added in v0.15.0

func (m *OrderLimit) GetSatelliteAddress() *NodeAddress

func (*OrderLimit) GetSatelliteSignature added in v0.15.0

func (m *OrderLimit) GetSatelliteSignature() []byte

func (*OrderLimit) ProtoMessage added in v0.15.0

func (*OrderLimit) ProtoMessage()

func (*OrderLimit) Reset added in v0.15.0

func (m *OrderLimit) Reset()

func (*OrderLimit) String added in v0.15.0

func (m *OrderLimit) String() string

func (*OrderLimit) XXX_DiscardUnknown added in v0.15.0

func (m *OrderLimit) XXX_DiscardUnknown()

func (*OrderLimit) XXX_Marshal added in v0.15.0

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

func (*OrderLimit) XXX_Merge added in v0.15.0

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

func (*OrderLimit) XXX_Size added in v0.15.0

func (m *OrderLimit) XXX_Size() int

func (*OrderLimit) XXX_Unmarshal added in v0.15.0

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

type OrderLimitSigning added in v0.15.0

type OrderLimitSigning struct {
	// unique serial to avoid replay attacks
	SerialNumber SerialNumber `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3,customtype=SerialNumber" json:"serial_number"`
	// satellite who issued this order limit allowing orderer to do the specified action
	SatelliteId NodeID `protobuf:"bytes,2,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
	// uplink who requested or whom behalf the order limit to do an action
	DeprecatedUplinkId *NodeID `` /* 135-byte string literal not displayed */
	// public key that will be used to sign orders and piece hash
	UplinkPublicKey *PiecePublicKey `` /* 135-byte string literal not displayed */
	// storage node who can re claimthe order limit specified by serial
	StorageNodeId NodeID `protobuf:"bytes,4,opt,name=storage_node_id,json=storageNodeId,proto3,customtype=NodeID" json:"storage_node_id"`
	// piece which is allowed to be touched
	PieceId PieceID `protobuf:"bytes,5,opt,name=piece_id,json=pieceId,proto3,customtype=PieceID" json:"piece_id"`
	// limit in bytes how much can be changed
	Limit              int64       `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"`
	Action             PieceAction `protobuf:"varint,7,opt,name=action,proto3,enum=orders.PieceAction" json:"action,omitempty"`
	PieceExpiration    *time.Time  `protobuf:"bytes,8,opt,name=piece_expiration,json=pieceExpiration,proto3,stdtime" json:"piece_expiration,omitempty"`
	OrderExpiration    *time.Time  `protobuf:"bytes,9,opt,name=order_expiration,json=orderExpiration,proto3,stdtime" json:"order_expiration,omitempty"`
	OrderCreation      *time.Time  `protobuf:"bytes,12,opt,name=order_creation,json=orderCreation,proto3,stdtime" json:"order_creation,omitempty"`
	SatelliteSignature []byte      `protobuf:"bytes,10,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
	// satellites aren't necessarily discoverable in kademlia. this allows
	// a storage node to find a satellite and handshake with it to get its key.
	SatelliteAddress     *NodeAddress `protobuf:"bytes,11,opt,name=satellite_address,json=satelliteAddress,proto3" json:"satellite_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

OrderLimitSigning provides OrderLimit signing serialization

It is never used for sending across the network, it is used in signing to ensure that nullable=false fields get handled properly. Its purpose is to solidify the format of how we serialize for signing, to handle some backwards compatibility considerations.

func (*OrderLimitSigning) Descriptor added in v0.15.0

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

func (*OrderLimitSigning) GetAction added in v0.15.0

func (m *OrderLimitSigning) GetAction() PieceAction

func (*OrderLimitSigning) GetLimit added in v0.15.0

func (m *OrderLimitSigning) GetLimit() int64

func (*OrderLimitSigning) GetOrderCreation added in v0.15.0

func (m *OrderLimitSigning) GetOrderCreation() *time.Time

func (*OrderLimitSigning) GetOrderExpiration added in v0.15.0

func (m *OrderLimitSigning) GetOrderExpiration() *time.Time

func (*OrderLimitSigning) GetPieceExpiration added in v0.15.0

func (m *OrderLimitSigning) GetPieceExpiration() *time.Time

func (*OrderLimitSigning) GetSatelliteAddress added in v0.15.0

func (m *OrderLimitSigning) GetSatelliteAddress() *NodeAddress

func (*OrderLimitSigning) GetSatelliteSignature added in v0.15.0

func (m *OrderLimitSigning) GetSatelliteSignature() []byte

func (*OrderLimitSigning) ProtoMessage added in v0.15.0

func (*OrderLimitSigning) ProtoMessage()

func (*OrderLimitSigning) Reset added in v0.15.0

func (m *OrderLimitSigning) Reset()

func (*OrderLimitSigning) String added in v0.15.0

func (m *OrderLimitSigning) String() string

func (*OrderLimitSigning) XXX_DiscardUnknown added in v0.15.0

func (m *OrderLimitSigning) XXX_DiscardUnknown()

func (*OrderLimitSigning) XXX_Marshal added in v0.15.0

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

func (*OrderLimitSigning) XXX_Merge added in v0.15.0

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

func (*OrderLimitSigning) XXX_Size added in v0.15.0

func (m *OrderLimitSigning) XXX_Size() int

func (*OrderLimitSigning) XXX_Unmarshal added in v0.15.0

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

type OrderSigning added in v0.15.0

type OrderSigning struct {
	// serial of the order limit that was signed
	SerialNumber SerialNumber `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3,customtype=SerialNumber" json:"serial_number"`
	// amount to be signed for
	Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// signature
	UplinkSignature      []byte   `protobuf:"bytes,3,opt,name=uplink_signature,json=uplinkSignature,proto3" json:"uplink_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OrderSigning provides Order signing format

It is never used for sending across the network, it is used in signing to ensure that nullable=false fields get handled properly. Its purpose is to solidify the format of how we serialize for signing, to handle some backwards compatibility considerations.

func (*OrderSigning) Descriptor added in v0.15.0

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

func (*OrderSigning) GetAmount added in v0.15.0

func (m *OrderSigning) GetAmount() int64

func (*OrderSigning) GetUplinkSignature added in v0.15.0

func (m *OrderSigning) GetUplinkSignature() []byte

func (*OrderSigning) ProtoMessage added in v0.15.0

func (*OrderSigning) ProtoMessage()

func (*OrderSigning) Reset added in v0.15.0

func (m *OrderSigning) Reset()

func (*OrderSigning) String added in v0.15.0

func (m *OrderSigning) String() string

func (*OrderSigning) XXX_DiscardUnknown added in v0.15.0

func (m *OrderSigning) XXX_DiscardUnknown()

func (*OrderSigning) XXX_Marshal added in v0.15.0

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

func (*OrderSigning) XXX_Merge added in v0.15.0

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

func (*OrderSigning) XXX_Size added in v0.15.0

func (m *OrderSigning) XXX_Size() int

func (*OrderSigning) XXX_Unmarshal added in v0.15.0

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

type OrdersClient

type OrdersClient interface {
	Settlement(ctx context.Context, opts ...grpc.CallOption) (Orders_SettlementClient, error)
}

OrdersClient is the client API for Orders service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOrdersClient

func NewOrdersClient(cc *grpc.ClientConn) OrdersClient

type OrdersServer

type OrdersServer interface {
	Settlement(Orders_SettlementServer) error
}

OrdersServer is the server API for Orders service.

type Orders_SettlementClient

type Orders_SettlementClient interface {
	Send(*SettlementRequest) error
	Recv() (*SettlementResponse, error)
	grpc.ClientStream
}

type Orders_SettlementServer

type Orders_SettlementServer interface {
	Send(*SettlementResponse) error
	Recv() (*SettlementRequest, error)
	grpc.ServerStream
}

type OverlayInspectorClient

type OverlayInspectorClient interface {
	// CountNodes returns the number of nodes in the cache
	CountNodes(ctx context.Context, in *CountNodesRequest, opts ...grpc.CallOption) (*CountNodesResponse, error)
	// DumpNodes returns all the nodes in the cache
	DumpNodes(ctx context.Context, in *DumpNodesRequest, opts ...grpc.CallOption) (*DumpNodesResponse, error)
}

OverlayInspectorClient is the client API for OverlayInspector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewOverlayInspectorClient

func NewOverlayInspectorClient(cc *grpc.ClientConn) OverlayInspectorClient

type OverlayInspectorServer

type OverlayInspectorServer interface {
	// CountNodes returns the number of nodes in the cache
	CountNodes(context.Context, *CountNodesRequest) (*CountNodesResponse, error)
	// DumpNodes returns all the nodes in the cache
	DumpNodes(context.Context, *DumpNodesRequest) (*DumpNodesResponse, error)
}

OverlayInspectorServer is the server API for OverlayInspector service.

type Path

type Path = storj.Path

Path represents a object path

type Piece added in v0.16.0

type Piece struct {
	PieceNum             int32    `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
	Node                 NodeID   `protobuf:"bytes,2,opt,name=node,proto3,customtype=NodeID" json:"node"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Piece) Descriptor added in v0.16.0

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

func (*Piece) GetPieceNum added in v0.16.0

func (m *Piece) GetPieceNum() int32

func (*Piece) ProtoMessage added in v0.16.0

func (*Piece) ProtoMessage()

func (*Piece) Reset added in v0.16.0

func (m *Piece) Reset()

func (*Piece) String added in v0.16.0

func (m *Piece) String() string

func (*Piece) XXX_DiscardUnknown added in v0.16.0

func (m *Piece) XXX_DiscardUnknown()

func (*Piece) XXX_Marshal added in v0.16.0

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

func (*Piece) XXX_Merge added in v0.16.0

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

func (*Piece) XXX_Size added in v0.16.0

func (m *Piece) XXX_Size() int

func (*Piece) XXX_Unmarshal added in v0.16.0

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

type PieceAction

type PieceAction int32

PieceAction is an enumeration of all possible executed actions on storage node

const (
	PieceAction_INVALID    PieceAction = 0
	PieceAction_PUT        PieceAction = 1
	PieceAction_GET        PieceAction = 2
	PieceAction_GET_AUDIT  PieceAction = 3
	PieceAction_GET_REPAIR PieceAction = 4
	PieceAction_PUT_REPAIR PieceAction = 5
	PieceAction_DELETE     PieceAction = 6
)

func (PieceAction) EnumDescriptor

func (PieceAction) EnumDescriptor() ([]byte, []int)

func (PieceAction) String

func (x PieceAction) String() string

type PieceDeleteRequest

type PieceDeleteRequest struct {
	Limit                *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*PieceDeleteRequest) Descriptor

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

func (*PieceDeleteRequest) GetLimit

func (m *PieceDeleteRequest) GetLimit() *OrderLimit

func (*PieceDeleteRequest) ProtoMessage

func (*PieceDeleteRequest) ProtoMessage()

func (*PieceDeleteRequest) Reset

func (m *PieceDeleteRequest) Reset()

func (*PieceDeleteRequest) String

func (m *PieceDeleteRequest) String() string

func (*PieceDeleteRequest) XXX_DiscardUnknown

func (m *PieceDeleteRequest) XXX_DiscardUnknown()

func (*PieceDeleteRequest) XXX_Marshal

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

func (*PieceDeleteRequest) XXX_Merge

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

func (*PieceDeleteRequest) XXX_Size

func (m *PieceDeleteRequest) XXX_Size() int

func (*PieceDeleteRequest) XXX_Unmarshal

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

type PieceDeleteResponse

type PieceDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PieceDeleteResponse) Descriptor

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

func (*PieceDeleteResponse) ProtoMessage

func (*PieceDeleteResponse) ProtoMessage()

func (*PieceDeleteResponse) Reset

func (m *PieceDeleteResponse) Reset()

func (*PieceDeleteResponse) String

func (m *PieceDeleteResponse) String() string

func (*PieceDeleteResponse) XXX_DiscardUnknown

func (m *PieceDeleteResponse) XXX_DiscardUnknown()

func (*PieceDeleteResponse) XXX_Marshal

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

func (*PieceDeleteResponse) XXX_Merge

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

func (*PieceDeleteResponse) XXX_Size

func (m *PieceDeleteResponse) XXX_Size() int

func (*PieceDeleteResponse) XXX_Unmarshal

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

type PieceDownloadRequest

type PieceDownloadRequest struct {
	// first message to show that we are allowed to upload
	Limit *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// order for downloading
	Order *Order `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"`
	// request for the chunk
	Chunk                *PieceDownloadRequest_Chunk `protobuf:"bytes,3,opt,name=chunk,proto3" json:"chunk,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

Expected order of messages from uplink:

{OrderLimit, Chunk} ->
go repeated
   Order -> (async)
go repeated
   <- PieceDownloadResponse.Chunk

func (*PieceDownloadRequest) Descriptor

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

func (*PieceDownloadRequest) GetChunk

func (*PieceDownloadRequest) GetLimit

func (m *PieceDownloadRequest) GetLimit() *OrderLimit

func (*PieceDownloadRequest) GetOrder

func (m *PieceDownloadRequest) GetOrder() *Order

func (*PieceDownloadRequest) ProtoMessage

func (*PieceDownloadRequest) ProtoMessage()

func (*PieceDownloadRequest) Reset

func (m *PieceDownloadRequest) Reset()

func (*PieceDownloadRequest) String

func (m *PieceDownloadRequest) String() string

func (*PieceDownloadRequest) XXX_DiscardUnknown

func (m *PieceDownloadRequest) XXX_DiscardUnknown()

func (*PieceDownloadRequest) XXX_Marshal

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

func (*PieceDownloadRequest) XXX_Merge

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

func (*PieceDownloadRequest) XXX_Size

func (m *PieceDownloadRequest) XXX_Size() int

func (*PieceDownloadRequest) XXX_Unmarshal

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

type PieceDownloadRequest_Chunk

type PieceDownloadRequest_Chunk struct {
	Offset               int64    `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	ChunkSize            int64    `protobuf:"varint,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Chunk that we wish to download

func (*PieceDownloadRequest_Chunk) Descriptor

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

func (*PieceDownloadRequest_Chunk) GetChunkSize

func (m *PieceDownloadRequest_Chunk) GetChunkSize() int64

func (*PieceDownloadRequest_Chunk) GetOffset

func (m *PieceDownloadRequest_Chunk) GetOffset() int64

func (*PieceDownloadRequest_Chunk) ProtoMessage

func (*PieceDownloadRequest_Chunk) ProtoMessage()

func (*PieceDownloadRequest_Chunk) Reset

func (m *PieceDownloadRequest_Chunk) Reset()

func (*PieceDownloadRequest_Chunk) String

func (m *PieceDownloadRequest_Chunk) String() string

func (*PieceDownloadRequest_Chunk) XXX_DiscardUnknown

func (m *PieceDownloadRequest_Chunk) XXX_DiscardUnknown()

func (*PieceDownloadRequest_Chunk) XXX_Marshal

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

func (*PieceDownloadRequest_Chunk) XXX_Merge

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

func (*PieceDownloadRequest_Chunk) XXX_Size

func (m *PieceDownloadRequest_Chunk) XXX_Size() int

func (*PieceDownloadRequest_Chunk) XXX_Unmarshal

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

type PieceDownloadResponse

type PieceDownloadResponse struct {
	Chunk                *PieceDownloadResponse_Chunk `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	Hash                 *PieceHash                   `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Limit                *OrderLimit                  `protobuf:"bytes,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*PieceDownloadResponse) Descriptor

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

func (*PieceDownloadResponse) GetChunk

func (*PieceDownloadResponse) GetHash added in v0.19.0

func (m *PieceDownloadResponse) GetHash() *PieceHash

func (*PieceDownloadResponse) GetLimit added in v0.19.0

func (m *PieceDownloadResponse) GetLimit() *OrderLimit

func (*PieceDownloadResponse) ProtoMessage

func (*PieceDownloadResponse) ProtoMessage()

func (*PieceDownloadResponse) Reset

func (m *PieceDownloadResponse) Reset()

func (*PieceDownloadResponse) String

func (m *PieceDownloadResponse) String() string

func (*PieceDownloadResponse) XXX_DiscardUnknown

func (m *PieceDownloadResponse) XXX_DiscardUnknown()

func (*PieceDownloadResponse) XXX_Marshal

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

func (*PieceDownloadResponse) XXX_Merge

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

func (*PieceDownloadResponse) XXX_Size

func (m *PieceDownloadResponse) XXX_Size() int

func (*PieceDownloadResponse) XXX_Unmarshal

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

type PieceDownloadResponse_Chunk

type PieceDownloadResponse_Chunk struct {
	Offset               int64    `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Chunk response for download request

func (*PieceDownloadResponse_Chunk) Descriptor

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

func (*PieceDownloadResponse_Chunk) GetData

func (m *PieceDownloadResponse_Chunk) GetData() []byte

func (*PieceDownloadResponse_Chunk) GetOffset

func (m *PieceDownloadResponse_Chunk) GetOffset() int64

func (*PieceDownloadResponse_Chunk) ProtoMessage

func (*PieceDownloadResponse_Chunk) ProtoMessage()

func (*PieceDownloadResponse_Chunk) Reset

func (m *PieceDownloadResponse_Chunk) Reset()

func (*PieceDownloadResponse_Chunk) String

func (m *PieceDownloadResponse_Chunk) String() string

func (*PieceDownloadResponse_Chunk) XXX_DiscardUnknown

func (m *PieceDownloadResponse_Chunk) XXX_DiscardUnknown()

func (*PieceDownloadResponse_Chunk) XXX_Marshal

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

func (*PieceDownloadResponse_Chunk) XXX_Merge

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

func (*PieceDownloadResponse_Chunk) XXX_Size

func (m *PieceDownloadResponse_Chunk) XXX_Size() int

func (*PieceDownloadResponse_Chunk) XXX_Unmarshal

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

type PieceHash

type PieceHash struct {
	// piece id
	PieceId PieceID `protobuf:"bytes,1,opt,name=piece_id,json=pieceId,proto3,customtype=PieceID" json:"piece_id"`
	// hash of the piece that was/is uploaded
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// size of uploaded piece
	PieceSize int64 `protobuf:"varint,4,opt,name=piece_size,json=pieceSize,proto3" json:"piece_size,omitempty"`
	// timestamp when upload occurred
	Timestamp time.Time `protobuf:"bytes,5,opt,name=timestamp,proto3,stdtime" json:"timestamp"`
	// signature either satellite or storage node
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PieceHash) Descriptor

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

func (*PieceHash) GetHash

func (m *PieceHash) GetHash() []byte

func (*PieceHash) GetPieceSize added in v0.15.0

func (m *PieceHash) GetPieceSize() int64

func (*PieceHash) GetSignature

func (m *PieceHash) GetSignature() []byte

func (*PieceHash) GetTimestamp added in v0.15.0

func (m *PieceHash) GetTimestamp() time.Time

func (*PieceHash) ProtoMessage

func (*PieceHash) ProtoMessage()

func (*PieceHash) Reset

func (m *PieceHash) Reset()

func (*PieceHash) String

func (m *PieceHash) String() string

func (*PieceHash) XXX_DiscardUnknown

func (m *PieceHash) XXX_DiscardUnknown()

func (*PieceHash) XXX_Marshal

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

func (*PieceHash) XXX_Merge

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

func (*PieceHash) XXX_Size

func (m *PieceHash) XXX_Size() int

func (*PieceHash) XXX_Unmarshal

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

type PieceHashSigning added in v0.15.0

type PieceHashSigning struct {
	// piece id
	PieceId PieceID `protobuf:"bytes,1,opt,name=piece_id,json=pieceId,proto3,customtype=PieceID" json:"piece_id"`
	// hash of the piece that was/is uploaded
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// size of uploaded piece
	PieceSize int64 `protobuf:"varint,4,opt,name=piece_size,json=pieceSize,proto3" json:"piece_size,omitempty"`
	// timestamp when upload occurred
	Timestamp *time.Time `protobuf:"bytes,5,opt,name=timestamp,proto3,stdtime" json:"timestamp,omitempty"`
	// signature either satellite or storage node
	Signature            []byte   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PieceHashSigning provides piece hash signing format.

It is never used for sending across the network, it is used in signing to ensure that nullable=false fields get handled properly. Its purpose is to solidify the format of how we serialize for signing, to handle some backwards compatibility considerations.

func (*PieceHashSigning) Descriptor added in v0.15.0

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

func (*PieceHashSigning) GetHash added in v0.15.0

func (m *PieceHashSigning) GetHash() []byte

func (*PieceHashSigning) GetPieceSize added in v0.15.0

func (m *PieceHashSigning) GetPieceSize() int64

func (*PieceHashSigning) GetSignature added in v0.15.0

func (m *PieceHashSigning) GetSignature() []byte

func (*PieceHashSigning) GetTimestamp added in v0.15.0

func (m *PieceHashSigning) GetTimestamp() *time.Time

func (*PieceHashSigning) ProtoMessage added in v0.15.0

func (*PieceHashSigning) ProtoMessage()

func (*PieceHashSigning) Reset added in v0.15.0

func (m *PieceHashSigning) Reset()

func (*PieceHashSigning) String added in v0.15.0

func (m *PieceHashSigning) String() string

func (*PieceHashSigning) XXX_DiscardUnknown added in v0.15.0

func (m *PieceHashSigning) XXX_DiscardUnknown()

func (*PieceHashSigning) XXX_Marshal added in v0.15.0

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

func (*PieceHashSigning) XXX_Merge added in v0.15.0

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

func (*PieceHashSigning) XXX_Size added in v0.15.0

func (m *PieceHashSigning) XXX_Size() int

func (*PieceHashSigning) XXX_Unmarshal added in v0.15.0

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

type PieceHeader added in v0.18.0

type PieceHeader struct {
	// the storage format version being used for this piece. The piece filename should agree with this.
	// The inclusion of this field is intended to aid repairability when filenames are damaged.
	FormatVersion PieceHeader_FormatVersion `` /* 143-byte string literal not displayed */
	// content hash of the piece
	Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// timestamp when upload occurred, as given by the "timestamp" field in the original orders.PieceHash
	CreationTime time.Time `protobuf:"bytes,3,opt,name=creation_time,json=creationTime,proto3,stdtime" json:"creation_time"`
	// signature from uplink over the original orders.PieceHash (the corresponding PieceHashSigning
	// is reconstructable using the piece id from the piecestore, the piece size from the
	// filesystem (minus the piece header size), and these (hash, upload_time, signature) fields).
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// the OrderLimit authorizing storage of this piece, as signed by the satellite and sent by
	// the uplink
	OrderLimit           OrderLimit `protobuf:"bytes,5,opt,name=order_limit,json=orderLimit,proto3" json:"order_limit"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

PieceHeader is used in piece storage to keep track of piece attributes.

func (*PieceHeader) Descriptor added in v0.18.0

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

func (*PieceHeader) GetCreationTime added in v0.18.0

func (m *PieceHeader) GetCreationTime() time.Time

func (*PieceHeader) GetFormatVersion added in v0.18.0

func (m *PieceHeader) GetFormatVersion() PieceHeader_FormatVersion

func (*PieceHeader) GetHash added in v0.18.0

func (m *PieceHeader) GetHash() []byte

func (*PieceHeader) GetOrderLimit added in v0.18.0

func (m *PieceHeader) GetOrderLimit() OrderLimit

func (*PieceHeader) GetSignature added in v0.18.0

func (m *PieceHeader) GetSignature() []byte

func (*PieceHeader) ProtoMessage added in v0.18.0

func (*PieceHeader) ProtoMessage()

func (*PieceHeader) Reset added in v0.18.0

func (m *PieceHeader) Reset()

func (*PieceHeader) String added in v0.18.0

func (m *PieceHeader) String() string

func (*PieceHeader) XXX_DiscardUnknown added in v0.18.0

func (m *PieceHeader) XXX_DiscardUnknown()

func (*PieceHeader) XXX_Marshal added in v0.18.0

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

func (*PieceHeader) XXX_Merge added in v0.18.0

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

func (*PieceHeader) XXX_Size added in v0.18.0

func (m *PieceHeader) XXX_Size() int

func (*PieceHeader) XXX_Unmarshal added in v0.18.0

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

type PieceHeader_FormatVersion added in v0.18.0

type PieceHeader_FormatVersion int32
const (
	PieceHeader_FORMAT_V0 PieceHeader_FormatVersion = 0
	PieceHeader_FORMAT_V1 PieceHeader_FormatVersion = 1
)

func (PieceHeader_FormatVersion) EnumDescriptor added in v0.18.0

func (PieceHeader_FormatVersion) EnumDescriptor() ([]byte, []int)

func (PieceHeader_FormatVersion) String added in v0.18.0

func (x PieceHeader_FormatVersion) String() string

type PieceID

type PieceID = storj.PieceID

PieceID is an alias to storj.PieceID for use in generated protobuf code

type PiecePrivateKey added in v0.15.0

type PiecePrivateKey = storj.PiecePrivateKey

PiecePrivateKey is an alias to storj.PiecePrivateKey for use in generated protobuf code

type PiecePublicKey added in v0.15.0

type PiecePublicKey = storj.PiecePublicKey

PiecePublicKey is an alias to storj.PiecePublicKey for use in generated protobuf code

type PieceStoreInspectorClient

type PieceStoreInspectorClient interface {
	// Stats return space and bandwidth stats for a storagenode
	Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatSummaryResponse, error)
	// Dashboard returns stats for a specific storagenode
	Dashboard(ctx context.Context, in *DashboardRequest, opts ...grpc.CallOption) (*DashboardResponse, error)
}

PieceStoreInspectorClient is the client API for PieceStoreInspector service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPieceStoreInspectorClient

func NewPieceStoreInspectorClient(cc *grpc.ClientConn) PieceStoreInspectorClient

type PieceStoreInspectorServer

type PieceStoreInspectorServer interface {
	// Stats return space and bandwidth stats for a storagenode
	Stats(context.Context, *StatsRequest) (*StatSummaryResponse, error)
	// Dashboard returns stats for a specific storagenode
	Dashboard(context.Context, *DashboardRequest) (*DashboardResponse, error)
}

PieceStoreInspectorServer is the server API for PieceStoreInspector service.

type PieceUploadRequest

type PieceUploadRequest struct {
	// first message to show that we are allowed to upload
	Limit *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// order for uploading
	Order *Order                    `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"`
	Chunk *PieceUploadRequest_Chunk `protobuf:"bytes,3,opt,name=chunk,proto3" json:"chunk,omitempty"`
	// final message
	Done                 *PieceHash `protobuf:"bytes,4,opt,name=done,proto3" json:"done,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

Expected order of messages from uplink:

OrderLimit ->
repeated
   Order ->
   Chunk ->
PieceHash signed by uplink ->
   <- PieceHash signed by storage node

func (*PieceUploadRequest) Descriptor

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

func (*PieceUploadRequest) GetChunk

func (*PieceUploadRequest) GetDone

func (m *PieceUploadRequest) GetDone() *PieceHash

func (*PieceUploadRequest) GetLimit

func (m *PieceUploadRequest) GetLimit() *OrderLimit

func (*PieceUploadRequest) GetOrder

func (m *PieceUploadRequest) GetOrder() *Order

func (*PieceUploadRequest) ProtoMessage

func (*PieceUploadRequest) ProtoMessage()

func (*PieceUploadRequest) Reset

func (m *PieceUploadRequest) Reset()

func (*PieceUploadRequest) String

func (m *PieceUploadRequest) String() string

func (*PieceUploadRequest) XXX_DiscardUnknown

func (m *PieceUploadRequest) XXX_DiscardUnknown()

func (*PieceUploadRequest) XXX_Marshal

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

func (*PieceUploadRequest) XXX_Merge

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

func (*PieceUploadRequest) XXX_Size

func (m *PieceUploadRequest) XXX_Size() int

func (*PieceUploadRequest) XXX_Unmarshal

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

type PieceUploadRequest_Chunk

type PieceUploadRequest_Chunk struct {
	Offset               int64    `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

data message

func (*PieceUploadRequest_Chunk) Descriptor

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

func (*PieceUploadRequest_Chunk) GetData

func (m *PieceUploadRequest_Chunk) GetData() []byte

func (*PieceUploadRequest_Chunk) GetOffset

func (m *PieceUploadRequest_Chunk) GetOffset() int64

func (*PieceUploadRequest_Chunk) ProtoMessage

func (*PieceUploadRequest_Chunk) ProtoMessage()

func (*PieceUploadRequest_Chunk) Reset

func (m *PieceUploadRequest_Chunk) Reset()

func (*PieceUploadRequest_Chunk) String

func (m *PieceUploadRequest_Chunk) String() string

func (*PieceUploadRequest_Chunk) XXX_DiscardUnknown

func (m *PieceUploadRequest_Chunk) XXX_DiscardUnknown()

func (*PieceUploadRequest_Chunk) XXX_Marshal

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

func (*PieceUploadRequest_Chunk) XXX_Merge

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

func (*PieceUploadRequest_Chunk) XXX_Size

func (m *PieceUploadRequest_Chunk) XXX_Size() int

func (*PieceUploadRequest_Chunk) XXX_Unmarshal

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

type PieceUploadResponse

type PieceUploadResponse struct {
	Done                 *PieceHash `protobuf:"bytes,1,opt,name=done,proto3" json:"done,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*PieceUploadResponse) Descriptor

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

func (*PieceUploadResponse) GetDone

func (m *PieceUploadResponse) GetDone() *PieceHash

func (*PieceUploadResponse) ProtoMessage

func (*PieceUploadResponse) ProtoMessage()

func (*PieceUploadResponse) Reset

func (m *PieceUploadResponse) Reset()

func (*PieceUploadResponse) String

func (m *PieceUploadResponse) String() string

func (*PieceUploadResponse) XXX_DiscardUnknown

func (m *PieceUploadResponse) XXX_DiscardUnknown()

func (*PieceUploadResponse) XXX_Marshal

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

func (*PieceUploadResponse) XXX_Merge

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

func (*PieceUploadResponse) XXX_Size

func (m *PieceUploadResponse) XXX_Size() int

func (*PieceUploadResponse) XXX_Unmarshal

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

type PiecestoreClient

type PiecestoreClient interface {
	Upload(ctx context.Context, opts ...grpc.CallOption) (Piecestore_UploadClient, error)
	Download(ctx context.Context, opts ...grpc.CallOption) (Piecestore_DownloadClient, error)
	Delete(ctx context.Context, in *PieceDeleteRequest, opts ...grpc.CallOption) (*PieceDeleteResponse, error)
	Retain(ctx context.Context, in *RetainRequest, opts ...grpc.CallOption) (*RetainResponse, error)
}

PiecestoreClient is the client API for Piecestore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPiecestoreClient

func NewPiecestoreClient(cc *grpc.ClientConn) PiecestoreClient

type PiecestoreServer

PiecestoreServer is the server API for Piecestore service.

type Piecestore_DownloadClient

type Piecestore_DownloadClient interface {
	Send(*PieceDownloadRequest) error
	Recv() (*PieceDownloadResponse, error)
	grpc.ClientStream
}

type Piecestore_DownloadServer

type Piecestore_DownloadServer interface {
	Send(*PieceDownloadResponse) error
	Recv() (*PieceDownloadRequest, error)
	grpc.ServerStream
}

type Piecestore_UploadClient

type Piecestore_UploadClient interface {
	Send(*PieceUploadRequest) error
	CloseAndRecv() (*PieceUploadResponse, error)
	grpc.ClientStream
}

type Piecestore_UploadServer

type Piecestore_UploadServer interface {
	SendAndClose(*PieceUploadResponse) error
	Recv() (*PieceUploadRequest, error)
	grpc.ServerStream
}

type PingNodeRequest

type PingNodeRequest struct {
	Id                   NodeID   `protobuf:"bytes,1,opt,name=id,proto3,customtype=NodeID" json:"id"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PingNode

func (*PingNodeRequest) Descriptor

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

func (*PingNodeRequest) GetAddress

func (m *PingNodeRequest) GetAddress() string

func (*PingNodeRequest) ProtoMessage

func (*PingNodeRequest) ProtoMessage()

func (*PingNodeRequest) Reset

func (m *PingNodeRequest) Reset()

func (*PingNodeRequest) String

func (m *PingNodeRequest) String() string

func (*PingNodeRequest) XXX_DiscardUnknown

func (m *PingNodeRequest) XXX_DiscardUnknown()

func (*PingNodeRequest) XXX_Marshal

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

func (*PingNodeRequest) XXX_Merge

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

func (*PingNodeRequest) XXX_Size

func (m *PingNodeRequest) XXX_Size() int

func (*PingNodeRequest) XXX_Unmarshal

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

type PingNodeResponse

type PingNodeResponse struct {
	Ok                   bool     `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingNodeResponse) Descriptor

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

func (*PingNodeResponse) GetOk

func (m *PingNodeResponse) GetOk() bool

func (*PingNodeResponse) ProtoMessage

func (*PingNodeResponse) ProtoMessage()

func (*PingNodeResponse) Reset

func (m *PingNodeResponse) Reset()

func (*PingNodeResponse) String

func (m *PingNodeResponse) String() string

func (*PingNodeResponse) XXX_DiscardUnknown

func (m *PingNodeResponse) XXX_DiscardUnknown()

func (*PingNodeResponse) XXX_Marshal

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

func (*PingNodeResponse) XXX_Merge

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

func (*PingNodeResponse) XXX_Size

func (m *PingNodeResponse) XXX_Size() int

func (*PingNodeResponse) XXX_Unmarshal

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

type PingRequest

type PingRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingRequest) Descriptor

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

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) Reset

func (m *PingRequest) Reset()

func (*PingRequest) String

func (m *PingRequest) String() string

func (*PingRequest) XXX_DiscardUnknown

func (m *PingRequest) XXX_DiscardUnknown()

func (*PingRequest) XXX_Marshal

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

func (*PingRequest) XXX_Merge

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

func (*PingRequest) XXX_Size

func (m *PingRequest) XXX_Size() int

func (*PingRequest) XXX_Unmarshal

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

type PingResponse

type PingResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PingResponse) Descriptor

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

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) Reset

func (m *PingResponse) Reset()

func (*PingResponse) String

func (m *PingResponse) String() string

func (*PingResponse) XXX_DiscardUnknown

func (m *PingResponse) XXX_DiscardUnknown()

func (*PingResponse) XXX_Marshal

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

func (*PingResponse) XXX_Merge

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

func (*PingResponse) XXX_Size

func (m *PingResponse) XXX_Size() int

func (*PingResponse) XXX_Unmarshal

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

type Pointer

type Pointer struct {
	Type                 Pointer_DataType `protobuf:"varint,1,opt,name=type,proto3,enum=pointerdb.Pointer_DataType" json:"type,omitempty"`
	InlineSegment        []byte           `protobuf:"bytes,3,opt,name=inline_segment,json=inlineSegment,proto3" json:"inline_segment,omitempty"`
	Remote               *RemoteSegment   `protobuf:"bytes,4,opt,name=remote,proto3" json:"remote,omitempty"`
	SegmentSize          int64            `protobuf:"varint,5,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
	CreationDate         time.Time        `protobuf:"bytes,6,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
	ExpirationDate       time.Time        `protobuf:"bytes,7,opt,name=expiration_date,json=expirationDate,proto3,stdtime" json:"expiration_date"`
	Metadata             []byte           `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Pointer) Descriptor

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

func (*Pointer) GetCreationDate

func (m *Pointer) GetCreationDate() time.Time

func (*Pointer) GetExpirationDate

func (m *Pointer) GetExpirationDate() time.Time

func (*Pointer) GetInlineSegment

func (m *Pointer) GetInlineSegment() []byte

func (*Pointer) GetMetadata

func (m *Pointer) GetMetadata() []byte

func (*Pointer) GetRemote

func (m *Pointer) GetRemote() *RemoteSegment

func (*Pointer) GetSegmentSize

func (m *Pointer) GetSegmentSize() int64

func (*Pointer) GetType

func (m *Pointer) GetType() Pointer_DataType

func (*Pointer) ProtoMessage

func (*Pointer) ProtoMessage()

func (*Pointer) Reset

func (m *Pointer) Reset()

func (*Pointer) String

func (m *Pointer) String() string

func (*Pointer) XXX_DiscardUnknown

func (m *Pointer) XXX_DiscardUnknown()

func (*Pointer) XXX_Marshal

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

func (*Pointer) XXX_Merge

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

func (*Pointer) XXX_Size

func (m *Pointer) XXX_Size() int

func (*Pointer) XXX_Unmarshal

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

type Pointer_DataType

type Pointer_DataType int32
const (
	Pointer_INLINE Pointer_DataType = 0
	Pointer_REMOTE Pointer_DataType = 1
)

func (Pointer_DataType) EnumDescriptor

func (Pointer_DataType) EnumDescriptor() ([]byte, []int)

func (Pointer_DataType) String

func (x Pointer_DataType) String() string

type ProjectInfoRequest added in v0.14.0

type ProjectInfoRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProjectInfoRequest) Descriptor added in v0.14.0

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

func (*ProjectInfoRequest) ProtoMessage added in v0.14.0

func (*ProjectInfoRequest) ProtoMessage()

func (*ProjectInfoRequest) Reset added in v0.14.0

func (m *ProjectInfoRequest) Reset()

func (*ProjectInfoRequest) String added in v0.14.0

func (m *ProjectInfoRequest) String() string

func (*ProjectInfoRequest) XXX_DiscardUnknown added in v0.14.0

func (m *ProjectInfoRequest) XXX_DiscardUnknown()

func (*ProjectInfoRequest) XXX_Marshal added in v0.14.0

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

func (*ProjectInfoRequest) XXX_Merge added in v0.14.0

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

func (*ProjectInfoRequest) XXX_Size added in v0.14.0

func (m *ProjectInfoRequest) XXX_Size() int

func (*ProjectInfoRequest) XXX_Unmarshal added in v0.14.0

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

type ProjectInfoResponse added in v0.14.0

type ProjectInfoResponse struct {
	ProjectSalt          []byte   `protobuf:"bytes,1,opt,name=project_salt,json=projectSalt,proto3" json:"project_salt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProjectInfoResponse) Descriptor added in v0.14.0

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

func (*ProjectInfoResponse) GetProjectSalt added in v0.14.0

func (m *ProjectInfoResponse) GetProjectSalt() []byte

func (*ProjectInfoResponse) ProtoMessage added in v0.14.0

func (*ProjectInfoResponse) ProtoMessage()

func (*ProjectInfoResponse) Reset added in v0.14.0

func (m *ProjectInfoResponse) Reset()

func (*ProjectInfoResponse) String added in v0.14.0

func (m *ProjectInfoResponse) String() string

func (*ProjectInfoResponse) XXX_DiscardUnknown added in v0.14.0

func (m *ProjectInfoResponse) XXX_DiscardUnknown()

func (*ProjectInfoResponse) XXX_Marshal added in v0.14.0

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

func (*ProjectInfoResponse) XXX_Merge added in v0.14.0

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

func (*ProjectInfoResponse) XXX_Size added in v0.14.0

func (m *ProjectInfoResponse) XXX_Size() int

func (*ProjectInfoResponse) XXX_Unmarshal added in v0.14.0

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

type QueryRequest

type QueryRequest struct {
	Sender               *Node      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Target               *Node      `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	Limit                int64      `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	Pingback             bool       `protobuf:"varint,4,opt,name=pingback,proto3" json:"pingback,omitempty"`
	Vouchers             []*Voucher `protobuf:"bytes,5,rep,name=vouchers,proto3" json:"vouchers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*QueryRequest) Descriptor

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

func (*QueryRequest) GetLimit

func (m *QueryRequest) GetLimit() int64

func (*QueryRequest) GetPingback

func (m *QueryRequest) GetPingback() bool

func (*QueryRequest) GetSender

func (m *QueryRequest) GetSender() *Node

func (*QueryRequest) GetTarget

func (m *QueryRequest) GetTarget() *Node

func (*QueryRequest) GetVouchers added in v0.15.0

func (m *QueryRequest) GetVouchers() []*Voucher

func (*QueryRequest) ProtoMessage

func (*QueryRequest) ProtoMessage()

func (*QueryRequest) Reset

func (m *QueryRequest) Reset()

func (*QueryRequest) String

func (m *QueryRequest) String() string

func (*QueryRequest) XXX_DiscardUnknown

func (m *QueryRequest) XXX_DiscardUnknown()

func (*QueryRequest) XXX_Marshal

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

func (*QueryRequest) XXX_Merge

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

func (*QueryRequest) XXX_Size

func (m *QueryRequest) XXX_Size() int

func (*QueryRequest) XXX_Unmarshal

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

type QueryResponse

type QueryResponse struct {
	Sender               *Node    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Response             []*Node  `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*QueryResponse) Descriptor

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

func (*QueryResponse) GetResponse

func (m *QueryResponse) GetResponse() []*Node

func (*QueryResponse) GetSender

func (m *QueryResponse) GetSender() *Node

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) Reset

func (m *QueryResponse) Reset()

func (*QueryResponse) String

func (m *QueryResponse) String() string

func (*QueryResponse) XXX_DiscardUnknown

func (m *QueryResponse) XXX_DiscardUnknown()

func (*QueryResponse) XXX_Marshal

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

func (*QueryResponse) XXX_Merge

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

func (*QueryResponse) XXX_Size

func (m *QueryResponse) XXX_Size() int

func (*QueryResponse) XXX_Unmarshal

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

type RedundancyScheme

type RedundancyScheme struct {
	Type RedundancyScheme_SchemeType `protobuf:"varint,1,opt,name=type,proto3,enum=pointerdb.RedundancyScheme_SchemeType" json:"type,omitempty"`
	// these values apply to RS encoding
	MinReq               int32    `protobuf:"varint,2,opt,name=min_req,json=minReq,proto3" json:"min_req,omitempty"`
	Total                int32    `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	RepairThreshold      int32    `protobuf:"varint,4,opt,name=repair_threshold,json=repairThreshold,proto3" json:"repair_threshold,omitempty"`
	SuccessThreshold     int32    `protobuf:"varint,5,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"`
	ErasureShareSize     int32    `protobuf:"varint,6,opt,name=erasure_share_size,json=erasureShareSize,proto3" json:"erasure_share_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RedundancyScheme) Descriptor

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

func (*RedundancyScheme) GetErasureShareSize

func (m *RedundancyScheme) GetErasureShareSize() int32

func (*RedundancyScheme) GetMinReq

func (m *RedundancyScheme) GetMinReq() int32

func (*RedundancyScheme) GetRepairThreshold

func (m *RedundancyScheme) GetRepairThreshold() int32

func (*RedundancyScheme) GetSuccessThreshold

func (m *RedundancyScheme) GetSuccessThreshold() int32

func (*RedundancyScheme) GetTotal

func (m *RedundancyScheme) GetTotal() int32

func (*RedundancyScheme) GetType

func (*RedundancyScheme) ProtoMessage

func (*RedundancyScheme) ProtoMessage()

func (*RedundancyScheme) Reset

func (m *RedundancyScheme) Reset()

func (*RedundancyScheme) String

func (m *RedundancyScheme) String() string

func (*RedundancyScheme) XXX_DiscardUnknown

func (m *RedundancyScheme) XXX_DiscardUnknown()

func (*RedundancyScheme) XXX_Marshal

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

func (*RedundancyScheme) XXX_Merge

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

func (*RedundancyScheme) XXX_Size

func (m *RedundancyScheme) XXX_Size() int

func (*RedundancyScheme) XXX_Unmarshal

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

type RedundancyScheme_SchemeType

type RedundancyScheme_SchemeType int32
const (
	RedundancyScheme_INVALID RedundancyScheme_SchemeType = 0
	RedundancyScheme_RS      RedundancyScheme_SchemeType = 1
)

func (RedundancyScheme_SchemeType) EnumDescriptor

func (RedundancyScheme_SchemeType) EnumDescriptor() ([]byte, []int)

func (RedundancyScheme_SchemeType) String

type RemotePiece

type RemotePiece struct {
	PieceNum             int32      `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
	NodeId               NodeID     `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	Hash                 *PieceHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*RemotePiece) Descriptor

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

func (*RemotePiece) GetHash

func (m *RemotePiece) GetHash() *PieceHash

func (*RemotePiece) GetPieceNum

func (m *RemotePiece) GetPieceNum() int32

func (*RemotePiece) ProtoMessage

func (*RemotePiece) ProtoMessage()

func (*RemotePiece) Reset

func (m *RemotePiece) Reset()

func (*RemotePiece) String

func (m *RemotePiece) String() string

func (*RemotePiece) XXX_DiscardUnknown

func (m *RemotePiece) XXX_DiscardUnknown()

func (*RemotePiece) XXX_Marshal

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

func (*RemotePiece) XXX_Merge

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

func (*RemotePiece) XXX_Size

func (m *RemotePiece) XXX_Size() int

func (*RemotePiece) XXX_Unmarshal

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

type RemoteSegment

type RemoteSegment struct {
	Redundancy           *RedundancyScheme `protobuf:"bytes,1,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
	RootPieceId          PieceID           `protobuf:"bytes,2,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
	RemotePieces         []*RemotePiece    `protobuf:"bytes,3,rep,name=remote_pieces,json=remotePieces,proto3" json:"remote_pieces,omitempty"`
	MerkleRoot           []byte            `protobuf:"bytes,4,opt,name=merkle_root,json=merkleRoot,proto3" json:"merkle_root,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*RemoteSegment) Descriptor

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

func (*RemoteSegment) GetMerkleRoot

func (m *RemoteSegment) GetMerkleRoot() []byte

func (*RemoteSegment) GetRedundancy

func (m *RemoteSegment) GetRedundancy() *RedundancyScheme

func (*RemoteSegment) GetRemotePieces

func (m *RemoteSegment) GetRemotePieces() []*RemotePiece

func (*RemoteSegment) ProtoMessage

func (*RemoteSegment) ProtoMessage()

func (*RemoteSegment) Reset

func (m *RemoteSegment) Reset()

func (*RemoteSegment) String

func (m *RemoteSegment) String() string

func (*RemoteSegment) XXX_DiscardUnknown

func (m *RemoteSegment) XXX_DiscardUnknown()

func (*RemoteSegment) XXX_Marshal

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

func (*RemoteSegment) XXX_Merge

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

func (*RemoteSegment) XXX_Size

func (m *RemoteSegment) XXX_Size() int

func (*RemoteSegment) XXX_Unmarshal

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

type ReputationStats added in v0.15.0

type ReputationStats struct {
	TotalCount           int64    `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	SuccessCount         int64    `protobuf:"varint,2,opt,name=success_count,json=successCount,proto3" json:"success_count,omitempty"`
	ReputationAlpha      float64  `protobuf:"fixed64,3,opt,name=reputation_alpha,json=reputationAlpha,proto3" json:"reputation_alpha,omitempty"`
	ReputationBeta       float64  `protobuf:"fixed64,4,opt,name=reputation_beta,json=reputationBeta,proto3" json:"reputation_beta,omitempty"`
	ReputationScore      float64  `protobuf:"fixed64,5,opt,name=reputation_score,json=reputationScore,proto3" json:"reputation_score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReputationStats) Descriptor added in v0.15.0

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

func (*ReputationStats) GetReputationAlpha added in v0.15.0

func (m *ReputationStats) GetReputationAlpha() float64

func (*ReputationStats) GetReputationBeta added in v0.15.0

func (m *ReputationStats) GetReputationBeta() float64

func (*ReputationStats) GetReputationScore added in v0.15.0

func (m *ReputationStats) GetReputationScore() float64

func (*ReputationStats) GetSuccessCount added in v0.15.0

func (m *ReputationStats) GetSuccessCount() int64

func (*ReputationStats) GetTotalCount added in v0.15.0

func (m *ReputationStats) GetTotalCount() int64

func (*ReputationStats) ProtoMessage added in v0.15.0

func (*ReputationStats) ProtoMessage()

func (*ReputationStats) Reset added in v0.15.0

func (m *ReputationStats) Reset()

func (*ReputationStats) String added in v0.15.0

func (m *ReputationStats) String() string

func (*ReputationStats) XXX_DiscardUnknown added in v0.15.0

func (m *ReputationStats) XXX_DiscardUnknown()

func (*ReputationStats) XXX_Marshal added in v0.15.0

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

func (*ReputationStats) XXX_Merge added in v0.15.0

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

func (*ReputationStats) XXX_Size added in v0.15.0

func (m *ReputationStats) XXX_Size() int

func (*ReputationStats) XXX_Unmarshal added in v0.15.0

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

type Restriction

type Restriction struct {
	Operator             Restriction_Operator `protobuf:"varint,1,opt,name=operator,proto3,enum=overlay.Restriction_Operator" json:"operator,omitempty"`
	Operand              Restriction_Operand  `protobuf:"varint,2,opt,name=operand,proto3,enum=overlay.Restriction_Operand" json:"operand,omitempty"`
	Value                int64                `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Restriction) Descriptor

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

func (*Restriction) GetOperand

func (m *Restriction) GetOperand() Restriction_Operand

func (*Restriction) GetOperator

func (m *Restriction) GetOperator() Restriction_Operator

func (*Restriction) GetValue

func (m *Restriction) GetValue() int64

func (*Restriction) ProtoMessage

func (*Restriction) ProtoMessage()

func (*Restriction) Reset

func (m *Restriction) Reset()

func (*Restriction) String

func (m *Restriction) String() string

func (*Restriction) XXX_DiscardUnknown

func (m *Restriction) XXX_DiscardUnknown()

func (*Restriction) XXX_Marshal

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

func (*Restriction) XXX_Merge

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

func (*Restriction) XXX_Size

func (m *Restriction) XXX_Size() int

func (*Restriction) XXX_Unmarshal

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

type Restriction_Operand

type Restriction_Operand int32
const (
	Restriction_FREE_BANDWIDTH Restriction_Operand = 0
	Restriction_FREE_DISK      Restriction_Operand = 1
)

func (Restriction_Operand) EnumDescriptor

func (Restriction_Operand) EnumDescriptor() ([]byte, []int)

func (Restriction_Operand) String

func (x Restriction_Operand) String() string

type Restriction_Operator

type Restriction_Operator int32
const (
	Restriction_LT  Restriction_Operator = 0
	Restriction_EQ  Restriction_Operator = 1
	Restriction_GT  Restriction_Operator = 2
	Restriction_LTE Restriction_Operator = 3
	Restriction_GTE Restriction_Operator = 4
)

func (Restriction_Operator) EnumDescriptor

func (Restriction_Operator) EnumDescriptor() ([]byte, []int)

func (Restriction_Operator) String

func (x Restriction_Operator) String() string

type RetainRequest added in v0.14.0

type RetainRequest struct {
	CreationDate         time.Time `protobuf:"bytes,1,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
	Filter               []byte    `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*RetainRequest) Descriptor added in v0.14.0

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

func (*RetainRequest) GetCreationDate added in v0.14.0

func (m *RetainRequest) GetCreationDate() time.Time

func (*RetainRequest) GetFilter added in v0.14.0

func (m *RetainRequest) GetFilter() []byte

func (*RetainRequest) ProtoMessage added in v0.14.0

func (*RetainRequest) ProtoMessage()

func (*RetainRequest) Reset added in v0.14.0

func (m *RetainRequest) Reset()

func (*RetainRequest) String added in v0.14.0

func (m *RetainRequest) String() string

func (*RetainRequest) XXX_DiscardUnknown added in v0.14.0

func (m *RetainRequest) XXX_DiscardUnknown()

func (*RetainRequest) XXX_Marshal added in v0.14.0

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

func (*RetainRequest) XXX_Merge added in v0.14.0

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

func (*RetainRequest) XXX_Size added in v0.14.0

func (m *RetainRequest) XXX_Size() int

func (*RetainRequest) XXX_Unmarshal added in v0.14.0

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

type RetainResponse added in v0.14.0

type RetainResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RetainResponse) Descriptor added in v0.14.0

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

func (*RetainResponse) ProtoMessage added in v0.14.0

func (*RetainResponse) ProtoMessage()

func (*RetainResponse) Reset added in v0.14.0

func (m *RetainResponse) Reset()

func (*RetainResponse) String added in v0.14.0

func (m *RetainResponse) String() string

func (*RetainResponse) XXX_DiscardUnknown added in v0.14.0

func (m *RetainResponse) XXX_DiscardUnknown()

func (*RetainResponse) XXX_Marshal added in v0.14.0

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

func (*RetainResponse) XXX_Merge added in v0.14.0

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

func (*RetainResponse) XXX_Size added in v0.14.0

func (m *RetainResponse) XXX_Size() int

func (*RetainResponse) XXX_Unmarshal added in v0.14.0

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

type SatSegmentID added in v0.16.0

type SatSegmentID struct {
	StreamId   *SatStreamID `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	PartNumber int32        `protobuf:"varint,2,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	Index      int32        `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	// TODO we have redundancy in SatStreamID, do we need it here?
	// pointerdb.RedundancyScheme redundancy = 4;
	RootPieceId          PieceID                `protobuf:"bytes,5,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
	OriginalOrderLimits  []*AddressedOrderLimit `protobuf:"bytes,6,rep,name=original_order_limits,json=originalOrderLimits,proto3" json:"original_order_limits,omitempty"`
	CreationDate         time.Time              `protobuf:"bytes,7,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
	SatelliteSignature   []byte                 `protobuf:"bytes,8,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

only for satellite use

func (*SatSegmentID) Descriptor added in v0.16.0

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

func (*SatSegmentID) GetCreationDate added in v0.16.0

func (m *SatSegmentID) GetCreationDate() time.Time

func (*SatSegmentID) GetIndex added in v0.16.0

func (m *SatSegmentID) GetIndex() int32

func (*SatSegmentID) GetOriginalOrderLimits added in v0.16.0

func (m *SatSegmentID) GetOriginalOrderLimits() []*AddressedOrderLimit

func (*SatSegmentID) GetPartNumber added in v0.16.0

func (m *SatSegmentID) GetPartNumber() int32

func (*SatSegmentID) GetSatelliteSignature added in v0.16.0

func (m *SatSegmentID) GetSatelliteSignature() []byte

func (*SatSegmentID) GetStreamId added in v0.16.0

func (m *SatSegmentID) GetStreamId() *SatStreamID

func (*SatSegmentID) ProtoMessage added in v0.16.0

func (*SatSegmentID) ProtoMessage()

func (*SatSegmentID) Reset added in v0.16.0

func (m *SatSegmentID) Reset()

func (*SatSegmentID) String added in v0.16.0

func (m *SatSegmentID) String() string

func (*SatSegmentID) XXX_DiscardUnknown added in v0.16.0

func (m *SatSegmentID) XXX_DiscardUnknown()

func (*SatSegmentID) XXX_Marshal added in v0.16.0

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

func (*SatSegmentID) XXX_Merge added in v0.16.0

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

func (*SatSegmentID) XXX_Size added in v0.16.0

func (m *SatSegmentID) XXX_Size() int

func (*SatSegmentID) XXX_Unmarshal added in v0.16.0

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

type SatStreamID added in v0.16.0

type SatStreamID struct {
	Bucket               []byte            `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte            `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	Version              int32             `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	Redundancy           *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
	CreationDate         time.Time         `protobuf:"bytes,5,opt,name=creation_date,json=creationDate,proto3,stdtime" json:"creation_date"`
	ExpirationDate       time.Time         `protobuf:"bytes,6,opt,name=expiration_date,json=expirationDate,proto3,stdtime" json:"expiration_date"`
	SatelliteSignature   []byte            `protobuf:"bytes,9,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

only for satellite use

func (*SatStreamID) Descriptor added in v0.16.0

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

func (*SatStreamID) GetBucket added in v0.16.0

func (m *SatStreamID) GetBucket() []byte

func (*SatStreamID) GetCreationDate added in v0.16.0

func (m *SatStreamID) GetCreationDate() time.Time

func (*SatStreamID) GetEncryptedPath added in v0.16.0

func (m *SatStreamID) GetEncryptedPath() []byte

func (*SatStreamID) GetExpirationDate added in v0.16.0

func (m *SatStreamID) GetExpirationDate() time.Time

func (*SatStreamID) GetRedundancy added in v0.16.0

func (m *SatStreamID) GetRedundancy() *RedundancyScheme

func (*SatStreamID) GetSatelliteSignature added in v0.16.0

func (m *SatStreamID) GetSatelliteSignature() []byte

func (*SatStreamID) GetVersion added in v0.16.0

func (m *SatStreamID) GetVersion() int32

func (*SatStreamID) ProtoMessage added in v0.16.0

func (*SatStreamID) ProtoMessage()

func (*SatStreamID) Reset added in v0.16.0

func (m *SatStreamID) Reset()

func (*SatStreamID) String added in v0.16.0

func (m *SatStreamID) String() string

func (*SatStreamID) XXX_DiscardUnknown added in v0.16.0

func (m *SatStreamID) XXX_DiscardUnknown()

func (*SatStreamID) XXX_Marshal added in v0.16.0

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

func (*SatStreamID) XXX_Merge added in v0.16.0

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

func (*SatStreamID) XXX_Size added in v0.16.0

func (m *SatStreamID) XXX_Size() int

func (*SatStreamID) XXX_Unmarshal added in v0.16.0

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

type Scope added in v0.15.0

type Scope struct {
	SatelliteAddr        string            `protobuf:"bytes,1,opt,name=satellite_addr,json=satelliteAddr,proto3" json:"satellite_addr,omitempty"`
	ApiKey               []byte            `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	EncryptionAccess     *EncryptionAccess `protobuf:"bytes,3,opt,name=encryption_access,json=encryptionAccess,proto3" json:"encryption_access,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Scope) Descriptor added in v0.15.0

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

func (*Scope) GetApiKey added in v0.15.0

func (m *Scope) GetApiKey() []byte

func (*Scope) GetEncryptionAccess added in v0.15.0

func (m *Scope) GetEncryptionAccess() *EncryptionAccess

func (*Scope) GetSatelliteAddr added in v0.15.0

func (m *Scope) GetSatelliteAddr() string

func (*Scope) ProtoMessage added in v0.15.0

func (*Scope) ProtoMessage()

func (*Scope) Reset added in v0.15.0

func (m *Scope) Reset()

func (*Scope) String added in v0.15.0

func (m *Scope) String() string

func (*Scope) XXX_DiscardUnknown added in v0.15.0

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal added in v0.15.0

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

func (*Scope) XXX_Merge added in v0.15.0

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

func (*Scope) XXX_Size added in v0.15.0

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal added in v0.15.0

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

type Segment added in v0.16.0

type Segment struct {
	StreamId             StreamID         `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	Position             *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	EncryptedKeyNonce    Nonce            `protobuf:"bytes,3,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
	EncryptedKey         []byte           `protobuf:"bytes,4,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	SizeEncryptedData    int64            `protobuf:"varint,5,opt,name=size_encrypted_data,json=sizeEncryptedData,proto3" json:"size_encrypted_data,omitempty"`
	EncryptedInlineData  []byte           `protobuf:"bytes,6,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
	Pieces               []*Piece         `protobuf:"bytes,7,rep,name=pieces,proto3" json:"pieces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Segment) Descriptor added in v0.16.0

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

func (*Segment) GetEncryptedInlineData added in v0.16.0

func (m *Segment) GetEncryptedInlineData() []byte

func (*Segment) GetEncryptedKey added in v0.16.0

func (m *Segment) GetEncryptedKey() []byte

func (*Segment) GetPieces added in v0.16.0

func (m *Segment) GetPieces() []*Piece

func (*Segment) GetPosition added in v0.16.0

func (m *Segment) GetPosition() *SegmentPosition

func (*Segment) GetSizeEncryptedData added in v0.16.0

func (m *Segment) GetSizeEncryptedData() int64

func (*Segment) ProtoMessage added in v0.16.0

func (*Segment) ProtoMessage()

func (*Segment) Reset added in v0.16.0

func (m *Segment) Reset()

func (*Segment) String added in v0.16.0

func (m *Segment) String() string

func (*Segment) XXX_DiscardUnknown added in v0.16.0

func (m *Segment) XXX_DiscardUnknown()

func (*Segment) XXX_Marshal added in v0.16.0

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

func (*Segment) XXX_Merge added in v0.16.0

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

func (*Segment) XXX_Size added in v0.16.0

func (m *Segment) XXX_Size() int

func (*Segment) XXX_Unmarshal added in v0.16.0

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

type SegmentBeginDeleteRequest added in v0.16.0

type SegmentBeginDeleteRequest struct {
	StreamId             []byte           `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	Position             *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentBeginDeleteRequest) Descriptor added in v0.16.0

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

func (*SegmentBeginDeleteRequest) GetPosition added in v0.16.0

func (m *SegmentBeginDeleteRequest) GetPosition() *SegmentPosition

func (*SegmentBeginDeleteRequest) GetStreamId added in v0.16.0

func (m *SegmentBeginDeleteRequest) GetStreamId() []byte

func (*SegmentBeginDeleteRequest) ProtoMessage added in v0.16.0

func (*SegmentBeginDeleteRequest) ProtoMessage()

func (*SegmentBeginDeleteRequest) Reset added in v0.16.0

func (m *SegmentBeginDeleteRequest) Reset()

func (*SegmentBeginDeleteRequest) String added in v0.16.0

func (m *SegmentBeginDeleteRequest) String() string

func (*SegmentBeginDeleteRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentBeginDeleteRequest) XXX_DiscardUnknown()

func (*SegmentBeginDeleteRequest) XXX_Marshal added in v0.16.0

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

func (*SegmentBeginDeleteRequest) XXX_Merge added in v0.16.0

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

func (*SegmentBeginDeleteRequest) XXX_Size added in v0.16.0

func (m *SegmentBeginDeleteRequest) XXX_Size() int

func (*SegmentBeginDeleteRequest) XXX_Unmarshal added in v0.16.0

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

type SegmentBeginDeleteResponse added in v0.16.0

type SegmentBeginDeleteResponse struct {
	SegmentId            SegmentID              `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentBeginDeleteResponse) Descriptor added in v0.16.0

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

func (*SegmentBeginDeleteResponse) GetAddressedLimits added in v0.16.0

func (m *SegmentBeginDeleteResponse) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentBeginDeleteResponse) ProtoMessage added in v0.16.0

func (*SegmentBeginDeleteResponse) ProtoMessage()

func (*SegmentBeginDeleteResponse) Reset added in v0.16.0

func (m *SegmentBeginDeleteResponse) Reset()

func (*SegmentBeginDeleteResponse) String added in v0.16.0

func (m *SegmentBeginDeleteResponse) String() string

func (*SegmentBeginDeleteResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentBeginDeleteResponse) XXX_DiscardUnknown()

func (*SegmentBeginDeleteResponse) XXX_Marshal added in v0.16.0

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

func (*SegmentBeginDeleteResponse) XXX_Merge added in v0.16.0

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

func (*SegmentBeginDeleteResponse) XXX_Size added in v0.16.0

func (m *SegmentBeginDeleteResponse) XXX_Size() int

func (*SegmentBeginDeleteResponse) XXX_Unmarshal added in v0.16.0

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

type SegmentBeginRequest added in v0.16.0

type SegmentBeginRequest struct {
	StreamId             StreamID         `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	Position             *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	MaxOrderLimit        int64            `protobuf:"varint,3,opt,name=max_order_limit,json=maxOrderLimit,proto3" json:"max_order_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentBeginRequest) Descriptor added in v0.16.0

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

func (*SegmentBeginRequest) GetMaxOrderLimit added in v0.16.0

func (m *SegmentBeginRequest) GetMaxOrderLimit() int64

func (*SegmentBeginRequest) GetPosition added in v0.16.0

func (m *SegmentBeginRequest) GetPosition() *SegmentPosition

func (*SegmentBeginRequest) ProtoMessage added in v0.16.0

func (*SegmentBeginRequest) ProtoMessage()

func (*SegmentBeginRequest) Reset added in v0.16.0

func (m *SegmentBeginRequest) Reset()

func (*SegmentBeginRequest) String added in v0.16.0

func (m *SegmentBeginRequest) String() string

func (*SegmentBeginRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentBeginRequest) XXX_DiscardUnknown()

func (*SegmentBeginRequest) XXX_Marshal added in v0.16.0

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

func (*SegmentBeginRequest) XXX_Merge added in v0.16.0

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

func (*SegmentBeginRequest) XXX_Size added in v0.16.0

func (m *SegmentBeginRequest) XXX_Size() int

func (*SegmentBeginRequest) XXX_Unmarshal added in v0.16.0

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

type SegmentBeginResponse added in v0.16.0

type SegmentBeginResponse struct {
	SegmentId            SegmentID              `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentBeginResponse) Descriptor added in v0.16.0

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

func (*SegmentBeginResponse) GetAddressedLimits added in v0.16.0

func (m *SegmentBeginResponse) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentBeginResponse) ProtoMessage added in v0.16.0

func (*SegmentBeginResponse) ProtoMessage()

func (*SegmentBeginResponse) Reset added in v0.16.0

func (m *SegmentBeginResponse) Reset()

func (*SegmentBeginResponse) String added in v0.16.0

func (m *SegmentBeginResponse) String() string

func (*SegmentBeginResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentBeginResponse) XXX_DiscardUnknown()

func (*SegmentBeginResponse) XXX_Marshal added in v0.16.0

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

func (*SegmentBeginResponse) XXX_Merge added in v0.16.0

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

func (*SegmentBeginResponse) XXX_Size added in v0.16.0

func (m *SegmentBeginResponse) XXX_Size() int

func (*SegmentBeginResponse) XXX_Unmarshal added in v0.16.0

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

type SegmentCommitRequest

type SegmentCommitRequest struct {
	SegmentId            SegmentID                   `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
	EncryptedKeyNonce    Nonce                       `protobuf:"bytes,2,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
	EncryptedKey         []byte                      `protobuf:"bytes,3,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	SizeEncryptedData    int64                       `protobuf:"varint,4,opt,name=size_encrypted_data,json=sizeEncryptedData,proto3" json:"size_encrypted_data,omitempty"`
	UploadResult         []*SegmentPieceUploadResult `protobuf:"bytes,5,rep,name=upload_result,json=uploadResult,proto3" json:"upload_result,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*SegmentCommitRequest) Descriptor

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

func (*SegmentCommitRequest) GetEncryptedKey added in v0.16.0

func (m *SegmentCommitRequest) GetEncryptedKey() []byte

func (*SegmentCommitRequest) GetSizeEncryptedData added in v0.16.0

func (m *SegmentCommitRequest) GetSizeEncryptedData() int64

func (*SegmentCommitRequest) GetUploadResult added in v0.16.0

func (m *SegmentCommitRequest) GetUploadResult() []*SegmentPieceUploadResult

func (*SegmentCommitRequest) ProtoMessage

func (*SegmentCommitRequest) ProtoMessage()

func (*SegmentCommitRequest) Reset

func (m *SegmentCommitRequest) Reset()

func (*SegmentCommitRequest) String

func (m *SegmentCommitRequest) String() string

func (*SegmentCommitRequest) XXX_DiscardUnknown

func (m *SegmentCommitRequest) XXX_DiscardUnknown()

func (*SegmentCommitRequest) XXX_Marshal

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

func (*SegmentCommitRequest) XXX_Merge

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

func (*SegmentCommitRequest) XXX_Size

func (m *SegmentCommitRequest) XXX_Size() int

func (*SegmentCommitRequest) XXX_Unmarshal

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

type SegmentCommitRequestOld added in v0.15.0

type SegmentCommitRequestOld struct {
	Bucket               []byte        `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path                 []byte        `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Segment              int64         `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	Pointer              *Pointer      `protobuf:"bytes,4,opt,name=pointer,proto3" json:"pointer,omitempty"`
	OriginalLimits       []*OrderLimit `protobuf:"bytes,5,rep,name=original_limits,json=originalLimits,proto3" json:"original_limits,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*SegmentCommitRequestOld) Descriptor added in v0.15.0

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

func (*SegmentCommitRequestOld) GetBucket added in v0.15.0

func (m *SegmentCommitRequestOld) GetBucket() []byte

func (*SegmentCommitRequestOld) GetOriginalLimits added in v0.15.0

func (m *SegmentCommitRequestOld) GetOriginalLimits() []*OrderLimit

func (*SegmentCommitRequestOld) GetPath added in v0.15.0

func (m *SegmentCommitRequestOld) GetPath() []byte

func (*SegmentCommitRequestOld) GetPointer added in v0.15.0

func (m *SegmentCommitRequestOld) GetPointer() *Pointer

func (*SegmentCommitRequestOld) GetSegment added in v0.15.0

func (m *SegmentCommitRequestOld) GetSegment() int64

func (*SegmentCommitRequestOld) ProtoMessage added in v0.15.0

func (*SegmentCommitRequestOld) ProtoMessage()

func (*SegmentCommitRequestOld) Reset added in v0.15.0

func (m *SegmentCommitRequestOld) Reset()

func (*SegmentCommitRequestOld) String added in v0.15.0

func (m *SegmentCommitRequestOld) String() string

func (*SegmentCommitRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentCommitRequestOld) XXX_DiscardUnknown()

func (*SegmentCommitRequestOld) XXX_Marshal added in v0.15.0

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

func (*SegmentCommitRequestOld) XXX_Merge added in v0.15.0

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

func (*SegmentCommitRequestOld) XXX_Size added in v0.15.0

func (m *SegmentCommitRequestOld) XXX_Size() int

func (*SegmentCommitRequestOld) XXX_Unmarshal added in v0.15.0

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

type SegmentCommitResponse

type SegmentCommitResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentCommitResponse) Descriptor

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

func (*SegmentCommitResponse) ProtoMessage

func (*SegmentCommitResponse) ProtoMessage()

func (*SegmentCommitResponse) Reset

func (m *SegmentCommitResponse) Reset()

func (*SegmentCommitResponse) String

func (m *SegmentCommitResponse) String() string

func (*SegmentCommitResponse) XXX_DiscardUnknown

func (m *SegmentCommitResponse) XXX_DiscardUnknown()

func (*SegmentCommitResponse) XXX_Marshal

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

func (*SegmentCommitResponse) XXX_Merge

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

func (*SegmentCommitResponse) XXX_Size

func (m *SegmentCommitResponse) XXX_Size() int

func (*SegmentCommitResponse) XXX_Unmarshal

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

type SegmentCommitResponseOld added in v0.15.0

type SegmentCommitResponseOld struct {
	Pointer              *Pointer `protobuf:"bytes,1,opt,name=pointer,proto3" json:"pointer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentCommitResponseOld) Descriptor added in v0.15.0

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

func (*SegmentCommitResponseOld) GetPointer added in v0.15.0

func (m *SegmentCommitResponseOld) GetPointer() *Pointer

func (*SegmentCommitResponseOld) ProtoMessage added in v0.15.0

func (*SegmentCommitResponseOld) ProtoMessage()

func (*SegmentCommitResponseOld) Reset added in v0.15.0

func (m *SegmentCommitResponseOld) Reset()

func (*SegmentCommitResponseOld) String added in v0.15.0

func (m *SegmentCommitResponseOld) String() string

func (*SegmentCommitResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentCommitResponseOld) XXX_DiscardUnknown()

func (*SegmentCommitResponseOld) XXX_Marshal added in v0.15.0

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

func (*SegmentCommitResponseOld) XXX_Merge added in v0.15.0

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

func (*SegmentCommitResponseOld) XXX_Size added in v0.15.0

func (m *SegmentCommitResponseOld) XXX_Size() int

func (*SegmentCommitResponseOld) XXX_Unmarshal added in v0.15.0

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

type SegmentDeleteRequestOld added in v0.15.0

type SegmentDeleteRequestOld struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path                 []byte   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Segment              int64    `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentDeleteRequestOld) Descriptor added in v0.15.0

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

func (*SegmentDeleteRequestOld) GetBucket added in v0.15.0

func (m *SegmentDeleteRequestOld) GetBucket() []byte

func (*SegmentDeleteRequestOld) GetPath added in v0.15.0

func (m *SegmentDeleteRequestOld) GetPath() []byte

func (*SegmentDeleteRequestOld) GetSegment added in v0.15.0

func (m *SegmentDeleteRequestOld) GetSegment() int64

func (*SegmentDeleteRequestOld) ProtoMessage added in v0.15.0

func (*SegmentDeleteRequestOld) ProtoMessage()

func (*SegmentDeleteRequestOld) Reset added in v0.15.0

func (m *SegmentDeleteRequestOld) Reset()

func (*SegmentDeleteRequestOld) String added in v0.15.0

func (m *SegmentDeleteRequestOld) String() string

func (*SegmentDeleteRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentDeleteRequestOld) XXX_DiscardUnknown()

func (*SegmentDeleteRequestOld) XXX_Marshal added in v0.15.0

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

func (*SegmentDeleteRequestOld) XXX_Merge added in v0.15.0

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

func (*SegmentDeleteRequestOld) XXX_Size added in v0.15.0

func (m *SegmentDeleteRequestOld) XXX_Size() int

func (*SegmentDeleteRequestOld) XXX_Unmarshal added in v0.15.0

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

type SegmentDeleteResponseOld added in v0.15.0

type SegmentDeleteResponseOld struct {
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentDeleteResponseOld) Descriptor added in v0.15.0

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

func (*SegmentDeleteResponseOld) GetAddressedLimits added in v0.15.0

func (m *SegmentDeleteResponseOld) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentDeleteResponseOld) ProtoMessage added in v0.15.0

func (*SegmentDeleteResponseOld) ProtoMessage()

func (*SegmentDeleteResponseOld) Reset added in v0.15.0

func (m *SegmentDeleteResponseOld) Reset()

func (*SegmentDeleteResponseOld) String added in v0.15.0

func (m *SegmentDeleteResponseOld) String() string

func (*SegmentDeleteResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentDeleteResponseOld) XXX_DiscardUnknown()

func (*SegmentDeleteResponseOld) XXX_Marshal added in v0.15.0

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

func (*SegmentDeleteResponseOld) XXX_Merge added in v0.15.0

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

func (*SegmentDeleteResponseOld) XXX_Size added in v0.15.0

func (m *SegmentDeleteResponseOld) XXX_Size() int

func (*SegmentDeleteResponseOld) XXX_Unmarshal added in v0.15.0

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

type SegmentDownloadRequest

type SegmentDownloadRequest struct {
	StreamId             StreamID         `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	CursorPosition       *SegmentPosition `protobuf:"bytes,2,opt,name=cursor_position,json=cursorPosition,proto3" json:"cursor_position,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentDownloadRequest) Descriptor

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

func (*SegmentDownloadRequest) GetCursorPosition added in v0.16.0

func (m *SegmentDownloadRequest) GetCursorPosition() *SegmentPosition

func (*SegmentDownloadRequest) ProtoMessage

func (*SegmentDownloadRequest) ProtoMessage()

func (*SegmentDownloadRequest) Reset

func (m *SegmentDownloadRequest) Reset()

func (*SegmentDownloadRequest) String

func (m *SegmentDownloadRequest) String() string

func (*SegmentDownloadRequest) XXX_DiscardUnknown

func (m *SegmentDownloadRequest) XXX_DiscardUnknown()

func (*SegmentDownloadRequest) XXX_Marshal

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

func (*SegmentDownloadRequest) XXX_Merge

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

func (*SegmentDownloadRequest) XXX_Size

func (m *SegmentDownloadRequest) XXX_Size() int

func (*SegmentDownloadRequest) XXX_Unmarshal

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

type SegmentDownloadRequestOld added in v0.15.0

type SegmentDownloadRequestOld struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path                 []byte   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Segment              int64    `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentDownloadRequestOld) Descriptor added in v0.15.0

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

func (*SegmentDownloadRequestOld) GetBucket added in v0.15.0

func (m *SegmentDownloadRequestOld) GetBucket() []byte

func (*SegmentDownloadRequestOld) GetPath added in v0.15.0

func (m *SegmentDownloadRequestOld) GetPath() []byte

func (*SegmentDownloadRequestOld) GetSegment added in v0.15.0

func (m *SegmentDownloadRequestOld) GetSegment() int64

func (*SegmentDownloadRequestOld) ProtoMessage added in v0.15.0

func (*SegmentDownloadRequestOld) ProtoMessage()

func (*SegmentDownloadRequestOld) Reset added in v0.15.0

func (m *SegmentDownloadRequestOld) Reset()

func (*SegmentDownloadRequestOld) String added in v0.15.0

func (m *SegmentDownloadRequestOld) String() string

func (*SegmentDownloadRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentDownloadRequestOld) XXX_DiscardUnknown()

func (*SegmentDownloadRequestOld) XXX_Marshal added in v0.15.0

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

func (*SegmentDownloadRequestOld) XXX_Merge added in v0.15.0

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

func (*SegmentDownloadRequestOld) XXX_Size added in v0.15.0

func (m *SegmentDownloadRequestOld) XXX_Size() int

func (*SegmentDownloadRequestOld) XXX_Unmarshal added in v0.15.0

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

type SegmentDownloadResponse

type SegmentDownloadResponse struct {
	SegmentId            SegmentID              `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,2,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	EncryptedInlineData  []byte                 `protobuf:"bytes,4,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
	SegmentSize          int64                  `protobuf:"varint,5,opt,name=segment_size,json=segmentSize,proto3" json:"segment_size,omitempty"`
	EncryptedKeyNonce    Nonce                  `protobuf:"bytes,6,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
	EncryptedKey         []byte                 `protobuf:"bytes,7,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	Next                 *SegmentPosition       `protobuf:"bytes,8,opt,name=next,proto3" json:"next,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentDownloadResponse) Descriptor

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

func (*SegmentDownloadResponse) GetAddressedLimits

func (m *SegmentDownloadResponse) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentDownloadResponse) GetEncryptedInlineData added in v0.16.0

func (m *SegmentDownloadResponse) GetEncryptedInlineData() []byte

func (*SegmentDownloadResponse) GetEncryptedKey added in v0.17.0

func (m *SegmentDownloadResponse) GetEncryptedKey() []byte

func (*SegmentDownloadResponse) GetNext added in v0.16.0

func (*SegmentDownloadResponse) GetSegmentSize added in v0.17.0

func (m *SegmentDownloadResponse) GetSegmentSize() int64

func (*SegmentDownloadResponse) ProtoMessage

func (*SegmentDownloadResponse) ProtoMessage()

func (*SegmentDownloadResponse) Reset

func (m *SegmentDownloadResponse) Reset()

func (*SegmentDownloadResponse) String

func (m *SegmentDownloadResponse) String() string

func (*SegmentDownloadResponse) XXX_DiscardUnknown

func (m *SegmentDownloadResponse) XXX_DiscardUnknown()

func (*SegmentDownloadResponse) XXX_Marshal

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

func (*SegmentDownloadResponse) XXX_Merge

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

func (*SegmentDownloadResponse) XXX_Size

func (m *SegmentDownloadResponse) XXX_Size() int

func (*SegmentDownloadResponse) XXX_Unmarshal

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

type SegmentDownloadResponseOld added in v0.15.0

type SegmentDownloadResponseOld struct {
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	Pointer              *Pointer               `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentDownloadResponseOld) Descriptor added in v0.15.0

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

func (*SegmentDownloadResponseOld) GetAddressedLimits added in v0.15.0

func (m *SegmentDownloadResponseOld) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentDownloadResponseOld) GetPointer added in v0.15.0

func (m *SegmentDownloadResponseOld) GetPointer() *Pointer

func (*SegmentDownloadResponseOld) ProtoMessage added in v0.15.0

func (*SegmentDownloadResponseOld) ProtoMessage()

func (*SegmentDownloadResponseOld) Reset added in v0.15.0

func (m *SegmentDownloadResponseOld) Reset()

func (*SegmentDownloadResponseOld) String added in v0.15.0

func (m *SegmentDownloadResponseOld) String() string

func (*SegmentDownloadResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentDownloadResponseOld) XXX_DiscardUnknown()

func (*SegmentDownloadResponseOld) XXX_Marshal added in v0.15.0

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

func (*SegmentDownloadResponseOld) XXX_Merge added in v0.15.0

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

func (*SegmentDownloadResponseOld) XXX_Size added in v0.15.0

func (m *SegmentDownloadResponseOld) XXX_Size() int

func (*SegmentDownloadResponseOld) XXX_Unmarshal added in v0.15.0

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

type SegmentFinishDeleteRequest added in v0.16.0

type SegmentFinishDeleteRequest struct {
	SegmentId            SegmentID                   `protobuf:"bytes,1,opt,name=segment_id,json=segmentId,proto3,customtype=SegmentID" json:"segment_id"`
	Results              []*SegmentPieceDeleteResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*SegmentFinishDeleteRequest) Descriptor added in v0.16.0

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

func (*SegmentFinishDeleteRequest) GetResults added in v0.16.0

func (*SegmentFinishDeleteRequest) ProtoMessage added in v0.16.0

func (*SegmentFinishDeleteRequest) ProtoMessage()

func (*SegmentFinishDeleteRequest) Reset added in v0.16.0

func (m *SegmentFinishDeleteRequest) Reset()

func (*SegmentFinishDeleteRequest) String added in v0.16.0

func (m *SegmentFinishDeleteRequest) String() string

func (*SegmentFinishDeleteRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentFinishDeleteRequest) XXX_DiscardUnknown()

func (*SegmentFinishDeleteRequest) XXX_Marshal added in v0.16.0

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

func (*SegmentFinishDeleteRequest) XXX_Merge added in v0.16.0

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

func (*SegmentFinishDeleteRequest) XXX_Size added in v0.16.0

func (m *SegmentFinishDeleteRequest) XXX_Size() int

func (*SegmentFinishDeleteRequest) XXX_Unmarshal added in v0.16.0

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

type SegmentFinishDeleteResponse added in v0.16.0

type SegmentFinishDeleteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentFinishDeleteResponse) Descriptor added in v0.16.0

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

func (*SegmentFinishDeleteResponse) ProtoMessage added in v0.16.0

func (*SegmentFinishDeleteResponse) ProtoMessage()

func (*SegmentFinishDeleteResponse) Reset added in v0.16.0

func (m *SegmentFinishDeleteResponse) Reset()

func (*SegmentFinishDeleteResponse) String added in v0.16.0

func (m *SegmentFinishDeleteResponse) String() string

func (*SegmentFinishDeleteResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentFinishDeleteResponse) XXX_DiscardUnknown()

func (*SegmentFinishDeleteResponse) XXX_Marshal added in v0.16.0

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

func (*SegmentFinishDeleteResponse) XXX_Merge added in v0.16.0

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

func (*SegmentFinishDeleteResponse) XXX_Size added in v0.16.0

func (m *SegmentFinishDeleteResponse) XXX_Size() int

func (*SegmentFinishDeleteResponse) XXX_Unmarshal added in v0.16.0

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

type SegmentHealth

type SegmentHealth struct {
	HealthyIds           []NodeID `protobuf:"bytes,1,rep,name=healthy_ids,json=healthyIds,proto3,customtype=NodeID" json:"healthy_ids,omitempty"`
	UnhealthyIds         []NodeID `protobuf:"bytes,2,rep,name=unhealthy_ids,json=unhealthyIds,proto3,customtype=NodeID" json:"unhealthy_ids,omitempty"`
	OfflineIds           []NodeID `protobuf:"bytes,3,rep,name=offline_ids,json=offlineIds,proto3,customtype=NodeID" json:"offline_ids,omitempty"`
	Segment              []byte   `protobuf:"bytes,4,opt,name=segment,proto3" json:"segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentHealth) Descriptor

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

func (*SegmentHealth) GetSegment

func (m *SegmentHealth) GetSegment() []byte

func (*SegmentHealth) ProtoMessage

func (*SegmentHealth) ProtoMessage()

func (*SegmentHealth) Reset

func (m *SegmentHealth) Reset()

func (*SegmentHealth) String

func (m *SegmentHealth) String() string

func (*SegmentHealth) XXX_DiscardUnknown

func (m *SegmentHealth) XXX_DiscardUnknown()

func (*SegmentHealth) XXX_Marshal

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

func (*SegmentHealth) XXX_Merge

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

func (*SegmentHealth) XXX_Size

func (m *SegmentHealth) XXX_Size() int

func (*SegmentHealth) XXX_Unmarshal

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

type SegmentHealthRequest

type SegmentHealthRequest struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	EncryptedPath        []byte   `protobuf:"bytes,2,opt,name=encrypted_path,json=encryptedPath,proto3" json:"encrypted_path,omitempty"`
	SegmentIndex         int64    `protobuf:"varint,3,opt,name=segment_index,json=segmentIndex,proto3" json:"segment_index,omitempty"`
	ProjectId            []byte   `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentHealthRequest) Descriptor

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

func (*SegmentHealthRequest) GetBucket

func (m *SegmentHealthRequest) GetBucket() []byte

func (*SegmentHealthRequest) GetEncryptedPath

func (m *SegmentHealthRequest) GetEncryptedPath() []byte

func (*SegmentHealthRequest) GetProjectId

func (m *SegmentHealthRequest) GetProjectId() []byte

func (*SegmentHealthRequest) GetSegmentIndex

func (m *SegmentHealthRequest) GetSegmentIndex() int64

func (*SegmentHealthRequest) ProtoMessage

func (*SegmentHealthRequest) ProtoMessage()

func (*SegmentHealthRequest) Reset

func (m *SegmentHealthRequest) Reset()

func (*SegmentHealthRequest) String

func (m *SegmentHealthRequest) String() string

func (*SegmentHealthRequest) XXX_DiscardUnknown

func (m *SegmentHealthRequest) XXX_DiscardUnknown()

func (*SegmentHealthRequest) XXX_Marshal

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

func (*SegmentHealthRequest) XXX_Merge

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

func (*SegmentHealthRequest) XXX_Size

func (m *SegmentHealthRequest) XXX_Size() int

func (*SegmentHealthRequest) XXX_Unmarshal

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

type SegmentHealthResponse

type SegmentHealthResponse struct {
	Health               *SegmentHealth    `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	Redundancy           *RedundancyScheme `protobuf:"bytes,2,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*SegmentHealthResponse) Descriptor

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

func (*SegmentHealthResponse) GetHealth

func (m *SegmentHealthResponse) GetHealth() *SegmentHealth

func (*SegmentHealthResponse) GetRedundancy

func (m *SegmentHealthResponse) GetRedundancy() *RedundancyScheme

func (*SegmentHealthResponse) ProtoMessage

func (*SegmentHealthResponse) ProtoMessage()

func (*SegmentHealthResponse) Reset

func (m *SegmentHealthResponse) Reset()

func (*SegmentHealthResponse) String

func (m *SegmentHealthResponse) String() string

func (*SegmentHealthResponse) XXX_DiscardUnknown

func (m *SegmentHealthResponse) XXX_DiscardUnknown()

func (*SegmentHealthResponse) XXX_Marshal

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

func (*SegmentHealthResponse) XXX_Merge

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

func (*SegmentHealthResponse) XXX_Size

func (m *SegmentHealthResponse) XXX_Size() int

func (*SegmentHealthResponse) XXX_Unmarshal

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

type SegmentID added in v0.16.0

type SegmentID = storj.SegmentID

SegmentID is an alias to storj.SegmentID for use in generated protobuf code

type SegmentInfoRequestOld added in v0.15.0

type SegmentInfoRequestOld struct {
	Bucket               []byte   `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path                 []byte   `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Segment              int64    `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentInfoRequestOld) Descriptor added in v0.15.0

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

func (*SegmentInfoRequestOld) GetBucket added in v0.15.0

func (m *SegmentInfoRequestOld) GetBucket() []byte

func (*SegmentInfoRequestOld) GetPath added in v0.15.0

func (m *SegmentInfoRequestOld) GetPath() []byte

func (*SegmentInfoRequestOld) GetSegment added in v0.15.0

func (m *SegmentInfoRequestOld) GetSegment() int64

func (*SegmentInfoRequestOld) ProtoMessage added in v0.15.0

func (*SegmentInfoRequestOld) ProtoMessage()

func (*SegmentInfoRequestOld) Reset added in v0.15.0

func (m *SegmentInfoRequestOld) Reset()

func (*SegmentInfoRequestOld) String added in v0.15.0

func (m *SegmentInfoRequestOld) String() string

func (*SegmentInfoRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentInfoRequestOld) XXX_DiscardUnknown()

func (*SegmentInfoRequestOld) XXX_Marshal added in v0.15.0

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

func (*SegmentInfoRequestOld) XXX_Merge added in v0.15.0

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

func (*SegmentInfoRequestOld) XXX_Size added in v0.15.0

func (m *SegmentInfoRequestOld) XXX_Size() int

func (*SegmentInfoRequestOld) XXX_Unmarshal added in v0.15.0

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

type SegmentInfoResponseOld added in v0.15.0

type SegmentInfoResponseOld struct {
	Pointer              *Pointer `protobuf:"bytes,2,opt,name=pointer,proto3" json:"pointer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentInfoResponseOld) Descriptor added in v0.15.0

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

func (*SegmentInfoResponseOld) GetPointer added in v0.15.0

func (m *SegmentInfoResponseOld) GetPointer() *Pointer

func (*SegmentInfoResponseOld) ProtoMessage added in v0.15.0

func (*SegmentInfoResponseOld) ProtoMessage()

func (*SegmentInfoResponseOld) Reset added in v0.15.0

func (m *SegmentInfoResponseOld) Reset()

func (*SegmentInfoResponseOld) String added in v0.15.0

func (m *SegmentInfoResponseOld) String() string

func (*SegmentInfoResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentInfoResponseOld) XXX_DiscardUnknown()

func (*SegmentInfoResponseOld) XXX_Marshal added in v0.15.0

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

func (*SegmentInfoResponseOld) XXX_Merge added in v0.15.0

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

func (*SegmentInfoResponseOld) XXX_Size added in v0.15.0

func (m *SegmentInfoResponseOld) XXX_Size() int

func (*SegmentInfoResponseOld) XXX_Unmarshal added in v0.15.0

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

type SegmentListItem added in v0.16.0

type SegmentListItem struct {
	Position             *SegmentPosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentListItem) Descriptor added in v0.16.0

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

func (*SegmentListItem) GetPosition added in v0.16.0

func (m *SegmentListItem) GetPosition() *SegmentPosition

func (*SegmentListItem) ProtoMessage added in v0.16.0

func (*SegmentListItem) ProtoMessage()

func (*SegmentListItem) Reset added in v0.16.0

func (m *SegmentListItem) Reset()

func (*SegmentListItem) String added in v0.16.0

func (m *SegmentListItem) String() string

func (*SegmentListItem) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentListItem) XXX_DiscardUnknown()

func (*SegmentListItem) XXX_Marshal added in v0.16.0

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

func (*SegmentListItem) XXX_Merge added in v0.16.0

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

func (*SegmentListItem) XXX_Size added in v0.16.0

func (m *SegmentListItem) XXX_Size() int

func (*SegmentListItem) XXX_Unmarshal added in v0.16.0

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

type SegmentListRequest added in v0.16.0

type SegmentListRequest struct {
	StreamId             []byte           `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	CursorPosition       *SegmentPosition `protobuf:"bytes,2,opt,name=cursor_position,json=cursorPosition,proto3" json:"cursor_position,omitempty"`
	Limit                int32            `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentListRequest) Descriptor added in v0.16.0

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

func (*SegmentListRequest) GetCursorPosition added in v0.16.0

func (m *SegmentListRequest) GetCursorPosition() *SegmentPosition

func (*SegmentListRequest) GetLimit added in v0.16.0

func (m *SegmentListRequest) GetLimit() int32

func (*SegmentListRequest) GetStreamId added in v0.16.0

func (m *SegmentListRequest) GetStreamId() []byte

func (*SegmentListRequest) ProtoMessage added in v0.16.0

func (*SegmentListRequest) ProtoMessage()

func (*SegmentListRequest) Reset added in v0.16.0

func (m *SegmentListRequest) Reset()

func (*SegmentListRequest) String added in v0.16.0

func (m *SegmentListRequest) String() string

func (*SegmentListRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentListRequest) XXX_DiscardUnknown()

func (*SegmentListRequest) XXX_Marshal added in v0.16.0

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

func (*SegmentListRequest) XXX_Merge added in v0.16.0

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

func (*SegmentListRequest) XXX_Size added in v0.16.0

func (m *SegmentListRequest) XXX_Size() int

func (*SegmentListRequest) XXX_Unmarshal added in v0.16.0

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

type SegmentListResponse added in v0.16.0

type SegmentListResponse struct {
	Items                []*SegmentListItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	More                 bool               `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*SegmentListResponse) Descriptor added in v0.16.0

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

func (*SegmentListResponse) GetItems added in v0.16.0

func (m *SegmentListResponse) GetItems() []*SegmentListItem

func (*SegmentListResponse) GetMore added in v0.16.0

func (m *SegmentListResponse) GetMore() bool

func (*SegmentListResponse) ProtoMessage added in v0.16.0

func (*SegmentListResponse) ProtoMessage()

func (*SegmentListResponse) Reset added in v0.16.0

func (m *SegmentListResponse) Reset()

func (*SegmentListResponse) String added in v0.16.0

func (m *SegmentListResponse) String() string

func (*SegmentListResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentListResponse) XXX_DiscardUnknown()

func (*SegmentListResponse) XXX_Marshal added in v0.16.0

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

func (*SegmentListResponse) XXX_Merge added in v0.16.0

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

func (*SegmentListResponse) XXX_Size added in v0.16.0

func (m *SegmentListResponse) XXX_Size() int

func (*SegmentListResponse) XXX_Unmarshal added in v0.16.0

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

type SegmentMakeInlineRequest added in v0.16.0

type SegmentMakeInlineRequest struct {
	StreamId             StreamID         `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3,customtype=StreamID" json:"stream_id"`
	Position             *SegmentPosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	EncryptedKeyNonce    Nonce            `protobuf:"bytes,3,opt,name=encrypted_key_nonce,json=encryptedKeyNonce,proto3,customtype=Nonce" json:"encrypted_key_nonce"`
	EncryptedKey         []byte           `protobuf:"bytes,4,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	EncryptedInlineData  []byte           `protobuf:"bytes,5,opt,name=encrypted_inline_data,json=encryptedInlineData,proto3" json:"encrypted_inline_data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*SegmentMakeInlineRequest) Descriptor added in v0.16.0

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

func (*SegmentMakeInlineRequest) GetEncryptedInlineData added in v0.16.0

func (m *SegmentMakeInlineRequest) GetEncryptedInlineData() []byte

func (*SegmentMakeInlineRequest) GetEncryptedKey added in v0.16.0

func (m *SegmentMakeInlineRequest) GetEncryptedKey() []byte

func (*SegmentMakeInlineRequest) GetPosition added in v0.16.0

func (m *SegmentMakeInlineRequest) GetPosition() *SegmentPosition

func (*SegmentMakeInlineRequest) ProtoMessage added in v0.16.0

func (*SegmentMakeInlineRequest) ProtoMessage()

func (*SegmentMakeInlineRequest) Reset added in v0.16.0

func (m *SegmentMakeInlineRequest) Reset()

func (*SegmentMakeInlineRequest) String added in v0.16.0

func (m *SegmentMakeInlineRequest) String() string

func (*SegmentMakeInlineRequest) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentMakeInlineRequest) XXX_DiscardUnknown()

func (*SegmentMakeInlineRequest) XXX_Marshal added in v0.16.0

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

func (*SegmentMakeInlineRequest) XXX_Merge added in v0.16.0

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

func (*SegmentMakeInlineRequest) XXX_Size added in v0.16.0

func (m *SegmentMakeInlineRequest) XXX_Size() int

func (*SegmentMakeInlineRequest) XXX_Unmarshal added in v0.16.0

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

type SegmentMakeInlineResponse added in v0.16.0

type SegmentMakeInlineResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentMakeInlineResponse) Descriptor added in v0.16.0

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

func (*SegmentMakeInlineResponse) ProtoMessage added in v0.16.0

func (*SegmentMakeInlineResponse) ProtoMessage()

func (*SegmentMakeInlineResponse) Reset added in v0.16.0

func (m *SegmentMakeInlineResponse) Reset()

func (*SegmentMakeInlineResponse) String added in v0.16.0

func (m *SegmentMakeInlineResponse) String() string

func (*SegmentMakeInlineResponse) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentMakeInlineResponse) XXX_DiscardUnknown()

func (*SegmentMakeInlineResponse) XXX_Marshal added in v0.16.0

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

func (*SegmentMakeInlineResponse) XXX_Merge added in v0.16.0

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

func (*SegmentMakeInlineResponse) XXX_Size added in v0.16.0

func (m *SegmentMakeInlineResponse) XXX_Size() int

func (*SegmentMakeInlineResponse) XXX_Unmarshal added in v0.16.0

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

type SegmentMeta

type SegmentMeta struct {
	EncryptedKey         []byte   `protobuf:"bytes,1,opt,name=encrypted_key,json=encryptedKey,proto3" json:"encrypted_key,omitempty"`
	KeyNonce             []byte   `protobuf:"bytes,2,opt,name=key_nonce,json=keyNonce,proto3" json:"key_nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentMeta) Descriptor

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

func (*SegmentMeta) GetEncryptedKey

func (m *SegmentMeta) GetEncryptedKey() []byte

func (*SegmentMeta) GetKeyNonce

func (m *SegmentMeta) GetKeyNonce() []byte

func (*SegmentMeta) ProtoMessage

func (*SegmentMeta) ProtoMessage()

func (*SegmentMeta) Reset

func (m *SegmentMeta) Reset()

func (*SegmentMeta) String

func (m *SegmentMeta) String() string

func (*SegmentMeta) XXX_DiscardUnknown

func (m *SegmentMeta) XXX_DiscardUnknown()

func (*SegmentMeta) XXX_Marshal

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

func (*SegmentMeta) XXX_Merge

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

func (*SegmentMeta) XXX_Size

func (m *SegmentMeta) XXX_Size() int

func (*SegmentMeta) XXX_Unmarshal

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

type SegmentPieceDeleteResult added in v0.16.0

type SegmentPieceDeleteResult struct {
	PieceNum             int32      `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
	NodeId               NodeID     `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	Hash                 *PieceHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*SegmentPieceDeleteResult) Descriptor added in v0.16.0

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

func (*SegmentPieceDeleteResult) GetHash added in v0.16.0

func (m *SegmentPieceDeleteResult) GetHash() *PieceHash

func (*SegmentPieceDeleteResult) GetPieceNum added in v0.16.0

func (m *SegmentPieceDeleteResult) GetPieceNum() int32

func (*SegmentPieceDeleteResult) ProtoMessage added in v0.16.0

func (*SegmentPieceDeleteResult) ProtoMessage()

func (*SegmentPieceDeleteResult) Reset added in v0.16.0

func (m *SegmentPieceDeleteResult) Reset()

func (*SegmentPieceDeleteResult) String added in v0.16.0

func (m *SegmentPieceDeleteResult) String() string

func (*SegmentPieceDeleteResult) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentPieceDeleteResult) XXX_DiscardUnknown()

func (*SegmentPieceDeleteResult) XXX_Marshal added in v0.16.0

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

func (*SegmentPieceDeleteResult) XXX_Merge added in v0.16.0

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

func (*SegmentPieceDeleteResult) XXX_Size added in v0.16.0

func (m *SegmentPieceDeleteResult) XXX_Size() int

func (*SegmentPieceDeleteResult) XXX_Unmarshal added in v0.16.0

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

type SegmentPieceUploadResult added in v0.16.0

type SegmentPieceUploadResult struct {
	PieceNum             int32      `protobuf:"varint,1,opt,name=piece_num,json=pieceNum,proto3" json:"piece_num,omitempty"`
	NodeId               NodeID     `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	Hash                 *PieceHash `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*SegmentPieceUploadResult) Descriptor added in v0.16.0

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

func (*SegmentPieceUploadResult) GetHash added in v0.16.0

func (m *SegmentPieceUploadResult) GetHash() *PieceHash

func (*SegmentPieceUploadResult) GetPieceNum added in v0.16.0

func (m *SegmentPieceUploadResult) GetPieceNum() int32

func (*SegmentPieceUploadResult) ProtoMessage added in v0.16.0

func (*SegmentPieceUploadResult) ProtoMessage()

func (*SegmentPieceUploadResult) Reset added in v0.16.0

func (m *SegmentPieceUploadResult) Reset()

func (*SegmentPieceUploadResult) String added in v0.16.0

func (m *SegmentPieceUploadResult) String() string

func (*SegmentPieceUploadResult) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentPieceUploadResult) XXX_DiscardUnknown()

func (*SegmentPieceUploadResult) XXX_Marshal added in v0.16.0

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

func (*SegmentPieceUploadResult) XXX_Merge added in v0.16.0

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

func (*SegmentPieceUploadResult) XXX_Size added in v0.16.0

func (m *SegmentPieceUploadResult) XXX_Size() int

func (*SegmentPieceUploadResult) XXX_Unmarshal added in v0.16.0

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

type SegmentPosition added in v0.16.0

type SegmentPosition struct {
	PartNumber           int32    `protobuf:"varint,1,opt,name=part_number,json=partNumber,proto3" json:"part_number,omitempty"`
	Index                int32    `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentPosition) Descriptor added in v0.16.0

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

func (*SegmentPosition) GetIndex added in v0.16.0

func (m *SegmentPosition) GetIndex() int32

func (*SegmentPosition) GetPartNumber added in v0.16.0

func (m *SegmentPosition) GetPartNumber() int32

func (*SegmentPosition) ProtoMessage added in v0.16.0

func (*SegmentPosition) ProtoMessage()

func (*SegmentPosition) Reset added in v0.16.0

func (m *SegmentPosition) Reset()

func (*SegmentPosition) String added in v0.16.0

func (m *SegmentPosition) String() string

func (*SegmentPosition) XXX_DiscardUnknown added in v0.16.0

func (m *SegmentPosition) XXX_DiscardUnknown()

func (*SegmentPosition) XXX_Marshal added in v0.16.0

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

func (*SegmentPosition) XXX_Merge added in v0.16.0

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

func (*SegmentPosition) XXX_Size added in v0.16.0

func (m *SegmentPosition) XXX_Size() int

func (*SegmentPosition) XXX_Unmarshal added in v0.16.0

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

type SegmentWriteRequestOld added in v0.15.0

type SegmentWriteRequestOld struct {
	Bucket                  []byte            `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	Path                    []byte            `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Segment                 int64             `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	Redundancy              *RedundancyScheme `protobuf:"bytes,4,opt,name=redundancy,proto3" json:"redundancy,omitempty"`
	MaxEncryptedSegmentSize int64             `` /* 135-byte string literal not displayed */
	Expiration              time.Time         `protobuf:"bytes,6,opt,name=expiration,proto3,stdtime" json:"expiration"`
	XXX_NoUnkeyedLiteral    struct{}          `json:"-"`
	XXX_unrecognized        []byte            `json:"-"`
	XXX_sizecache           int32             `json:"-"`
}

func (*SegmentWriteRequestOld) Descriptor added in v0.15.0

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

func (*SegmentWriteRequestOld) GetBucket added in v0.15.0

func (m *SegmentWriteRequestOld) GetBucket() []byte

func (*SegmentWriteRequestOld) GetExpiration added in v0.15.0

func (m *SegmentWriteRequestOld) GetExpiration() time.Time

func (*SegmentWriteRequestOld) GetMaxEncryptedSegmentSize added in v0.15.0

func (m *SegmentWriteRequestOld) GetMaxEncryptedSegmentSize() int64

func (*SegmentWriteRequestOld) GetPath added in v0.15.0

func (m *SegmentWriteRequestOld) GetPath() []byte

func (*SegmentWriteRequestOld) GetRedundancy added in v0.15.0

func (m *SegmentWriteRequestOld) GetRedundancy() *RedundancyScheme

func (*SegmentWriteRequestOld) GetSegment added in v0.15.0

func (m *SegmentWriteRequestOld) GetSegment() int64

func (*SegmentWriteRequestOld) ProtoMessage added in v0.15.0

func (*SegmentWriteRequestOld) ProtoMessage()

func (*SegmentWriteRequestOld) Reset added in v0.15.0

func (m *SegmentWriteRequestOld) Reset()

func (*SegmentWriteRequestOld) String added in v0.15.0

func (m *SegmentWriteRequestOld) String() string

func (*SegmentWriteRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentWriteRequestOld) XXX_DiscardUnknown()

func (*SegmentWriteRequestOld) XXX_Marshal added in v0.15.0

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

func (*SegmentWriteRequestOld) XXX_Merge added in v0.15.0

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

func (*SegmentWriteRequestOld) XXX_Size added in v0.15.0

func (m *SegmentWriteRequestOld) XXX_Size() int

func (*SegmentWriteRequestOld) XXX_Unmarshal added in v0.15.0

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

type SegmentWriteResponseOld added in v0.15.0

type SegmentWriteResponseOld struct {
	AddressedLimits      []*AddressedOrderLimit `protobuf:"bytes,1,rep,name=addressed_limits,json=addressedLimits,proto3" json:"addressed_limits,omitempty"`
	RootPieceId          PieceID                `protobuf:"bytes,2,opt,name=root_piece_id,json=rootPieceId,proto3,customtype=PieceID" json:"root_piece_id"`
	PrivateKey           PiecePrivateKey        `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*SegmentWriteResponseOld) Descriptor added in v0.15.0

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

func (*SegmentWriteResponseOld) GetAddressedLimits added in v0.15.0

func (m *SegmentWriteResponseOld) GetAddressedLimits() []*AddressedOrderLimit

func (*SegmentWriteResponseOld) ProtoMessage added in v0.15.0

func (*SegmentWriteResponseOld) ProtoMessage()

func (*SegmentWriteResponseOld) Reset added in v0.15.0

func (m *SegmentWriteResponseOld) Reset()

func (*SegmentWriteResponseOld) String added in v0.15.0

func (m *SegmentWriteResponseOld) String() string

func (*SegmentWriteResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SegmentWriteResponseOld) XXX_DiscardUnknown()

func (*SegmentWriteResponseOld) XXX_Marshal added in v0.15.0

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

func (*SegmentWriteResponseOld) XXX_Merge added in v0.15.0

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

func (*SegmentWriteResponseOld) XXX_Size added in v0.15.0

func (m *SegmentWriteResponseOld) XXX_Size() int

func (*SegmentWriteResponseOld) XXX_Unmarshal added in v0.15.0

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

type SerialNumber

type SerialNumber = storj.SerialNumber

SerialNumber is an alias to storj.SerialNumber for use in generated protobuf code

type SerializableMeta

type SerializableMeta struct {
	ContentType          string            `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	UserDefined          map[string]string `` /* 182-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

SerializableMeta is the object metadata that will be stored serialized

func (*SerializableMeta) Descriptor

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

func (*SerializableMeta) GetContentType

func (m *SerializableMeta) GetContentType() string

func (*SerializableMeta) GetUserDefined

func (m *SerializableMeta) GetUserDefined() map[string]string

func (*SerializableMeta) ProtoMessage

func (*SerializableMeta) ProtoMessage()

func (*SerializableMeta) Reset

func (m *SerializableMeta) Reset()

func (*SerializableMeta) String

func (m *SerializableMeta) String() string

func (*SerializableMeta) XXX_DiscardUnknown

func (m *SerializableMeta) XXX_DiscardUnknown()

func (*SerializableMeta) XXX_Marshal

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

func (*SerializableMeta) XXX_Merge

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

func (*SerializableMeta) XXX_Size

func (m *SerializableMeta) XXX_Size() int

func (*SerializableMeta) XXX_Unmarshal

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

type SetAttributionRequestOld added in v0.15.0

type SetAttributionRequestOld struct {
	BucketName           []byte   `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	PartnerId            []byte   `protobuf:"bytes,2,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetAttributionRequestOld) Descriptor added in v0.15.0

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

func (*SetAttributionRequestOld) GetBucketName added in v0.15.0

func (m *SetAttributionRequestOld) GetBucketName() []byte

func (*SetAttributionRequestOld) GetPartnerId added in v0.15.0

func (m *SetAttributionRequestOld) GetPartnerId() []byte

func (*SetAttributionRequestOld) ProtoMessage added in v0.15.0

func (*SetAttributionRequestOld) ProtoMessage()

func (*SetAttributionRequestOld) Reset added in v0.15.0

func (m *SetAttributionRequestOld) Reset()

func (*SetAttributionRequestOld) String added in v0.15.0

func (m *SetAttributionRequestOld) String() string

func (*SetAttributionRequestOld) XXX_DiscardUnknown added in v0.15.0

func (m *SetAttributionRequestOld) XXX_DiscardUnknown()

func (*SetAttributionRequestOld) XXX_Marshal added in v0.15.0

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

func (*SetAttributionRequestOld) XXX_Merge added in v0.15.0

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

func (*SetAttributionRequestOld) XXX_Size added in v0.15.0

func (m *SetAttributionRequestOld) XXX_Size() int

func (*SetAttributionRequestOld) XXX_Unmarshal added in v0.15.0

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

type SetAttributionResponseOld added in v0.15.0

type SetAttributionResponseOld struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetAttributionResponseOld) Descriptor added in v0.15.0

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

func (*SetAttributionResponseOld) ProtoMessage added in v0.15.0

func (*SetAttributionResponseOld) ProtoMessage()

func (*SetAttributionResponseOld) Reset added in v0.15.0

func (m *SetAttributionResponseOld) Reset()

func (*SetAttributionResponseOld) String added in v0.15.0

func (m *SetAttributionResponseOld) String() string

func (*SetAttributionResponseOld) XXX_DiscardUnknown added in v0.15.0

func (m *SetAttributionResponseOld) XXX_DiscardUnknown()

func (*SetAttributionResponseOld) XXX_Marshal added in v0.15.0

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

func (*SetAttributionResponseOld) XXX_Merge added in v0.15.0

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

func (*SetAttributionResponseOld) XXX_Size added in v0.15.0

func (m *SetAttributionResponseOld) XXX_Size() int

func (*SetAttributionResponseOld) XXX_Unmarshal added in v0.15.0

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

type SettlementRequest

type SettlementRequest struct {
	Limit                *OrderLimit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Order                *Order      `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Expected order of messages from storagenode:

go repeated
   SettlementRequest -> (async)
go repeated
   <- SettlementResponse

func (*SettlementRequest) Descriptor

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

func (*SettlementRequest) GetLimit

func (m *SettlementRequest) GetLimit() *OrderLimit

func (*SettlementRequest) GetOrder

func (m *SettlementRequest) GetOrder() *Order

func (*SettlementRequest) ProtoMessage

func (*SettlementRequest) ProtoMessage()

func (*SettlementRequest) Reset

func (m *SettlementRequest) Reset()

func (*SettlementRequest) String

func (m *SettlementRequest) String() string

func (*SettlementRequest) XXX_DiscardUnknown

func (m *SettlementRequest) XXX_DiscardUnknown()

func (*SettlementRequest) XXX_Marshal

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

func (*SettlementRequest) XXX_Merge

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

func (*SettlementRequest) XXX_Size

func (m *SettlementRequest) XXX_Size() int

func (*SettlementRequest) XXX_Unmarshal

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

type SettlementResponse

type SettlementResponse struct {
	SerialNumber         SerialNumber              `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3,customtype=SerialNumber" json:"serial_number"`
	Status               SettlementResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=orders.SettlementResponse_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*SettlementResponse) Descriptor

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

func (*SettlementResponse) GetStatus

func (*SettlementResponse) ProtoMessage

func (*SettlementResponse) ProtoMessage()

func (*SettlementResponse) Reset

func (m *SettlementResponse) Reset()

func (*SettlementResponse) String

func (m *SettlementResponse) String() string

func (*SettlementResponse) XXX_DiscardUnknown

func (m *SettlementResponse) XXX_DiscardUnknown()

func (*SettlementResponse) XXX_Marshal

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

func (*SettlementResponse) XXX_Merge

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

func (*SettlementResponse) XXX_Size

func (m *SettlementResponse) XXX_Size() int

func (*SettlementResponse) XXX_Unmarshal

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

type SettlementResponse_Status

type SettlementResponse_Status int32
const (
	SettlementResponse_INVALID  SettlementResponse_Status = 0
	SettlementResponse_ACCEPTED SettlementResponse_Status = 1
	SettlementResponse_REJECTED SettlementResponse_Status = 2
)

func (SettlementResponse_Status) EnumDescriptor

func (SettlementResponse_Status) EnumDescriptor() ([]byte, []int)

func (SettlementResponse_Status) String

func (x SettlementResponse_Status) String() string

type SigningRequest

type SigningRequest struct {
	AuthToken            string   `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
	Timestamp            int64    `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SigningRequest) Descriptor

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

func (*SigningRequest) GetAuthToken

func (m *SigningRequest) GetAuthToken() string

func (*SigningRequest) GetTimestamp

func (m *SigningRequest) GetTimestamp() int64

func (*SigningRequest) ProtoMessage

func (*SigningRequest) ProtoMessage()

func (*SigningRequest) Reset

func (m *SigningRequest) Reset()

func (*SigningRequest) String

func (m *SigningRequest) String() string

func (*SigningRequest) XXX_DiscardUnknown

func (m *SigningRequest) XXX_DiscardUnknown()

func (*SigningRequest) XXX_Marshal

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

func (*SigningRequest) XXX_Merge

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

func (*SigningRequest) XXX_Size

func (m *SigningRequest) XXX_Size() int

func (*SigningRequest) XXX_Unmarshal

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

type SigningResponse

type SigningResponse struct {
	Chain                [][]byte `protobuf:"bytes,1,rep,name=chain,proto3" json:"chain,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SigningResponse) Descriptor

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

func (*SigningResponse) GetChain

func (m *SigningResponse) GetChain() [][]byte

func (*SigningResponse) ProtoMessage

func (*SigningResponse) ProtoMessage()

func (*SigningResponse) Reset

func (m *SigningResponse) Reset()

func (*SigningResponse) String

func (m *SigningResponse) String() string

func (*SigningResponse) XXX_DiscardUnknown

func (m *SigningResponse) XXX_DiscardUnknown()

func (*SigningResponse) XXX_Marshal

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

func (*SigningResponse) XXX_Merge

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

func (*SigningResponse) XXX_Size

func (m *SigningResponse) XXX_Size() int

func (*SigningResponse) XXX_Unmarshal

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

type StatSummaryResponse

type StatSummaryResponse struct {
	UsedSpace            int64    `protobuf:"varint,1,opt,name=used_space,json=usedSpace,proto3" json:"used_space,omitempty"`
	AvailableSpace       int64    `protobuf:"varint,2,opt,name=available_space,json=availableSpace,proto3" json:"available_space,omitempty"`
	UsedIngress          int64    `protobuf:"varint,3,opt,name=used_ingress,json=usedIngress,proto3" json:"used_ingress,omitempty"`
	UsedEgress           int64    `protobuf:"varint,4,opt,name=used_egress,json=usedEgress,proto3" json:"used_egress,omitempty"`
	UsedBandwidth        int64    `protobuf:"varint,5,opt,name=used_bandwidth,json=usedBandwidth,proto3" json:"used_bandwidth,omitempty"`
	AvailableBandwidth   int64    `protobuf:"varint,6,opt,name=available_bandwidth,json=availableBandwidth,proto3" json:"available_bandwidth,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatSummaryResponse) Descriptor

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

func (*StatSummaryResponse) GetAvailableBandwidth

func (m *StatSummaryResponse) GetAvailableBandwidth() int64

func (*StatSummaryResponse) GetAvailableSpace

func (m *StatSummaryResponse) GetAvailableSpace() int64

func (*StatSummaryResponse) GetUsedBandwidth

func (m *StatSummaryResponse) GetUsedBandwidth() int64

func (*StatSummaryResponse) GetUsedEgress

func (m *StatSummaryResponse) GetUsedEgress() int64

func (*StatSummaryResponse) GetUsedIngress

func (m *StatSummaryResponse) GetUsedIngress() int64

func (*StatSummaryResponse) GetUsedSpace

func (m *StatSummaryResponse) GetUsedSpace() int64

func (*StatSummaryResponse) ProtoMessage

func (*StatSummaryResponse) ProtoMessage()

func (*StatSummaryResponse) Reset

func (m *StatSummaryResponse) Reset()

func (*StatSummaryResponse) String

func (m *StatSummaryResponse) String() string

func (*StatSummaryResponse) XXX_DiscardUnknown

func (m *StatSummaryResponse) XXX_DiscardUnknown()

func (*StatSummaryResponse) XXX_Marshal

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

func (*StatSummaryResponse) XXX_Merge

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

func (*StatSummaryResponse) XXX_Size

func (m *StatSummaryResponse) XXX_Size() int

func (*StatSummaryResponse) XXX_Unmarshal

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

type StatsRequest

type StatsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StatsRequest) Descriptor

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

func (*StatsRequest) ProtoMessage

func (*StatsRequest) ProtoMessage()

func (*StatsRequest) Reset

func (m *StatsRequest) Reset()

func (*StatsRequest) String

func (m *StatsRequest) String() string

func (*StatsRequest) XXX_DiscardUnknown

func (m *StatsRequest) XXX_DiscardUnknown()

func (*StatsRequest) XXX_Marshal

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

func (*StatsRequest) XXX_Merge

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

func (*StatsRequest) XXX_Size

func (m *StatsRequest) XXX_Size() int

func (*StatsRequest) XXX_Unmarshal

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

type StreamID added in v0.15.0

type StreamID = storj.StreamID

StreamID is an alias to storj.StreamID for use in generated protobuf code

type StreamInfo

type StreamInfo struct {
	DeprecatedNumberOfSegments int64    `` /* 144-byte string literal not displayed */
	SegmentsSize               int64    `protobuf:"varint,2,opt,name=segments_size,json=segmentsSize,proto3" json:"segments_size,omitempty"`
	LastSegmentSize            int64    `protobuf:"varint,3,opt,name=last_segment_size,json=lastSegmentSize,proto3" json:"last_segment_size,omitempty"`
	Metadata                   []byte   `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral       struct{} `json:"-"`
	XXX_unrecognized           []byte   `json:"-"`
	XXX_sizecache              int32    `json:"-"`
}

func (*StreamInfo) Descriptor

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

func (*StreamInfo) GetDeprecatedNumberOfSegments added in v0.19.0

func (m *StreamInfo) GetDeprecatedNumberOfSegments() int64

func (*StreamInfo) GetLastSegmentSize

func (m *StreamInfo) GetLastSegmentSize() int64

func (*StreamInfo) GetMetadata

func (m *StreamInfo) GetMetadata() []byte

func (*StreamInfo) GetSegmentsSize

func (m *StreamInfo) GetSegmentsSize() int64

func (*StreamInfo) ProtoMessage

func (*StreamInfo) ProtoMessage()

func (*StreamInfo) Reset

func (m *StreamInfo) Reset()

func (*StreamInfo) String

func (m *StreamInfo) String() string

func (*StreamInfo) XXX_DiscardUnknown

func (m *StreamInfo) XXX_DiscardUnknown()

func (*StreamInfo) XXX_Marshal

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

func (*StreamInfo) XXX_Merge

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

func (*StreamInfo) XXX_Size

func (m *StreamInfo) XXX_Size() int

func (*StreamInfo) XXX_Unmarshal

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

type StreamMeta

type StreamMeta struct {
	EncryptedStreamInfo  []byte       `protobuf:"bytes,1,opt,name=encrypted_stream_info,json=encryptedStreamInfo,proto3" json:"encrypted_stream_info,omitempty"`
	EncryptionType       int32        `protobuf:"varint,2,opt,name=encryption_type,json=encryptionType,proto3" json:"encryption_type,omitempty"`
	EncryptionBlockSize  int32        `protobuf:"varint,3,opt,name=encryption_block_size,json=encryptionBlockSize,proto3" json:"encryption_block_size,omitempty"`
	LastSegmentMeta      *SegmentMeta `protobuf:"bytes,4,opt,name=last_segment_meta,json=lastSegmentMeta,proto3" json:"last_segment_meta,omitempty"`
	NumberOfSegments     int64        `protobuf:"varint,5,opt,name=number_of_segments,json=numberOfSegments,proto3" json:"number_of_segments,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*StreamMeta) Descriptor

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

func (*StreamMeta) GetEncryptedStreamInfo

func (m *StreamMeta) GetEncryptedStreamInfo() []byte

func (*StreamMeta) GetEncryptionBlockSize

func (m *StreamMeta) GetEncryptionBlockSize() int32

func (*StreamMeta) GetEncryptionType

func (m *StreamMeta) GetEncryptionType() int32

func (*StreamMeta) GetLastSegmentMeta

func (m *StreamMeta) GetLastSegmentMeta() *SegmentMeta

func (*StreamMeta) GetNumberOfSegments added in v0.19.0

func (m *StreamMeta) GetNumberOfSegments() int64

func (*StreamMeta) ProtoMessage

func (*StreamMeta) ProtoMessage()

func (*StreamMeta) Reset

func (m *StreamMeta) Reset()

func (*StreamMeta) String

func (m *StreamMeta) String() string

func (*StreamMeta) XXX_DiscardUnknown

func (m *StreamMeta) XXX_DiscardUnknown()

func (*StreamMeta) XXX_Marshal

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

func (*StreamMeta) XXX_Merge

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

func (*StreamMeta) XXX_Size

func (m *StreamMeta) XXX_Size() int

func (*StreamMeta) XXX_Unmarshal

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

type UnimplementedPiecestoreServer added in v0.19.0

type UnimplementedPiecestoreServer struct {
}

UnimplementedPiecestoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedPiecestoreServer) Delete added in v0.19.0

func (*UnimplementedPiecestoreServer) Download added in v0.19.0

func (*UnimplementedPiecestoreServer) Retain added in v0.19.0

func (*UnimplementedPiecestoreServer) Upload added in v0.19.0

type Voucher added in v0.12.0

type Voucher struct {
	SatelliteId          NodeID    `protobuf:"bytes,1,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
	StorageNodeId        NodeID    `protobuf:"bytes,2,opt,name=storage_node_id,json=storageNodeId,proto3,customtype=NodeID" json:"storage_node_id"`
	Expiration           time.Time `protobuf:"bytes,3,opt,name=expiration,proto3,stdtime" json:"expiration"`
	SatelliteSignature   []byte    `protobuf:"bytes,4,opt,name=satellite_signature,json=satelliteSignature,proto3" json:"satellite_signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Voucher is a signed message verifying that a node has been vetted by a particular satellite

func (*Voucher) Descriptor added in v0.12.0

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

func (*Voucher) GetExpiration added in v0.12.0

func (m *Voucher) GetExpiration() time.Time

func (*Voucher) GetSatelliteSignature added in v0.12.0

func (m *Voucher) GetSatelliteSignature() []byte

func (*Voucher) ProtoMessage added in v0.12.0

func (*Voucher) ProtoMessage()

func (*Voucher) Reset added in v0.12.0

func (m *Voucher) Reset()

func (*Voucher) String added in v0.12.0

func (m *Voucher) String() string

func (*Voucher) XXX_DiscardUnknown added in v0.12.0

func (m *Voucher) XXX_DiscardUnknown()

func (*Voucher) XXX_Marshal added in v0.12.0

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

func (*Voucher) XXX_Merge added in v0.12.0

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

func (*Voucher) XXX_Size added in v0.12.0

func (m *Voucher) XXX_Size() int

func (*Voucher) XXX_Unmarshal added in v0.12.0

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

type VoucherRequest added in v0.12.0

type VoucherRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VoucherRequest) Descriptor added in v0.12.0

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

func (*VoucherRequest) ProtoMessage added in v0.12.0

func (*VoucherRequest) ProtoMessage()

func (*VoucherRequest) Reset added in v0.12.0

func (m *VoucherRequest) Reset()

func (*VoucherRequest) String added in v0.12.0

func (m *VoucherRequest) String() string

func (*VoucherRequest) XXX_DiscardUnknown added in v0.12.0

func (m *VoucherRequest) XXX_DiscardUnknown()

func (*VoucherRequest) XXX_Marshal added in v0.12.0

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

func (*VoucherRequest) XXX_Merge added in v0.12.0

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

func (*VoucherRequest) XXX_Size added in v0.12.0

func (m *VoucherRequest) XXX_Size() int

func (*VoucherRequest) XXX_Unmarshal added in v0.12.0

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

type VoucherResponse added in v0.14.0

type VoucherResponse struct {
	Voucher              *Voucher               `protobuf:"bytes,1,opt,name=voucher,proto3" json:"voucher,omitempty"`
	Status               VoucherResponse_Status `protobuf:"varint,2,opt,name=status,proto3,enum=vouchers.VoucherResponse_Status" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*VoucherResponse) Descriptor added in v0.14.0

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

func (*VoucherResponse) GetStatus added in v0.14.0

func (m *VoucherResponse) GetStatus() VoucherResponse_Status

func (*VoucherResponse) GetVoucher added in v0.14.0

func (m *VoucherResponse) GetVoucher() *Voucher

func (*VoucherResponse) ProtoMessage added in v0.14.0

func (*VoucherResponse) ProtoMessage()

func (*VoucherResponse) Reset added in v0.14.0

func (m *VoucherResponse) Reset()

func (*VoucherResponse) String added in v0.14.0

func (m *VoucherResponse) String() string

func (*VoucherResponse) XXX_DiscardUnknown added in v0.14.0

func (m *VoucherResponse) XXX_DiscardUnknown()

func (*VoucherResponse) XXX_Marshal added in v0.14.0

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

func (*VoucherResponse) XXX_Merge added in v0.14.0

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

func (*VoucherResponse) XXX_Size added in v0.14.0

func (m *VoucherResponse) XXX_Size() int

func (*VoucherResponse) XXX_Unmarshal added in v0.14.0

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

type VoucherResponse_Status added in v0.14.0

type VoucherResponse_Status int32
const (
	VoucherResponse_INVALID  VoucherResponse_Status = 0
	VoucherResponse_ACCEPTED VoucherResponse_Status = 1
	VoucherResponse_REJECTED VoucherResponse_Status = 2
)

func (VoucherResponse_Status) EnumDescriptor added in v0.14.0

func (VoucherResponse_Status) EnumDescriptor() ([]byte, []int)

func (VoucherResponse_Status) String added in v0.14.0

func (x VoucherResponse_Status) String() string

type VouchersClient added in v0.12.0

type VouchersClient interface {
	Request(ctx context.Context, in *VoucherRequest, opts ...grpc.CallOption) (*VoucherResponse, error)
}

VouchersClient is the client API for Vouchers service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVouchersClient added in v0.12.0

func NewVouchersClient(cc *grpc.ClientConn) VouchersClient

type VouchersServer added in v0.12.0

type VouchersServer interface {
	Request(context.Context, *VoucherRequest) (*VoucherResponse, error)
}

VouchersServer is the server API for Vouchers service.

Jump to

Keyboard shortcuts

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