Documentation
¶
Index ¶
- type AkashClient
- func (ak *AkashClient) CreateDeployment(manifestLocation string) (Seqs, error)
- func (ak *AkashClient) CreateLease(seqs Seqs, provider string) (string, error)
- func (ak *AkashClient) DeleteDeployment(dseq string, owner string) error
- func (ak *AkashClient) GetBids(seqs Seqs, timeout time.Duration) (types.Bids, error)
- func (ak *AkashClient) GetContext() context.Context
- func (ak *AkashClient) GetDeployment(dseq string, owner string) (types.Deployment, error)
- func (ak *AkashClient) GetDeployments(owner string) ([]types.DeploymentId, error)
- func (ak *AkashClient) GetPath() string
- func (ak *AkashClient) SendManifest(dseq string, provider string, manifestLocation string) (string, error)
- func (ak *AkashClient) SetGlobalTransactionNote(note string)
- func (ak *AkashClient) UpdateDeployment(dseq string, manifestLocation string) error
- type AkashProviderConfiguration
- type Seqs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkashClient ¶
type AkashClient struct { Config AkashProviderConfiguration // contains filtered or unexported fields }
func New ¶
func New(ctx context.Context, configuration AkashProviderConfiguration) *AkashClient
func (*AkashClient) CreateDeployment ¶
func (ak *AkashClient) CreateDeployment(manifestLocation string) (Seqs, error)
func (*AkashClient) CreateLease ¶
func (ak *AkashClient) CreateLease(seqs Seqs, provider string) (string, error)
func (*AkashClient) DeleteDeployment ¶
func (ak *AkashClient) DeleteDeployment(dseq string, owner string) error
func (*AkashClient) GetContext ¶
func (ak *AkashClient) GetContext() context.Context
func (*AkashClient) GetDeployment ¶
func (ak *AkashClient) GetDeployment(dseq string, owner string) (types.Deployment, error)
func (*AkashClient) GetDeployments ¶
func (ak *AkashClient) GetDeployments(owner string) ([]types.DeploymentId, error)
func (*AkashClient) GetPath ¶
func (ak *AkashClient) GetPath() string
func (*AkashClient) SendManifest ¶
func (*AkashClient) SetGlobalTransactionNote ¶
func (ak *AkashClient) SetGlobalTransactionNote(note string)
func (*AkashClient) UpdateDeployment ¶
func (ak *AkashClient) UpdateDeployment(dseq string, manifestLocation string) error
Click to show internal directories.
Click to hide internal directories.