Documentation ¶
Index ¶
- type Service
- func (a *Service) Addresses(ctx context.Context, req *adminPb.AddressesRequest) (*adminPb.AddressesResponse, error)
- func (a *Service) CreateUser(ctx context.Context, req *adminPb.CreateUserRequest) (*adminPb.CreateUserResponse, error)
- func (a *Service) ExecutingStorageJobs(ctx context.Context, req *adminPb.ExecutingStorageJobsRequest) (*adminPb.ExecutingStorageJobsResponse, error)
- func (a *Service) LatestFinalStorageJobs(ctx context.Context, req *adminPb.LatestFinalStorageJobsRequest) (*adminPb.LatestFinalStorageJobsResponse, error)
- func (a *Service) LatestSuccessfulStorageJobs(ctx context.Context, req *adminPb.LatestSuccessfulStorageJobsRequest) (*adminPb.LatestSuccessfulStorageJobsResponse, error)
- func (a *Service) NewAddress(ctx context.Context, req *adminPb.NewAddressRequest) (*adminPb.NewAddressResponse, error)
- func (a *Service) QueuedStorageJobs(ctx context.Context, req *adminPb.QueuedStorageJobsRequest) (*adminPb.QueuedStorageJobsResponse, error)
- func (a *Service) SendFil(ctx context.Context, req *adminPb.SendFilRequest) (*adminPb.SendFilResponse, error)
- func (a *Service) StorageJobsSummary(ctx context.Context, req *adminPb.StorageJobsSummaryRequest) (*adminPb.StorageJobsSummaryResponse, error)
- func (a *Service) Users(ctx context.Context, req *adminPb.UsersRequest) (*adminPb.UsersResponse, error)
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 (*Service) Addresses ¶
func (a *Service) Addresses(ctx context.Context, req *adminPb.AddressesRequest) (*adminPb.AddressesResponse, error)
Addresses lists all addresses associated with this Powergate.
func (*Service) CreateUser ¶ added in v1.1.0
func (a *Service) CreateUser(ctx context.Context, req *adminPb.CreateUserRequest) (*adminPb.CreateUserResponse, error)
CreateUser creates a new managed instance.
func (*Service) ExecutingStorageJobs ¶
func (a *Service) ExecutingStorageJobs(ctx context.Context, req *adminPb.ExecutingStorageJobsRequest) (*adminPb.ExecutingStorageJobsResponse, error)
ExecutingStorageJobs returns a list of executing storage jobs.
func (*Service) LatestFinalStorageJobs ¶
func (a *Service) LatestFinalStorageJobs(ctx context.Context, req *adminPb.LatestFinalStorageJobsRequest) (*adminPb.LatestFinalStorageJobsResponse, error)
LatestFinalStorageJobs returns a list of latest final storage jobs.
func (*Service) LatestSuccessfulStorageJobs ¶
func (a *Service) LatestSuccessfulStorageJobs(ctx context.Context, req *adminPb.LatestSuccessfulStorageJobsRequest) (*adminPb.LatestSuccessfulStorageJobsResponse, error)
LatestSuccessfulStorageJobs returns a list of latest successful storage jobs.
func (*Service) NewAddress ¶
func (a *Service) NewAddress(ctx context.Context, req *adminPb.NewAddressRequest) (*adminPb.NewAddressResponse, error)
NewAddress creates a new address.
func (*Service) QueuedStorageJobs ¶
func (a *Service) QueuedStorageJobs(ctx context.Context, req *adminPb.QueuedStorageJobsRequest) (*adminPb.QueuedStorageJobsResponse, error)
QueuedStorageJobs returns a list of queued storage jobs.
func (*Service) SendFil ¶
func (a *Service) SendFil(ctx context.Context, req *adminPb.SendFilRequest) (*adminPb.SendFilResponse, error)
SendFil sends FIL from an address associated with this Powergate to any other address.
func (*Service) StorageJobsSummary ¶
func (a *Service) StorageJobsSummary(ctx context.Context, req *adminPb.StorageJobsSummaryRequest) (*adminPb.StorageJobsSummaryResponse, error)
StorageJobsSummary returns a summary of all storage jobs.
func (*Service) Users ¶ added in v1.1.0
func (a *Service) Users(ctx context.Context, req *adminPb.UsersRequest) (*adminPb.UsersResponse, error)
Users lists all managed instances.
Click to show internal directories.
Click to hide internal directories.