multinodepb

package
v1.24.2-rc-multipart Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package multinodepb contains protobuf definitions for storagenode multinode dashboard.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DRPCRegisterBandwidth

func DRPCRegisterBandwidth(mux drpc.Mux, impl DRPCBandwidthServer) error

func DRPCRegisterNode

func DRPCRegisterNode(mux drpc.Mux, impl DRPCNodeServer) error

func DRPCRegisterPayout added in v1.21.1

func DRPCRegisterPayout(mux drpc.Mux, impl DRPCPayoutServer) error

func DRPCRegisterStorage

func DRPCRegisterStorage(mux drpc.Mux, impl DRPCStorageServer) error

Types

type BandwidthMonthSummaryRequest

type BandwidthMonthSummaryRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*BandwidthMonthSummaryRequest) Descriptor

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

func (*BandwidthMonthSummaryRequest) GetHeader

func (*BandwidthMonthSummaryRequest) ProtoMessage

func (*BandwidthMonthSummaryRequest) ProtoMessage()

func (*BandwidthMonthSummaryRequest) Reset

func (m *BandwidthMonthSummaryRequest) Reset()

func (*BandwidthMonthSummaryRequest) String

func (*BandwidthMonthSummaryRequest) XXX_DiscardUnknown

func (m *BandwidthMonthSummaryRequest) XXX_DiscardUnknown()

func (*BandwidthMonthSummaryRequest) XXX_Marshal

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

func (*BandwidthMonthSummaryRequest) XXX_Merge

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

func (*BandwidthMonthSummaryRequest) XXX_Size

func (m *BandwidthMonthSummaryRequest) XXX_Size() int

func (*BandwidthMonthSummaryRequest) XXX_Unmarshal

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

type BandwidthMonthSummaryResponse

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

func (*BandwidthMonthSummaryResponse) Descriptor

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

func (*BandwidthMonthSummaryResponse) GetUsed

func (m *BandwidthMonthSummaryResponse) GetUsed() int64

func (*BandwidthMonthSummaryResponse) ProtoMessage

func (*BandwidthMonthSummaryResponse) ProtoMessage()

func (*BandwidthMonthSummaryResponse) Reset

func (m *BandwidthMonthSummaryResponse) Reset()

func (*BandwidthMonthSummaryResponse) String

func (*BandwidthMonthSummaryResponse) XXX_DiscardUnknown

func (m *BandwidthMonthSummaryResponse) XXX_DiscardUnknown()

func (*BandwidthMonthSummaryResponse) XXX_Marshal

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

func (*BandwidthMonthSummaryResponse) XXX_Merge

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

func (*BandwidthMonthSummaryResponse) XXX_Size

func (m *BandwidthMonthSummaryResponse) XXX_Size() int

func (*BandwidthMonthSummaryResponse) XXX_Unmarshal

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

type DRPCBandwidthClient

type DRPCBandwidthClient interface {
	DRPCConn() drpc.Conn

	MonthSummary(ctx context.Context, in *BandwidthMonthSummaryRequest) (*BandwidthMonthSummaryResponse, error)
}

func NewDRPCBandwidthClient

func NewDRPCBandwidthClient(cc drpc.Conn) DRPCBandwidthClient

type DRPCBandwidthDescription

type DRPCBandwidthDescription struct{}

func (DRPCBandwidthDescription) Method

func (DRPCBandwidthDescription) Method(n int) (string, drpc.Receiver, interface{}, bool)

func (DRPCBandwidthDescription) NumMethods

func (DRPCBandwidthDescription) NumMethods() int

type DRPCBandwidthServer

type DRPCBandwidthServer interface {
	MonthSummary(context.Context, *BandwidthMonthSummaryRequest) (*BandwidthMonthSummaryResponse, error)
}

type DRPCBandwidth_MonthSummaryStream

type DRPCBandwidth_MonthSummaryStream interface {
	drpc.Stream
	SendAndClose(*BandwidthMonthSummaryResponse) error
}

type DRPCNodeClient

type DRPCNodeClient interface {
	DRPCConn() drpc.Conn

	Version(ctx context.Context, in *VersionRequest) (*VersionResponse, error)
	LastContact(ctx context.Context, in *LastContactRequest) (*LastContactResponse, error)
	Reputation(ctx context.Context, in *ReputationRequest) (*ReputationResponse, error)
	TrustedSatellites(ctx context.Context, in *TrustedSatellitesRequest) (*TrustedSatellitesResponse, error)
}

func NewDRPCNodeClient

func NewDRPCNodeClient(cc drpc.Conn) DRPCNodeClient

type DRPCNodeDescription

type DRPCNodeDescription struct{}

func (DRPCNodeDescription) Method

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

func (DRPCNodeDescription) NumMethods

func (DRPCNodeDescription) NumMethods() int

type DRPCNode_LastContactStream

type DRPCNode_LastContactStream interface {
	drpc.Stream
	SendAndClose(*LastContactResponse) error
}

type DRPCNode_ReputationStream

type DRPCNode_ReputationStream interface {
	drpc.Stream
	SendAndClose(*ReputationResponse) error
}

type DRPCNode_TrustedSatellitesStream added in v1.21.1

type DRPCNode_TrustedSatellitesStream interface {
	drpc.Stream
	SendAndClose(*TrustedSatellitesResponse) error
}

type DRPCNode_VersionStream

type DRPCNode_VersionStream interface {
	drpc.Stream
	SendAndClose(*VersionResponse) error
}

type DRPCPayoutClient added in v1.21.1

type DRPCPayoutClient interface {
	DRPCConn() drpc.Conn

	Earned(ctx context.Context, in *EarnedRequest) (*EarnedResponse, error)
	EarnedPerSatellite(ctx context.Context, in *EarnedPerSatelliteRequest) (*EarnedPerSatelliteResponse, error)
}

func NewDRPCPayoutClient added in v1.21.1

func NewDRPCPayoutClient(cc drpc.Conn) DRPCPayoutClient

type DRPCPayoutDescription added in v1.21.1

type DRPCPayoutDescription struct{}

func (DRPCPayoutDescription) Method added in v1.21.1

func (DRPCPayoutDescription) Method(n int) (string, drpc.Receiver, interface{}, bool)

func (DRPCPayoutDescription) NumMethods added in v1.21.1

func (DRPCPayoutDescription) NumMethods() int

type DRPCPayoutServer added in v1.21.1

type DRPCPayoutServer interface {
	Earned(context.Context, *EarnedRequest) (*EarnedResponse, error)
	EarnedPerSatellite(context.Context, *EarnedPerSatelliteRequest) (*EarnedPerSatelliteResponse, error)
}

type DRPCPayout_EarnedPerSatelliteStream added in v1.24.2

type DRPCPayout_EarnedPerSatelliteStream interface {
	drpc.Stream
	SendAndClose(*EarnedPerSatelliteResponse) error
}

type DRPCPayout_EarnedStream added in v1.21.1

type DRPCPayout_EarnedStream interface {
	drpc.Stream
	SendAndClose(*EarnedResponse) error
}

type DRPCStorageClient

type DRPCStorageClient interface {
	DRPCConn() drpc.Conn

	DiskSpace(ctx context.Context, in *DiskSpaceRequest) (*DiskSpaceResponse, error)
}

func NewDRPCStorageClient

func NewDRPCStorageClient(cc drpc.Conn) DRPCStorageClient

type DRPCStorageDescription

type DRPCStorageDescription struct{}

func (DRPCStorageDescription) Method

func (DRPCStorageDescription) Method(n int) (string, drpc.Receiver, interface{}, bool)

func (DRPCStorageDescription) NumMethods

func (DRPCStorageDescription) NumMethods() int

type DRPCStorageServer

type DRPCStorageServer interface {
	DiskSpace(context.Context, *DiskSpaceRequest) (*DiskSpaceResponse, error)
}

type DRPCStorage_DiskSpaceStream

type DRPCStorage_DiskSpaceStream interface {
	drpc.Stream
	SendAndClose(*DiskSpaceResponse) error
}

type DiskSpaceRequest

type DiskSpaceRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DiskSpaceRequest) Descriptor

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

func (*DiskSpaceRequest) GetHeader

func (m *DiskSpaceRequest) GetHeader() *RequestHeader

func (*DiskSpaceRequest) ProtoMessage

func (*DiskSpaceRequest) ProtoMessage()

func (*DiskSpaceRequest) Reset

func (m *DiskSpaceRequest) Reset()

func (*DiskSpaceRequest) String

func (m *DiskSpaceRequest) String() string

func (*DiskSpaceRequest) XXX_DiscardUnknown

func (m *DiskSpaceRequest) XXX_DiscardUnknown()

func (*DiskSpaceRequest) XXX_Marshal

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

func (*DiskSpaceRequest) XXX_Merge

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

func (*DiskSpaceRequest) XXX_Size

func (m *DiskSpaceRequest) XXX_Size() int

func (*DiskSpaceRequest) XXX_Unmarshal

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

type DiskSpaceResponse

type DiskSpaceResponse struct {
	Allocated            int64    `protobuf:"varint,1,opt,name=allocated,proto3" json:"allocated,omitempty"`
	UsedPieces           int64    `protobuf:"varint,2,opt,name=used_pieces,json=usedPieces,proto3" json:"used_pieces,omitempty"`
	UsedTrash            int64    `protobuf:"varint,3,opt,name=used_trash,json=usedTrash,proto3" json:"used_trash,omitempty"`
	Free                 int64    `protobuf:"varint,4,opt,name=free,proto3" json:"free,omitempty"`
	Available            int64    `protobuf:"varint,5,opt,name=available,proto3" json:"available,omitempty"`
	Overused             int64    `protobuf:"varint,6,opt,name=overused,proto3" json:"overused,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DiskSpaceResponse) Descriptor

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

func (*DiskSpaceResponse) GetAllocated

func (m *DiskSpaceResponse) GetAllocated() int64

func (*DiskSpaceResponse) GetAvailable

func (m *DiskSpaceResponse) GetAvailable() int64

func (*DiskSpaceResponse) GetFree

func (m *DiskSpaceResponse) GetFree() int64

func (*DiskSpaceResponse) GetOverused

func (m *DiskSpaceResponse) GetOverused() int64

func (*DiskSpaceResponse) GetUsedPieces

func (m *DiskSpaceResponse) GetUsedPieces() int64

func (*DiskSpaceResponse) GetUsedTrash

func (m *DiskSpaceResponse) GetUsedTrash() int64

func (*DiskSpaceResponse) ProtoMessage

func (*DiskSpaceResponse) ProtoMessage()

func (*DiskSpaceResponse) Reset

func (m *DiskSpaceResponse) Reset()

func (*DiskSpaceResponse) String

func (m *DiskSpaceResponse) String() string

func (*DiskSpaceResponse) XXX_DiscardUnknown

func (m *DiskSpaceResponse) XXX_DiscardUnknown()

func (*DiskSpaceResponse) XXX_Marshal

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

func (*DiskSpaceResponse) XXX_Merge

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

func (*DiskSpaceResponse) XXX_Size

func (m *DiskSpaceResponse) XXX_Size() int

func (*DiskSpaceResponse) XXX_Unmarshal

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

type EarnedPerSatelliteRequest added in v1.24.2

type EarnedPerSatelliteRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*EarnedPerSatelliteRequest) Descriptor added in v1.24.2

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

func (*EarnedPerSatelliteRequest) GetHeader added in v1.24.2

func (m *EarnedPerSatelliteRequest) GetHeader() *RequestHeader

func (*EarnedPerSatelliteRequest) ProtoMessage added in v1.24.2

func (*EarnedPerSatelliteRequest) ProtoMessage()

func (*EarnedPerSatelliteRequest) Reset added in v1.24.2

func (m *EarnedPerSatelliteRequest) Reset()

func (*EarnedPerSatelliteRequest) String added in v1.24.2

func (m *EarnedPerSatelliteRequest) String() string

func (*EarnedPerSatelliteRequest) XXX_DiscardUnknown added in v1.24.2

func (m *EarnedPerSatelliteRequest) XXX_DiscardUnknown()

func (*EarnedPerSatelliteRequest) XXX_Marshal added in v1.24.2

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

func (*EarnedPerSatelliteRequest) XXX_Merge added in v1.24.2

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

func (*EarnedPerSatelliteRequest) XXX_Size added in v1.24.2

func (m *EarnedPerSatelliteRequest) XXX_Size() int

func (*EarnedPerSatelliteRequest) XXX_Unmarshal added in v1.24.2

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

type EarnedPerSatelliteResponse added in v1.24.2

type EarnedPerSatelliteResponse struct {
	EarnedSatellite      []*EarnedSatellite `protobuf:"bytes,1,rep,name=earned_satellite,json=earnedSatellite,proto3" json:"earned_satellite,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*EarnedPerSatelliteResponse) Descriptor added in v1.24.2

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

func (*EarnedPerSatelliteResponse) GetEarnedSatellite added in v1.24.2

func (m *EarnedPerSatelliteResponse) GetEarnedSatellite() []*EarnedSatellite

func (*EarnedPerSatelliteResponse) ProtoMessage added in v1.24.2

func (*EarnedPerSatelliteResponse) ProtoMessage()

func (*EarnedPerSatelliteResponse) Reset added in v1.24.2

func (m *EarnedPerSatelliteResponse) Reset()

func (*EarnedPerSatelliteResponse) String added in v1.24.2

func (m *EarnedPerSatelliteResponse) String() string

func (*EarnedPerSatelliteResponse) XXX_DiscardUnknown added in v1.24.2

func (m *EarnedPerSatelliteResponse) XXX_DiscardUnknown()

func (*EarnedPerSatelliteResponse) XXX_Marshal added in v1.24.2

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

func (*EarnedPerSatelliteResponse) XXX_Merge added in v1.24.2

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

func (*EarnedPerSatelliteResponse) XXX_Size added in v1.24.2

func (m *EarnedPerSatelliteResponse) XXX_Size() int

func (*EarnedPerSatelliteResponse) XXX_Unmarshal added in v1.24.2

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

type EarnedRequest added in v1.21.1

type EarnedRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*EarnedRequest) Descriptor added in v1.21.1

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

func (*EarnedRequest) GetHeader added in v1.21.1

func (m *EarnedRequest) GetHeader() *RequestHeader

func (*EarnedRequest) ProtoMessage added in v1.21.1

func (*EarnedRequest) ProtoMessage()

func (*EarnedRequest) Reset added in v1.21.1

func (m *EarnedRequest) Reset()

func (*EarnedRequest) String added in v1.21.1

func (m *EarnedRequest) String() string

func (*EarnedRequest) XXX_DiscardUnknown added in v1.21.1

func (m *EarnedRequest) XXX_DiscardUnknown()

func (*EarnedRequest) XXX_Marshal added in v1.21.1

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

func (*EarnedRequest) XXX_Merge added in v1.21.1

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

func (*EarnedRequest) XXX_Size added in v1.21.1

func (m *EarnedRequest) XXX_Size() int

func (*EarnedRequest) XXX_Unmarshal added in v1.21.1

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

type EarnedResponse added in v1.21.1

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

func (*EarnedResponse) Descriptor added in v1.21.1

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

func (*EarnedResponse) GetTotal added in v1.21.1

func (m *EarnedResponse) GetTotal() int64

func (*EarnedResponse) ProtoMessage added in v1.21.1

func (*EarnedResponse) ProtoMessage()

func (*EarnedResponse) Reset added in v1.21.1

func (m *EarnedResponse) Reset()

func (*EarnedResponse) String added in v1.21.1

func (m *EarnedResponse) String() string

func (*EarnedResponse) XXX_DiscardUnknown added in v1.21.1

func (m *EarnedResponse) XXX_DiscardUnknown()

func (*EarnedResponse) XXX_Marshal added in v1.21.1

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

func (*EarnedResponse) XXX_Merge added in v1.21.1

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

func (*EarnedResponse) XXX_Size added in v1.21.1

func (m *EarnedResponse) XXX_Size() int

func (*EarnedResponse) XXX_Unmarshal added in v1.21.1

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

type EarnedSatellite added in v1.24.2

type EarnedSatellite struct {
	Total                int64    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	SatelliteId          NodeID   `protobuf:"bytes,2,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 (*EarnedSatellite) Descriptor added in v1.24.2

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

func (*EarnedSatellite) GetTotal added in v1.24.2

func (m *EarnedSatellite) GetTotal() int64

func (*EarnedSatellite) ProtoMessage added in v1.24.2

func (*EarnedSatellite) ProtoMessage()

func (*EarnedSatellite) Reset added in v1.24.2

func (m *EarnedSatellite) Reset()

func (*EarnedSatellite) String added in v1.24.2

func (m *EarnedSatellite) String() string

func (*EarnedSatellite) XXX_DiscardUnknown added in v1.24.2

func (m *EarnedSatellite) XXX_DiscardUnknown()

func (*EarnedSatellite) XXX_Marshal added in v1.24.2

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

func (*EarnedSatellite) XXX_Merge added in v1.24.2

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

func (*EarnedSatellite) XXX_Size added in v1.24.2

func (m *EarnedSatellite) XXX_Size() int

func (*EarnedSatellite) XXX_Unmarshal added in v1.24.2

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

type LastContactRequest

type LastContactRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*LastContactRequest) Descriptor

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

func (*LastContactRequest) GetHeader

func (m *LastContactRequest) GetHeader() *RequestHeader

func (*LastContactRequest) ProtoMessage

func (*LastContactRequest) ProtoMessage()

func (*LastContactRequest) Reset

func (m *LastContactRequest) Reset()

func (*LastContactRequest) String

func (m *LastContactRequest) String() string

func (*LastContactRequest) XXX_DiscardUnknown

func (m *LastContactRequest) XXX_DiscardUnknown()

func (*LastContactRequest) XXX_Marshal

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

func (*LastContactRequest) XXX_Merge

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

func (*LastContactRequest) XXX_Size

func (m *LastContactRequest) XXX_Size() int

func (*LastContactRequest) XXX_Unmarshal

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

type LastContactResponse

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

func (*LastContactResponse) Descriptor

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

func (*LastContactResponse) GetLastContact

func (m *LastContactResponse) GetLastContact() time.Time

func (*LastContactResponse) ProtoMessage

func (*LastContactResponse) ProtoMessage()

func (*LastContactResponse) Reset

func (m *LastContactResponse) Reset()

func (*LastContactResponse) String

func (m *LastContactResponse) String() string

func (*LastContactResponse) XXX_DiscardUnknown

func (m *LastContactResponse) XXX_DiscardUnknown()

func (*LastContactResponse) XXX_Marshal

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

func (*LastContactResponse) XXX_Merge

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

func (*LastContactResponse) XXX_Size

func (m *LastContactResponse) XXX_Size() int

func (*LastContactResponse) XXX_Unmarshal

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

type NodeID

type NodeID = storj.NodeID

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

type NodeIDList

type NodeIDList = storj.NodeIDList

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

type Nonce

type Nonce = storj.Nonce

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

type Path

type Path = storj.Path

Path represents a object path.

type PieceID

type PieceID = storj.PieceID

PieceID is an alias to storj.PieceID 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 ReputationRequest

type ReputationRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	SatelliteId          NodeID         `protobuf:"bytes,2,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 (*ReputationRequest) Descriptor

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

func (*ReputationRequest) GetHeader

func (m *ReputationRequest) GetHeader() *RequestHeader

func (*ReputationRequest) ProtoMessage

func (*ReputationRequest) ProtoMessage()

func (*ReputationRequest) Reset

func (m *ReputationRequest) Reset()

func (*ReputationRequest) String

func (m *ReputationRequest) String() string

func (*ReputationRequest) XXX_DiscardUnknown

func (m *ReputationRequest) XXX_DiscardUnknown()

func (*ReputationRequest) XXX_Marshal

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

func (*ReputationRequest) XXX_Merge

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

func (*ReputationRequest) XXX_Size

func (m *ReputationRequest) XXX_Size() int

func (*ReputationRequest) XXX_Unmarshal

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

type ReputationResponse

type ReputationResponse struct {
	Online               *ReputationResponse_Online `protobuf:"bytes,1,opt,name=online,proto3" json:"online,omitempty"`
	Audit                *ReputationResponse_Audit  `protobuf:"bytes,2,opt,name=audit,proto3" json:"audit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ReputationResponse) Descriptor

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

func (*ReputationResponse) GetAudit

func (*ReputationResponse) GetOnline

func (*ReputationResponse) ProtoMessage

func (*ReputationResponse) ProtoMessage()

func (*ReputationResponse) Reset

func (m *ReputationResponse) Reset()

func (*ReputationResponse) String

func (m *ReputationResponse) String() string

func (*ReputationResponse) XXX_DiscardUnknown

func (m *ReputationResponse) XXX_DiscardUnknown()

func (*ReputationResponse) XXX_Marshal

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

func (*ReputationResponse) XXX_Merge

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

func (*ReputationResponse) XXX_Size

func (m *ReputationResponse) XXX_Size() int

func (*ReputationResponse) XXX_Unmarshal

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

type ReputationResponse_Audit

type ReputationResponse_Audit struct {
	Score                float64  `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"`
	SuspensionScore      float64  `protobuf:"fixed64,2,opt,name=suspension_score,json=suspensionScore,proto3" json:"suspension_score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReputationResponse_Audit) Descriptor

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

func (*ReputationResponse_Audit) GetScore

func (m *ReputationResponse_Audit) GetScore() float64

func (*ReputationResponse_Audit) GetSuspensionScore

func (m *ReputationResponse_Audit) GetSuspensionScore() float64

func (*ReputationResponse_Audit) ProtoMessage

func (*ReputationResponse_Audit) ProtoMessage()

func (*ReputationResponse_Audit) Reset

func (m *ReputationResponse_Audit) Reset()

func (*ReputationResponse_Audit) String

func (m *ReputationResponse_Audit) String() string

func (*ReputationResponse_Audit) XXX_DiscardUnknown

func (m *ReputationResponse_Audit) XXX_DiscardUnknown()

func (*ReputationResponse_Audit) XXX_Marshal

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

func (*ReputationResponse_Audit) XXX_Merge

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

func (*ReputationResponse_Audit) XXX_Size

func (m *ReputationResponse_Audit) XXX_Size() int

func (*ReputationResponse_Audit) XXX_Unmarshal

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

type ReputationResponse_Online

type ReputationResponse_Online struct {
	Score                float64  `protobuf:"fixed64,1,opt,name=score,proto3" json:"score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReputationResponse_Online) Descriptor

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

func (*ReputationResponse_Online) GetScore

func (m *ReputationResponse_Online) GetScore() float64

func (*ReputationResponse_Online) ProtoMessage

func (*ReputationResponse_Online) ProtoMessage()

func (*ReputationResponse_Online) Reset

func (m *ReputationResponse_Online) Reset()

func (*ReputationResponse_Online) String

func (m *ReputationResponse_Online) String() string

func (*ReputationResponse_Online) XXX_DiscardUnknown

func (m *ReputationResponse_Online) XXX_DiscardUnknown()

func (*ReputationResponse_Online) XXX_Marshal

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

func (*ReputationResponse_Online) XXX_Merge

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

func (*ReputationResponse_Online) XXX_Size

func (m *ReputationResponse_Online) XXX_Size() int

func (*ReputationResponse_Online) XXX_Unmarshal

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

type RequestHeader

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

func (*RequestHeader) Descriptor

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

func (*RequestHeader) GetApiKey

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

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) Reset

func (m *RequestHeader) Reset()

func (*RequestHeader) String

func (m *RequestHeader) String() string

func (*RequestHeader) XXX_DiscardUnknown

func (m *RequestHeader) XXX_DiscardUnknown()

func (*RequestHeader) XXX_Marshal

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

func (*RequestHeader) XXX_Merge

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

func (*RequestHeader) XXX_Size

func (m *RequestHeader) XXX_Size() int

func (*RequestHeader) XXX_Unmarshal

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

type SegmentID

type SegmentID = storj.SegmentID

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

type SerialNumber

type SerialNumber = storj.SerialNumber

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

type StreamID

type StreamID = storj.StreamID

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

type TrustedSatellitesRequest added in v1.21.1

type TrustedSatellitesRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TrustedSatellitesRequest) Descriptor added in v1.21.1

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

func (*TrustedSatellitesRequest) GetHeader added in v1.21.1

func (m *TrustedSatellitesRequest) GetHeader() *RequestHeader

func (*TrustedSatellitesRequest) ProtoMessage added in v1.21.1

func (*TrustedSatellitesRequest) ProtoMessage()

func (*TrustedSatellitesRequest) Reset added in v1.21.1

func (m *TrustedSatellitesRequest) Reset()

func (*TrustedSatellitesRequest) String added in v1.21.1

func (m *TrustedSatellitesRequest) String() string

func (*TrustedSatellitesRequest) XXX_DiscardUnknown added in v1.21.1

func (m *TrustedSatellitesRequest) XXX_DiscardUnknown()

func (*TrustedSatellitesRequest) XXX_Marshal added in v1.21.1

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

func (*TrustedSatellitesRequest) XXX_Merge added in v1.21.1

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

func (*TrustedSatellitesRequest) XXX_Size added in v1.21.1

func (m *TrustedSatellitesRequest) XXX_Size() int

func (*TrustedSatellitesRequest) XXX_Unmarshal added in v1.21.1

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

type TrustedSatellitesResponse added in v1.21.1

type TrustedSatellitesResponse struct {
	TrustedSatellites    []*TrustedSatellitesResponse_NodeURL `protobuf:"bytes,1,rep,name=trusted_satellites,json=trustedSatellites,proto3" json:"trusted_satellites,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (*TrustedSatellitesResponse) Descriptor added in v1.21.1

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

func (*TrustedSatellitesResponse) GetTrustedSatellites added in v1.21.1

func (m *TrustedSatellitesResponse) GetTrustedSatellites() []*TrustedSatellitesResponse_NodeURL

func (*TrustedSatellitesResponse) ProtoMessage added in v1.21.1

func (*TrustedSatellitesResponse) ProtoMessage()

func (*TrustedSatellitesResponse) Reset added in v1.21.1

func (m *TrustedSatellitesResponse) Reset()

func (*TrustedSatellitesResponse) String added in v1.21.1

func (m *TrustedSatellitesResponse) String() string

func (*TrustedSatellitesResponse) XXX_DiscardUnknown added in v1.21.1

func (m *TrustedSatellitesResponse) XXX_DiscardUnknown()

func (*TrustedSatellitesResponse) XXX_Marshal added in v1.21.1

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

func (*TrustedSatellitesResponse) XXX_Merge added in v1.21.1

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

func (*TrustedSatellitesResponse) XXX_Size added in v1.21.1

func (m *TrustedSatellitesResponse) XXX_Size() int

func (*TrustedSatellitesResponse) XXX_Unmarshal added in v1.21.1

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

type TrustedSatellitesResponse_NodeURL added in v1.21.1

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

func (*TrustedSatellitesResponse_NodeURL) Descriptor added in v1.21.1

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

func (*TrustedSatellitesResponse_NodeURL) GetAddress added in v1.21.1

func (m *TrustedSatellitesResponse_NodeURL) GetAddress() string

func (*TrustedSatellitesResponse_NodeURL) ProtoMessage added in v1.21.1

func (*TrustedSatellitesResponse_NodeURL) ProtoMessage()

func (*TrustedSatellitesResponse_NodeURL) Reset added in v1.21.1

func (*TrustedSatellitesResponse_NodeURL) String added in v1.21.1

func (*TrustedSatellitesResponse_NodeURL) XXX_DiscardUnknown added in v1.21.1

func (m *TrustedSatellitesResponse_NodeURL) XXX_DiscardUnknown()

func (*TrustedSatellitesResponse_NodeURL) XXX_Marshal added in v1.21.1

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

func (*TrustedSatellitesResponse_NodeURL) XXX_Merge added in v1.21.1

func (*TrustedSatellitesResponse_NodeURL) XXX_Size added in v1.21.1

func (m *TrustedSatellitesResponse_NodeURL) XXX_Size() int

func (*TrustedSatellitesResponse_NodeURL) XXX_Unmarshal added in v1.21.1

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

type VersionRequest

type VersionRequest struct {
	Header               *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*VersionRequest) Descriptor

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

func (*VersionRequest) GetHeader

func (m *VersionRequest) GetHeader() *RequestHeader

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) Reset

func (m *VersionRequest) Reset()

func (*VersionRequest) String

func (m *VersionRequest) String() string

func (*VersionRequest) XXX_DiscardUnknown

func (m *VersionRequest) XXX_DiscardUnknown()

func (*VersionRequest) XXX_Marshal

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

func (*VersionRequest) XXX_Merge

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

func (*VersionRequest) XXX_Size

func (m *VersionRequest) XXX_Size() int

func (*VersionRequest) XXX_Unmarshal

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

type VersionResponse

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

func (*VersionResponse) Descriptor

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

func (*VersionResponse) GetVersion

func (m *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) Reset

func (m *VersionResponse) Reset()

func (*VersionResponse) String

func (m *VersionResponse) String() string

func (*VersionResponse) XXX_DiscardUnknown

func (m *VersionResponse) XXX_DiscardUnknown()

func (*VersionResponse) XXX_Marshal

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

func (*VersionResponse) XXX_Merge

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

func (*VersionResponse) XXX_Size

func (m *VersionResponse) XXX_Size() int

func (*VersionResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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