admin

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 14 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) 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