admin

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) 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