Documentation
¶
Index ¶
- Constants
- func NewModule(k *Keeper) module.AppModule
- type Keeper
- func (k *Keeper) Create(req cosmostypes.Request, msg *msgCreateProcess) (*process.Process, error)
- func (k *Keeper) Delete(req cosmostypes.Request, msg *msgDeleteProcess) error
- func (k *Keeper) Get(req cosmostypes.Request, hash hash.Hash) (*process.Process, error)
- func (k *Keeper) List(req cosmostypes.Request) ([]*process.Process, error)
- type SDK
Constants ¶
View Source
const ModuleName = "process"
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 is the service keeper.
func NewKeeper ¶ added in v0.18.3
func NewKeeper(storeKey *cosmostypes.KVStoreKey, ownershipKeeper *ownershipsdk.Keeper, instanceKeeper *instancesdk.Keeper) *Keeper
NewKeeper returns the keeper of the service sdk.
func (*Keeper) Delete ¶ added in v0.18.3
func (k *Keeper) Delete(req cosmostypes.Request, msg *msgDeleteProcess) error
Delete deletes a process and realated ownership.
type SDK ¶ added in v0.18.0
type SDK struct {
// contains filtered or unexported fields
}
SDK is the process sdk.
func (*SDK) Delete ¶ added in v0.18.0
func (s *SDK) Delete(req *api.DeleteProcessRequest) error
Delete deletes the process by hash.
Click to show internal directories.
Click to hide internal directories.