admin

package
v2.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	adminPb.UnimplementedAdminServiceServer
	// contains filtered or unexported fields
}

Service implements the Admin API.

func New

New creates a new AdminService.

func (*Service) Addresses

Addresses lists all addresses associated with this Powergate.

func (*Service) CreateUser

CreateUser creates a new managed instance.

func (*Service) GCStaged

GCStaged runs a unpinning garbage collection and returns the unpinned cids.

func (*Service) GetMinerInfo added in v2.1.0

GetMinerInfo return indices information for the provider miners.

func (*Service) GetMiners added in v2.1.0

GetMiners returns all miner addresses that satisfy the provided filters.

func (*Service) GetUpdatedRetrievalRecordsSince added in v2.1.0

GetUpdatedRetrievalRecordsSince returns all the retrieval records that got created or updated since a provided point in time.

func (*Service) GetUpdatedStorageDealRecordsSince added in v2.1.0

GetUpdatedStorageDealRecordsSince returns all the storage deal records that got created or updated since a provided point in time.

func (*Service) ListStorageInfo

ListStorageInfo returns a list of information about all stored cids, filtered by user ids and cids if provided.

func (*Service) ListStorageJobs

ListStorageJobs lists StorageJobs according to the provided request parameters.

func (*Service) NewAddress

NewAddress creates a new address.

func (*Service) PinnedCids

PinnedCids returns all the pinned cids in Hot-Storage.

func (*Service) RegenerateAuth added in v2.6.0

RegenerateAuth invalidates an existing token replacing it with a new one.

func (*Service) SendFil

SendFil sends FIL from an address associated with this Powergate to any other address.

func (*Service) StorageInfo

StorageInfo returns the information about a stored Cid. If no information is available, since the Cid was never stored, it returns an error with codes.NotFound.

func (*Service) StorageJobsSummary

StorageJobsSummary returns a summary of all storage jobs.

func (*Service) Users

Users lists all managed instances.

Jump to

Keyboard shortcuts

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