Documentation ¶
Index ¶
- type Backend
- func (s *Backend) Create(request cosmostypes.Request, msg *msgCreateRunner) (*runner.Runner, error)
- func (s *Backend) Delete(request cosmostypes.Request, msg *msgDeleteRunner) error
- func (s *Backend) Get(request cosmostypes.Request, hash hash.Hash) (*runner.Runner, error)
- func (s *Backend) List(request cosmostypes.Request) ([]*runner.Runner, error)
- type Filter
- type SDK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend is the runner backend.
func NewBackend ¶
func NewBackend(appFactory *cosmos.AppFactory, instanceBack *instancesdk.Backend) *Backend
NewBackend returns the backend of the runner sdk.
func (*Backend) Delete ¶
func (s *Backend) Delete(request cosmostypes.Request, msg *msgDeleteRunner) error
Delete deletes a runner.
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK is the runner sdk.
func New ¶
func New(client *cosmos.Client, serviceSDK *servicesdk.SDK, instanceSDK *instancesdk.SDK, container container.Container, engineName, port, ipfsEndpoint string) *SDK
New returns the runner sdk.
func (*SDK) Delete ¶
func (s *SDK) Delete(req *api.DeleteRunnerRequest) error
Delete deletes an existing runner.
Click to show internal directories.
Click to hide internal directories.