Documentation ¶
Overview ¶
Package multinodepb contains protobuf definitions for Storj peers.
Index ¶
- func DRPCRegisterNodeDiskSpace(mux drpc.Mux, impl DRPCNodeDiskSpaceServer) error
- func DRPCRegisterReputation(mux drpc.Mux, impl DRPCReputationServer) error
- func DRPCRegisterStatus(mux drpc.Mux, impl DRPCStatusServer) error
- type AllRequest
- func (*AllRequest) Descriptor() ([]byte, []int)
- func (*AllRequest) ProtoMessage()
- func (m *AllRequest) Reset()
- func (m *AllRequest) String() string
- func (m *AllRequest) XXX_DiscardUnknown()
- func (m *AllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllRequest) XXX_Merge(src proto.Message)
- func (m *AllRequest) XXX_Size() int
- func (m *AllRequest) XXX_Unmarshal(b []byte) error
- type AllResponse
- func (*AllResponse) Descriptor() ([]byte, []int)
- func (m *AllResponse) GetReputation() []*GetBySatelliteIDResponse
- func (*AllResponse) ProtoMessage()
- func (m *AllResponse) Reset()
- func (m *AllResponse) String() string
- func (m *AllResponse) XXX_DiscardUnknown()
- func (m *AllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllResponse) XXX_Merge(src proto.Message)
- func (m *AllResponse) XXX_Size() int
- func (m *AllResponse) XXX_Unmarshal(b []byte) error
- type DRPCNodeDiskSpaceClient
- type DRPCNodeDiskSpaceDescription
- type DRPCNodeDiskSpaceServer
- type DRPCNodeDiskSpace_DailyStorageUsageStream
- type DRPCNodeDiskSpace_GetDiskSpaceStream
- type DRPCNodeDiskSpace_SatelliteSummaryStream
- type DRPCReputationClient
- type DRPCReputationDescription
- type DRPCReputationServer
- type DRPCReputation_AllStream
- type DRPCReputation_GetBySatelliteIDStream
- type DRPCStatusClient
- type DRPCStatusDescription
- type DRPCStatusServer
- type DRPCStatus_GetStream
- type DailyStorageUsageRequest
- func (*DailyStorageUsageRequest) Descriptor() ([]byte, []int)
- func (m *DailyStorageUsageRequest) GetFrom() time.Time
- func (m *DailyStorageUsageRequest) GetTo() time.Time
- func (*DailyStorageUsageRequest) ProtoMessage()
- func (m *DailyStorageUsageRequest) Reset()
- func (m *DailyStorageUsageRequest) String() string
- func (m *DailyStorageUsageRequest) XXX_DiscardUnknown()
- func (m *DailyStorageUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DailyStorageUsageRequest) XXX_Merge(src proto.Message)
- func (m *DailyStorageUsageRequest) XXX_Size() int
- func (m *DailyStorageUsageRequest) XXX_Unmarshal(b []byte) error
- type DailyStorageUsageResponse
- func (*DailyStorageUsageResponse) Descriptor() ([]byte, []int)
- func (m *DailyStorageUsageResponse) GetDailyStorageUsage() []*DailyStorageUsageResponse_StorageUsage
- func (m *DailyStorageUsageResponse) GetNodeId() []byte
- func (*DailyStorageUsageResponse) ProtoMessage()
- func (m *DailyStorageUsageResponse) Reset()
- func (m *DailyStorageUsageResponse) String() string
- func (m *DailyStorageUsageResponse) XXX_DiscardUnknown()
- func (m *DailyStorageUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DailyStorageUsageResponse) XXX_Merge(src proto.Message)
- func (m *DailyStorageUsageResponse) XXX_Size() int
- func (m *DailyStorageUsageResponse) XXX_Unmarshal(b []byte) error
- type DailyStorageUsageResponse_StorageUsage
- func (*DailyStorageUsageResponse_StorageUsage) Descriptor() ([]byte, []int)
- func (m *DailyStorageUsageResponse_StorageUsage) GetAtRestTotal() float64
- func (m *DailyStorageUsageResponse_StorageUsage) GetTimestamp() time.Time
- func (*DailyStorageUsageResponse_StorageUsage) ProtoMessage()
- func (m *DailyStorageUsageResponse_StorageUsage) Reset()
- func (m *DailyStorageUsageResponse_StorageUsage) String() string
- func (m *DailyStorageUsageResponse_StorageUsage) XXX_DiscardUnknown()
- func (m *DailyStorageUsageResponse_StorageUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DailyStorageUsageResponse_StorageUsage) XXX_Merge(src proto.Message)
- func (m *DailyStorageUsageResponse_StorageUsage) XXX_Size() int
- func (m *DailyStorageUsageResponse_StorageUsage) XXX_Unmarshal(b []byte) error
- type DiskSpace
- func (*DiskSpace) Descriptor() ([]byte, []int)
- func (m *DiskSpace) GetAvailable() int64
- func (m *DiskSpace) GetOverused() int64
- func (m *DiskSpace) GetTrash() int64
- func (m *DiskSpace) GetUsed() int64
- func (*DiskSpace) ProtoMessage()
- func (m *DiskSpace) Reset()
- func (m *DiskSpace) String() string
- func (m *DiskSpace) XXX_DiscardUnknown()
- func (m *DiskSpace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DiskSpace) XXX_Merge(src proto.Message)
- func (m *DiskSpace) XXX_Size() int
- func (m *DiskSpace) XXX_Unmarshal(b []byte) error
- type GetBySatelliteIDRequest
- func (*GetBySatelliteIDRequest) Descriptor() ([]byte, []int)
- func (*GetBySatelliteIDRequest) ProtoMessage()
- func (m *GetBySatelliteIDRequest) Reset()
- func (m *GetBySatelliteIDRequest) String() string
- func (m *GetBySatelliteIDRequest) XXX_DiscardUnknown()
- func (m *GetBySatelliteIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBySatelliteIDRequest) XXX_Merge(src proto.Message)
- func (m *GetBySatelliteIDRequest) XXX_Size() int
- func (m *GetBySatelliteIDRequest) XXX_Unmarshal(b []byte) error
- type GetBySatelliteIDResponse
- func (*GetBySatelliteIDResponse) Descriptor() ([]byte, []int)
- func (m *GetBySatelliteIDResponse) GetAuditCheck() *ReputationStats
- func (m *GetBySatelliteIDResponse) GetDisqualified() *time.Time
- func (m *GetBySatelliteIDResponse) GetJoinedAt() time.Time
- func (m *GetBySatelliteIDResponse) GetOfflineSuspended() *time.Time
- func (m *GetBySatelliteIDResponse) GetOfflineUnderReview() *time.Time
- func (m *GetBySatelliteIDResponse) GetOnlineScore() float64
- func (m *GetBySatelliteIDResponse) GetSuspended() *time.Time
- func (*GetBySatelliteIDResponse) ProtoMessage()
- func (m *GetBySatelliteIDResponse) Reset()
- func (m *GetBySatelliteIDResponse) String() string
- func (m *GetBySatelliteIDResponse) XXX_DiscardUnknown()
- func (m *GetBySatelliteIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBySatelliteIDResponse) XXX_Merge(src proto.Message)
- func (m *GetBySatelliteIDResponse) XXX_Size() int
- func (m *GetBySatelliteIDResponse) XXX_Unmarshal(b []byte) error
- type GetDiskSpaceRequest
- func (*GetDiskSpaceRequest) Descriptor() ([]byte, []int)
- func (*GetDiskSpaceRequest) ProtoMessage()
- func (m *GetDiskSpaceRequest) Reset()
- func (m *GetDiskSpaceRequest) String() string
- func (m *GetDiskSpaceRequest) XXX_DiscardUnknown()
- func (m *GetDiskSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDiskSpaceRequest) XXX_Merge(src proto.Message)
- func (m *GetDiskSpaceRequest) XXX_Size() int
- func (m *GetDiskSpaceRequest) XXX_Unmarshal(b []byte) error
- type GetDiskSpaceResponse
- func (*GetDiskSpaceResponse) Descriptor() ([]byte, []int)
- func (m *GetDiskSpaceResponse) GetDiskSpace() *DiskSpace
- func (*GetDiskSpaceResponse) ProtoMessage()
- func (m *GetDiskSpaceResponse) Reset()
- func (m *GetDiskSpaceResponse) String() string
- func (m *GetDiskSpaceResponse) XXX_DiscardUnknown()
- func (m *GetDiskSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDiskSpaceResponse) XXX_Merge(src proto.Message)
- func (m *GetDiskSpaceResponse) XXX_Size() int
- func (m *GetDiskSpaceResponse) XXX_Unmarshal(b []byte) error
- type GetRequest
- func (*GetRequest) Descriptor() ([]byte, []int)
- func (*GetRequest) ProtoMessage()
- func (m *GetRequest) Reset()
- func (m *GetRequest) String() string
- func (m *GetRequest) XXX_DiscardUnknown()
- func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRequest) XXX_Merge(src proto.Message)
- func (m *GetRequest) XXX_Size() int
- func (m *GetRequest) XXX_Unmarshal(b []byte) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetStartedAt() time.Time
- func (m *GetResponse) GetVersion() string
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type NodeID
- type NodeIDList
- type Nonce
- type Path
- type PieceID
- type PiecePrivateKey
- type PiecePublicKey
- type ReputationStats
- func (*ReputationStats) Descriptor() ([]byte, []int)
- func (m *ReputationStats) GetReputationAlpha() float64
- func (m *ReputationStats) GetReputationBeta() float64
- func (m *ReputationStats) GetReputationScore() float64
- func (m *ReputationStats) GetSuccessCount() int64
- func (m *ReputationStats) GetTotalCount() int64
- func (m *ReputationStats) GetUnknownReputationAlpha() float64
- func (m *ReputationStats) GetUnknownReputationBeta() float64
- func (m *ReputationStats) GetUnknownReputationScore() float64
- func (*ReputationStats) ProtoMessage()
- func (m *ReputationStats) Reset()
- func (m *ReputationStats) String() string
- func (m *ReputationStats) XXX_DiscardUnknown()
- func (m *ReputationStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReputationStats) XXX_Merge(src proto.Message)
- func (m *ReputationStats) XXX_Size() int
- func (m *ReputationStats) XXX_Unmarshal(b []byte) error
- type SatelliteSummaryRequest
- func (*SatelliteSummaryRequest) Descriptor() ([]byte, []int)
- func (m *SatelliteSummaryRequest) GetFrom() time.Time
- func (m *SatelliteSummaryRequest) GetTo() time.Time
- func (*SatelliteSummaryRequest) ProtoMessage()
- func (m *SatelliteSummaryRequest) Reset()
- func (m *SatelliteSummaryRequest) String() string
- func (m *SatelliteSummaryRequest) XXX_DiscardUnknown()
- func (m *SatelliteSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SatelliteSummaryRequest) XXX_Merge(src proto.Message)
- func (m *SatelliteSummaryRequest) XXX_Size() int
- func (m *SatelliteSummaryRequest) XXX_Unmarshal(b []byte) error
- type SatelliteSummaryResponse
- func (*SatelliteSummaryResponse) Descriptor() ([]byte, []int)
- func (m *SatelliteSummaryResponse) GetStorageUsage() float64
- func (*SatelliteSummaryResponse) ProtoMessage()
- func (m *SatelliteSummaryResponse) Reset()
- func (m *SatelliteSummaryResponse) String() string
- func (m *SatelliteSummaryResponse) XXX_DiscardUnknown()
- func (m *SatelliteSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SatelliteSummaryResponse) XXX_Merge(src proto.Message)
- func (m *SatelliteSummaryResponse) XXX_Size() int
- func (m *SatelliteSummaryResponse) XXX_Unmarshal(b []byte) error
- type SegmentID
- type SerialNumber
- type StreamID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DRPCRegisterNodeDiskSpace ¶
func DRPCRegisterNodeDiskSpace(mux drpc.Mux, impl DRPCNodeDiskSpaceServer) error
func DRPCRegisterReputation ¶
func DRPCRegisterReputation(mux drpc.Mux, impl DRPCReputationServer) error
func DRPCRegisterStatus ¶
func DRPCRegisterStatus(mux drpc.Mux, impl DRPCStatusServer) error
Types ¶
type AllRequest ¶
type AllRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllRequest) Descriptor ¶
func (*AllRequest) Descriptor() ([]byte, []int)
func (*AllRequest) ProtoMessage ¶
func (*AllRequest) ProtoMessage()
func (*AllRequest) Reset ¶
func (m *AllRequest) Reset()
func (*AllRequest) String ¶
func (m *AllRequest) String() string
func (*AllRequest) XXX_DiscardUnknown ¶
func (m *AllRequest) XXX_DiscardUnknown()
func (*AllRequest) XXX_Marshal ¶
func (m *AllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllRequest) XXX_Merge ¶
func (m *AllRequest) XXX_Merge(src proto.Message)
func (*AllRequest) XXX_Size ¶
func (m *AllRequest) XXX_Size() int
func (*AllRequest) XXX_Unmarshal ¶
func (m *AllRequest) XXX_Unmarshal(b []byte) error
type AllResponse ¶
type AllResponse struct { Reputation []*GetBySatelliteIDResponse `protobuf:"bytes,1,rep,name=reputation,proto3" json:"reputation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllResponse) Descriptor ¶
func (*AllResponse) Descriptor() ([]byte, []int)
func (*AllResponse) GetReputation ¶
func (m *AllResponse) GetReputation() []*GetBySatelliteIDResponse
func (*AllResponse) ProtoMessage ¶
func (*AllResponse) ProtoMessage()
func (*AllResponse) Reset ¶
func (m *AllResponse) Reset()
func (*AllResponse) String ¶
func (m *AllResponse) String() string
func (*AllResponse) XXX_DiscardUnknown ¶
func (m *AllResponse) XXX_DiscardUnknown()
func (*AllResponse) XXX_Marshal ¶
func (m *AllResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllResponse) XXX_Merge ¶
func (m *AllResponse) XXX_Merge(src proto.Message)
func (*AllResponse) XXX_Size ¶
func (m *AllResponse) XXX_Size() int
func (*AllResponse) XXX_Unmarshal ¶
func (m *AllResponse) XXX_Unmarshal(b []byte) error
type DRPCNodeDiskSpaceClient ¶
type DRPCNodeDiskSpaceClient interface { DRPCConn() drpc.Conn GetDiskSpace(ctx context.Context, in *GetDiskSpaceRequest) (*GetDiskSpaceResponse, error) DailyStorageUsage(ctx context.Context, in *DailyStorageUsageRequest) (*DailyStorageUsageResponse, error) SatelliteSummary(ctx context.Context, in *SatelliteSummaryRequest) (*SatelliteSummaryResponse, error) }
func NewDRPCNodeDiskSpaceClient ¶
func NewDRPCNodeDiskSpaceClient(cc drpc.Conn) DRPCNodeDiskSpaceClient
type DRPCNodeDiskSpaceDescription ¶
type DRPCNodeDiskSpaceDescription struct{}
func (DRPCNodeDiskSpaceDescription) NumMethods ¶
func (DRPCNodeDiskSpaceDescription) NumMethods() int
type DRPCNodeDiskSpaceServer ¶
type DRPCNodeDiskSpaceServer interface { GetDiskSpace(context.Context, *GetDiskSpaceRequest) (*GetDiskSpaceResponse, error) DailyStorageUsage(context.Context, *DailyStorageUsageRequest) (*DailyStorageUsageResponse, error) SatelliteSummary(context.Context, *SatelliteSummaryRequest) (*SatelliteSummaryResponse, error) }
type DRPCNodeDiskSpace_DailyStorageUsageStream ¶
type DRPCNodeDiskSpace_DailyStorageUsageStream interface { drpc.Stream SendAndClose(*DailyStorageUsageResponse) error }
type DRPCNodeDiskSpace_GetDiskSpaceStream ¶
type DRPCNodeDiskSpace_GetDiskSpaceStream interface { drpc.Stream SendAndClose(*GetDiskSpaceResponse) error }
type DRPCNodeDiskSpace_SatelliteSummaryStream ¶
type DRPCNodeDiskSpace_SatelliteSummaryStream interface { drpc.Stream SendAndClose(*SatelliteSummaryResponse) error }
type DRPCReputationClient ¶
type DRPCReputationClient interface { DRPCConn() drpc.Conn GetBySatelliteID(ctx context.Context, in *GetBySatelliteIDRequest) (*GetBySatelliteIDResponse, error) All(ctx context.Context, in *AllRequest) (*AllResponse, error) }
func NewDRPCReputationClient ¶
func NewDRPCReputationClient(cc drpc.Conn) DRPCReputationClient
type DRPCReputationDescription ¶
type DRPCReputationDescription struct{}
func (DRPCReputationDescription) NumMethods ¶
func (DRPCReputationDescription) NumMethods() int
type DRPCReputationServer ¶
type DRPCReputationServer interface { GetBySatelliteID(context.Context, *GetBySatelliteIDRequest) (*GetBySatelliteIDResponse, error) All(context.Context, *AllRequest) (*AllResponse, error) }
type DRPCReputation_AllStream ¶
type DRPCReputation_AllStream interface { drpc.Stream SendAndClose(*AllResponse) error }
type DRPCReputation_GetBySatelliteIDStream ¶
type DRPCReputation_GetBySatelliteIDStream interface { drpc.Stream SendAndClose(*GetBySatelliteIDResponse) error }
type DRPCStatusClient ¶
type DRPCStatusClient interface { DRPCConn() drpc.Conn Get(ctx context.Context, in *GetRequest) (*GetResponse, error) }
func NewDRPCStatusClient ¶
func NewDRPCStatusClient(cc drpc.Conn) DRPCStatusClient
type DRPCStatusDescription ¶
type DRPCStatusDescription struct{}
func (DRPCStatusDescription) NumMethods ¶
func (DRPCStatusDescription) NumMethods() int
type DRPCStatusServer ¶
type DRPCStatusServer interface {
Get(context.Context, *GetRequest) (*GetResponse, error)
}
type DRPCStatus_GetStream ¶
type DRPCStatus_GetStream interface { drpc.Stream SendAndClose(*GetResponse) error }
type DailyStorageUsageRequest ¶
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"` SatelliteId NodeID `protobuf:"bytes,3,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DailyStorageUsageRequest) Descriptor ¶
func (*DailyStorageUsageRequest) Descriptor() ([]byte, []int)
func (*DailyStorageUsageRequest) GetFrom ¶
func (m *DailyStorageUsageRequest) GetFrom() time.Time
func (*DailyStorageUsageRequest) GetTo ¶
func (m *DailyStorageUsageRequest) GetTo() time.Time
func (*DailyStorageUsageRequest) ProtoMessage ¶
func (*DailyStorageUsageRequest) ProtoMessage()
func (*DailyStorageUsageRequest) Reset ¶
func (m *DailyStorageUsageRequest) Reset()
func (*DailyStorageUsageRequest) String ¶
func (m *DailyStorageUsageRequest) String() string
func (*DailyStorageUsageRequest) XXX_DiscardUnknown ¶
func (m *DailyStorageUsageRequest) XXX_DiscardUnknown()
func (*DailyStorageUsageRequest) XXX_Marshal ¶
func (m *DailyStorageUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyStorageUsageRequest) XXX_Merge ¶
func (m *DailyStorageUsageRequest) XXX_Merge(src proto.Message)
func (*DailyStorageUsageRequest) XXX_Size ¶
func (m *DailyStorageUsageRequest) XXX_Size() int
func (*DailyStorageUsageRequest) XXX_Unmarshal ¶
func (m *DailyStorageUsageRequest) XXX_Unmarshal(b []byte) error
type DailyStorageUsageResponse ¶
type DailyStorageUsageResponse struct { NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 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 ¶
func (*DailyStorageUsageResponse) Descriptor() ([]byte, []int)
func (*DailyStorageUsageResponse) GetDailyStorageUsage ¶
func (m *DailyStorageUsageResponse) GetDailyStorageUsage() []*DailyStorageUsageResponse_StorageUsage
func (*DailyStorageUsageResponse) GetNodeId ¶
func (m *DailyStorageUsageResponse) GetNodeId() []byte
func (*DailyStorageUsageResponse) ProtoMessage ¶
func (*DailyStorageUsageResponse) ProtoMessage()
func (*DailyStorageUsageResponse) Reset ¶
func (m *DailyStorageUsageResponse) Reset()
func (*DailyStorageUsageResponse) String ¶
func (m *DailyStorageUsageResponse) String() string
func (*DailyStorageUsageResponse) XXX_DiscardUnknown ¶
func (m *DailyStorageUsageResponse) XXX_DiscardUnknown()
func (*DailyStorageUsageResponse) XXX_Marshal ¶
func (m *DailyStorageUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyStorageUsageResponse) XXX_Merge ¶
func (m *DailyStorageUsageResponse) XXX_Merge(src proto.Message)
func (*DailyStorageUsageResponse) XXX_Size ¶
func (m *DailyStorageUsageResponse) XXX_Size() int
func (*DailyStorageUsageResponse) XXX_Unmarshal ¶
func (m *DailyStorageUsageResponse) XXX_Unmarshal(b []byte) error
type DailyStorageUsageResponse_StorageUsage ¶
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 ¶
func (*DailyStorageUsageResponse_StorageUsage) Descriptor() ([]byte, []int)
func (*DailyStorageUsageResponse_StorageUsage) GetAtRestTotal ¶
func (m *DailyStorageUsageResponse_StorageUsage) GetAtRestTotal() float64
func (*DailyStorageUsageResponse_StorageUsage) GetTimestamp ¶
func (m *DailyStorageUsageResponse_StorageUsage) GetTimestamp() time.Time
func (*DailyStorageUsageResponse_StorageUsage) ProtoMessage ¶
func (*DailyStorageUsageResponse_StorageUsage) ProtoMessage()
func (*DailyStorageUsageResponse_StorageUsage) Reset ¶
func (m *DailyStorageUsageResponse_StorageUsage) Reset()
func (*DailyStorageUsageResponse_StorageUsage) String ¶
func (m *DailyStorageUsageResponse_StorageUsage) String() string
func (*DailyStorageUsageResponse_StorageUsage) XXX_DiscardUnknown ¶
func (m *DailyStorageUsageResponse_StorageUsage) XXX_DiscardUnknown()
func (*DailyStorageUsageResponse_StorageUsage) XXX_Marshal ¶
func (m *DailyStorageUsageResponse_StorageUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DailyStorageUsageResponse_StorageUsage) XXX_Merge ¶
func (m *DailyStorageUsageResponse_StorageUsage) XXX_Merge(src proto.Message)
func (*DailyStorageUsageResponse_StorageUsage) XXX_Size ¶
func (m *DailyStorageUsageResponse_StorageUsage) XXX_Size() int
func (*DailyStorageUsageResponse_StorageUsage) XXX_Unmarshal ¶
func (m *DailyStorageUsageResponse_StorageUsage) XXX_Unmarshal(b []byte) error
type DiskSpace ¶
type DiskSpace struct { Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"` Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` Trash int64 `protobuf:"varint,3,opt,name=trash,proto3" json:"trash,omitempty"` Overused int64 `protobuf:"varint,4,opt,name=overused,proto3" json:"overused,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DiskSpace stores all info about storagenode disk space.
func (*DiskSpace) Descriptor ¶
func (*DiskSpace) GetAvailable ¶
func (*DiskSpace) GetOverused ¶
func (*DiskSpace) ProtoMessage ¶
func (*DiskSpace) ProtoMessage()
func (*DiskSpace) XXX_DiscardUnknown ¶
func (m *DiskSpace) XXX_DiscardUnknown()
func (*DiskSpace) XXX_Marshal ¶
func (*DiskSpace) XXX_Unmarshal ¶
type GetBySatelliteIDRequest ¶
type GetBySatelliteIDRequest struct { SatelliteId NodeID `protobuf:"bytes,1,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBySatelliteIDRequest) Descriptor ¶
func (*GetBySatelliteIDRequest) Descriptor() ([]byte, []int)
func (*GetBySatelliteIDRequest) ProtoMessage ¶
func (*GetBySatelliteIDRequest) ProtoMessage()
func (*GetBySatelliteIDRequest) Reset ¶
func (m *GetBySatelliteIDRequest) Reset()
func (*GetBySatelliteIDRequest) String ¶
func (m *GetBySatelliteIDRequest) String() string
func (*GetBySatelliteIDRequest) XXX_DiscardUnknown ¶
func (m *GetBySatelliteIDRequest) XXX_DiscardUnknown()
func (*GetBySatelliteIDRequest) XXX_Marshal ¶
func (m *GetBySatelliteIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBySatelliteIDRequest) XXX_Merge ¶
func (m *GetBySatelliteIDRequest) XXX_Merge(src proto.Message)
func (*GetBySatelliteIDRequest) XXX_Size ¶
func (m *GetBySatelliteIDRequest) XXX_Size() int
func (*GetBySatelliteIDRequest) XXX_Unmarshal ¶
func (m *GetBySatelliteIDRequest) XXX_Unmarshal(b []byte) error
type GetBySatelliteIDResponse ¶
type GetBySatelliteIDResponse struct { AuditCheck *ReputationStats `protobuf:"bytes,1,opt,name=audit_check,json=auditCheck,proto3" json:"audit_check,omitempty"` Disqualified *time.Time `protobuf:"bytes,2,opt,name=disqualified,proto3,stdtime" json:"disqualified,omitempty"` Suspended *time.Time `protobuf:"bytes,3,opt,name=suspended,proto3,stdtime" json:"suspended,omitempty"` JoinedAt time.Time `protobuf:"bytes,4,opt,name=joined_at,json=joinedAt,proto3,stdtime" json:"joined_at"` OfflineSuspended *time.Time `protobuf:"bytes,5,opt,name=offline_suspended,json=offlineSuspended,proto3,stdtime" json:"offline_suspended,omitempty"` OnlineScore float64 `protobuf:"fixed64,6,opt,name=online_score,json=onlineScore,proto3" json:"online_score,omitempty"` OfflineUnderReview *time.Time `protobuf:"bytes,7,opt,name=offline_under_review,json=offlineUnderReview,proto3,stdtime" json:"offline_under_review,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetBySatelliteIDResponse) Descriptor ¶
func (*GetBySatelliteIDResponse) Descriptor() ([]byte, []int)
func (*GetBySatelliteIDResponse) GetAuditCheck ¶
func (m *GetBySatelliteIDResponse) GetAuditCheck() *ReputationStats
func (*GetBySatelliteIDResponse) GetDisqualified ¶
func (m *GetBySatelliteIDResponse) GetDisqualified() *time.Time
func (*GetBySatelliteIDResponse) GetJoinedAt ¶
func (m *GetBySatelliteIDResponse) GetJoinedAt() time.Time
func (*GetBySatelliteIDResponse) GetOfflineSuspended ¶
func (m *GetBySatelliteIDResponse) GetOfflineSuspended() *time.Time
func (*GetBySatelliteIDResponse) GetOfflineUnderReview ¶
func (m *GetBySatelliteIDResponse) GetOfflineUnderReview() *time.Time
func (*GetBySatelliteIDResponse) GetOnlineScore ¶
func (m *GetBySatelliteIDResponse) GetOnlineScore() float64
func (*GetBySatelliteIDResponse) GetSuspended ¶
func (m *GetBySatelliteIDResponse) GetSuspended() *time.Time
func (*GetBySatelliteIDResponse) ProtoMessage ¶
func (*GetBySatelliteIDResponse) ProtoMessage()
func (*GetBySatelliteIDResponse) Reset ¶
func (m *GetBySatelliteIDResponse) Reset()
func (*GetBySatelliteIDResponse) String ¶
func (m *GetBySatelliteIDResponse) String() string
func (*GetBySatelliteIDResponse) XXX_DiscardUnknown ¶
func (m *GetBySatelliteIDResponse) XXX_DiscardUnknown()
func (*GetBySatelliteIDResponse) XXX_Marshal ¶
func (m *GetBySatelliteIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBySatelliteIDResponse) XXX_Merge ¶
func (m *GetBySatelliteIDResponse) XXX_Merge(src proto.Message)
func (*GetBySatelliteIDResponse) XXX_Size ¶
func (m *GetBySatelliteIDResponse) XXX_Size() int
func (*GetBySatelliteIDResponse) XXX_Unmarshal ¶
func (m *GetBySatelliteIDResponse) XXX_Unmarshal(b []byte) error
type GetDiskSpaceRequest ¶
type GetDiskSpaceRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDiskSpaceRequest) Descriptor ¶
func (*GetDiskSpaceRequest) Descriptor() ([]byte, []int)
func (*GetDiskSpaceRequest) ProtoMessage ¶
func (*GetDiskSpaceRequest) ProtoMessage()
func (*GetDiskSpaceRequest) Reset ¶
func (m *GetDiskSpaceRequest) Reset()
func (*GetDiskSpaceRequest) String ¶
func (m *GetDiskSpaceRequest) String() string
func (*GetDiskSpaceRequest) XXX_DiscardUnknown ¶
func (m *GetDiskSpaceRequest) XXX_DiscardUnknown()
func (*GetDiskSpaceRequest) XXX_Marshal ¶
func (m *GetDiskSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDiskSpaceRequest) XXX_Merge ¶
func (m *GetDiskSpaceRequest) XXX_Merge(src proto.Message)
func (*GetDiskSpaceRequest) XXX_Size ¶
func (m *GetDiskSpaceRequest) XXX_Size() int
func (*GetDiskSpaceRequest) XXX_Unmarshal ¶
func (m *GetDiskSpaceRequest) XXX_Unmarshal(b []byte) error
type GetDiskSpaceResponse ¶
type GetDiskSpaceResponse struct { DiskSpace *DiskSpace `protobuf:"bytes,1,opt,name=disk_space,json=diskSpace,proto3" json:"disk_space,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDiskSpaceResponse) Descriptor ¶
func (*GetDiskSpaceResponse) Descriptor() ([]byte, []int)
func (*GetDiskSpaceResponse) GetDiskSpace ¶
func (m *GetDiskSpaceResponse) GetDiskSpace() *DiskSpace
func (*GetDiskSpaceResponse) ProtoMessage ¶
func (*GetDiskSpaceResponse) ProtoMessage()
func (*GetDiskSpaceResponse) Reset ¶
func (m *GetDiskSpaceResponse) Reset()
func (*GetDiskSpaceResponse) String ¶
func (m *GetDiskSpaceResponse) String() string
func (*GetDiskSpaceResponse) XXX_DiscardUnknown ¶
func (m *GetDiskSpaceResponse) XXX_DiscardUnknown()
func (*GetDiskSpaceResponse) XXX_Marshal ¶
func (m *GetDiskSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDiskSpaceResponse) XXX_Merge ¶
func (m *GetDiskSpaceResponse) XXX_Merge(src proto.Message)
func (*GetDiskSpaceResponse) XXX_Size ¶
func (m *GetDiskSpaceResponse) XXX_Size() int
func (*GetDiskSpaceResponse) XXX_Unmarshal ¶
func (m *GetDiskSpaceResponse) XXX_Unmarshal(b []byte) error
type GetRequest ¶
type GetRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRequest) Descriptor ¶
func (*GetRequest) Descriptor() ([]byte, []int)
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) Reset ¶
func (m *GetRequest) Reset()
func (*GetRequest) String ¶
func (m *GetRequest) String() string
func (*GetRequest) XXX_DiscardUnknown ¶
func (m *GetRequest) XXX_DiscardUnknown()
func (*GetRequest) XXX_Marshal ¶
func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRequest) XXX_Merge ¶
func (m *GetRequest) XXX_Merge(src proto.Message)
func (*GetRequest) XXX_Size ¶
func (m *GetRequest) XXX_Size() int
func (*GetRequest) XXX_Unmarshal ¶
func (m *GetRequest) XXX_Unmarshal(b []byte) error
type GetResponse ¶
type GetResponse struct { StartedAt time.Time `protobuf:"bytes,1,opt,name=started_at,json=startedAt,proto3,stdtime" json:"started_at"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetStartedAt ¶
func (m *GetResponse) GetStartedAt() time.Time
func (*GetResponse) GetVersion ¶
func (m *GetResponse) GetVersion() string
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type NodeIDList ¶
type NodeIDList = storj.NodeIDList
NodeIDList is an alias to storj.NodeIDList for use in generated protobuf code.
type PiecePrivateKey ¶
type PiecePrivateKey = storj.PiecePrivateKey
PiecePrivateKey is an alias to storj.PiecePrivateKey for use in generated protobuf code.
type PiecePublicKey ¶
type PiecePublicKey = storj.PiecePublicKey
PiecePublicKey is an alias to storj.PiecePublicKey for use in generated protobuf code.
type ReputationStats ¶
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"` UnknownReputationAlpha float64 `` /* 131-byte string literal not displayed */ UnknownReputationBeta float64 `` /* 128-byte string literal not displayed */ UnknownReputationScore float64 `` /* 131-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReputationStats) Descriptor ¶
func (*ReputationStats) Descriptor() ([]byte, []int)
func (*ReputationStats) GetReputationAlpha ¶
func (m *ReputationStats) GetReputationAlpha() float64
func (*ReputationStats) GetReputationBeta ¶
func (m *ReputationStats) GetReputationBeta() float64
func (*ReputationStats) GetReputationScore ¶
func (m *ReputationStats) GetReputationScore() float64
func (*ReputationStats) GetSuccessCount ¶
func (m *ReputationStats) GetSuccessCount() int64
func (*ReputationStats) GetTotalCount ¶
func (m *ReputationStats) GetTotalCount() int64
func (*ReputationStats) GetUnknownReputationAlpha ¶
func (m *ReputationStats) GetUnknownReputationAlpha() float64
func (*ReputationStats) GetUnknownReputationBeta ¶
func (m *ReputationStats) GetUnknownReputationBeta() float64
func (*ReputationStats) GetUnknownReputationScore ¶
func (m *ReputationStats) GetUnknownReputationScore() float64
func (*ReputationStats) ProtoMessage ¶
func (*ReputationStats) ProtoMessage()
func (*ReputationStats) Reset ¶
func (m *ReputationStats) Reset()
func (*ReputationStats) String ¶
func (m *ReputationStats) String() string
func (*ReputationStats) XXX_DiscardUnknown ¶
func (m *ReputationStats) XXX_DiscardUnknown()
func (*ReputationStats) XXX_Marshal ¶
func (m *ReputationStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReputationStats) XXX_Merge ¶
func (m *ReputationStats) XXX_Merge(src proto.Message)
func (*ReputationStats) XXX_Size ¶
func (m *ReputationStats) XXX_Size() int
func (*ReputationStats) XXX_Unmarshal ¶
func (m *ReputationStats) XXX_Unmarshal(b []byte) error
type SatelliteSummaryRequest ¶
type SatelliteSummaryRequest 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"` SatelliteId NodeID `protobuf:"bytes,3,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SatelliteSummaryRequest) Descriptor ¶
func (*SatelliteSummaryRequest) Descriptor() ([]byte, []int)
func (*SatelliteSummaryRequest) GetFrom ¶
func (m *SatelliteSummaryRequest) GetFrom() time.Time
func (*SatelliteSummaryRequest) GetTo ¶
func (m *SatelliteSummaryRequest) GetTo() time.Time
func (*SatelliteSummaryRequest) ProtoMessage ¶
func (*SatelliteSummaryRequest) ProtoMessage()
func (*SatelliteSummaryRequest) Reset ¶
func (m *SatelliteSummaryRequest) Reset()
func (*SatelliteSummaryRequest) String ¶
func (m *SatelliteSummaryRequest) String() string
func (*SatelliteSummaryRequest) XXX_DiscardUnknown ¶
func (m *SatelliteSummaryRequest) XXX_DiscardUnknown()
func (*SatelliteSummaryRequest) XXX_Marshal ¶
func (m *SatelliteSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SatelliteSummaryRequest) XXX_Merge ¶
func (m *SatelliteSummaryRequest) XXX_Merge(src proto.Message)
func (*SatelliteSummaryRequest) XXX_Size ¶
func (m *SatelliteSummaryRequest) XXX_Size() int
func (*SatelliteSummaryRequest) XXX_Unmarshal ¶
func (m *SatelliteSummaryRequest) XXX_Unmarshal(b []byte) error
type SatelliteSummaryResponse ¶
type SatelliteSummaryResponse struct { StorageUsage float64 `protobuf:"fixed64,1,opt,name=storage_usage,json=storageUsage,proto3" json:"storage_usage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SatelliteSummaryResponse) Descriptor ¶
func (*SatelliteSummaryResponse) Descriptor() ([]byte, []int)
func (*SatelliteSummaryResponse) GetStorageUsage ¶
func (m *SatelliteSummaryResponse) GetStorageUsage() float64
func (*SatelliteSummaryResponse) ProtoMessage ¶
func (*SatelliteSummaryResponse) ProtoMessage()
func (*SatelliteSummaryResponse) Reset ¶
func (m *SatelliteSummaryResponse) Reset()
func (*SatelliteSummaryResponse) String ¶
func (m *SatelliteSummaryResponse) String() string
func (*SatelliteSummaryResponse) XXX_DiscardUnknown ¶
func (m *SatelliteSummaryResponse) XXX_DiscardUnknown()
func (*SatelliteSummaryResponse) XXX_Marshal ¶
func (m *SatelliteSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SatelliteSummaryResponse) XXX_Merge ¶
func (m *SatelliteSummaryResponse) XXX_Merge(src proto.Message)
func (*SatelliteSummaryResponse) XXX_Size ¶
func (m *SatelliteSummaryResponse) XXX_Size() int
func (*SatelliteSummaryResponse) XXX_Unmarshal ¶
func (m *SatelliteSummaryResponse) XXX_Unmarshal(b []byte) error
type SerialNumber ¶
type SerialNumber = storj.SerialNumber
SerialNumber is an alias to storj.SerialNumber for use in generated protobuf code.
Click to show internal directories.
Click to hide internal directories.