Documentation
¶
Index ¶
- type Service
- func (a *Service) Addresses(ctx context.Context, req *proto.AddressesRequest) (*proto.AddressesResponse, error)
- func (a *Service) CreateStorageProfile(ctx context.Context, req *proto.CreateStorageProfileRequest) (*proto.CreateStorageProfileResponse, error)
- func (a *Service) ExecutingStorageJobs(ctx context.Context, req *adminProto.ExecutingStorageJobsRequest) (*adminProto.ExecutingStorageJobsResponse, error)
- func (a *Service) LatestFinalStorageJobs(ctx context.Context, req *adminProto.LatestFinalStorageJobsRequest) (*adminProto.LatestFinalStorageJobsResponse, error)
- func (a *Service) LatestSuccessfulStorageJobs(ctx context.Context, req *adminProto.LatestSuccessfulStorageJobsRequest) (*adminProto.LatestSuccessfulStorageJobsResponse, error)
- func (a *Service) NewAddress(ctx context.Context, req *proto.NewAddressRequest) (*proto.NewAddressResponse, error)
- func (a *Service) QueuedStorageJobs(ctx context.Context, req *adminProto.QueuedStorageJobsRequest) (*adminProto.QueuedStorageJobsResponse, error)
- func (a *Service) SendFil(ctx context.Context, req *proto.SendFilRequest) (*proto.SendFilResponse, error)
- func (a *Service) StorageJobsSummary(ctx context.Context, req *adminProto.StorageJobsSummaryRequest) (*adminProto.StorageJobsSummaryResponse, error)
- func (a *Service) StorageProfiles(ctx context.Context, req *proto.StorageProfilesRequest) (*proto.StorageProfilesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements the Admin API.
func (*Service) Addresses ¶
func (a *Service) Addresses(ctx context.Context, req *proto.AddressesRequest) (*proto.AddressesResponse, error)
Addresses lists all addresses associated with this Powergate.
func (*Service) CreateStorageProfile ¶
func (a *Service) CreateStorageProfile(ctx context.Context, req *proto.CreateStorageProfileRequest) (*proto.CreateStorageProfileResponse, error)
CreateStorageProfile creates a new managed instance.
func (*Service) ExecutingStorageJobs ¶
func (a *Service) ExecutingStorageJobs(ctx context.Context, req *adminProto.ExecutingStorageJobsRequest) (*adminProto.ExecutingStorageJobsResponse, error)
ExecutingStorageJobs returns a list of executing storage jobs.
func (*Service) LatestFinalStorageJobs ¶
func (a *Service) LatestFinalStorageJobs(ctx context.Context, req *adminProto.LatestFinalStorageJobsRequest) (*adminProto.LatestFinalStorageJobsResponse, error)
LatestFinalStorageJobs returns a list of latest final storage jobs.
func (*Service) LatestSuccessfulStorageJobs ¶
func (a *Service) LatestSuccessfulStorageJobs(ctx context.Context, req *adminProto.LatestSuccessfulStorageJobsRequest) (*adminProto.LatestSuccessfulStorageJobsResponse, error)
LatestSuccessfulStorageJobs returns a list of latest successful storage jobs.
func (*Service) NewAddress ¶
func (a *Service) NewAddress(ctx context.Context, req *proto.NewAddressRequest) (*proto.NewAddressResponse, error)
NewAddress creates a new address.
func (*Service) QueuedStorageJobs ¶
func (a *Service) QueuedStorageJobs(ctx context.Context, req *adminProto.QueuedStorageJobsRequest) (*adminProto.QueuedStorageJobsResponse, error)
QueuedStorageJobs returns a list of queued storage jobs.
func (*Service) SendFil ¶
func (a *Service) SendFil(ctx context.Context, req *proto.SendFilRequest) (*proto.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 *adminProto.StorageJobsSummaryRequest) (*adminProto.StorageJobsSummaryResponse, error)
StorageJobsSummary returns a summary of all storage jobs.
func (*Service) StorageProfiles ¶
func (a *Service) StorageProfiles(ctx context.Context, req *proto.StorageProfilesRequest) (*proto.StorageProfilesResponse, error)
StorageProfiles lists all managed instances.