Documentation ¶
Index ¶
- Constants
- func NewModule(k *Keeper) module.AppModule
- type Filter
- type Keeper
- func (k *Keeper) Create(request cosmostypes.Request, msg *msgCreateRunner) (*runner.Runner, error)
- func (k *Keeper) Delete(request cosmostypes.Request, msg *msgDeleteRunner) error
- func (k *Keeper) Get(request cosmostypes.Request, hash hash.Hash) (*runner.Runner, error)
- func (k *Keeper) List(request cosmostypes.Request) ([]*runner.Runner, error)
- type SDK
Constants ¶
View Source
const ModuleName = "runner"
ModuleName is the name of this module.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Keeper ¶ added in v0.18.3
type Keeper struct {
// contains filtered or unexported fields
}
Keeper holds the logic to read and write data.
func NewKeeper ¶ added in v0.18.3
func NewKeeper(storeKey *cosmostypes.KVStoreKey, instanceKeeper *instancesdk.Keeper) *Keeper
NewKeeper initialize a new keeper.
func (*Keeper) Delete ¶ added in v0.18.3
func (k *Keeper) 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.