Documentation ¶
Index ¶
- func NewQuerier(k Keeper) sdk.Querier
- type Keeper
- func (k Keeper) FetchOrCreate(ctx sdk.Context, serviceHash hash.Hash, envHash hash.Hash) (*instance.Instance, error)
- func (k Keeper) Get(ctx sdk.Context, instanceHash hash.Hash) (*instance.Instance, error)
- func (k *Keeper) Import(ctx sdk.Context, instances []*instance.Instance) error
- func (k Keeper) List(ctx sdk.Context) ([]*instance.Instance, 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 instance store
func (Keeper) FetchOrCreate ¶
func (k Keeper) FetchOrCreate(ctx sdk.Context, serviceHash hash.Hash, envHash hash.Hash) (*instance.Instance, error)
FetchOrCreate creates a new instance if needed.
Click to show internal directories.
Click to hide internal directories.