Documentation ¶
Index ¶
- Constants
- func NewModule(k *Keeper) module.AppModule
- type Keeper
- func (k *Keeper) Create(request cosmostypes.Request, msg msgCreateExecution) (*execution.Execution, error)
- func (k *Keeper) Get(request cosmostypes.Request, hash hash.Hash) (*execution.Execution, error)
- func (k *Keeper) List(request cosmostypes.Request) ([]*execution.Execution, error)
- func (k *Keeper) Update(request cosmostypes.Request, msg msgUpdateExecution) (*execution.Execution, error)
- type SDK
- func (s *SDK) Create(req *api.CreateExecutionRequest) (*execution.Execution, error)
- func (s *SDK) Get(hash hash.Hash) (*execution.Execution, error)
- func (s *SDK) List() ([]*execution.Execution, error)
- func (s *SDK) Stream(ctx context.Context, req *api.StreamExecutionRequest) (chan *execution.Execution, chan error, error)
- func (s *SDK) Update(req *api.UpdateExecutionRequest) (*execution.Execution, error)
Constants ¶
View Source
const ModuleName = "execution"
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, serviceKeeper *servicesdk.Keeper, instanceKeeper *instancesdk.Keeper, runnerKeeper *runnersdk.Keeper, processKeeper *processsdk.Keeper) *Keeper
NewKeeper initialize a new keeper.
func (*Keeper) Create ¶ added in v0.18.3
func (k *Keeper) Create(request cosmostypes.Request, msg msgCreateExecution) (*execution.Execution, error)
Create creates a new execution from definition.
type SDK ¶ added in v0.17.0
type SDK struct {
// contains filtered or unexported fields
}
SDK is the execution sdk.
func New ¶
func New(client *cosmos.Client, serviceSDK *servicesdk.SDK, instanceSDK *instancesdk.SDK, runnerSDK *runnersdk.SDK) *SDK
New returns the execution sdk.
Click to show internal directories.
Click to hide internal directories.