pb

package
v0.28.4 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2020 License: AGPL-3.0 Imports: 15 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 ExitFailed_Reason_name = map[int32]string{
	0: "VERIFICATION_FAILED",
	1: "INACTIVE_TIMEFRAME_EXCEEDED",
	2: "OVERALL_FAILURE_PERCENTAGE_EXCEEDED",
}
View Source
var ExitFailed_Reason_value = map[string]int32{
	"VERIFICATION_FAILED":                 0,
	"INACTIVE_TIMEFRAME_EXCEEDED":         1,
	"OVERALL_FAILURE_PERCENTAGE_EXCEEDED": 2,
}
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",
	7: "PUT_GRACEFUL_EXIT",
}
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,
	"PUT_GRACEFUL_EXIT": 7,
}
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 TransferFailed_Error_name = map[int32]string{
	0:  "NOT_FOUND",
	1:  "STORAGE_NODE_UNAVAILABLE",
	2:  "HASH_VERIFICATION",
	10: "UNKNOWN",
}
View Source
var TransferFailed_Error_value = map[string]int32{
	"NOT_FOUND":                0,
	"STORAGE_NODE_UNAVAILABLE": 1,
	"HASH_VERIFICATION":        2,
	"UNKNOWN":                  10,
}
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 DRPCRegisterCertificates added in v0.21.0

func DRPCRegisterCertificates(srv drpc.Server, impl DRPCCertificatesServer)

func DRPCRegisterContact added in v0.21.0

func DRPCRegisterContact(srv drpc.Server, impl DRPCContactServer)

func DRPCRegisterHealthInspector added in v0.21.0

func DRPCRegisterHealthInspector(srv drpc.Server, impl DRPCHealthInspectorServer)

func DRPCRegisterIrreparableInspector added in v0.21.0

func DRPCRegisterIrreparableInspector(srv drpc.Server, impl DRPCIrreparableInspectorServer)

func DRPCRegisterMetainfo added in v0.21.0

func DRPCRegisterMetainfo(srv drpc.Server, impl DRPCMetainfoServer)

func DRPCRegisterNode added in v0.21.0

func DRPCRegisterNode(srv drpc.Server, impl DRPCNodeServer)

func DRPCRegisterNodeGracefulExit added in v0.24.0

func DRPCRegisterNodeGracefulExit(srv drpc.Server, impl DRPCNodeGracefulExitServer)

func DRPCRegisterNodeStats added in v0.21.0

func DRPCRegisterNodeStats(srv drpc.Server, impl DRPCNodeStatsServer)

func DRPCRegisterOrders added in v0.21.0

func DRPCRegisterOrders(srv drpc.Server, impl DRPCOrdersServer)

func DRPCRegisterOverlayInspector added in v0.21.0

func DRPCRegisterOverlayInspector(srv drpc.Server, impl DRPCOverlayInspectorServer)

func DRPCRegisterPayments added in v0.25.0

func DRPCRegisterPayments(srv drpc.Server, impl DRPCPaymentsServer)

func DRPCRegisterPieceStoreInspector added in v0.21.0

func DRPCRegisterPieceStoreInspector(srv drpc.Server, impl DRPCPieceStoreInspectorServer)

func DRPCRegisterPiecestore added in v0.21.0

func DRPCRegisterPiecestore(srv drpc.Server, impl DRPCPiecestoreServer)

func DRPCRegisterReferralManager added in v0.26.0

func DRPCRegisterReferralManager(srv drpc.Server, impl DRPCReferralManagerServer)

func DRPCRegisterSatelliteGracefulExit added in v0.24.0

func DRPCRegisterSatelliteGracefulExit(srv drpc.Server, impl DRPCSatelliteGracefulExitServer)

func DRPCRegisterVouchers added in v0.21.0

func DRPCRegisterVouchers(srv drpc.Server, impl DRPCVouchersServer)

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 RegisterContactServer added in v0.21.0

func RegisterContactServer(s *grpc.Server, srv ContactServer)

func RegisterHealthInspectorServer

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

func RegisterIrreparableInspectorServer

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

func RegisterMetainfoServer

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

func RegisterNodeGracefulExitServer added in v0.24.0

func RegisterNodeGracefulExitServer(s *grpc.Server, srv NodeGracefulExitServer)

func RegisterNodeServer added in v0.21.0

func RegisterNodeServer(s *grpc.Server, srv NodeServer)

func RegisterNodeStatsServer added in v0.15.0

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

func RegisterOrdersServer

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

func RegisterOverlayInspectorServer

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

func RegisterPaymentsServer added in v0.25.0

func RegisterPaymentsServer(s *grpc.Server, srv PaymentsServer)

func RegisterPieceStoreInspectorServer

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

func RegisterPiecestoreServer

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

func RegisterReferralManagerServer added in v0.26.0

func RegisterReferralManagerServer(s *grpc.Server, srv ReferralManagerServer)

func RegisterSatelliteGracefulExitServer added in v0.24.0

func RegisterSatelliteGracefulExitServer(s *grpc.Server, srv SatelliteGracefulExitServer)

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 ApplyInvoiceRecordsRequest added in v0.25.0

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

func (*ApplyInvoiceRecordsRequest) Descriptor added in v0.25.0

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

func (*ApplyInvoiceRecordsRequest) ProtoMessage added in v0.25.0

func (*ApplyInvoiceRecordsRequest) ProtoMessage()

func (*ApplyInvoiceRecordsRequest) Reset added in v0.25.0

func (m *ApplyInvoiceRecordsRequest) Reset()

func (*ApplyInvoiceRecordsRequest) String added in v0.25.0

func (m *ApplyInvoiceRecordsRequest) String() string

func (*ApplyInvoiceRecordsRequest) XXX_DiscardUnknown added in v0.25.0

func (m *ApplyInvoiceRecordsRequest) XXX_DiscardUnknown()

func (*ApplyInvoiceRecordsRequest) XXX_Marshal added in v0.25.0

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

func (*ApplyInvoiceRecordsRequest) XXX_Merge added in v0.25.0

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

func (*ApplyInvoiceRecordsRequest) XXX_Size added in v0.25.0

func (m *ApplyInvoiceRecordsRequest) XXX_Size() int

func (*ApplyInvoiceRecordsRequest) XXX_Unmarshal added in v0.25.0

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

type ApplyInvoiceRecordsResponse added in v0.25.0

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

func (*ApplyInvoiceRecordsResponse) Descriptor added in v0.25.0

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

func (*ApplyInvoiceRecordsResponse) ProtoMessage added in v0.25.0

func (*ApplyInvoiceRecordsResponse) ProtoMessage()

func (*ApplyInvoiceRecordsResponse) Reset added in v0.25.0

func (m *ApplyInvoiceRecordsResponse) Reset()

func (*ApplyInvoiceRecordsResponse) String added in v0.25.0

func (m *ApplyInvoiceRecordsResponse) String() string

func (*ApplyInvoiceRecordsResponse) XXX_DiscardUnknown added in v0.25.0

func (m *ApplyInvoiceRecordsResponse) XXX_DiscardUnknown()

func (*ApplyInvoiceRecordsResponse) XXX_Marshal added in v0.25.0

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

func (*ApplyInvoiceRecordsResponse) XXX_Merge added in v0.25.0

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

func (*ApplyInvoiceRecordsResponse) XXX_Size added in v0.25.0

func (m *ApplyInvoiceRecordsResponse) XXX_Size() int

func (*ApplyInvoiceRecordsResponse) XXX_Unmarshal added in v0.25.0

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

type BatchRequest added in v0.17.0

type BatchRequest struct {
	Header *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	// headers for specific BatchRequestItems are ignored entirely
	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) GetHeader added in v0.22.0

func (m *BatchRequest) GetHeader() *RequestHeader

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 {
	Header                      *RequestHeader        `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *BucketCreateRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *BucketDeleteRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *BucketGetRequest) GetHeader() *RequestHeader

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 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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *BucketListRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

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 CheckInRequest added in v0.21.0

type CheckInRequest struct {
	Address              string        `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Version              *NodeVersion  `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Capacity             *NodeCapacity `protobuf:"bytes,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Operator             *NodeOperator `protobuf:"bytes,4,opt,name=operator,proto3" json:"operator,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*CheckInRequest) Descriptor added in v0.21.0

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

func (*CheckInRequest) GetAddress added in v0.21.0

func (m *CheckInRequest) GetAddress() string

func (*CheckInRequest) GetCapacity added in v0.21.0

func (m *CheckInRequest) GetCapacity() *NodeCapacity

func (*CheckInRequest) GetOperator added in v0.21.0

func (m *CheckInRequest) GetOperator() *NodeOperator

func (*CheckInRequest) GetVersion added in v0.21.0

func (m *CheckInRequest) GetVersion() *NodeVersion

func (*CheckInRequest) ProtoMessage added in v0.21.0

func (*CheckInRequest) ProtoMessage()

func (*CheckInRequest) Reset added in v0.21.0

func (m *CheckInRequest) Reset()

func (*CheckInRequest) String added in v0.21.0

func (m *CheckInRequest) String() string

func (*CheckInRequest) XXX_DiscardUnknown added in v0.21.0

func (m *CheckInRequest) XXX_DiscardUnknown()

func (*CheckInRequest) XXX_Marshal added in v0.21.0

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

func (*CheckInRequest) XXX_Merge added in v0.21.0

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

func (*CheckInRequest) XXX_Size added in v0.21.0

func (m *CheckInRequest) XXX_Size() int

func (*CheckInRequest) XXX_Unmarshal added in v0.21.0

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

type CheckInResponse added in v0.21.0

type CheckInResponse struct {
	PingNodeSuccess      bool     `protobuf:"varint,1,opt,name=ping_node_success,json=pingNodeSuccess,proto3" json:"ping_node_success,omitempty"`
	PingErrorMessage     string   `protobuf:"bytes,2,opt,name=ping_error_message,json=pingErrorMessage,proto3" json:"ping_error_message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckInResponse) Descriptor added in v0.21.0

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

func (*CheckInResponse) GetPingErrorMessage added in v0.21.0

func (m *CheckInResponse) GetPingErrorMessage() string

func (*CheckInResponse) GetPingNodeSuccess added in v0.21.0

func (m *CheckInResponse) GetPingNodeSuccess() bool

func (*CheckInResponse) ProtoMessage added in v0.21.0

func (*CheckInResponse) ProtoMessage()

func (*CheckInResponse) Reset added in v0.21.0

func (m *CheckInResponse) Reset()

func (*CheckInResponse) String added in v0.21.0

func (m *CheckInResponse) String() string

func (*CheckInResponse) XXX_DiscardUnknown added in v0.21.0

func (m *CheckInResponse) XXX_DiscardUnknown()

func (*CheckInResponse) XXX_Marshal added in v0.21.0

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

func (*CheckInResponse) XXX_Merge added in v0.21.0

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

func (*CheckInResponse) XXX_Size added in v0.21.0

func (m *CheckInResponse) XXX_Size() int

func (*CheckInResponse) XXX_Unmarshal added in v0.21.0

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

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 ContactClient added in v0.21.0

type ContactClient interface {
	PingNode(ctx context.Context, in *ContactPingRequest, opts ...grpc.CallOption) (*ContactPingResponse, error)
}

ContactClient is the client API for Contact service.

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

func NewContactClient added in v0.21.0

func NewContactClient(cc *grpc.ClientConn) ContactClient

type ContactPingRequest added in v0.21.0

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

func (*ContactPingRequest) Descriptor added in v0.21.0

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

func (*ContactPingRequest) ProtoMessage added in v0.21.0

func (*ContactPingRequest) ProtoMessage()

func (*ContactPingRequest) Reset added in v0.21.0

func (m *ContactPingRequest) Reset()

func (*ContactPingRequest) String added in v0.21.0

func (m *ContactPingRequest) String() string

func (*ContactPingRequest) XXX_DiscardUnknown added in v0.21.0

func (m *ContactPingRequest) XXX_DiscardUnknown()

func (*ContactPingRequest) XXX_Marshal added in v0.21.0

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

func (*ContactPingRequest) XXX_Merge added in v0.21.0

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

func (*ContactPingRequest) XXX_Size added in v0.21.0

func (m *ContactPingRequest) XXX_Size() int

func (*ContactPingRequest) XXX_Unmarshal added in v0.21.0

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

type ContactPingResponse added in v0.21.0

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

func (*ContactPingResponse) Descriptor added in v0.21.0

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

func (*ContactPingResponse) ProtoMessage added in v0.21.0

func (*ContactPingResponse) ProtoMessage()

func (*ContactPingResponse) Reset added in v0.21.0

func (m *ContactPingResponse) Reset()

func (*ContactPingResponse) String added in v0.21.0

func (m *ContactPingResponse) String() string

func (*ContactPingResponse) XXX_DiscardUnknown added in v0.21.0

func (m *ContactPingResponse) XXX_DiscardUnknown()

func (*ContactPingResponse) XXX_Marshal added in v0.21.0

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

func (*ContactPingResponse) XXX_Merge added in v0.21.0

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

func (*ContactPingResponse) XXX_Size added in v0.21.0

func (m *ContactPingResponse) XXX_Size() int

func (*ContactPingResponse) XXX_Unmarshal added in v0.21.0

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

type ContactServer added in v0.21.0

type ContactServer interface {
	PingNode(context.Context, *ContactPingRequest) (*ContactPingResponse, error)
}

ContactServer is the server API for Contact service.

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 CreateInvoicesRequest added in v0.25.0

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

func (*CreateInvoicesRequest) Descriptor added in v0.25.0

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

func (*CreateInvoicesRequest) ProtoMessage added in v0.25.0

func (*CreateInvoicesRequest) ProtoMessage()

func (*CreateInvoicesRequest) Reset added in v0.25.0

func (m *CreateInvoicesRequest) Reset()

func (*CreateInvoicesRequest) String added in v0.25.0

func (m *CreateInvoicesRequest) String() string

func (*CreateInvoicesRequest) XXX_DiscardUnknown added in v0.25.0

func (m *CreateInvoicesRequest) XXX_DiscardUnknown()

func (*CreateInvoicesRequest) XXX_Marshal added in v0.25.0

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

func (*CreateInvoicesRequest) XXX_Merge added in v0.25.0

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

func (*CreateInvoicesRequest) XXX_Size added in v0.25.0

func (m *CreateInvoicesRequest) XXX_Size() int

func (*CreateInvoicesRequest) XXX_Unmarshal added in v0.25.0

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

type CreateInvoicesResponse added in v0.25.0

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

func (*CreateInvoicesResponse) Descriptor added in v0.25.0

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

func (*CreateInvoicesResponse) ProtoMessage added in v0.25.0

func (*CreateInvoicesResponse) ProtoMessage()

func (*CreateInvoicesResponse) Reset added in v0.25.0

func (m *CreateInvoicesResponse) Reset()

func (*CreateInvoicesResponse) String added in v0.25.0

func (m *CreateInvoicesResponse) String() string

func (*CreateInvoicesResponse) XXX_DiscardUnknown added in v0.25.0

func (m *CreateInvoicesResponse) XXX_DiscardUnknown()

func (*CreateInvoicesResponse) XXX_Marshal added in v0.25.0

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

func (*CreateInvoicesResponse) XXX_Merge added in v0.25.0

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

func (*CreateInvoicesResponse) XXX_Size added in v0.25.0

func (m *CreateInvoicesResponse) XXX_Size() int

func (*CreateInvoicesResponse) XXX_Unmarshal added in v0.25.0

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

type DRPCCertificatesClient added in v0.21.0

type DRPCCertificatesClient interface {
	DRPCConn() drpc.Conn

	Sign(ctx context.Context, in *SigningRequest) (*SigningResponse, error)
}

func NewDRPCCertificatesClient added in v0.21.0

func NewDRPCCertificatesClient(cc drpc.Conn) DRPCCertificatesClient

type DRPCCertificatesDescription added in v0.21.0

type DRPCCertificatesDescription struct{}

func (DRPCCertificatesDescription) Method added in v0.21.0

func (DRPCCertificatesDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCCertificatesDescription) NumMethods added in v0.21.0

func (DRPCCertificatesDescription) NumMethods() int

type DRPCCertificatesServer added in v0.21.0

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

type DRPCCertificates_SignStream added in v0.21.0

type DRPCCertificates_SignStream interface {
	drpc.Stream
	SendAndClose(*SigningResponse) error
}

type DRPCContactClient added in v0.21.0

type DRPCContactClient interface {
	DRPCConn() drpc.Conn

	PingNode(ctx context.Context, in *ContactPingRequest) (*ContactPingResponse, error)
}

func NewDRPCContactClient added in v0.21.0

func NewDRPCContactClient(cc drpc.Conn) DRPCContactClient

type DRPCContactDescription added in v0.21.0

type DRPCContactDescription struct{}

func (DRPCContactDescription) Method added in v0.21.0

func (DRPCContactDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCContactDescription) NumMethods added in v0.21.0

func (DRPCContactDescription) NumMethods() int

type DRPCContactServer added in v0.21.0

type DRPCContactServer interface {
	PingNode(context.Context, *ContactPingRequest) (*ContactPingResponse, error)
}

type DRPCContact_PingNodeStream added in v0.21.0

type DRPCContact_PingNodeStream interface {
	drpc.Stream
	SendAndClose(*ContactPingResponse) error
}

type DRPCHealthInspectorClient added in v0.21.0

type DRPCHealthInspectorClient interface {
	DRPCConn() drpc.Conn

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

func NewDRPCHealthInspectorClient added in v0.21.0

func NewDRPCHealthInspectorClient(cc drpc.Conn) DRPCHealthInspectorClient

type DRPCHealthInspectorDescription added in v0.21.0

type DRPCHealthInspectorDescription struct{}

func (DRPCHealthInspectorDescription) Method added in v0.21.0

func (DRPCHealthInspectorDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCHealthInspectorDescription) NumMethods added in v0.21.0

func (DRPCHealthInspectorDescription) NumMethods() int

type DRPCHealthInspectorServer added in v0.21.0

type DRPCHealthInspectorServer 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)
}

type DRPCHealthInspector_ObjectHealthStream added in v0.21.0

type DRPCHealthInspector_ObjectHealthStream interface {
	drpc.Stream
	SendAndClose(*ObjectHealthResponse) error
}

type DRPCHealthInspector_SegmentHealthStream added in v0.21.0

type DRPCHealthInspector_SegmentHealthStream interface {
	drpc.Stream
	SendAndClose(*SegmentHealthResponse) error
}

type DRPCIrreparableInspectorClient added in v0.21.0

type DRPCIrreparableInspectorClient interface {
	DRPCConn() drpc.Conn

	// ListIrreparableSegments returns damaged segments
	ListIrreparableSegments(ctx context.Context, in *ListIrreparableSegmentsRequest) (*ListIrreparableSegmentsResponse, error)
}

func NewDRPCIrreparableInspectorClient added in v0.21.0

func NewDRPCIrreparableInspectorClient(cc drpc.Conn) DRPCIrreparableInspectorClient

type DRPCIrreparableInspectorDescription added in v0.21.0

type DRPCIrreparableInspectorDescription struct{}

func (DRPCIrreparableInspectorDescription) Method added in v0.21.0

func (DRPCIrreparableInspectorDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCIrreparableInspectorDescription) NumMethods added in v0.21.0

type DRPCIrreparableInspectorServer added in v0.21.0

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

type DRPCIrreparableInspector_ListIrreparableSegmentsStream added in v0.21.0

type DRPCIrreparableInspector_ListIrreparableSegmentsStream interface {
	drpc.Stream
	SendAndClose(*ListIrreparableSegmentsResponse) error
}

type DRPCMetainfoClient added in v0.21.0

type DRPCMetainfoClient interface {
	DRPCConn() drpc.Conn

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

func NewDRPCMetainfoClient added in v0.21.0

func NewDRPCMetainfoClient(cc drpc.Conn) DRPCMetainfoClient

type DRPCMetainfoDescription added in v0.21.0

type DRPCMetainfoDescription struct{}

func (DRPCMetainfoDescription) Method added in v0.21.0

func (DRPCMetainfoDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCMetainfoDescription) NumMethods added in v0.21.0

func (DRPCMetainfoDescription) NumMethods() int

type DRPCMetainfoServer added in v0.21.0

type DRPCMetainfoServer 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)
}

type DRPCMetainfo_BatchStream added in v0.21.0

type DRPCMetainfo_BatchStream interface {
	drpc.Stream
	SendAndClose(*BatchResponse) error
}

type DRPCMetainfo_BeginDeleteObjectStream added in v0.21.0

type DRPCMetainfo_BeginDeleteObjectStream interface {
	drpc.Stream
	SendAndClose(*ObjectBeginDeleteResponse) error
}

type DRPCMetainfo_BeginDeleteSegmentStream added in v0.21.0

type DRPCMetainfo_BeginDeleteSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentBeginDeleteResponse) error
}

type DRPCMetainfo_BeginObjectStream added in v0.21.0

type DRPCMetainfo_BeginObjectStream interface {
	drpc.Stream
	SendAndClose(*ObjectBeginResponse) error
}

type DRPCMetainfo_BeginSegmentStream added in v0.21.0

type DRPCMetainfo_BeginSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentBeginResponse) error
}

type DRPCMetainfo_CommitObjectStream added in v0.21.0

type DRPCMetainfo_CommitObjectStream interface {
	drpc.Stream
	SendAndClose(*ObjectCommitResponse) error
}

type DRPCMetainfo_CommitSegmentOldStream added in v0.21.0

type DRPCMetainfo_CommitSegmentOldStream interface {
	drpc.Stream
	SendAndClose(*SegmentCommitResponseOld) error
}

type DRPCMetainfo_CommitSegmentStream added in v0.21.0

type DRPCMetainfo_CommitSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentCommitResponse) error
}

type DRPCMetainfo_CreateBucketStream added in v0.21.0

type DRPCMetainfo_CreateBucketStream interface {
	drpc.Stream
	SendAndClose(*BucketCreateResponse) error
}

type DRPCMetainfo_CreateSegmentOldStream added in v0.21.0

type DRPCMetainfo_CreateSegmentOldStream interface {
	drpc.Stream
	SendAndClose(*SegmentWriteResponseOld) error
}

type DRPCMetainfo_DeleteBucketStream added in v0.21.0

type DRPCMetainfo_DeleteBucketStream interface {
	drpc.Stream
	SendAndClose(*BucketDeleteResponse) error
}

type DRPCMetainfo_DeleteSegmentOldStream added in v0.21.0

type DRPCMetainfo_DeleteSegmentOldStream interface {
	drpc.Stream
	SendAndClose(*SegmentDeleteResponseOld) error
}

type DRPCMetainfo_DownloadSegmentOldStream added in v0.21.0

type DRPCMetainfo_DownloadSegmentOldStream interface {
	drpc.Stream
	SendAndClose(*SegmentDownloadResponseOld) error
}

type DRPCMetainfo_DownloadSegmentStream added in v0.21.0

type DRPCMetainfo_DownloadSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentDownloadResponse) error
}

type DRPCMetainfo_FinishDeleteObjectStream added in v0.21.0

type DRPCMetainfo_FinishDeleteObjectStream interface {
	drpc.Stream
	SendAndClose(*ObjectFinishDeleteResponse) error
}

type DRPCMetainfo_FinishDeleteSegmentStream added in v0.21.0

type DRPCMetainfo_FinishDeleteSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentFinishDeleteResponse) error
}

type DRPCMetainfo_GetBucketStream added in v0.21.0

type DRPCMetainfo_GetBucketStream interface {
	drpc.Stream
	SendAndClose(*BucketGetResponse) error
}

type DRPCMetainfo_GetObjectStream added in v0.21.0

type DRPCMetainfo_GetObjectStream interface {
	drpc.Stream
	SendAndClose(*ObjectGetResponse) error
}

type DRPCMetainfo_ListBucketsStream added in v0.21.0

type DRPCMetainfo_ListBucketsStream interface {
	drpc.Stream
	SendAndClose(*BucketListResponse) error
}

type DRPCMetainfo_ListObjectsStream added in v0.21.0

type DRPCMetainfo_ListObjectsStream interface {
	drpc.Stream
	SendAndClose(*ObjectListResponse) error
}

type DRPCMetainfo_ListSegmentsOldStream added in v0.21.0

type DRPCMetainfo_ListSegmentsOldStream interface {
	drpc.Stream
	SendAndClose(*ListSegmentsResponseOld) error
}

type DRPCMetainfo_ListSegmentsStream added in v0.21.0

type DRPCMetainfo_ListSegmentsStream interface {
	drpc.Stream
	SendAndClose(*SegmentListResponse) error
}

type DRPCMetainfo_MakeInlineSegmentStream added in v0.21.0

type DRPCMetainfo_MakeInlineSegmentStream interface {
	drpc.Stream
	SendAndClose(*SegmentMakeInlineResponse) error
}

type DRPCMetainfo_ProjectInfoStream added in v0.21.0

type DRPCMetainfo_ProjectInfoStream interface {
	drpc.Stream
	SendAndClose(*ProjectInfoResponse) error
}

type DRPCMetainfo_SegmentInfoOldStream added in v0.21.0

type DRPCMetainfo_SegmentInfoOldStream interface {
	drpc.Stream
	SendAndClose(*SegmentInfoResponseOld) error
}

type DRPCMetainfo_SetAttributionOldStream added in v0.21.0

type DRPCMetainfo_SetAttributionOldStream interface {
	drpc.Stream
	SendAndClose(*SetAttributionResponseOld) error
}

type DRPCMetainfo_SetBucketAttributionStream added in v0.21.0

type DRPCMetainfo_SetBucketAttributionStream interface {
	drpc.Stream
	SendAndClose(*BucketSetAttributionResponse) error
}

type DRPCNodeClient added in v0.21.0

type DRPCNodeClient interface {
	DRPCConn() drpc.Conn

	CheckIn(ctx context.Context, in *CheckInRequest) (*CheckInResponse, error)
}

func NewDRPCNodeClient added in v0.21.0

func NewDRPCNodeClient(cc drpc.Conn) DRPCNodeClient

type DRPCNodeDescription added in v0.21.0

type DRPCNodeDescription struct{}

func (DRPCNodeDescription) Method added in v0.21.0

func (DRPCNodeDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCNodeDescription) NumMethods added in v0.21.0

func (DRPCNodeDescription) NumMethods() int

type DRPCNodeGracefulExitClient added in v0.24.0

type DRPCNodeGracefulExitClient interface {
	DRPCConn() drpc.Conn

	// GetSatellitesList returns a list of satellites that the storagenode has not exited.
	GetNonExitingSatellites(ctx context.Context, in *GetNonExitingSatellitesRequest) (*GetNonExitingSatellitesResponse, error)
	// InitiateGracefulExit updates one or more satellites in the storagenode's database to be gracefully exiting.
	InitiateGracefulExit(ctx context.Context, in *InitiateGracefulExitRequest) (*ExitProgress, error)
	// GetExitProgress returns graceful exit status on each satellite for a given storagenode.
	GetExitProgress(ctx context.Context, in *GetExitProgressRequest) (*GetExitProgressResponse, error)
}

func NewDRPCNodeGracefulExitClient added in v0.24.0

func NewDRPCNodeGracefulExitClient(cc drpc.Conn) DRPCNodeGracefulExitClient

type DRPCNodeGracefulExitDescription added in v0.24.0

type DRPCNodeGracefulExitDescription struct{}

func (DRPCNodeGracefulExitDescription) Method added in v0.24.0

func (DRPCNodeGracefulExitDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCNodeGracefulExitDescription) NumMethods added in v0.24.0

func (DRPCNodeGracefulExitDescription) NumMethods() int

type DRPCNodeGracefulExitServer added in v0.24.0

type DRPCNodeGracefulExitServer interface {
	// GetSatellitesList returns a list of satellites that the storagenode has not exited.
	GetNonExitingSatellites(context.Context, *GetNonExitingSatellitesRequest) (*GetNonExitingSatellitesResponse, error)
	// InitiateGracefulExit updates one or more satellites in the storagenode's database to be gracefully exiting.
	InitiateGracefulExit(context.Context, *InitiateGracefulExitRequest) (*ExitProgress, error)
	// GetExitProgress returns graceful exit status on each satellite for a given storagenode.
	GetExitProgress(context.Context, *GetExitProgressRequest) (*GetExitProgressResponse, error)
}

type DRPCNodeGracefulExit_GetExitProgressStream added in v0.24.0

type DRPCNodeGracefulExit_GetExitProgressStream interface {
	drpc.Stream
	SendAndClose(*GetExitProgressResponse) error
}

type DRPCNodeGracefulExit_GetNonExitingSatellitesStream added in v0.24.0

type DRPCNodeGracefulExit_GetNonExitingSatellitesStream interface {
	drpc.Stream
	SendAndClose(*GetNonExitingSatellitesResponse) error
}

type DRPCNodeGracefulExit_InitiateGracefulExitStream added in v0.24.0

type DRPCNodeGracefulExit_InitiateGracefulExitStream interface {
	drpc.Stream
	SendAndClose(*ExitProgress) error
}

type DRPCNodeServer added in v0.21.0

type DRPCNodeServer interface {
	CheckIn(context.Context, *CheckInRequest) (*CheckInResponse, error)
}

type DRPCNodeStatsClient added in v0.21.0

type DRPCNodeStatsClient interface {
	DRPCConn() drpc.Conn

	GetStats(ctx context.Context, in *GetStatsRequest) (*GetStatsResponse, error)
	DailyStorageUsage(ctx context.Context, in *DailyStorageUsageRequest) (*DailyStorageUsageResponse, error)
}

func NewDRPCNodeStatsClient added in v0.21.0

func NewDRPCNodeStatsClient(cc drpc.Conn) DRPCNodeStatsClient

type DRPCNodeStatsDescription added in v0.21.0

type DRPCNodeStatsDescription struct{}

func (DRPCNodeStatsDescription) Method added in v0.21.0

func (DRPCNodeStatsDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCNodeStatsDescription) NumMethods added in v0.21.0

func (DRPCNodeStatsDescription) NumMethods() int

type DRPCNodeStatsServer added in v0.21.0

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

type DRPCNodeStats_DailyStorageUsageStream added in v0.21.0

type DRPCNodeStats_DailyStorageUsageStream interface {
	drpc.Stream
	SendAndClose(*DailyStorageUsageResponse) error
}

type DRPCNodeStats_GetStatsStream added in v0.21.0

type DRPCNodeStats_GetStatsStream interface {
	drpc.Stream
	SendAndClose(*GetStatsResponse) error
}

type DRPCNode_CheckInStream added in v0.21.0

type DRPCNode_CheckInStream interface {
	drpc.Stream
	SendAndClose(*CheckInResponse) error
}

type DRPCOrdersClient added in v0.21.0

type DRPCOrdersClient interface {
	DRPCConn() drpc.Conn

	Settlement(ctx context.Context) (DRPCOrders_SettlementClient, error)
}

func NewDRPCOrdersClient added in v0.21.0

func NewDRPCOrdersClient(cc drpc.Conn) DRPCOrdersClient

type DRPCOrdersDescription added in v0.21.0

type DRPCOrdersDescription struct{}

func (DRPCOrdersDescription) Method added in v0.21.0

func (DRPCOrdersDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCOrdersDescription) NumMethods added in v0.21.0

func (DRPCOrdersDescription) NumMethods() int

type DRPCOrdersServer added in v0.21.0

type DRPCOrdersServer interface {
	Settlement(DRPCOrders_SettlementStream) error
}

type DRPCOrders_SettlementClient added in v0.21.0

type DRPCOrders_SettlementClient interface {
	drpc.Stream
	Send(*SettlementRequest) error
	Recv() (*SettlementResponse, error)
}

type DRPCOrders_SettlementStream added in v0.21.0

type DRPCOrders_SettlementStream interface {
	drpc.Stream
	Send(*SettlementResponse) error
	Recv() (*SettlementRequest, error)
}

type DRPCOverlayInspectorClient added in v0.21.0

type DRPCOverlayInspectorClient interface {
	DRPCConn() drpc.Conn

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

func NewDRPCOverlayInspectorClient added in v0.21.0

func NewDRPCOverlayInspectorClient(cc drpc.Conn) DRPCOverlayInspectorClient

type DRPCOverlayInspectorDescription added in v0.21.0

type DRPCOverlayInspectorDescription struct{}

func (DRPCOverlayInspectorDescription) Method added in v0.21.0

func (DRPCOverlayInspectorDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCOverlayInspectorDescription) NumMethods added in v0.21.0

func (DRPCOverlayInspectorDescription) NumMethods() int

type DRPCOverlayInspectorServer added in v0.21.0

type DRPCOverlayInspectorServer 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)
}

type DRPCOverlayInspector_CountNodesStream added in v0.21.0

type DRPCOverlayInspector_CountNodesStream interface {
	drpc.Stream
	SendAndClose(*CountNodesResponse) error
}

type DRPCOverlayInspector_DumpNodesStream added in v0.21.0

type DRPCOverlayInspector_DumpNodesStream interface {
	drpc.Stream
	SendAndClose(*DumpNodesResponse) error
}

type DRPCPaymentsClient added in v0.25.0

type DRPCPaymentsClient interface {
	DRPCConn() drpc.Conn

	PrepareInvoiceRecords(ctx context.Context, in *PrepareInvoiceRecordsRequest) (*PrepareInvoiceRecordsResponse, error)
	ApplyInvoiceRecords(ctx context.Context, in *ApplyInvoiceRecordsRequest) (*ApplyInvoiceRecordsResponse, error)
	CreateInvoices(ctx context.Context, in *CreateInvoicesRequest) (*CreateInvoicesResponse, error)
}

func NewDRPCPaymentsClient added in v0.25.0

func NewDRPCPaymentsClient(cc drpc.Conn) DRPCPaymentsClient

type DRPCPaymentsDescription added in v0.25.0

type DRPCPaymentsDescription struct{}

func (DRPCPaymentsDescription) Method added in v0.25.0

func (DRPCPaymentsDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCPaymentsDescription) NumMethods added in v0.25.0

func (DRPCPaymentsDescription) NumMethods() int

type DRPCPaymentsServer added in v0.25.0

type DRPCPayments_ApplyInvoiceRecordsStream added in v0.25.0

type DRPCPayments_ApplyInvoiceRecordsStream interface {
	drpc.Stream
	SendAndClose(*ApplyInvoiceRecordsResponse) error
}

type DRPCPayments_CreateInvoicesStream added in v0.25.0

type DRPCPayments_CreateInvoicesStream interface {
	drpc.Stream
	SendAndClose(*CreateInvoicesResponse) error
}

type DRPCPayments_PrepareInvoiceRecordsStream added in v0.25.0

type DRPCPayments_PrepareInvoiceRecordsStream interface {
	drpc.Stream
	SendAndClose(*PrepareInvoiceRecordsResponse) error
}

type DRPCPieceStoreInspectorClient added in v0.21.0

type DRPCPieceStoreInspectorClient interface {
	DRPCConn() drpc.Conn

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

func NewDRPCPieceStoreInspectorClient added in v0.21.0

func NewDRPCPieceStoreInspectorClient(cc drpc.Conn) DRPCPieceStoreInspectorClient

type DRPCPieceStoreInspectorDescription added in v0.21.0

type DRPCPieceStoreInspectorDescription struct{}

func (DRPCPieceStoreInspectorDescription) Method added in v0.21.0

func (DRPCPieceStoreInspectorDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCPieceStoreInspectorDescription) NumMethods added in v0.21.0

type DRPCPieceStoreInspectorServer added in v0.21.0

type DRPCPieceStoreInspectorServer 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)
}

type DRPCPieceStoreInspector_DashboardStream added in v0.21.0

type DRPCPieceStoreInspector_DashboardStream interface {
	drpc.Stream
	SendAndClose(*DashboardResponse) error
}

type DRPCPieceStoreInspector_StatsStream added in v0.21.0

type DRPCPieceStoreInspector_StatsStream interface {
	drpc.Stream
	SendAndClose(*StatSummaryResponse) error
}

type DRPCPiecestoreClient added in v0.21.0

type DRPCPiecestoreClient interface {
	DRPCConn() drpc.Conn

	Upload(ctx context.Context) (DRPCPiecestore_UploadClient, error)
	Download(ctx context.Context) (DRPCPiecestore_DownloadClient, error)
	Delete(ctx context.Context, in *PieceDeleteRequest) (*PieceDeleteResponse, error)
	// DeletePiece deletes a piece from a satellite request
	DeletePiece(ctx context.Context, in *PieceDeletePieceRequest) (*PieceDeletePieceResponse, error)
	// DeletePieces deletes a set of pieces on satellite request
	DeletePieces(ctx context.Context, in *DeletePiecesRequest) (*DeletePiecesResponse, error)
	Retain(ctx context.Context, in *RetainRequest) (*RetainResponse, error)
	RestoreTrash(ctx context.Context, in *RestoreTrashRequest) (*RestoreTrashResponse, error)
}

func NewDRPCPiecestoreClient added in v0.21.0

func NewDRPCPiecestoreClient(cc drpc.Conn) DRPCPiecestoreClient

type DRPCPiecestoreDescription added in v0.21.0

type DRPCPiecestoreDescription struct{}

func (DRPCPiecestoreDescription) Method added in v0.21.0

func (DRPCPiecestoreDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCPiecestoreDescription) NumMethods added in v0.21.0

func (DRPCPiecestoreDescription) NumMethods() int

type DRPCPiecestoreServer added in v0.21.0

type DRPCPiecestoreServer interface {
	Upload(DRPCPiecestore_UploadStream) error
	Download(DRPCPiecestore_DownloadStream) error
	Delete(context.Context, *PieceDeleteRequest) (*PieceDeleteResponse, error)
	// DeletePiece deletes a piece from a satellite request
	DeletePiece(context.Context, *PieceDeletePieceRequest) (*PieceDeletePieceResponse, error)
	// DeletePieces deletes a set of pieces on satellite request
	DeletePieces(context.Context, *DeletePiecesRequest) (*DeletePiecesResponse, error)
	Retain(context.Context, *RetainRequest) (*RetainResponse, error)
	RestoreTrash(context.Context, *RestoreTrashRequest) (*RestoreTrashResponse, error)
}

type DRPCPiecestore_DeletePieceStream added in v0.27.0

type DRPCPiecestore_DeletePieceStream interface {
	drpc.Stream
	SendAndClose(*PieceDeletePieceResponse) error
}

type DRPCPiecestore_DeletePiecesStream added in v0.28.4

type DRPCPiecestore_DeletePiecesStream interface {
	drpc.Stream
	SendAndClose(*DeletePiecesResponse) error
}

type DRPCPiecestore_DeleteStream added in v0.21.0

type DRPCPiecestore_DeleteStream interface {
	drpc.Stream
	SendAndClose(*PieceDeleteResponse) error
}

type DRPCPiecestore_DownloadClient added in v0.21.0

type DRPCPiecestore_DownloadClient interface {
	drpc.Stream
	Send(*PieceDownloadRequest) error
	Recv() (*PieceDownloadResponse, error)
}

type DRPCPiecestore_DownloadStream added in v0.21.0

type DRPCPiecestore_DownloadStream interface {
	drpc.Stream
	Send(*PieceDownloadResponse) error
	Recv() (*PieceDownloadRequest, error)
}

type DRPCPiecestore_RestoreTrashStream added in v0.27.0

type DRPCPiecestore_RestoreTrashStream interface {
	drpc.Stream
	SendAndClose(*RestoreTrashResponse) error
}

type DRPCPiecestore_RetainStream added in v0.21.0

type DRPCPiecestore_RetainStream interface {
	drpc.Stream
	SendAndClose(*RetainResponse) error
}

type DRPCPiecestore_UploadClient added in v0.21.0

type DRPCPiecestore_UploadClient interface {
	drpc.Stream
	Send(*PieceUploadRequest) error
	CloseAndRecv() (*PieceUploadResponse, error)
}

type DRPCPiecestore_UploadStream added in v0.21.0

type DRPCPiecestore_UploadStream interface {
	drpc.Stream
	SendAndClose(*PieceUploadResponse) error
	Recv() (*PieceUploadRequest, error)
}

type DRPCReferralManagerClient added in v0.26.0

type DRPCReferralManagerClient interface {
	DRPCConn() drpc.Conn

	// GetTokens retrieves a list of unredeemed tokens for a user
	GetTokens(ctx context.Context, in *GetTokensRequest) (*GetTokensResponse, error)
	// RedeemToken saves newly created user info in referral manager
	RedeemToken(ctx context.Context, in *RedeemTokenRequest) (*RedeemTokenResponse, error)
}

func NewDRPCReferralManagerClient added in v0.26.0

func NewDRPCReferralManagerClient(cc drpc.Conn) DRPCReferralManagerClient

type DRPCReferralManagerDescription added in v0.26.0

type DRPCReferralManagerDescription struct{}

func (DRPCReferralManagerDescription) Method added in v0.26.0

func (DRPCReferralManagerDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCReferralManagerDescription) NumMethods added in v0.26.0

func (DRPCReferralManagerDescription) NumMethods() int

type DRPCReferralManagerServer added in v0.26.0

type DRPCReferralManagerServer interface {
	// GetTokens retrieves a list of unredeemed tokens for a user
	GetTokens(context.Context, *GetTokensRequest) (*GetTokensResponse, error)
	// RedeemToken saves newly created user info in referral manager
	RedeemToken(context.Context, *RedeemTokenRequest) (*RedeemTokenResponse, error)
}

type DRPCReferralManager_GetTokensStream added in v0.26.0

type DRPCReferralManager_GetTokensStream interface {
	drpc.Stream
	SendAndClose(*GetTokensResponse) error
}

type DRPCReferralManager_RedeemTokenStream added in v0.26.0

type DRPCReferralManager_RedeemTokenStream interface {
	drpc.Stream
	SendAndClose(*RedeemTokenResponse) error
}

type DRPCSatelliteGracefulExitClient added in v0.24.0

type DRPCSatelliteGracefulExitClient interface {
	DRPCConn() drpc.Conn

	// Process is called by storage nodes to initiate the graceful exit, get pieces to transfer, and receive exit status.
	Process(ctx context.Context) (DRPCSatelliteGracefulExit_ProcessClient, error)
}

func NewDRPCSatelliteGracefulExitClient added in v0.24.0

func NewDRPCSatelliteGracefulExitClient(cc drpc.Conn) DRPCSatelliteGracefulExitClient

type DRPCSatelliteGracefulExitDescription added in v0.24.0

type DRPCSatelliteGracefulExitDescription struct{}

func (DRPCSatelliteGracefulExitDescription) Method added in v0.24.0

func (DRPCSatelliteGracefulExitDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCSatelliteGracefulExitDescription) NumMethods added in v0.24.0

type DRPCSatelliteGracefulExitServer added in v0.24.0

type DRPCSatelliteGracefulExitServer interface {
	// Process is called by storage nodes to initiate the graceful exit, get pieces to transfer, and receive exit status.
	Process(DRPCSatelliteGracefulExit_ProcessStream) error
}

type DRPCSatelliteGracefulExit_ProcessClient added in v0.24.0

type DRPCSatelliteGracefulExit_ProcessClient interface {
	drpc.Stream
	Send(*StorageNodeMessage) error
	Recv() (*SatelliteMessage, error)
}

type DRPCSatelliteGracefulExit_ProcessStream added in v0.24.0

type DRPCSatelliteGracefulExit_ProcessStream interface {
	drpc.Stream
	Send(*SatelliteMessage) error
	Recv() (*StorageNodeMessage, error)
}

type DRPCVouchersClient added in v0.21.0

type DRPCVouchersClient interface {
	DRPCConn() drpc.Conn

	Request(ctx context.Context, in *VoucherRequest) (*VoucherResponse, error)
}

func NewDRPCVouchersClient added in v0.21.0

func NewDRPCVouchersClient(cc drpc.Conn) DRPCVouchersClient

type DRPCVouchersDescription added in v0.21.0

type DRPCVouchersDescription struct{}

func (DRPCVouchersDescription) Method added in v0.21.0

func (DRPCVouchersDescription) Method(n int) (string, drpc.Handler, interface{}, bool)

func (DRPCVouchersDescription) NumMethods added in v0.21.0

func (DRPCVouchersDescription) NumMethods() int

type DRPCVouchersServer added in v0.21.0

type DRPCVouchersServer interface {
	Request(context.Context, *VoucherRequest) (*VoucherResponse, error)
}

type DRPCVouchers_RequestStream added in v0.21.0

type DRPCVouchers_RequestStream interface {
	drpc.Stream
	SendAndClose(*VoucherResponse) 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"` // Deprecated: Do not use.
	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"`
	LastPingFromId       *NodeID              `` /* 126-byte string literal not displayed */
	LastPingFromAddress  string               `protobuf:"bytes,12,opt,name=last_ping_from_address,json=lastPingFromAddress,proto3" json:"last_ping_from_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*DashboardResponse) Descriptor

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

func (*DashboardResponse) GetBootstrapAddress deprecated

func (m *DashboardResponse) GetBootstrapAddress() string

Deprecated: Do not use.

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) GetLastPingFromAddress added in v0.21.0

func (m *DashboardResponse) GetLastPingFromAddress() 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 DeletePiece added in v0.24.0

type DeletePiece struct {
	OriginalPieceId      PieceID  `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeletePiece) Descriptor added in v0.24.0

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

func (*DeletePiece) ProtoMessage added in v0.24.0

func (*DeletePiece) ProtoMessage()

func (*DeletePiece) Reset added in v0.24.0

func (m *DeletePiece) Reset()

func (*DeletePiece) String added in v0.24.0

func (m *DeletePiece) String() string

func (*DeletePiece) XXX_DiscardUnknown added in v0.24.0

func (m *DeletePiece) XXX_DiscardUnknown()

func (*DeletePiece) XXX_Marshal added in v0.24.0

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

func (*DeletePiece) XXX_Merge added in v0.24.0

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

func (*DeletePiece) XXX_Size added in v0.24.0

func (m *DeletePiece) XXX_Size() int

func (*DeletePiece) XXX_Unmarshal added in v0.24.0

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

type DeletePiecesRequest added in v0.28.4

type DeletePiecesRequest struct {
	PieceIds             []PieceID `protobuf:"bytes,1,rep,name=piece_ids,json=pieceIds,proto3,customtype=PieceID" json:"piece_ids"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DeletePiecesRequest) Descriptor added in v0.28.4

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

func (*DeletePiecesRequest) ProtoMessage added in v0.28.4

func (*DeletePiecesRequest) ProtoMessage()

func (*DeletePiecesRequest) Reset added in v0.28.4

func (m *DeletePiecesRequest) Reset()

func (*DeletePiecesRequest) String added in v0.28.4

func (m *DeletePiecesRequest) String() string

func (*DeletePiecesRequest) XXX_DiscardUnknown added in v0.28.4

func (m *DeletePiecesRequest) XXX_DiscardUnknown()

func (*DeletePiecesRequest) XXX_Marshal added in v0.28.4

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

func (*DeletePiecesRequest) XXX_Merge added in v0.28.4

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

func (*DeletePiecesRequest) XXX_Size added in v0.28.4

func (m *DeletePiecesRequest) XXX_Size() int

func (*DeletePiecesRequest) XXX_Unmarshal added in v0.28.4

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

type DeletePiecesResponse added in v0.28.4

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

func (*DeletePiecesResponse) Descriptor added in v0.28.4

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

func (*DeletePiecesResponse) ProtoMessage added in v0.28.4

func (*DeletePiecesResponse) ProtoMessage()

func (*DeletePiecesResponse) Reset added in v0.28.4

func (m *DeletePiecesResponse) Reset()

func (*DeletePiecesResponse) String added in v0.28.4

func (m *DeletePiecesResponse) String() string

func (*DeletePiecesResponse) XXX_DiscardUnknown added in v0.28.4

func (m *DeletePiecesResponse) XXX_DiscardUnknown()

func (*DeletePiecesResponse) XXX_Marshal added in v0.28.4

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

func (*DeletePiecesResponse) XXX_Merge added in v0.28.4

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

func (*DeletePiecesResponse) XXX_Size added in v0.28.4

func (m *DeletePiecesResponse) XXX_Size() int

func (*DeletePiecesResponse) XXX_Unmarshal added in v0.28.4

func (m *DeletePiecesResponse) 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 ExitCompleted added in v0.24.0

type ExitCompleted struct {
	// when everything is completed
	ExitCompleteSignature []byte `` /* 126-byte string literal not displayed */
	// satellite who issued this exit completed
	SatelliteId NodeID `protobuf:"bytes,2,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
	// storage node this exit completed was issued to
	NodeId NodeID `protobuf:"bytes,3,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	// timestamp when the exit completed
	Completed            time.Time `protobuf:"bytes,4,opt,name=completed,proto3,stdtime" json:"completed"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ExitCompleted) Descriptor added in v0.24.0

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

func (*ExitCompleted) GetCompleted added in v0.25.0

func (m *ExitCompleted) GetCompleted() time.Time

func (*ExitCompleted) GetExitCompleteSignature added in v0.24.0

func (m *ExitCompleted) GetExitCompleteSignature() []byte

func (*ExitCompleted) ProtoMessage added in v0.24.0

func (*ExitCompleted) ProtoMessage()

func (*ExitCompleted) Reset added in v0.24.0

func (m *ExitCompleted) Reset()

func (*ExitCompleted) String added in v0.24.0

func (m *ExitCompleted) String() string

func (*ExitCompleted) XXX_DiscardUnknown added in v0.24.0

func (m *ExitCompleted) XXX_DiscardUnknown()

func (*ExitCompleted) XXX_Marshal added in v0.24.0

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

func (*ExitCompleted) XXX_Merge added in v0.24.0

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

func (*ExitCompleted) XXX_Size added in v0.24.0

func (m *ExitCompleted) XXX_Size() int

func (*ExitCompleted) XXX_Unmarshal added in v0.24.0

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

type ExitFailed added in v0.24.0

type ExitFailed struct {
	// on failure
	ExitFailureSignature []byte            `protobuf:"bytes,1,opt,name=exit_failure_signature,json=exitFailureSignature,proto3" json:"exit_failure_signature,omitempty"`
	Reason               ExitFailed_Reason `protobuf:"varint,2,opt,name=reason,proto3,enum=gracefulexit.ExitFailed_Reason" json:"reason,omitempty"`
	// satellite who issued this exit failed
	SatelliteId NodeID `protobuf:"bytes,3,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
	// storage node this exit failed was issued to
	NodeId NodeID `protobuf:"bytes,4,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	// timestamp when the exit failed
	Failed               time.Time `protobuf:"bytes,5,opt,name=failed,proto3,stdtime" json:"failed"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*ExitFailed) Descriptor added in v0.24.0

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

func (*ExitFailed) GetExitFailureSignature added in v0.24.0

func (m *ExitFailed) GetExitFailureSignature() []byte

func (*ExitFailed) GetFailed added in v0.25.0

func (m *ExitFailed) GetFailed() time.Time

func (*ExitFailed) GetReason added in v0.24.0

func (m *ExitFailed) GetReason() ExitFailed_Reason

func (*ExitFailed) ProtoMessage added in v0.24.0

func (*ExitFailed) ProtoMessage()

func (*ExitFailed) Reset added in v0.24.0

func (m *ExitFailed) Reset()

func (*ExitFailed) String added in v0.24.0

func (m *ExitFailed) String() string

func (*ExitFailed) XXX_DiscardUnknown added in v0.24.0

func (m *ExitFailed) XXX_DiscardUnknown()

func (*ExitFailed) XXX_Marshal added in v0.24.0

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

func (*ExitFailed) XXX_Merge added in v0.24.0

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

func (*ExitFailed) XXX_Size added in v0.24.0

func (m *ExitFailed) XXX_Size() int

func (*ExitFailed) XXX_Unmarshal added in v0.24.0

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

type ExitFailed_Reason added in v0.24.0

type ExitFailed_Reason int32
const (
	ExitFailed_VERIFICATION_FAILED                 ExitFailed_Reason = 0
	ExitFailed_INACTIVE_TIMEFRAME_EXCEEDED         ExitFailed_Reason = 1
	ExitFailed_OVERALL_FAILURE_PERCENTAGE_EXCEEDED ExitFailed_Reason = 2
)

func (ExitFailed_Reason) EnumDescriptor added in v0.24.0

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

func (ExitFailed_Reason) String added in v0.24.0

func (x ExitFailed_Reason) String() string

type ExitProgress added in v0.24.0

type ExitProgress struct {
	DomainName           string   `protobuf:"bytes,1,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"`
	NodeId               NodeID   `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	PercentComplete      float32  `protobuf:"fixed32,3,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`
	Successful           bool     `protobuf:"varint,4,opt,name=successful,proto3" json:"successful,omitempty"`
	CompletionReceipt    []byte   `protobuf:"bytes,5,opt,name=completion_receipt,json=completionReceipt,proto3" json:"completion_receipt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExitProgress) Descriptor added in v0.24.0

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

func (*ExitProgress) GetCompletionReceipt added in v0.27.0

func (m *ExitProgress) GetCompletionReceipt() []byte

func (*ExitProgress) GetDomainName added in v0.24.0

func (m *ExitProgress) GetDomainName() string

func (*ExitProgress) GetPercentComplete added in v0.24.0

func (m *ExitProgress) GetPercentComplete() float32

func (*ExitProgress) GetSuccessful added in v0.24.0

func (m *ExitProgress) GetSuccessful() bool

func (*ExitProgress) ProtoMessage added in v0.24.0

func (*ExitProgress) ProtoMessage()

func (*ExitProgress) Reset added in v0.24.0

func (m *ExitProgress) Reset()

func (*ExitProgress) String added in v0.24.0

func (m *ExitProgress) String() string

func (*ExitProgress) XXX_DiscardUnknown added in v0.24.0

func (m *ExitProgress) XXX_DiscardUnknown()

func (*ExitProgress) XXX_Marshal added in v0.24.0

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

func (*ExitProgress) XXX_Merge added in v0.24.0

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

func (*ExitProgress) XXX_Size added in v0.24.0

func (m *ExitProgress) XXX_Size() int

func (*ExitProgress) XXX_Unmarshal added in v0.24.0

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

type GetExitProgressRequest added in v0.24.0

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

func (*GetExitProgressRequest) Descriptor added in v0.24.0

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

func (*GetExitProgressRequest) ProtoMessage added in v0.24.0

func (*GetExitProgressRequest) ProtoMessage()

func (*GetExitProgressRequest) Reset added in v0.24.0

func (m *GetExitProgressRequest) Reset()

func (*GetExitProgressRequest) String added in v0.24.0

func (m *GetExitProgressRequest) String() string

func (*GetExitProgressRequest) XXX_DiscardUnknown added in v0.24.0

func (m *GetExitProgressRequest) XXX_DiscardUnknown()

func (*GetExitProgressRequest) XXX_Marshal added in v0.24.0

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

func (*GetExitProgressRequest) XXX_Merge added in v0.24.0

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

func (*GetExitProgressRequest) XXX_Size added in v0.24.0

func (m *GetExitProgressRequest) XXX_Size() int

func (*GetExitProgressRequest) XXX_Unmarshal added in v0.24.0

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

type GetExitProgressResponse added in v0.24.0

type GetExitProgressResponse struct {
	Progress             []*ExitProgress `protobuf:"bytes,1,rep,name=progress,proto3" json:"progress,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetExitProgressResponse) Descriptor added in v0.24.0

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

func (*GetExitProgressResponse) GetProgress added in v0.24.0

func (m *GetExitProgressResponse) GetProgress() []*ExitProgress

func (*GetExitProgressResponse) ProtoMessage added in v0.24.0

func (*GetExitProgressResponse) ProtoMessage()

func (*GetExitProgressResponse) Reset added in v0.24.0

func (m *GetExitProgressResponse) Reset()

func (*GetExitProgressResponse) String added in v0.24.0

func (m *GetExitProgressResponse) String() string

func (*GetExitProgressResponse) XXX_DiscardUnknown added in v0.24.0

func (m *GetExitProgressResponse) XXX_DiscardUnknown()

func (*GetExitProgressResponse) XXX_Marshal added in v0.24.0

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

func (*GetExitProgressResponse) XXX_Merge added in v0.24.0

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

func (*GetExitProgressResponse) XXX_Size added in v0.24.0

func (m *GetExitProgressResponse) XXX_Size() int

func (*GetExitProgressResponse) XXX_Unmarshal added in v0.24.0

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

type GetNonExitingSatellitesRequest added in v0.24.0

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

func (*GetNonExitingSatellitesRequest) Descriptor added in v0.24.0

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

func (*GetNonExitingSatellitesRequest) ProtoMessage added in v0.24.0

func (*GetNonExitingSatellitesRequest) ProtoMessage()

func (*GetNonExitingSatellitesRequest) Reset added in v0.24.0

func (m *GetNonExitingSatellitesRequest) Reset()

func (*GetNonExitingSatellitesRequest) String added in v0.24.0

func (*GetNonExitingSatellitesRequest) XXX_DiscardUnknown added in v0.24.0

func (m *GetNonExitingSatellitesRequest) XXX_DiscardUnknown()

func (*GetNonExitingSatellitesRequest) XXX_Marshal added in v0.24.0

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

func (*GetNonExitingSatellitesRequest) XXX_Merge added in v0.24.0

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

func (*GetNonExitingSatellitesRequest) XXX_Size added in v0.24.0

func (m *GetNonExitingSatellitesRequest) XXX_Size() int

func (*GetNonExitingSatellitesRequest) XXX_Unmarshal added in v0.24.0

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

type GetNonExitingSatellitesResponse added in v0.24.0

type GetNonExitingSatellitesResponse struct {
	Satellites           []*NonExitingSatellite `protobuf:"bytes,1,rep,name=satellites,proto3" json:"satellites,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*GetNonExitingSatellitesResponse) Descriptor added in v0.24.0

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

func (*GetNonExitingSatellitesResponse) GetSatellites added in v0.24.0

func (*GetNonExitingSatellitesResponse) ProtoMessage added in v0.24.0

func (*GetNonExitingSatellitesResponse) ProtoMessage()

func (*GetNonExitingSatellitesResponse) Reset added in v0.24.0

func (*GetNonExitingSatellitesResponse) String added in v0.24.0

func (*GetNonExitingSatellitesResponse) XXX_DiscardUnknown added in v0.24.0

func (m *GetNonExitingSatellitesResponse) XXX_DiscardUnknown()

func (*GetNonExitingSatellitesResponse) XXX_Marshal added in v0.24.0

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

func (*GetNonExitingSatellitesResponse) XXX_Merge added in v0.24.0

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

func (*GetNonExitingSatellitesResponse) XXX_Size added in v0.24.0

func (m *GetNonExitingSatellitesResponse) XXX_Size() int

func (*GetNonExitingSatellitesResponse) XXX_Unmarshal added in v0.24.0

func (m *GetNonExitingSatellitesResponse) 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 GetTokensRequest added in v0.26.0

type GetTokensRequest struct {
	OwnerUserId          []byte   `protobuf:"bytes,1,opt,name=owner_user_id,json=ownerUserId,proto3" json:"owner_user_id,omitempty"`
	OwnerSatelliteId     NodeID   `protobuf:"bytes,2,opt,name=owner_satellite_id,json=ownerSatelliteId,proto3,customtype=NodeID" json:"owner_satellite_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTokensRequest) Descriptor added in v0.26.0

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

func (*GetTokensRequest) GetOwnerUserId added in v0.27.0

func (m *GetTokensRequest) GetOwnerUserId() []byte

func (*GetTokensRequest) ProtoMessage added in v0.26.0

func (*GetTokensRequest) ProtoMessage()

func (*GetTokensRequest) Reset added in v0.26.0

func (m *GetTokensRequest) Reset()

func (*GetTokensRequest) String added in v0.26.0

func (m *GetTokensRequest) String() string

func (*GetTokensRequest) XXX_DiscardUnknown added in v0.26.0

func (m *GetTokensRequest) XXX_DiscardUnknown()

func (*GetTokensRequest) XXX_Marshal added in v0.26.0

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

func (*GetTokensRequest) XXX_Merge added in v0.26.0

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

func (*GetTokensRequest) XXX_Size added in v0.26.0

func (m *GetTokensRequest) XXX_Size() int

func (*GetTokensRequest) XXX_Unmarshal added in v0.26.0

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

type GetTokensResponse added in v0.26.0

type GetTokensResponse struct {
	TokenSecrets         [][]byte `protobuf:"bytes,1,rep,name=token_secrets,json=tokenSecrets,proto3" json:"token_secrets,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetTokensResponse) Descriptor added in v0.26.0

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

func (*GetTokensResponse) GetTokenSecrets added in v0.27.0

func (m *GetTokensResponse) GetTokenSecrets() [][]byte

func (*GetTokensResponse) ProtoMessage added in v0.26.0

func (*GetTokensResponse) ProtoMessage()

func (*GetTokensResponse) Reset added in v0.26.0

func (m *GetTokensResponse) Reset()

func (*GetTokensResponse) String added in v0.26.0

func (m *GetTokensResponse) String() string

func (*GetTokensResponse) XXX_DiscardUnknown added in v0.26.0

func (m *GetTokensResponse) XXX_DiscardUnknown()

func (*GetTokensResponse) XXX_Marshal added in v0.26.0

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

func (*GetTokensResponse) XXX_Merge added in v0.26.0

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

func (*GetTokensResponse) XXX_Size added in v0.26.0

func (m *GetTokensResponse) XXX_Size() int

func (*GetTokensResponse) XXX_Unmarshal added in v0.26.0

func (m *GetTokensResponse) 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 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 InitiateGracefulExitRequest added in v0.24.0

type InitiateGracefulExitRequest struct {
	NodeId               NodeID   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InitiateGracefulExitRequest) Descriptor added in v0.24.0

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

func (*InitiateGracefulExitRequest) ProtoMessage added in v0.24.0

func (*InitiateGracefulExitRequest) ProtoMessage()

func (*InitiateGracefulExitRequest) Reset added in v0.24.0

func (m *InitiateGracefulExitRequest) Reset()

func (*InitiateGracefulExitRequest) String added in v0.24.0

func (m *InitiateGracefulExitRequest) String() string

func (*InitiateGracefulExitRequest) XXX_DiscardUnknown added in v0.24.0

func (m *InitiateGracefulExitRequest) XXX_DiscardUnknown()

func (*InitiateGracefulExitRequest) XXX_Marshal added in v0.24.0

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

func (*InitiateGracefulExitRequest) XXX_Merge added in v0.24.0

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

func (*InitiateGracefulExitRequest) XXX_Size added in v0.24.0

func (m *InitiateGracefulExitRequest) XXX_Size() int

func (*InitiateGracefulExitRequest) XXX_Unmarshal added in v0.24.0

func (m *InitiateGracefulExitRequest) 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 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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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"` // Deprecated: Do not use.
	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 deprecated added in v0.15.0

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

Deprecated: Do not use.

func (*ListSegmentsRequestOld) GetHeader added in v0.22.0

func (m *ListSegmentsRequestOld) GetHeader() *RequestHeader

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 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 NodeClient added in v0.21.0

type NodeClient interface {
	CheckIn(ctx context.Context, in *CheckInRequest, opts ...grpc.CallOption) (*CheckInResponse, error)
}

NodeClient is the client API for Node service.

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

func NewNodeClient added in v0.21.0

func NewNodeClient(cc *grpc.ClientConn) NodeClient

type NodeGracefulExitClient added in v0.24.0

type NodeGracefulExitClient interface {
	// GetSatellitesList returns a list of satellites that the storagenode has not exited.
	GetNonExitingSatellites(ctx context.Context, in *GetNonExitingSatellitesRequest, opts ...grpc.CallOption) (*GetNonExitingSatellitesResponse, error)
	// InitiateGracefulExit updates one or more satellites in the storagenode's database to be gracefully exiting.
	InitiateGracefulExit(ctx context.Context, in *InitiateGracefulExitRequest, opts ...grpc.CallOption) (*ExitProgress, error)
	// GetExitProgress returns graceful exit status on each satellite for a given storagenode.
	GetExitProgress(ctx context.Context, in *GetExitProgressRequest, opts ...grpc.CallOption) (*GetExitProgressResponse, error)
}

NodeGracefulExitClient is the client API for NodeGracefulExit service.

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

func NewNodeGracefulExitClient added in v0.24.0

func NewNodeGracefulExitClient(cc *grpc.ClientConn) NodeGracefulExitClient

type NodeGracefulExitServer added in v0.24.0

type NodeGracefulExitServer interface {
	// GetSatellitesList returns a list of satellites that the storagenode has not exited.
	GetNonExitingSatellites(context.Context, *GetNonExitingSatellitesRequest) (*GetNonExitingSatellitesResponse, error)
	// InitiateGracefulExit updates one or more satellites in the storagenode's database to be gracefully exiting.
	InitiateGracefulExit(context.Context, *InitiateGracefulExitRequest) (*ExitProgress, error)
	// GetExitProgress returns graceful exit status on each satellite for a given storagenode.
	GetExitProgress(context.Context, *GetExitProgressRequest) (*GetExitProgressResponse, error)
}

NodeGracefulExitServer is the server API for NodeGracefulExit service.

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 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 NodeServer added in v0.21.0

type NodeServer interface {
	CheckIn(context.Context, *CheckInRequest) (*CheckInResponse, error)
}

NodeServer is the server API for Node service.

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 // Deprecated: Do not use.
)

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 NonExitingSatellite added in v0.24.0

type NonExitingSatellite struct {
	NodeId               NodeID   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3,customtype=NodeID" json:"node_id"`
	DomainName           string   `protobuf:"bytes,2,opt,name=domain_name,json=domainName,proto3" json:"domain_name,omitempty"`
	SpaceUsed            float64  `protobuf:"fixed64,3,opt,name=space_used,json=spaceUsed,proto3" json:"space_used,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

NonExitingSatellite contains information that's needed for a storagenode to start graceful exit

func (*NonExitingSatellite) Descriptor added in v0.24.0

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

func (*NonExitingSatellite) GetDomainName added in v0.24.0

func (m *NonExitingSatellite) GetDomainName() string

func (*NonExitingSatellite) GetSpaceUsed added in v0.24.0

func (m *NonExitingSatellite) GetSpaceUsed() float64

func (*NonExitingSatellite) ProtoMessage added in v0.24.0

func (*NonExitingSatellite) ProtoMessage()

func (*NonExitingSatellite) Reset added in v0.24.0

func (m *NonExitingSatellite) Reset()

func (*NonExitingSatellite) String added in v0.24.0

func (m *NonExitingSatellite) String() string

func (*NonExitingSatellite) XXX_DiscardUnknown added in v0.24.0

func (m *NonExitingSatellite) XXX_DiscardUnknown()

func (*NonExitingSatellite) XXX_Marshal added in v0.24.0

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

func (*NonExitingSatellite) XXX_Merge added in v0.24.0

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

func (*NonExitingSatellite) XXX_Size added in v0.24.0

func (m *NonExitingSatellite) XXX_Size() int

func (*NonExitingSatellite) XXX_Unmarshal added in v0.24.0

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

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 NotReady added in v0.24.0

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

func (*NotReady) Descriptor added in v0.24.0

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

func (*NotReady) ProtoMessage added in v0.24.0

func (*NotReady) ProtoMessage()

func (*NotReady) Reset added in v0.24.0

func (m *NotReady) Reset()

func (*NotReady) String added in v0.24.0

func (m *NotReady) String() string

func (*NotReady) XXX_DiscardUnknown added in v0.24.0

func (m *NotReady) XXX_DiscardUnknown()

func (*NotReady) XXX_Marshal added in v0.24.0

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

func (*NotReady) XXX_Merge added in v0.24.0

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

func (*NotReady) XXX_Size added in v0.24.0

func (m *NotReady) XXX_Size() int

func (*NotReady) XXX_Unmarshal added in v0.24.0

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

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectBeginDeleteRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader        `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectBeginRequest) GetHeader() *RequestHeader

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 {
	Header                 *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectCommitRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectFinishDeleteRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectGetRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader          `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ObjectListRequest) GetHeader() *RequestHeader

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"`
	// 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 PaymentsClient added in v0.25.0

type PaymentsClient interface {
	PrepareInvoiceRecords(ctx context.Context, in *PrepareInvoiceRecordsRequest, opts ...grpc.CallOption) (*PrepareInvoiceRecordsResponse, error)
	ApplyInvoiceRecords(ctx context.Context, in *ApplyInvoiceRecordsRequest, opts ...grpc.CallOption) (*ApplyInvoiceRecordsResponse, error)
	CreateInvoices(ctx context.Context, in *CreateInvoicesRequest, opts ...grpc.CallOption) (*CreateInvoicesResponse, error)
}

PaymentsClient is the client API for Payments service.

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

func NewPaymentsClient added in v0.25.0

func NewPaymentsClient(cc *grpc.ClientConn) PaymentsClient

type PaymentsServer added in v0.25.0

PaymentsServer is the server API for Payments service.

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
	PieceAction_PUT_GRACEFUL_EXIT PieceAction = 7
)

func (PieceAction) EnumDescriptor

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

func (PieceAction) String

func (x PieceAction) String() string

type PieceDeletePieceRequest added in v0.27.0

type PieceDeletePieceRequest struct {
	PieceId              PieceID  `protobuf:"bytes,1,opt,name=piece_id,json=pieceId,proto3,customtype=PieceID" json:"piece_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PieceDeletePieceRequest) Descriptor added in v0.27.0

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

func (*PieceDeletePieceRequest) ProtoMessage added in v0.27.0

func (*PieceDeletePieceRequest) ProtoMessage()

func (*PieceDeletePieceRequest) Reset added in v0.27.0

func (m *PieceDeletePieceRequest) Reset()

func (*PieceDeletePieceRequest) String added in v0.27.0

func (m *PieceDeletePieceRequest) String() string

func (*PieceDeletePieceRequest) XXX_DiscardUnknown added in v0.27.0

func (m *PieceDeletePieceRequest) XXX_DiscardUnknown()

func (*PieceDeletePieceRequest) XXX_Marshal added in v0.27.0

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

func (*PieceDeletePieceRequest) XXX_Merge added in v0.27.0

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

func (*PieceDeletePieceRequest) XXX_Size added in v0.27.0

func (m *PieceDeletePieceRequest) XXX_Size() int

func (*PieceDeletePieceRequest) XXX_Unmarshal added in v0.27.0

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

type PieceDeletePieceResponse added in v0.27.0

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

func (*PieceDeletePieceResponse) Descriptor added in v0.27.0

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

func (*PieceDeletePieceResponse) ProtoMessage added in v0.27.0

func (*PieceDeletePieceResponse) ProtoMessage()

func (*PieceDeletePieceResponse) Reset added in v0.27.0

func (m *PieceDeletePieceResponse) Reset()

func (*PieceDeletePieceResponse) String added in v0.27.0

func (m *PieceDeletePieceResponse) String() string

func (*PieceDeletePieceResponse) XXX_DiscardUnknown added in v0.27.0

func (m *PieceDeletePieceResponse) XXX_DiscardUnknown()

func (*PieceDeletePieceResponse) XXX_Marshal added in v0.27.0

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

func (*PieceDeletePieceResponse) XXX_Merge added in v0.27.0

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

func (*PieceDeletePieceResponse) XXX_Size added in v0.27.0

func (m *PieceDeletePieceResponse) XXX_Size() int

func (*PieceDeletePieceResponse) XXX_Unmarshal added in v0.27.0

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

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)
	// DeletePiece deletes a piece from a satellite request
	DeletePiece(ctx context.Context, in *PieceDeletePieceRequest, opts ...grpc.CallOption) (*PieceDeletePieceResponse, error)
	// DeletePieces deletes a set of pieces on satellite request
	DeletePieces(ctx context.Context, in *DeletePiecesRequest, opts ...grpc.CallOption) (*DeletePiecesResponse, error)
	Retain(ctx context.Context, in *RetainRequest, opts ...grpc.CallOption) (*RetainResponse, error)
	RestoreTrash(ctx context.Context, in *RestoreTrashRequest, opts ...grpc.CallOption) (*RestoreTrashResponse, 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

type PiecestoreServer interface {
	Upload(Piecestore_UploadServer) error
	Download(Piecestore_DownloadServer) error
	Delete(context.Context, *PieceDeleteRequest) (*PieceDeleteResponse, error)
	// DeletePiece deletes a piece from a satellite request
	DeletePiece(context.Context, *PieceDeletePieceRequest) (*PieceDeletePieceResponse, error)
	// DeletePieces deletes a set of pieces on satellite request
	DeletePieces(context.Context, *DeletePiecesRequest) (*DeletePiecesResponse, error)
	Retain(context.Context, *RetainRequest) (*RetainResponse, error)
	RestoreTrash(context.Context, *RestoreTrashRequest) (*RestoreTrashResponse, error)
}

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 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"`
	LastRepaired         time.Time        `protobuf:"bytes,9,opt,name=last_repaired,json=lastRepaired,proto3,stdtime" json:"last_repaired"`
	RepairCount          int32            `protobuf:"varint,10,opt,name=repair_count,json=repairCount,proto3" json:"repair_count,omitempty"`
	PieceHashesVerified  bool             `protobuf:"varint,11,opt,name=piece_hashes_verified,json=pieceHashesVerified,proto3" json:"piece_hashes_verified,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) GetLastRepaired added in v0.22.0

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

func (*Pointer) GetMetadata

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

func (*Pointer) GetPieceHashesVerified added in v0.22.0

func (m *Pointer) GetPieceHashesVerified() bool

func (*Pointer) GetRemote

func (m *Pointer) GetRemote() *RemoteSegment

func (*Pointer) GetRepairCount added in v0.22.0

func (m *Pointer) GetRepairCount() int32

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 PrepareInvoiceRecordsRequest added in v0.25.0

type PrepareInvoiceRecordsRequest struct {
	Period               time.Time `protobuf:"bytes,1,opt,name=period,proto3,stdtime" json:"period"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*PrepareInvoiceRecordsRequest) Descriptor added in v0.25.0

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

func (*PrepareInvoiceRecordsRequest) GetPeriod added in v0.25.0

func (m *PrepareInvoiceRecordsRequest) GetPeriod() time.Time

func (*PrepareInvoiceRecordsRequest) ProtoMessage added in v0.25.0

func (*PrepareInvoiceRecordsRequest) ProtoMessage()

func (*PrepareInvoiceRecordsRequest) Reset added in v0.25.0

func (m *PrepareInvoiceRecordsRequest) Reset()

func (*PrepareInvoiceRecordsRequest) String added in v0.25.0

func (*PrepareInvoiceRecordsRequest) XXX_DiscardUnknown added in v0.25.0

func (m *PrepareInvoiceRecordsRequest) XXX_DiscardUnknown()

func (*PrepareInvoiceRecordsRequest) XXX_Marshal added in v0.25.0

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

func (*PrepareInvoiceRecordsRequest) XXX_Merge added in v0.25.0

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

func (*PrepareInvoiceRecordsRequest) XXX_Size added in v0.25.0

func (m *PrepareInvoiceRecordsRequest) XXX_Size() int

func (*PrepareInvoiceRecordsRequest) XXX_Unmarshal added in v0.25.0

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

type PrepareInvoiceRecordsResponse added in v0.25.0

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

func (*PrepareInvoiceRecordsResponse) Descriptor added in v0.25.0

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

func (*PrepareInvoiceRecordsResponse) ProtoMessage added in v0.25.0

func (*PrepareInvoiceRecordsResponse) ProtoMessage()

func (*PrepareInvoiceRecordsResponse) Reset added in v0.25.0

func (m *PrepareInvoiceRecordsResponse) Reset()

func (*PrepareInvoiceRecordsResponse) String added in v0.25.0

func (*PrepareInvoiceRecordsResponse) XXX_DiscardUnknown added in v0.25.0

func (m *PrepareInvoiceRecordsResponse) XXX_DiscardUnknown()

func (*PrepareInvoiceRecordsResponse) XXX_Marshal added in v0.25.0

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

func (*PrepareInvoiceRecordsResponse) XXX_Merge added in v0.25.0

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

func (*PrepareInvoiceRecordsResponse) XXX_Size added in v0.25.0

func (m *PrepareInvoiceRecordsResponse) XXX_Size() int

func (*PrepareInvoiceRecordsResponse) XXX_Unmarshal added in v0.25.0

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

type ProjectInfoRequest added in v0.14.0

type ProjectInfoRequest struct {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *ProjectInfoRequest) GetHeader() *RequestHeader

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 RedeemTokenRequest added in v0.26.0

type RedeemTokenRequest struct {
	Token                []byte   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	RedeemUserId         []byte   `protobuf:"bytes,2,opt,name=redeem_user_id,json=redeemUserId,proto3" json:"redeem_user_id,omitempty"`
	RedeemSatelliteId    NodeID   `protobuf:"bytes,3,opt,name=redeem_satellite_id,json=redeemSatelliteId,proto3,customtype=NodeID" json:"redeem_satellite_id"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RedeemTokenRequest) Descriptor added in v0.26.0

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

func (*RedeemTokenRequest) GetRedeemUserId added in v0.26.0

func (m *RedeemTokenRequest) GetRedeemUserId() []byte

func (*RedeemTokenRequest) GetToken added in v0.26.0

func (m *RedeemTokenRequest) GetToken() []byte

func (*RedeemTokenRequest) ProtoMessage added in v0.26.0

func (*RedeemTokenRequest) ProtoMessage()

func (*RedeemTokenRequest) Reset added in v0.26.0

func (m *RedeemTokenRequest) Reset()

func (*RedeemTokenRequest) String added in v0.26.0

func (m *RedeemTokenRequest) String() string

func (*RedeemTokenRequest) XXX_DiscardUnknown added in v0.26.0

func (m *RedeemTokenRequest) XXX_DiscardUnknown()

func (*RedeemTokenRequest) XXX_Marshal added in v0.26.0

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

func (*RedeemTokenRequest) XXX_Merge added in v0.26.0

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

func (*RedeemTokenRequest) XXX_Size added in v0.26.0

func (m *RedeemTokenRequest) XXX_Size() int

func (*RedeemTokenRequest) XXX_Unmarshal added in v0.26.0

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

type RedeemTokenResponse added in v0.26.0

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

func (*RedeemTokenResponse) Descriptor added in v0.26.0

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

func (*RedeemTokenResponse) ProtoMessage added in v0.26.0

func (*RedeemTokenResponse) ProtoMessage()

func (*RedeemTokenResponse) Reset added in v0.26.0

func (m *RedeemTokenResponse) Reset()

func (*RedeemTokenResponse) String added in v0.26.0

func (m *RedeemTokenResponse) String() string

func (*RedeemTokenResponse) XXX_DiscardUnknown added in v0.26.0

func (m *RedeemTokenResponse) XXX_DiscardUnknown()

func (*RedeemTokenResponse) XXX_Marshal added in v0.26.0

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

func (*RedeemTokenResponse) XXX_Merge added in v0.26.0

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

func (*RedeemTokenResponse) XXX_Size added in v0.26.0

func (m *RedeemTokenResponse) XXX_Size() int

func (*RedeemTokenResponse) XXX_Unmarshal added in v0.26.0

func (m *RedeemTokenResponse) 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 ReferralManagerClient added in v0.26.0

type ReferralManagerClient interface {
	// GetTokens retrieves a list of unredeemed tokens for a user
	GetTokens(ctx context.Context, in *GetTokensRequest, opts ...grpc.CallOption) (*GetTokensResponse, error)
	// RedeemToken saves newly created user info in referral manager
	RedeemToken(ctx context.Context, in *RedeemTokenRequest, opts ...grpc.CallOption) (*RedeemTokenResponse, error)
}

ReferralManagerClient is the client API for ReferralManager service.

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

func NewReferralManagerClient added in v0.26.0

func NewReferralManagerClient(cc *grpc.ClientConn) ReferralManagerClient

type ReferralManagerServer added in v0.26.0

type ReferralManagerServer interface {
	// GetTokens retrieves a list of unredeemed tokens for a user
	GetTokens(context.Context, *GetTokensRequest) (*GetTokensResponse, error)
	// RedeemToken saves newly created user info in referral manager
	RedeemToken(context.Context, *RedeemTokenRequest) (*RedeemTokenResponse, error)
}

ReferralManagerServer is the server API for ReferralManager service.

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 RequestHeader added in v0.22.0

type RequestHeader struct {
	ApiKey               []byte   `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	UserAgent            []byte   `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestHeader) Descriptor added in v0.22.0

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

func (*RequestHeader) GetApiKey added in v0.22.0

func (m *RequestHeader) GetApiKey() []byte

func (*RequestHeader) GetUserAgent added in v0.27.0

func (m *RequestHeader) GetUserAgent() []byte

func (*RequestHeader) ProtoMessage added in v0.22.0

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) Reset added in v0.22.0

func (m *RequestHeader) Reset()

func (*RequestHeader) String added in v0.22.0

func (m *RequestHeader) String() string

func (*RequestHeader) XXX_DiscardUnknown added in v0.22.0

func (m *RequestHeader) XXX_DiscardUnknown()

func (*RequestHeader) XXX_Marshal added in v0.22.0

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

func (*RequestHeader) XXX_Merge added in v0.22.0

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

func (*RequestHeader) XXX_Size added in v0.22.0

func (m *RequestHeader) XXX_Size() int

func (*RequestHeader) XXX_Unmarshal added in v0.22.0

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

type RestoreTrashRequest added in v0.27.0

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

func (*RestoreTrashRequest) Descriptor added in v0.27.0

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

func (*RestoreTrashRequest) ProtoMessage added in v0.27.0

func (*RestoreTrashRequest) ProtoMessage()

func (*RestoreTrashRequest) Reset added in v0.27.0

func (m *RestoreTrashRequest) Reset()

func (*RestoreTrashRequest) String added in v0.27.0

func (m *RestoreTrashRequest) String() string

func (*RestoreTrashRequest) XXX_DiscardUnknown added in v0.27.0

func (m *RestoreTrashRequest) XXX_DiscardUnknown()

func (*RestoreTrashRequest) XXX_Marshal added in v0.27.0

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

func (*RestoreTrashRequest) XXX_Merge added in v0.27.0

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

func (*RestoreTrashRequest) XXX_Size added in v0.27.0

func (m *RestoreTrashRequest) XXX_Size() int

func (*RestoreTrashRequest) XXX_Unmarshal added in v0.27.0

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

type RestoreTrashResponse added in v0.27.0

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

func (*RestoreTrashResponse) Descriptor added in v0.27.0

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

func (*RestoreTrashResponse) ProtoMessage added in v0.27.0

func (*RestoreTrashResponse) ProtoMessage()

func (*RestoreTrashResponse) Reset added in v0.27.0

func (m *RestoreTrashResponse) Reset()

func (*RestoreTrashResponse) String added in v0.27.0

func (m *RestoreTrashResponse) String() string

func (*RestoreTrashResponse) XXX_DiscardUnknown added in v0.27.0

func (m *RestoreTrashResponse) XXX_DiscardUnknown()

func (*RestoreTrashResponse) XXX_Marshal added in v0.27.0

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

func (*RestoreTrashResponse) XXX_Merge added in v0.27.0

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

func (*RestoreTrashResponse) XXX_Size added in v0.27.0

func (m *RestoreTrashResponse) XXX_Size() int

func (*RestoreTrashResponse) XXX_Unmarshal added in v0.27.0

func (m *RestoreTrashResponse) 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 SatelliteGracefulExitClient added in v0.24.0

type SatelliteGracefulExitClient interface {
	// Process is called by storage nodes to initiate the graceful exit, get pieces to transfer, and receive exit status.
	Process(ctx context.Context, opts ...grpc.CallOption) (SatelliteGracefulExit_ProcessClient, error)
}

SatelliteGracefulExitClient is the client API for SatelliteGracefulExit service.

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

func NewSatelliteGracefulExitClient added in v0.24.0

func NewSatelliteGracefulExitClient(cc *grpc.ClientConn) SatelliteGracefulExitClient

type SatelliteGracefulExitServer added in v0.24.0

type SatelliteGracefulExitServer interface {
	// Process is called by storage nodes to initiate the graceful exit, get pieces to transfer, and receive exit status.
	Process(SatelliteGracefulExit_ProcessServer) error
}

SatelliteGracefulExitServer is the server API for SatelliteGracefulExit service.

type SatelliteGracefulExit_ProcessClient added in v0.24.0

type SatelliteGracefulExit_ProcessClient interface {
	Send(*StorageNodeMessage) error
	Recv() (*SatelliteMessage, error)
	grpc.ClientStream
}

type SatelliteGracefulExit_ProcessServer added in v0.24.0

type SatelliteGracefulExit_ProcessServer interface {
	Send(*SatelliteMessage) error
	Recv() (*StorageNodeMessage, error)
	grpc.ServerStream
}

type SatelliteMessage added in v0.24.0

type SatelliteMessage struct {
	// Types that are valid to be assigned to Message:
	//	*SatelliteMessage_NotReady
	//	*SatelliteMessage_TransferPiece
	//	*SatelliteMessage_DeletePiece
	//	*SatelliteMessage_ExitCompleted
	//	*SatelliteMessage_ExitFailed
	Message              isSatelliteMessage_Message `protobuf_oneof:"Message"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*SatelliteMessage) Descriptor added in v0.24.0

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

func (*SatelliteMessage) GetDeletePiece added in v0.24.0

func (m *SatelliteMessage) GetDeletePiece() *DeletePiece

func (*SatelliteMessage) GetExitCompleted added in v0.24.0

func (m *SatelliteMessage) GetExitCompleted() *ExitCompleted

func (*SatelliteMessage) GetExitFailed added in v0.24.0

func (m *SatelliteMessage) GetExitFailed() *ExitFailed

func (*SatelliteMessage) GetMessage added in v0.24.0

func (m *SatelliteMessage) GetMessage() isSatelliteMessage_Message

func (*SatelliteMessage) GetNotReady added in v0.24.0

func (m *SatelliteMessage) GetNotReady() *NotReady

func (*SatelliteMessage) GetTransferPiece added in v0.24.0

func (m *SatelliteMessage) GetTransferPiece() *TransferPiece

func (*SatelliteMessage) ProtoMessage added in v0.24.0

func (*SatelliteMessage) ProtoMessage()

func (*SatelliteMessage) Reset added in v0.24.0

func (m *SatelliteMessage) Reset()

func (*SatelliteMessage) String added in v0.24.0

func (m *SatelliteMessage) String() string

func (*SatelliteMessage) XXX_DiscardUnknown added in v0.24.0

func (m *SatelliteMessage) XXX_DiscardUnknown()

func (*SatelliteMessage) XXX_Marshal added in v0.24.0

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

func (*SatelliteMessage) XXX_Merge added in v0.24.0

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

func (*SatelliteMessage) XXX_OneofFuncs added in v0.24.0

func (*SatelliteMessage) 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 (*SatelliteMessage) XXX_Size added in v0.24.0

func (m *SatelliteMessage) XXX_Size() int

func (*SatelliteMessage) XXX_Unmarshal added in v0.24.0

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

type SatelliteMessage_DeletePiece added in v0.24.0

type SatelliteMessage_DeletePiece struct {
	DeletePiece *DeletePiece `protobuf:"bytes,3,opt,name=delete_piece,json=deletePiece,proto3,oneof"`
}

type SatelliteMessage_ExitCompleted added in v0.24.0

type SatelliteMessage_ExitCompleted struct {
	ExitCompleted *ExitCompleted `protobuf:"bytes,4,opt,name=exit_completed,json=exitCompleted,proto3,oneof"`
}

type SatelliteMessage_ExitFailed added in v0.24.0

type SatelliteMessage_ExitFailed struct {
	ExitFailed *ExitFailed `protobuf:"bytes,5,opt,name=exit_failed,json=exitFailed,proto3,oneof"`
}

type SatelliteMessage_NotReady added in v0.24.0

type SatelliteMessage_NotReady struct {
	NotReady *NotReady `protobuf:"bytes,1,opt,name=not_ready,json=notReady,proto3,oneof"`
}

type SatelliteMessage_TransferPiece added in v0.24.0

type SatelliteMessage_TransferPiece struct {
	TransferPiece *TransferPiece `protobuf:"bytes,2,opt,name=transfer_piece,json=transferPiece,proto3,oneof"`
}

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 {
	Header               *RequestHeader   `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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"`
	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) GetHeader added in v0.22.0

func (m *SegmentBeginDeleteRequest) GetHeader() *RequestHeader

func (*SegmentBeginDeleteRequest) GetPosition added in v0.16.0

func (m *SegmentBeginDeleteRequest) GetPosition() *SegmentPosition

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 {
	Header               *RequestHeader   `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentBeginRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader              `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentCommitRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentCommitRequestOld) GetHeader() *RequestHeader

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 {
	SuccessfulPieces     int32    `protobuf:"varint,1,opt,name=successful_pieces,json=successfulPieces,proto3" json:"successful_pieces,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SegmentCommitResponse) Descriptor

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

func (*SegmentCommitResponse) GetSuccessfulPieces added in v0.22.0

func (m *SegmentCommitResponse) GetSuccessfulPieces() int32

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentDeleteRequestOld) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader   `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentDownloadRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentDownloadRequestOld) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader              `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentFinishDeleteRequest) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentInfoRequestOld) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader   `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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"`
	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) GetHeader added in v0.22.0

func (m *SegmentListRequest) GetHeader() *RequestHeader

func (*SegmentListRequest) GetLimit added in v0.16.0

func (m *SegmentListRequest) GetLimit() int32

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 {
	Header               *RequestHeader   `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentMakeInlineRequest) GetHeader() *RequestHeader

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 {
	Header                  *RequestHeader    `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SegmentWriteRequestOld) GetHeader() *RequestHeader

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 {
	Header               *RequestHeader `protobuf:"bytes,15,opt,name=header,proto3" json:"header,omitempty"`
	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) GetHeader added in v0.22.0

func (m *SetAttributionRequestOld) GetHeader() *RequestHeader

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 StorageNodeMessage added in v0.24.0

type StorageNodeMessage struct {
	// Types that are valid to be assigned to Message:
	//	*StorageNodeMessage_Succeeded
	//	*StorageNodeMessage_Failed
	Message              isStorageNodeMessage_Message `protobuf_oneof:"Message"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*StorageNodeMessage) Descriptor added in v0.24.0

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

func (*StorageNodeMessage) GetFailed added in v0.24.0

func (m *StorageNodeMessage) GetFailed() *TransferFailed

func (*StorageNodeMessage) GetMessage added in v0.24.0

func (m *StorageNodeMessage) GetMessage() isStorageNodeMessage_Message

func (*StorageNodeMessage) GetSucceeded added in v0.24.0

func (m *StorageNodeMessage) GetSucceeded() *TransferSucceeded

func (*StorageNodeMessage) ProtoMessage added in v0.24.0

func (*StorageNodeMessage) ProtoMessage()

func (*StorageNodeMessage) Reset added in v0.24.0

func (m *StorageNodeMessage) Reset()

func (*StorageNodeMessage) String added in v0.24.0

func (m *StorageNodeMessage) String() string

func (*StorageNodeMessage) XXX_DiscardUnknown added in v0.24.0

func (m *StorageNodeMessage) XXX_DiscardUnknown()

func (*StorageNodeMessage) XXX_Marshal added in v0.24.0

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

func (*StorageNodeMessage) XXX_Merge added in v0.24.0

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

func (*StorageNodeMessage) XXX_OneofFuncs added in v0.24.0

func (*StorageNodeMessage) 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 (*StorageNodeMessage) XXX_Size added in v0.24.0

func (m *StorageNodeMessage) XXX_Size() int

func (*StorageNodeMessage) XXX_Unmarshal added in v0.24.0

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

type StorageNodeMessage_Failed added in v0.24.0

type StorageNodeMessage_Failed struct {
	Failed *TransferFailed `protobuf:"bytes,2,opt,name=failed,proto3,oneof"`
}

type StorageNodeMessage_Succeeded added in v0.24.0

type StorageNodeMessage_Succeeded struct {
	Succeeded *TransferSucceeded `protobuf:"bytes,1,opt,name=succeeded,proto3,oneof"`
}

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 TransferFailed added in v0.24.0

type TransferFailed struct {
	OriginalPieceId      PieceID              `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
	Error                TransferFailed_Error `protobuf:"varint,2,opt,name=error,proto3,enum=gracefulexit.TransferFailed_Error" json:"error,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TransferFailed) Descriptor added in v0.24.0

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

func (*TransferFailed) GetError added in v0.24.0

func (m *TransferFailed) GetError() TransferFailed_Error

func (*TransferFailed) ProtoMessage added in v0.24.0

func (*TransferFailed) ProtoMessage()

func (*TransferFailed) Reset added in v0.24.0

func (m *TransferFailed) Reset()

func (*TransferFailed) String added in v0.24.0

func (m *TransferFailed) String() string

func (*TransferFailed) XXX_DiscardUnknown added in v0.24.0

func (m *TransferFailed) XXX_DiscardUnknown()

func (*TransferFailed) XXX_Marshal added in v0.24.0

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

func (*TransferFailed) XXX_Merge added in v0.24.0

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

func (*TransferFailed) XXX_Size added in v0.24.0

func (m *TransferFailed) XXX_Size() int

func (*TransferFailed) XXX_Unmarshal added in v0.24.0

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

type TransferFailed_Error added in v0.24.0

type TransferFailed_Error int32
const (
	TransferFailed_NOT_FOUND                TransferFailed_Error = 0
	TransferFailed_STORAGE_NODE_UNAVAILABLE TransferFailed_Error = 1
	TransferFailed_HASH_VERIFICATION        TransferFailed_Error = 2
	TransferFailed_UNKNOWN                  TransferFailed_Error = 10
)

func (TransferFailed_Error) EnumDescriptor added in v0.24.0

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

func (TransferFailed_Error) String added in v0.24.0

func (x TransferFailed_Error) String() string

type TransferPiece added in v0.24.0

type TransferPiece struct {
	OriginalPieceId PieceID         `protobuf:"bytes,1,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
	PrivateKey      PiecePrivateKey `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3,customtype=PiecePrivateKey" json:"private_key"`
	// addressed_order_limit contains the new piece id.
	AddressedOrderLimit  *AddressedOrderLimit `protobuf:"bytes,3,opt,name=addressed_order_limit,json=addressedOrderLimit,proto3" json:"addressed_order_limit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TransferPiece) Descriptor added in v0.24.0

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

func (*TransferPiece) GetAddressedOrderLimit added in v0.24.0

func (m *TransferPiece) GetAddressedOrderLimit() *AddressedOrderLimit

func (*TransferPiece) ProtoMessage added in v0.24.0

func (*TransferPiece) ProtoMessage()

func (*TransferPiece) Reset added in v0.24.0

func (m *TransferPiece) Reset()

func (*TransferPiece) String added in v0.24.0

func (m *TransferPiece) String() string

func (*TransferPiece) XXX_DiscardUnknown added in v0.24.0

func (m *TransferPiece) XXX_DiscardUnknown()

func (*TransferPiece) XXX_Marshal added in v0.24.0

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

func (*TransferPiece) XXX_Merge added in v0.24.0

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

func (*TransferPiece) XXX_Size added in v0.24.0

func (m *TransferPiece) XXX_Size() int

func (*TransferPiece) XXX_Unmarshal added in v0.24.0

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

type TransferSucceeded added in v0.24.0

type TransferSucceeded struct {
	OriginalOrderLimit   *OrderLimit `protobuf:"bytes,1,opt,name=original_order_limit,json=originalOrderLimit,proto3" json:"original_order_limit,omitempty"`
	OriginalPieceHash    *PieceHash  `protobuf:"bytes,2,opt,name=original_piece_hash,json=originalPieceHash,proto3" json:"original_piece_hash,omitempty"`
	ReplacementPieceHash *PieceHash  `protobuf:"bytes,3,opt,name=replacement_piece_hash,json=replacementPieceHash,proto3" json:"replacement_piece_hash,omitempty"`
	OriginalPieceId      PieceID     `protobuf:"bytes,4,opt,name=original_piece_id,json=originalPieceId,proto3,customtype=PieceID" json:"original_piece_id"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*TransferSucceeded) Descriptor added in v0.24.0

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

func (*TransferSucceeded) GetOriginalOrderLimit added in v0.24.0

func (m *TransferSucceeded) GetOriginalOrderLimit() *OrderLimit

func (*TransferSucceeded) GetOriginalPieceHash added in v0.24.0

func (m *TransferSucceeded) GetOriginalPieceHash() *PieceHash

func (*TransferSucceeded) GetReplacementPieceHash added in v0.24.0

func (m *TransferSucceeded) GetReplacementPieceHash() *PieceHash

func (*TransferSucceeded) ProtoMessage added in v0.24.0

func (*TransferSucceeded) ProtoMessage()

func (*TransferSucceeded) Reset added in v0.24.0

func (m *TransferSucceeded) Reset()

func (*TransferSucceeded) String added in v0.24.0

func (m *TransferSucceeded) String() string

func (*TransferSucceeded) XXX_DiscardUnknown added in v0.24.0

func (m *TransferSucceeded) XXX_DiscardUnknown()

func (*TransferSucceeded) XXX_Marshal added in v0.24.0

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

func (*TransferSucceeded) XXX_Merge added in v0.24.0

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

func (*TransferSucceeded) XXX_Size added in v0.24.0

func (m *TransferSucceeded) XXX_Size() int

func (*TransferSucceeded) XXX_Unmarshal added in v0.24.0

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

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