Documentation ¶
Index ¶
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) Create(ctx sdk.Context, msg *types.MsgCreate) (*runner.Runner, error)
- func (k Keeper) Delete(ctx sdk.Context, msg *types.MsgDelete) error
- func (k Keeper) Exists(ctx sdk.Context, hash hash.Hash) (bool, error)
- func (k Keeper) Get(ctx sdk.Context, hash hash.Hash) (*runner.Runner, error)
- func (k *Keeper) Import(ctx sdk.Context, runners []*runner.Runner) error
- func (k Keeper) List(ctx sdk.Context) ([]*runner.Runner, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
NewQuerier creates a new querier for instance clients.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper of the runner store
func NewKeeper ¶
func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, instanceKeeper types.InstanceKeeper, ownershipKeeper types.OwnershipKeeper) Keeper
NewKeeper creates a runner keeper
func (Keeper) Exists ¶ added in v0.21.0
Exists returns true if a specific set of data exists in the database, false otherwise
Click to show internal directories.
Click to hide internal directories.