Documentation ¶
Index ¶
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- type AddressesRequest
- type AddressesResponse
- func (*AddressesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddressesResponse) GetAddresses() []string
- func (*AddressesResponse) ProtoMessage()
- func (x *AddressesResponse) ProtoReflect() protoreflect.Message
- func (x *AddressesResponse) Reset()
- func (x *AddressesResponse) String() string
- type AdminServiceClient
- type AdminServiceServer
- type CreateUserRequest
- type CreateUserResponse
- type FilecoinMiner
- type GCStagedRequest
- type GCStagedResponse
- type GetMinerInfoRequest
- func (*GetMinerInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerInfoRequest) GetMiners() []string
- func (*GetMinerInfoRequest) ProtoMessage()
- func (x *GetMinerInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetMinerInfoRequest) Reset()
- func (x *GetMinerInfoRequest) String() string
- type GetMinerInfoResponse
- func (*GetMinerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerInfoResponse) GetMinersInfo() []*MinerInfo
- func (*GetMinerInfoResponse) ProtoMessage()
- func (x *GetMinerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetMinerInfoResponse) Reset()
- func (x *GetMinerInfoResponse) String() string
- type GetMinersRequest
- type GetMinersResponse
- func (*GetMinersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinersResponse) GetMiners() []*FilecoinMiner
- func (*GetMinersResponse) ProtoMessage()
- func (x *GetMinersResponse) ProtoReflect() protoreflect.Message
- func (x *GetMinersResponse) Reset()
- func (x *GetMinersResponse) String() string
- type GetUpdatedRetrievalRecordsSinceRequest
- func (*GetUpdatedRetrievalRecordsSinceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdatedRetrievalRecordsSinceRequest) GetLimit() int32
- func (x *GetUpdatedRetrievalRecordsSinceRequest) GetSince() *timestamp.Timestamp
- func (*GetUpdatedRetrievalRecordsSinceRequest) ProtoMessage()
- func (x *GetUpdatedRetrievalRecordsSinceRequest) ProtoReflect() protoreflect.Message
- func (x *GetUpdatedRetrievalRecordsSinceRequest) Reset()
- func (x *GetUpdatedRetrievalRecordsSinceRequest) String() string
- type GetUpdatedRetrievalRecordsSinceResponse
- func (*GetUpdatedRetrievalRecordsSinceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdatedRetrievalRecordsSinceResponse) GetRecords() []*v1.RetrievalDealRecord
- func (*GetUpdatedRetrievalRecordsSinceResponse) ProtoMessage()
- func (x *GetUpdatedRetrievalRecordsSinceResponse) ProtoReflect() protoreflect.Message
- func (x *GetUpdatedRetrievalRecordsSinceResponse) Reset()
- func (x *GetUpdatedRetrievalRecordsSinceResponse) String() string
- type GetUpdatedStorageDealRecordsSinceRequest
- func (*GetUpdatedStorageDealRecordsSinceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdatedStorageDealRecordsSinceRequest) GetLimit() int32
- func (x *GetUpdatedStorageDealRecordsSinceRequest) GetSince() *timestamp.Timestamp
- func (*GetUpdatedStorageDealRecordsSinceRequest) ProtoMessage()
- func (x *GetUpdatedStorageDealRecordsSinceRequest) ProtoReflect() protoreflect.Message
- func (x *GetUpdatedStorageDealRecordsSinceRequest) Reset()
- func (x *GetUpdatedStorageDealRecordsSinceRequest) String() string
- type GetUpdatedStorageDealRecordsSinceResponse
- func (*GetUpdatedStorageDealRecordsSinceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUpdatedStorageDealRecordsSinceResponse) GetRecords() []*v1.StorageDealRecord
- func (*GetUpdatedStorageDealRecordsSinceResponse) ProtoMessage()
- func (x *GetUpdatedStorageDealRecordsSinceResponse) ProtoReflect() protoreflect.Message
- func (x *GetUpdatedStorageDealRecordsSinceResponse) Reset()
- func (x *GetUpdatedStorageDealRecordsSinceResponse) String() string
- type HSPinnedCid
- func (*HSPinnedCid) Descriptor() ([]byte, []int)deprecated
- func (x *HSPinnedCid) GetCid() string
- func (x *HSPinnedCid) GetUsers() []*HSPinnedCidUser
- func (*HSPinnedCid) ProtoMessage()
- func (x *HSPinnedCid) ProtoReflect() protoreflect.Message
- func (x *HSPinnedCid) Reset()
- func (x *HSPinnedCid) String() string
- type HSPinnedCidUser
- func (*HSPinnedCidUser) Descriptor() ([]byte, []int)deprecated
- func (x *HSPinnedCidUser) GetCreatedAt() int64
- func (x *HSPinnedCidUser) GetStaged() bool
- func (x *HSPinnedCidUser) GetUserId() string
- func (*HSPinnedCidUser) ProtoMessage()
- func (x *HSPinnedCidUser) ProtoReflect() protoreflect.Message
- func (x *HSPinnedCidUser) Reset()
- func (x *HSPinnedCidUser) String() string
- type ListStorageInfoRequest
- func (*ListStorageInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageInfoRequest) GetCids() []string
- func (x *ListStorageInfoRequest) GetUserIds() []string
- func (*ListStorageInfoRequest) ProtoMessage()
- func (x *ListStorageInfoRequest) ProtoReflect() protoreflect.Message
- func (x *ListStorageInfoRequest) Reset()
- func (x *ListStorageInfoRequest) String() string
- type ListStorageInfoResponse
- func (*ListStorageInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageInfoResponse) GetStorageInfo() []*v1.StorageInfo
- func (*ListStorageInfoResponse) ProtoMessage()
- func (x *ListStorageInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ListStorageInfoResponse) Reset()
- func (x *ListStorageInfoResponse) String() string
- type ListStorageJobsRequest
- func (*ListStorageJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageJobsRequest) GetAscending() bool
- func (x *ListStorageJobsRequest) GetCidFilter() string
- func (x *ListStorageJobsRequest) GetLimit() uint64
- func (x *ListStorageJobsRequest) GetNextPageToken() string
- func (x *ListStorageJobsRequest) GetSelector() v1.StorageJobsSelector
- func (x *ListStorageJobsRequest) GetUserIdFilter() string
- func (*ListStorageJobsRequest) ProtoMessage()
- func (x *ListStorageJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListStorageJobsRequest) Reset()
- func (x *ListStorageJobsRequest) String() string
- type ListStorageJobsResponse
- func (*ListStorageJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStorageJobsResponse) GetMore() bool
- func (x *ListStorageJobsResponse) GetNextPageToken() string
- func (x *ListStorageJobsResponse) GetStorageJobs() []*v1.StorageJob
- func (*ListStorageJobsResponse) ProtoMessage()
- func (x *ListStorageJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListStorageJobsResponse) Reset()
- func (x *ListStorageJobsResponse) String() string
- type MinerInfo
- func (*MinerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MinerInfo) GetAddress() string
- func (x *MinerInfo) GetAskPrice() string
- func (x *MinerInfo) GetAskVerifiedPrice() string
- func (x *MinerInfo) GetLocation() string
- func (x *MinerInfo) GetMaxPieceSize() uint64
- func (x *MinerInfo) GetMinPieceSize() uint64
- func (x *MinerInfo) GetRelativePower() float64
- func (x *MinerInfo) GetSectorSize() uint64
- func (x *MinerInfo) GetSectorsActive() uint64
- func (x *MinerInfo) GetSectorsFaulty() uint64
- func (x *MinerInfo) GetSectorsLive() uint64
- func (*MinerInfo) ProtoMessage()
- func (x *MinerInfo) ProtoReflect() protoreflect.Message
- func (x *MinerInfo) Reset()
- func (x *MinerInfo) String() string
- type NewAddressRequest
- func (*NewAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressRequest) GetAddressType() string
- func (*NewAddressRequest) ProtoMessage()
- func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
- func (x *NewAddressRequest) Reset()
- func (x *NewAddressRequest) String() string
- type NewAddressResponse
- func (*NewAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NewAddressResponse) GetAddress() string
- func (*NewAddressResponse) ProtoMessage()
- func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
- func (x *NewAddressResponse) Reset()
- func (x *NewAddressResponse) String() string
- type PinnedCidsRequest
- type PinnedCidsResponse
- func (*PinnedCidsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PinnedCidsResponse) GetCids() []*HSPinnedCid
- func (*PinnedCidsResponse) ProtoMessage()
- func (x *PinnedCidsResponse) ProtoReflect() protoreflect.Message
- func (x *PinnedCidsResponse) Reset()
- func (x *PinnedCidsResponse) String() string
- type RegenerateAuthRequest
- func (*RegenerateAuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateAuthRequest) GetToken() string
- func (*RegenerateAuthRequest) ProtoMessage()
- func (x *RegenerateAuthRequest) ProtoReflect() protoreflect.Message
- func (x *RegenerateAuthRequest) Reset()
- func (x *RegenerateAuthRequest) String() string
- type RegenerateAuthResponse
- func (*RegenerateAuthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegenerateAuthResponse) GetNewToken() string
- func (*RegenerateAuthResponse) ProtoMessage()
- func (x *RegenerateAuthResponse) ProtoReflect() protoreflect.Message
- func (x *RegenerateAuthResponse) Reset()
- func (x *RegenerateAuthResponse) String() string
- type SendFilRequest
- func (*SendFilRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendFilRequest) GetAmount() string
- func (x *SendFilRequest) GetFrom() string
- func (x *SendFilRequest) GetTo() string
- func (*SendFilRequest) ProtoMessage()
- func (x *SendFilRequest) ProtoReflect() protoreflect.Message
- func (x *SendFilRequest) Reset()
- func (x *SendFilRequest) String() string
- type SendFilResponse
- type StorageInfoRequest
- func (*StorageInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageInfoRequest) GetCid() string
- func (x *StorageInfoRequest) GetUserId() string
- func (*StorageInfoRequest) ProtoMessage()
- func (x *StorageInfoRequest) ProtoReflect() protoreflect.Message
- func (x *StorageInfoRequest) Reset()
- func (x *StorageInfoRequest) String() string
- type StorageInfoResponse
- func (*StorageInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageInfoResponse) GetStorageInfo() *v1.StorageInfo
- func (*StorageInfoResponse) ProtoMessage()
- func (x *StorageInfoResponse) ProtoReflect() protoreflect.Message
- func (x *StorageInfoResponse) Reset()
- func (x *StorageInfoResponse) String() string
- type StorageJobsSummaryRequest
- func (*StorageJobsSummaryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageJobsSummaryRequest) GetCid() string
- func (x *StorageJobsSummaryRequest) GetUserId() string
- func (*StorageJobsSummaryRequest) ProtoMessage()
- func (x *StorageJobsSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *StorageJobsSummaryRequest) Reset()
- func (x *StorageJobsSummaryRequest) String() string
- type StorageJobsSummaryResponse
- func (*StorageJobsSummaryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StorageJobsSummaryResponse) GetExecutingStorageJobs() []string
- func (x *StorageJobsSummaryResponse) GetFinalStorageJobs() []string
- func (x *StorageJobsSummaryResponse) GetQueuedStorageJobs() []string
- func (*StorageJobsSummaryResponse) ProtoMessage()
- func (x *StorageJobsSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *StorageJobsSummaryResponse) Reset()
- func (x *StorageJobsSummaryResponse) String() string
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error)
- func (UnimplementedAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedAdminServiceServer) GCStaged(context.Context, *GCStagedRequest) (*GCStagedResponse, error)
- func (UnimplementedAdminServiceServer) GetMinerInfo(context.Context, *GetMinerInfoRequest) (*GetMinerInfoResponse, error)
- func (UnimplementedAdminServiceServer) GetMiners(context.Context, *GetMinersRequest) (*GetMinersResponse, error)
- func (UnimplementedAdminServiceServer) GetUpdatedRetrievalRecordsSince(context.Context, *GetUpdatedRetrievalRecordsSinceRequest) (*GetUpdatedRetrievalRecordsSinceResponse, error)
- func (UnimplementedAdminServiceServer) GetUpdatedStorageDealRecordsSince(context.Context, *GetUpdatedStorageDealRecordsSinceRequest) (*GetUpdatedStorageDealRecordsSinceResponse, error)
- func (UnimplementedAdminServiceServer) ListStorageInfo(context.Context, *ListStorageInfoRequest) (*ListStorageInfoResponse, error)
- func (UnimplementedAdminServiceServer) ListStorageJobs(context.Context, *ListStorageJobsRequest) (*ListStorageJobsResponse, error)
- func (UnimplementedAdminServiceServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
- func (UnimplementedAdminServiceServer) PinnedCids(context.Context, *PinnedCidsRequest) (*PinnedCidsResponse, error)
- func (UnimplementedAdminServiceServer) RegenerateAuth(context.Context, *RegenerateAuthRequest) (*RegenerateAuthResponse, error)
- func (UnimplementedAdminServiceServer) SendFil(context.Context, *SendFilRequest) (*SendFilResponse, error)
- func (UnimplementedAdminServiceServer) StorageInfo(context.Context, *StorageInfoRequest) (*StorageInfoResponse, error)
- func (UnimplementedAdminServiceServer) StorageJobsSummary(context.Context, *StorageJobsSummaryRequest) (*StorageJobsSummaryResponse, error)
- func (UnimplementedAdminServiceServer) Users(context.Context, *UsersRequest) (*UsersResponse, error)
- type UnsafeAdminServiceServer
- type User
- type UsersRequest
- type UsersResponse
Constants ¶
This section is empty.
Variables ¶
var File_powergate_admin_v1_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
Types ¶
type AddressesRequest ¶
type AddressesRequest struct {
// contains filtered or unexported fields
}
func (*AddressesRequest) Descriptor
deprecated
func (*AddressesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddressesRequest.ProtoReflect.Descriptor instead.
func (*AddressesRequest) ProtoMessage ¶
func (*AddressesRequest) ProtoMessage()
func (*AddressesRequest) ProtoReflect ¶
func (x *AddressesRequest) ProtoReflect() protoreflect.Message
func (*AddressesRequest) Reset ¶
func (x *AddressesRequest) Reset()
func (*AddressesRequest) String ¶
func (x *AddressesRequest) String() string
type AddressesResponse ¶
type AddressesResponse struct { Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*AddressesResponse) Descriptor
deprecated
func (*AddressesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddressesResponse.ProtoReflect.Descriptor instead.
func (*AddressesResponse) GetAddresses ¶
func (x *AddressesResponse) GetAddresses() []string
func (*AddressesResponse) ProtoMessage ¶
func (*AddressesResponse) ProtoMessage()
func (*AddressesResponse) ProtoReflect ¶
func (x *AddressesResponse) ProtoReflect() protoreflect.Message
func (*AddressesResponse) Reset ¶
func (x *AddressesResponse) Reset()
func (*AddressesResponse) String ¶
func (x *AddressesResponse) String() string
type AdminServiceClient ¶
type AdminServiceClient interface { // Wallet NewAddress(ctx context.Context, in *NewAddressRequest, opts ...grpc.CallOption) (*NewAddressResponse, error) Addresses(ctx context.Context, in *AddressesRequest, opts ...grpc.CallOption) (*AddressesResponse, error) SendFil(ctx context.Context, in *SendFilRequest, opts ...grpc.CallOption) (*SendFilResponse, error) // Users CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) RegenerateAuth(ctx context.Context, in *RegenerateAuthRequest, opts ...grpc.CallOption) (*RegenerateAuthResponse, error) Users(ctx context.Context, in *UsersRequest, opts ...grpc.CallOption) (*UsersResponse, error) // Storage Info StorageInfo(ctx context.Context, in *StorageInfoRequest, opts ...grpc.CallOption) (*StorageInfoResponse, error) ListStorageInfo(ctx context.Context, in *ListStorageInfoRequest, opts ...grpc.CallOption) (*ListStorageInfoResponse, error) // Storage Jobs ListStorageJobs(ctx context.Context, in *ListStorageJobsRequest, opts ...grpc.CallOption) (*ListStorageJobsResponse, error) StorageJobsSummary(ctx context.Context, in *StorageJobsSummaryRequest, opts ...grpc.CallOption) (*StorageJobsSummaryResponse, error) // Updated Records GetUpdatedStorageDealRecordsSince(ctx context.Context, in *GetUpdatedStorageDealRecordsSinceRequest, opts ...grpc.CallOption) (*GetUpdatedStorageDealRecordsSinceResponse, error) GetUpdatedRetrievalRecordsSince(ctx context.Context, in *GetUpdatedRetrievalRecordsSinceRequest, opts ...grpc.CallOption) (*GetUpdatedRetrievalRecordsSinceResponse, error) GCStaged(ctx context.Context, in *GCStagedRequest, opts ...grpc.CallOption) (*GCStagedResponse, error) PinnedCids(ctx context.Context, in *PinnedCidsRequest, opts ...grpc.CallOption) (*PinnedCidsResponse, error) // Indices GetMiners(ctx context.Context, in *GetMinersRequest, opts ...grpc.CallOption) (*GetMinersResponse, error) GetMinerInfo(ctx context.Context, in *GetMinerInfoRequest, opts ...grpc.CallOption) (*GetMinerInfoResponse, error) }
AdminServiceClient is the client API for AdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { // Wallet NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error) SendFil(context.Context, *SendFilRequest) (*SendFilResponse, error) // Users CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) RegenerateAuth(context.Context, *RegenerateAuthRequest) (*RegenerateAuthResponse, error) Users(context.Context, *UsersRequest) (*UsersResponse, error) // Storage Info StorageInfo(context.Context, *StorageInfoRequest) (*StorageInfoResponse, error) ListStorageInfo(context.Context, *ListStorageInfoRequest) (*ListStorageInfoResponse, error) // Storage Jobs ListStorageJobs(context.Context, *ListStorageJobsRequest) (*ListStorageJobsResponse, error) StorageJobsSummary(context.Context, *StorageJobsSummaryRequest) (*StorageJobsSummaryResponse, error) // Updated Records GetUpdatedStorageDealRecordsSince(context.Context, *GetUpdatedStorageDealRecordsSinceRequest) (*GetUpdatedStorageDealRecordsSinceResponse, error) GetUpdatedRetrievalRecordsSince(context.Context, *GetUpdatedRetrievalRecordsSinceRequest) (*GetUpdatedRetrievalRecordsSinceResponse, error) GCStaged(context.Context, *GCStagedRequest) (*GCStagedResponse, error) PinnedCids(context.Context, *PinnedCidsRequest) (*PinnedCidsResponse, error) // Indices GetMiners(context.Context, *GetMinersRequest) (*GetMinersResponse, error) GetMinerInfo(context.Context, *GetMinerInfoRequest) (*GetMinerInfoResponse, error) // contains filtered or unexported methods }
AdminServiceServer is the server API for AdminService service. All implementations must embed UnimplementedAdminServiceServer for forward compatibility
type CreateUserRequest ¶
type CreateUserRequest struct {
// contains filtered or unexported fields
}
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetUser ¶
func (x *CreateUserResponse) GetUser() *User
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type FilecoinMiner ¶ added in v2.1.0
type FilecoinMiner struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*FilecoinMiner) Descriptor
deprecated
added in
v2.1.0
func (*FilecoinMiner) Descriptor() ([]byte, []int)
Deprecated: Use FilecoinMiner.ProtoReflect.Descriptor instead.
func (*FilecoinMiner) GetAddress ¶ added in v2.1.0
func (x *FilecoinMiner) GetAddress() string
func (*FilecoinMiner) ProtoMessage ¶ added in v2.1.0
func (*FilecoinMiner) ProtoMessage()
func (*FilecoinMiner) ProtoReflect ¶ added in v2.1.0
func (x *FilecoinMiner) ProtoReflect() protoreflect.Message
func (*FilecoinMiner) Reset ¶ added in v2.1.0
func (x *FilecoinMiner) Reset()
func (*FilecoinMiner) String ¶ added in v2.1.0
func (x *FilecoinMiner) String() string
type GCStagedRequest ¶
type GCStagedRequest struct {
// contains filtered or unexported fields
}
func (*GCStagedRequest) Descriptor
deprecated
func (*GCStagedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GCStagedRequest.ProtoReflect.Descriptor instead.
func (*GCStagedRequest) ProtoMessage ¶
func (*GCStagedRequest) ProtoMessage()
func (*GCStagedRequest) ProtoReflect ¶
func (x *GCStagedRequest) ProtoReflect() protoreflect.Message
func (*GCStagedRequest) Reset ¶
func (x *GCStagedRequest) Reset()
func (*GCStagedRequest) String ¶
func (x *GCStagedRequest) String() string
type GCStagedResponse ¶
type GCStagedResponse struct { UnpinnedCids []string `protobuf:"bytes,1,rep,name=unpinned_cids,json=unpinnedCids,proto3" json:"unpinned_cids,omitempty"` // contains filtered or unexported fields }
func (*GCStagedResponse) Descriptor
deprecated
func (*GCStagedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GCStagedResponse.ProtoReflect.Descriptor instead.
func (*GCStagedResponse) GetUnpinnedCids ¶
func (x *GCStagedResponse) GetUnpinnedCids() []string
func (*GCStagedResponse) ProtoMessage ¶
func (*GCStagedResponse) ProtoMessage()
func (*GCStagedResponse) ProtoReflect ¶
func (x *GCStagedResponse) ProtoReflect() protoreflect.Message
func (*GCStagedResponse) Reset ¶
func (x *GCStagedResponse) Reset()
func (*GCStagedResponse) String ¶
func (x *GCStagedResponse) String() string
type GetMinerInfoRequest ¶ added in v2.1.0
type GetMinerInfoRequest struct { Miners []string `protobuf:"bytes,1,rep,name=miners,proto3" json:"miners,omitempty"` // contains filtered or unexported fields }
func (*GetMinerInfoRequest) Descriptor
deprecated
added in
v2.1.0
func (*GetMinerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMinerInfoRequest.ProtoReflect.Descriptor instead.
func (*GetMinerInfoRequest) GetMiners ¶ added in v2.1.0
func (x *GetMinerInfoRequest) GetMiners() []string
func (*GetMinerInfoRequest) ProtoMessage ¶ added in v2.1.0
func (*GetMinerInfoRequest) ProtoMessage()
func (*GetMinerInfoRequest) ProtoReflect ¶ added in v2.1.0
func (x *GetMinerInfoRequest) ProtoReflect() protoreflect.Message
func (*GetMinerInfoRequest) Reset ¶ added in v2.1.0
func (x *GetMinerInfoRequest) Reset()
func (*GetMinerInfoRequest) String ¶ added in v2.1.0
func (x *GetMinerInfoRequest) String() string
type GetMinerInfoResponse ¶ added in v2.1.0
type GetMinerInfoResponse struct { MinersInfo []*MinerInfo `protobuf:"bytes,1,rep,name=miners_info,json=minersInfo,proto3" json:"miners_info,omitempty"` // contains filtered or unexported fields }
func (*GetMinerInfoResponse) Descriptor
deprecated
added in
v2.1.0
func (*GetMinerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMinerInfoResponse.ProtoReflect.Descriptor instead.
func (*GetMinerInfoResponse) GetMinersInfo ¶ added in v2.1.0
func (x *GetMinerInfoResponse) GetMinersInfo() []*MinerInfo
func (*GetMinerInfoResponse) ProtoMessage ¶ added in v2.1.0
func (*GetMinerInfoResponse) ProtoMessage()
func (*GetMinerInfoResponse) ProtoReflect ¶ added in v2.1.0
func (x *GetMinerInfoResponse) ProtoReflect() protoreflect.Message
func (*GetMinerInfoResponse) Reset ¶ added in v2.1.0
func (x *GetMinerInfoResponse) Reset()
func (*GetMinerInfoResponse) String ¶ added in v2.1.0
func (x *GetMinerInfoResponse) String() string
type GetMinersRequest ¶ added in v2.1.0
type GetMinersRequest struct { WithPower bool `protobuf:"varint,1,opt,name=with_power,json=withPower,proto3" json:"with_power,omitempty"` // contains filtered or unexported fields }
func (*GetMinersRequest) Descriptor
deprecated
added in
v2.1.0
func (*GetMinersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMinersRequest.ProtoReflect.Descriptor instead.
func (*GetMinersRequest) GetWithPower ¶ added in v2.1.0
func (x *GetMinersRequest) GetWithPower() bool
func (*GetMinersRequest) ProtoMessage ¶ added in v2.1.0
func (*GetMinersRequest) ProtoMessage()
func (*GetMinersRequest) ProtoReflect ¶ added in v2.1.0
func (x *GetMinersRequest) ProtoReflect() protoreflect.Message
func (*GetMinersRequest) Reset ¶ added in v2.1.0
func (x *GetMinersRequest) Reset()
func (*GetMinersRequest) String ¶ added in v2.1.0
func (x *GetMinersRequest) String() string
type GetMinersResponse ¶ added in v2.1.0
type GetMinersResponse struct { Miners []*FilecoinMiner `protobuf:"bytes,1,rep,name=miners,proto3" json:"miners,omitempty"` // contains filtered or unexported fields }
func (*GetMinersResponse) Descriptor
deprecated
added in
v2.1.0
func (*GetMinersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMinersResponse.ProtoReflect.Descriptor instead.
func (*GetMinersResponse) GetMiners ¶ added in v2.1.0
func (x *GetMinersResponse) GetMiners() []*FilecoinMiner
func (*GetMinersResponse) ProtoMessage ¶ added in v2.1.0
func (*GetMinersResponse) ProtoMessage()
func (*GetMinersResponse) ProtoReflect ¶ added in v2.1.0
func (x *GetMinersResponse) ProtoReflect() protoreflect.Message
func (*GetMinersResponse) Reset ¶ added in v2.1.0
func (x *GetMinersResponse) Reset()
func (*GetMinersResponse) String ¶ added in v2.1.0
func (x *GetMinersResponse) String() string
type GetUpdatedRetrievalRecordsSinceRequest ¶ added in v2.1.0
type GetUpdatedRetrievalRecordsSinceRequest struct { Since *timestamp.Timestamp `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetUpdatedRetrievalRecordsSinceRequest) Descriptor
deprecated
added in
v2.1.0
func (*GetUpdatedRetrievalRecordsSinceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdatedRetrievalRecordsSinceRequest.ProtoReflect.Descriptor instead.
func (*GetUpdatedRetrievalRecordsSinceRequest) GetLimit ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceRequest) GetLimit() int32
func (*GetUpdatedRetrievalRecordsSinceRequest) GetSince ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceRequest) GetSince() *timestamp.Timestamp
func (*GetUpdatedRetrievalRecordsSinceRequest) ProtoMessage ¶ added in v2.1.0
func (*GetUpdatedRetrievalRecordsSinceRequest) ProtoMessage()
func (*GetUpdatedRetrievalRecordsSinceRequest) ProtoReflect ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceRequest) ProtoReflect() protoreflect.Message
func (*GetUpdatedRetrievalRecordsSinceRequest) Reset ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceRequest) Reset()
func (*GetUpdatedRetrievalRecordsSinceRequest) String ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceRequest) String() string
type GetUpdatedRetrievalRecordsSinceResponse ¶ added in v2.1.0
type GetUpdatedRetrievalRecordsSinceResponse struct { Records []*v1.RetrievalDealRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*GetUpdatedRetrievalRecordsSinceResponse) Descriptor
deprecated
added in
v2.1.0
func (*GetUpdatedRetrievalRecordsSinceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdatedRetrievalRecordsSinceResponse.ProtoReflect.Descriptor instead.
func (*GetUpdatedRetrievalRecordsSinceResponse) GetRecords ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceResponse) GetRecords() []*v1.RetrievalDealRecord
func (*GetUpdatedRetrievalRecordsSinceResponse) ProtoMessage ¶ added in v2.1.0
func (*GetUpdatedRetrievalRecordsSinceResponse) ProtoMessage()
func (*GetUpdatedRetrievalRecordsSinceResponse) ProtoReflect ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceResponse) ProtoReflect() protoreflect.Message
func (*GetUpdatedRetrievalRecordsSinceResponse) Reset ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceResponse) Reset()
func (*GetUpdatedRetrievalRecordsSinceResponse) String ¶ added in v2.1.0
func (x *GetUpdatedRetrievalRecordsSinceResponse) String() string
type GetUpdatedStorageDealRecordsSinceRequest ¶ added in v2.1.0
type GetUpdatedStorageDealRecordsSinceRequest struct { Since *timestamp.Timestamp `protobuf:"bytes,1,opt,name=since,proto3" json:"since,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*GetUpdatedStorageDealRecordsSinceRequest) Descriptor
deprecated
added in
v2.1.0
func (*GetUpdatedStorageDealRecordsSinceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdatedStorageDealRecordsSinceRequest.ProtoReflect.Descriptor instead.
func (*GetUpdatedStorageDealRecordsSinceRequest) GetLimit ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceRequest) GetLimit() int32
func (*GetUpdatedStorageDealRecordsSinceRequest) GetSince ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceRequest) GetSince() *timestamp.Timestamp
func (*GetUpdatedStorageDealRecordsSinceRequest) ProtoMessage ¶ added in v2.1.0
func (*GetUpdatedStorageDealRecordsSinceRequest) ProtoMessage()
func (*GetUpdatedStorageDealRecordsSinceRequest) ProtoReflect ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceRequest) ProtoReflect() protoreflect.Message
func (*GetUpdatedStorageDealRecordsSinceRequest) Reset ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceRequest) Reset()
func (*GetUpdatedStorageDealRecordsSinceRequest) String ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceRequest) String() string
type GetUpdatedStorageDealRecordsSinceResponse ¶ added in v2.1.0
type GetUpdatedStorageDealRecordsSinceResponse struct { Records []*v1.StorageDealRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*GetUpdatedStorageDealRecordsSinceResponse) Descriptor
deprecated
added in
v2.1.0
func (*GetUpdatedStorageDealRecordsSinceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUpdatedStorageDealRecordsSinceResponse.ProtoReflect.Descriptor instead.
func (*GetUpdatedStorageDealRecordsSinceResponse) GetRecords ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceResponse) GetRecords() []*v1.StorageDealRecord
func (*GetUpdatedStorageDealRecordsSinceResponse) ProtoMessage ¶ added in v2.1.0
func (*GetUpdatedStorageDealRecordsSinceResponse) ProtoMessage()
func (*GetUpdatedStorageDealRecordsSinceResponse) ProtoReflect ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceResponse) ProtoReflect() protoreflect.Message
func (*GetUpdatedStorageDealRecordsSinceResponse) Reset ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceResponse) Reset()
func (*GetUpdatedStorageDealRecordsSinceResponse) String ¶ added in v2.1.0
func (x *GetUpdatedStorageDealRecordsSinceResponse) String() string
type HSPinnedCid ¶
type HSPinnedCid struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Users []*HSPinnedCidUser `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*HSPinnedCid) Descriptor
deprecated
func (*HSPinnedCid) Descriptor() ([]byte, []int)
Deprecated: Use HSPinnedCid.ProtoReflect.Descriptor instead.
func (*HSPinnedCid) GetCid ¶
func (x *HSPinnedCid) GetCid() string
func (*HSPinnedCid) GetUsers ¶
func (x *HSPinnedCid) GetUsers() []*HSPinnedCidUser
func (*HSPinnedCid) ProtoMessage ¶
func (*HSPinnedCid) ProtoMessage()
func (*HSPinnedCid) ProtoReflect ¶
func (x *HSPinnedCid) ProtoReflect() protoreflect.Message
func (*HSPinnedCid) Reset ¶
func (x *HSPinnedCid) Reset()
func (*HSPinnedCid) String ¶
func (x *HSPinnedCid) String() string
type HSPinnedCidUser ¶
type HSPinnedCidUser struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Staged bool `protobuf:"varint,2,opt,name=staged,proto3" json:"staged,omitempty"` CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*HSPinnedCidUser) Descriptor
deprecated
func (*HSPinnedCidUser) Descriptor() ([]byte, []int)
Deprecated: Use HSPinnedCidUser.ProtoReflect.Descriptor instead.
func (*HSPinnedCidUser) GetCreatedAt ¶
func (x *HSPinnedCidUser) GetCreatedAt() int64
func (*HSPinnedCidUser) GetStaged ¶
func (x *HSPinnedCidUser) GetStaged() bool
func (*HSPinnedCidUser) GetUserId ¶
func (x *HSPinnedCidUser) GetUserId() string
func (*HSPinnedCidUser) ProtoMessage ¶
func (*HSPinnedCidUser) ProtoMessage()
func (*HSPinnedCidUser) ProtoReflect ¶
func (x *HSPinnedCidUser) ProtoReflect() protoreflect.Message
func (*HSPinnedCidUser) Reset ¶
func (x *HSPinnedCidUser) Reset()
func (*HSPinnedCidUser) String ¶
func (x *HSPinnedCidUser) String() string
type ListStorageInfoRequest ¶
type ListStorageInfoRequest struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` Cids []string `protobuf:"bytes,2,rep,name=cids,proto3" json:"cids,omitempty"` // contains filtered or unexported fields }
func (*ListStorageInfoRequest) Descriptor
deprecated
func (*ListStorageInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageInfoRequest.ProtoReflect.Descriptor instead.
func (*ListStorageInfoRequest) GetCids ¶
func (x *ListStorageInfoRequest) GetCids() []string
func (*ListStorageInfoRequest) GetUserIds ¶
func (x *ListStorageInfoRequest) GetUserIds() []string
func (*ListStorageInfoRequest) ProtoMessage ¶
func (*ListStorageInfoRequest) ProtoMessage()
func (*ListStorageInfoRequest) ProtoReflect ¶
func (x *ListStorageInfoRequest) ProtoReflect() protoreflect.Message
func (*ListStorageInfoRequest) Reset ¶
func (x *ListStorageInfoRequest) Reset()
func (*ListStorageInfoRequest) String ¶
func (x *ListStorageInfoRequest) String() string
type ListStorageInfoResponse ¶
type ListStorageInfoResponse struct { StorageInfo []*v1.StorageInfo `protobuf:"bytes,1,rep,name=storage_info,json=storageInfo,proto3" json:"storage_info,omitempty"` // contains filtered or unexported fields }
func (*ListStorageInfoResponse) Descriptor
deprecated
func (*ListStorageInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageInfoResponse.ProtoReflect.Descriptor instead.
func (*ListStorageInfoResponse) GetStorageInfo ¶
func (x *ListStorageInfoResponse) GetStorageInfo() []*v1.StorageInfo
func (*ListStorageInfoResponse) ProtoMessage ¶
func (*ListStorageInfoResponse) ProtoMessage()
func (*ListStorageInfoResponse) ProtoReflect ¶
func (x *ListStorageInfoResponse) ProtoReflect() protoreflect.Message
func (*ListStorageInfoResponse) Reset ¶
func (x *ListStorageInfoResponse) Reset()
func (*ListStorageInfoResponse) String ¶
func (x *ListStorageInfoResponse) String() string
type ListStorageJobsRequest ¶
type ListStorageJobsRequest struct { UserIdFilter string `protobuf:"bytes,1,opt,name=user_id_filter,json=userIdFilter,proto3" json:"user_id_filter,omitempty"` CidFilter string `protobuf:"bytes,2,opt,name=cid_filter,json=cidFilter,proto3" json:"cid_filter,omitempty"` Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` Ascending bool `protobuf:"varint,4,opt,name=ascending,proto3" json:"ascending,omitempty"` NextPageToken string `protobuf:"bytes,5,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` Selector v1.StorageJobsSelector `protobuf:"varint,6,opt,name=selector,proto3,enum=powergate.user.v1.StorageJobsSelector" json:"selector,omitempty"` // contains filtered or unexported fields }
func (*ListStorageJobsRequest) Descriptor
deprecated
func (*ListStorageJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageJobsRequest.ProtoReflect.Descriptor instead.
func (*ListStorageJobsRequest) GetAscending ¶
func (x *ListStorageJobsRequest) GetAscending() bool
func (*ListStorageJobsRequest) GetCidFilter ¶
func (x *ListStorageJobsRequest) GetCidFilter() string
func (*ListStorageJobsRequest) GetLimit ¶
func (x *ListStorageJobsRequest) GetLimit() uint64
func (*ListStorageJobsRequest) GetNextPageToken ¶
func (x *ListStorageJobsRequest) GetNextPageToken() string
func (*ListStorageJobsRequest) GetSelector ¶
func (x *ListStorageJobsRequest) GetSelector() v1.StorageJobsSelector
func (*ListStorageJobsRequest) GetUserIdFilter ¶
func (x *ListStorageJobsRequest) GetUserIdFilter() string
func (*ListStorageJobsRequest) ProtoMessage ¶
func (*ListStorageJobsRequest) ProtoMessage()
func (*ListStorageJobsRequest) ProtoReflect ¶
func (x *ListStorageJobsRequest) ProtoReflect() protoreflect.Message
func (*ListStorageJobsRequest) Reset ¶
func (x *ListStorageJobsRequest) Reset()
func (*ListStorageJobsRequest) String ¶
func (x *ListStorageJobsRequest) String() string
type ListStorageJobsResponse ¶
type ListStorageJobsResponse struct { StorageJobs []*v1.StorageJob `protobuf:"bytes,1,rep,name=storage_jobs,json=storageJobs,proto3" json:"storage_jobs,omitempty"` More bool `protobuf:"varint,2,opt,name=more,proto3" json:"more,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListStorageJobsResponse) Descriptor
deprecated
func (*ListStorageJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListStorageJobsResponse.ProtoReflect.Descriptor instead.
func (*ListStorageJobsResponse) GetMore ¶
func (x *ListStorageJobsResponse) GetMore() bool
func (*ListStorageJobsResponse) GetNextPageToken ¶
func (x *ListStorageJobsResponse) GetNextPageToken() string
func (*ListStorageJobsResponse) GetStorageJobs ¶
func (x *ListStorageJobsResponse) GetStorageJobs() []*v1.StorageJob
func (*ListStorageJobsResponse) ProtoMessage ¶
func (*ListStorageJobsResponse) ProtoMessage()
func (*ListStorageJobsResponse) ProtoReflect ¶
func (x *ListStorageJobsResponse) ProtoReflect() protoreflect.Message
func (*ListStorageJobsResponse) Reset ¶
func (x *ListStorageJobsResponse) Reset()
func (*ListStorageJobsResponse) String ¶
func (x *ListStorageJobsResponse) String() string
type MinerInfo ¶ added in v2.1.0
type MinerInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` RelativePower float64 `protobuf:"fixed64,2,opt,name=relative_power,json=relativePower,proto3" json:"relative_power,omitempty"` AskPrice string `protobuf:"bytes,4,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"` AskVerifiedPrice string `protobuf:"bytes,5,opt,name=ask_verified_price,json=askVerifiedPrice,proto3" json:"ask_verified_price,omitempty"` MinPieceSize uint64 `protobuf:"varint,6,opt,name=min_piece_size,json=minPieceSize,proto3" json:"min_piece_size,omitempty"` MaxPieceSize uint64 `protobuf:"varint,7,opt,name=max_piece_size,json=maxPieceSize,proto3" json:"max_piece_size,omitempty"` SectorSize uint64 `protobuf:"varint,8,opt,name=sector_size,json=sectorSize,proto3" json:"sector_size,omitempty"` SectorsActive uint64 `protobuf:"varint,9,opt,name=sectors_active,json=sectorsActive,proto3" json:"sectors_active,omitempty"` SectorsLive uint64 `protobuf:"varint,10,opt,name=sectors_live,json=sectorsLive,proto3" json:"sectors_live,omitempty"` SectorsFaulty uint64 `protobuf:"varint,11,opt,name=sectors_faulty,json=sectorsFaulty,proto3" json:"sectors_faulty,omitempty"` Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*MinerInfo) Descriptor
deprecated
added in
v2.1.0
func (*MinerInfo) GetAddress ¶ added in v2.1.0
func (*MinerInfo) GetAskPrice ¶ added in v2.1.0
func (*MinerInfo) GetAskVerifiedPrice ¶ added in v2.1.0
func (*MinerInfo) GetLocation ¶ added in v2.2.0
func (*MinerInfo) GetMaxPieceSize ¶ added in v2.1.0
func (*MinerInfo) GetMinPieceSize ¶ added in v2.1.0
func (*MinerInfo) GetRelativePower ¶ added in v2.1.0
func (*MinerInfo) GetSectorSize ¶ added in v2.1.0
func (*MinerInfo) GetSectorsActive ¶ added in v2.2.0
func (*MinerInfo) GetSectorsFaulty ¶ added in v2.2.0
func (*MinerInfo) GetSectorsLive ¶ added in v2.2.0
func (*MinerInfo) ProtoMessage ¶ added in v2.1.0
func (*MinerInfo) ProtoMessage()
func (*MinerInfo) ProtoReflect ¶ added in v2.1.0
func (x *MinerInfo) ProtoReflect() protoreflect.Message
type NewAddressRequest ¶
type NewAddressRequest struct { AddressType string `protobuf:"bytes,1,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"` // contains filtered or unexported fields }
Wallet
func (*NewAddressRequest) Descriptor
deprecated
func (*NewAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.
func (*NewAddressRequest) GetAddressType ¶
func (x *NewAddressRequest) GetAddressType() string
func (*NewAddressRequest) ProtoMessage ¶
func (*NewAddressRequest) ProtoMessage()
func (*NewAddressRequest) ProtoReflect ¶
func (x *NewAddressRequest) ProtoReflect() protoreflect.Message
func (*NewAddressRequest) Reset ¶
func (x *NewAddressRequest) Reset()
func (*NewAddressRequest) String ¶
func (x *NewAddressRequest) String() string
type NewAddressResponse ¶
type NewAddressResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*NewAddressResponse) Descriptor
deprecated
func (*NewAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.
func (*NewAddressResponse) GetAddress ¶
func (x *NewAddressResponse) GetAddress() string
func (*NewAddressResponse) ProtoMessage ¶
func (*NewAddressResponse) ProtoMessage()
func (*NewAddressResponse) ProtoReflect ¶
func (x *NewAddressResponse) ProtoReflect() protoreflect.Message
func (*NewAddressResponse) Reset ¶
func (x *NewAddressResponse) Reset()
func (*NewAddressResponse) String ¶
func (x *NewAddressResponse) String() string
type PinnedCidsRequest ¶
type PinnedCidsRequest struct {
// contains filtered or unexported fields
}
func (*PinnedCidsRequest) Descriptor
deprecated
func (*PinnedCidsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PinnedCidsRequest.ProtoReflect.Descriptor instead.
func (*PinnedCidsRequest) ProtoMessage ¶
func (*PinnedCidsRequest) ProtoMessage()
func (*PinnedCidsRequest) ProtoReflect ¶
func (x *PinnedCidsRequest) ProtoReflect() protoreflect.Message
func (*PinnedCidsRequest) Reset ¶
func (x *PinnedCidsRequest) Reset()
func (*PinnedCidsRequest) String ¶
func (x *PinnedCidsRequest) String() string
type PinnedCidsResponse ¶
type PinnedCidsResponse struct { Cids []*HSPinnedCid `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"` // contains filtered or unexported fields }
func (*PinnedCidsResponse) Descriptor
deprecated
func (*PinnedCidsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PinnedCidsResponse.ProtoReflect.Descriptor instead.
func (*PinnedCidsResponse) GetCids ¶
func (x *PinnedCidsResponse) GetCids() []*HSPinnedCid
func (*PinnedCidsResponse) ProtoMessage ¶
func (*PinnedCidsResponse) ProtoMessage()
func (*PinnedCidsResponse) ProtoReflect ¶
func (x *PinnedCidsResponse) ProtoReflect() protoreflect.Message
func (*PinnedCidsResponse) Reset ¶
func (x *PinnedCidsResponse) Reset()
func (*PinnedCidsResponse) String ¶
func (x *PinnedCidsResponse) String() string
type RegenerateAuthRequest ¶ added in v2.6.0
type RegenerateAuthRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RegenerateAuthRequest) Descriptor
deprecated
added in
v2.6.0
func (*RegenerateAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateAuthRequest.ProtoReflect.Descriptor instead.
func (*RegenerateAuthRequest) GetToken ¶ added in v2.6.0
func (x *RegenerateAuthRequest) GetToken() string
func (*RegenerateAuthRequest) ProtoMessage ¶ added in v2.6.0
func (*RegenerateAuthRequest) ProtoMessage()
func (*RegenerateAuthRequest) ProtoReflect ¶ added in v2.6.0
func (x *RegenerateAuthRequest) ProtoReflect() protoreflect.Message
func (*RegenerateAuthRequest) Reset ¶ added in v2.6.0
func (x *RegenerateAuthRequest) Reset()
func (*RegenerateAuthRequest) String ¶ added in v2.6.0
func (x *RegenerateAuthRequest) String() string
type RegenerateAuthResponse ¶ added in v2.6.0
type RegenerateAuthResponse struct { NewToken string `protobuf:"bytes,1,opt,name=new_token,json=newToken,proto3" json:"new_token,omitempty"` // contains filtered or unexported fields }
func (*RegenerateAuthResponse) Descriptor
deprecated
added in
v2.6.0
func (*RegenerateAuthResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegenerateAuthResponse.ProtoReflect.Descriptor instead.
func (*RegenerateAuthResponse) GetNewToken ¶ added in v2.6.0
func (x *RegenerateAuthResponse) GetNewToken() string
func (*RegenerateAuthResponse) ProtoMessage ¶ added in v2.6.0
func (*RegenerateAuthResponse) ProtoMessage()
func (*RegenerateAuthResponse) ProtoReflect ¶ added in v2.6.0
func (x *RegenerateAuthResponse) ProtoReflect() protoreflect.Message
func (*RegenerateAuthResponse) Reset ¶ added in v2.6.0
func (x *RegenerateAuthResponse) Reset()
func (*RegenerateAuthResponse) String ¶ added in v2.6.0
func (x *RegenerateAuthResponse) String() string
type SendFilRequest ¶
type SendFilRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*SendFilRequest) Descriptor
deprecated
func (*SendFilRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendFilRequest.ProtoReflect.Descriptor instead.
func (*SendFilRequest) GetAmount ¶
func (x *SendFilRequest) GetAmount() string
func (*SendFilRequest) GetFrom ¶
func (x *SendFilRequest) GetFrom() string
func (*SendFilRequest) GetTo ¶
func (x *SendFilRequest) GetTo() string
func (*SendFilRequest) ProtoMessage ¶
func (*SendFilRequest) ProtoMessage()
func (*SendFilRequest) ProtoReflect ¶
func (x *SendFilRequest) ProtoReflect() protoreflect.Message
func (*SendFilRequest) Reset ¶
func (x *SendFilRequest) Reset()
func (*SendFilRequest) String ¶
func (x *SendFilRequest) String() string
type SendFilResponse ¶
type SendFilResponse struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*SendFilResponse) Descriptor
deprecated
func (*SendFilResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendFilResponse.ProtoReflect.Descriptor instead.
func (*SendFilResponse) GetCid ¶ added in v2.1.0
func (x *SendFilResponse) GetCid() string
func (*SendFilResponse) ProtoMessage ¶
func (*SendFilResponse) ProtoMessage()
func (*SendFilResponse) ProtoReflect ¶
func (x *SendFilResponse) ProtoReflect() protoreflect.Message
func (*SendFilResponse) Reset ¶
func (x *SendFilResponse) Reset()
func (*SendFilResponse) String ¶
func (x *SendFilResponse) String() string
type StorageInfoRequest ¶
type StorageInfoRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*StorageInfoRequest) Descriptor
deprecated
func (*StorageInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageInfoRequest.ProtoReflect.Descriptor instead.
func (*StorageInfoRequest) GetCid ¶
func (x *StorageInfoRequest) GetCid() string
func (*StorageInfoRequest) GetUserId ¶
func (x *StorageInfoRequest) GetUserId() string
func (*StorageInfoRequest) ProtoMessage ¶
func (*StorageInfoRequest) ProtoMessage()
func (*StorageInfoRequest) ProtoReflect ¶
func (x *StorageInfoRequest) ProtoReflect() protoreflect.Message
func (*StorageInfoRequest) Reset ¶
func (x *StorageInfoRequest) Reset()
func (*StorageInfoRequest) String ¶
func (x *StorageInfoRequest) String() string
type StorageInfoResponse ¶
type StorageInfoResponse struct { StorageInfo *v1.StorageInfo `protobuf:"bytes,1,opt,name=storage_info,json=storageInfo,proto3" json:"storage_info,omitempty"` // contains filtered or unexported fields }
func (*StorageInfoResponse) Descriptor
deprecated
func (*StorageInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageInfoResponse.ProtoReflect.Descriptor instead.
func (*StorageInfoResponse) GetStorageInfo ¶
func (x *StorageInfoResponse) GetStorageInfo() *v1.StorageInfo
func (*StorageInfoResponse) ProtoMessage ¶
func (*StorageInfoResponse) ProtoMessage()
func (*StorageInfoResponse) ProtoReflect ¶
func (x *StorageInfoResponse) ProtoReflect() protoreflect.Message
func (*StorageInfoResponse) Reset ¶
func (x *StorageInfoResponse) Reset()
func (*StorageInfoResponse) String ¶
func (x *StorageInfoResponse) String() string
type StorageJobsSummaryRequest ¶
type StorageJobsSummaryRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*StorageJobsSummaryRequest) Descriptor
deprecated
func (*StorageJobsSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use StorageJobsSummaryRequest.ProtoReflect.Descriptor instead.
func (*StorageJobsSummaryRequest) GetCid ¶
func (x *StorageJobsSummaryRequest) GetCid() string
func (*StorageJobsSummaryRequest) GetUserId ¶
func (x *StorageJobsSummaryRequest) GetUserId() string
func (*StorageJobsSummaryRequest) ProtoMessage ¶
func (*StorageJobsSummaryRequest) ProtoMessage()
func (*StorageJobsSummaryRequest) ProtoReflect ¶
func (x *StorageJobsSummaryRequest) ProtoReflect() protoreflect.Message
func (*StorageJobsSummaryRequest) Reset ¶
func (x *StorageJobsSummaryRequest) Reset()
func (*StorageJobsSummaryRequest) String ¶
func (x *StorageJobsSummaryRequest) String() string
type StorageJobsSummaryResponse ¶
type StorageJobsSummaryResponse struct { QueuedStorageJobs []string `protobuf:"bytes,1,rep,name=queued_storage_jobs,json=queuedStorageJobs,proto3" json:"queued_storage_jobs,omitempty"` ExecutingStorageJobs []string `protobuf:"bytes,2,rep,name=executing_storage_jobs,json=executingStorageJobs,proto3" json:"executing_storage_jobs,omitempty"` FinalStorageJobs []string `protobuf:"bytes,3,rep,name=final_storage_jobs,json=finalStorageJobs,proto3" json:"final_storage_jobs,omitempty"` // contains filtered or unexported fields }
func (*StorageJobsSummaryResponse) Descriptor
deprecated
func (*StorageJobsSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use StorageJobsSummaryResponse.ProtoReflect.Descriptor instead.
func (*StorageJobsSummaryResponse) GetExecutingStorageJobs ¶
func (x *StorageJobsSummaryResponse) GetExecutingStorageJobs() []string
func (*StorageJobsSummaryResponse) GetFinalStorageJobs ¶
func (x *StorageJobsSummaryResponse) GetFinalStorageJobs() []string
func (*StorageJobsSummaryResponse) GetQueuedStorageJobs ¶
func (x *StorageJobsSummaryResponse) GetQueuedStorageJobs() []string
func (*StorageJobsSummaryResponse) ProtoMessage ¶
func (*StorageJobsSummaryResponse) ProtoMessage()
func (*StorageJobsSummaryResponse) ProtoReflect ¶
func (x *StorageJobsSummaryResponse) ProtoReflect() protoreflect.Message
func (*StorageJobsSummaryResponse) Reset ¶
func (x *StorageJobsSummaryResponse) Reset()
func (*StorageJobsSummaryResponse) String ¶
func (x *StorageJobsSummaryResponse) String() string
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) Addresses ¶
func (UnimplementedAdminServiceServer) Addresses(context.Context, *AddressesRequest) (*AddressesResponse, error)
func (UnimplementedAdminServiceServer) CreateUser ¶
func (UnimplementedAdminServiceServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedAdminServiceServer) GCStaged ¶
func (UnimplementedAdminServiceServer) GCStaged(context.Context, *GCStagedRequest) (*GCStagedResponse, error)
func (UnimplementedAdminServiceServer) GetMinerInfo ¶ added in v2.1.0
func (UnimplementedAdminServiceServer) GetMinerInfo(context.Context, *GetMinerInfoRequest) (*GetMinerInfoResponse, error)
func (UnimplementedAdminServiceServer) GetMiners ¶ added in v2.1.0
func (UnimplementedAdminServiceServer) GetMiners(context.Context, *GetMinersRequest) (*GetMinersResponse, error)
func (UnimplementedAdminServiceServer) GetUpdatedRetrievalRecordsSince ¶ added in v2.1.0
func (UnimplementedAdminServiceServer) GetUpdatedRetrievalRecordsSince(context.Context, *GetUpdatedRetrievalRecordsSinceRequest) (*GetUpdatedRetrievalRecordsSinceResponse, error)
func (UnimplementedAdminServiceServer) GetUpdatedStorageDealRecordsSince ¶ added in v2.1.0
func (UnimplementedAdminServiceServer) GetUpdatedStorageDealRecordsSince(context.Context, *GetUpdatedStorageDealRecordsSinceRequest) (*GetUpdatedStorageDealRecordsSinceResponse, error)
func (UnimplementedAdminServiceServer) ListStorageInfo ¶
func (UnimplementedAdminServiceServer) ListStorageInfo(context.Context, *ListStorageInfoRequest) (*ListStorageInfoResponse, error)
func (UnimplementedAdminServiceServer) ListStorageJobs ¶
func (UnimplementedAdminServiceServer) ListStorageJobs(context.Context, *ListStorageJobsRequest) (*ListStorageJobsResponse, error)
func (UnimplementedAdminServiceServer) NewAddress ¶
func (UnimplementedAdminServiceServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error)
func (UnimplementedAdminServiceServer) PinnedCids ¶
func (UnimplementedAdminServiceServer) PinnedCids(context.Context, *PinnedCidsRequest) (*PinnedCidsResponse, error)
func (UnimplementedAdminServiceServer) RegenerateAuth ¶ added in v2.6.0
func (UnimplementedAdminServiceServer) RegenerateAuth(context.Context, *RegenerateAuthRequest) (*RegenerateAuthResponse, error)
func (UnimplementedAdminServiceServer) SendFil ¶
func (UnimplementedAdminServiceServer) SendFil(context.Context, *SendFilRequest) (*SendFilResponse, error)
func (UnimplementedAdminServiceServer) StorageInfo ¶
func (UnimplementedAdminServiceServer) StorageInfo(context.Context, *StorageInfoRequest) (*StorageInfoResponse, error)
func (UnimplementedAdminServiceServer) StorageJobsSummary ¶
func (UnimplementedAdminServiceServer) StorageJobsSummary(context.Context, *StorageJobsSummaryRequest) (*StorageJobsSummaryResponse, error)
func (UnimplementedAdminServiceServer) Users ¶
func (UnimplementedAdminServiceServer) Users(context.Context, *UsersRequest) (*UsersResponse, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UsersRequest ¶
type UsersRequest struct {
// contains filtered or unexported fields
}
func (*UsersRequest) Descriptor
deprecated
func (*UsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use UsersRequest.ProtoReflect.Descriptor instead.
func (*UsersRequest) ProtoMessage ¶
func (*UsersRequest) ProtoMessage()
func (*UsersRequest) ProtoReflect ¶
func (x *UsersRequest) ProtoReflect() protoreflect.Message
func (*UsersRequest) Reset ¶
func (x *UsersRequest) Reset()
func (*UsersRequest) String ¶
func (x *UsersRequest) String() string
type UsersResponse ¶
type UsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*UsersResponse) Descriptor
deprecated
func (*UsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use UsersResponse.ProtoReflect.Descriptor instead.
func (*UsersResponse) GetUsers ¶
func (x *UsersResponse) GetUsers() []*User
func (*UsersResponse) ProtoMessage ¶
func (*UsersResponse) ProtoMessage()
func (*UsersResponse) ProtoReflect ¶
func (x *UsersResponse) ProtoReflect() protoreflect.Message
func (*UsersResponse) Reset ¶
func (x *UsersResponse) Reset()
func (*UsersResponse) String ¶
func (x *UsersResponse) String() string