Documentation ¶
Index ¶
- Constants
- func GetAllDeployments(ctx sdk.Context, k Keeper) (deployments []*types.Deployment)
- func HandlePayload(payload *types.Payload) (*types.Dataset, error)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Content(goCtx context.Context, req *types.QueryContentRequest) (*types.QueryContentResponse, error)
- func (k Keeper) GetAllMeta(ctx sdk.Context) (metas []*types.Meta)
- func (k Keeper) GetDataset(ctx sdk.Context, addr sdk.AccAddress, name string) (dataset *types.Dataset)
- func (k Keeper) GetItemContent(ctx sdk.Context, addr sdk.AccAddress, name string, path string) (content types.ItemContent, found bool)
- func (k Keeper) GetMeta(ctx sdk.Context, addr sdk.AccAddress, name string) (meta types.Meta, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) HasDeployment(ctx sdk.Context, creator sdk.AccAddress, name string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Metas(goCtx context.Context, req *types.QueryMetasRequest) (*types.QueryMetasResponse, error)
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) Remove(ctx sdk.Context, addr sdk.AccAddress, name string)
- func (k Keeper) RemoveDataset(ctx sdk.Context, addr sdk.AccAddress, name string)
- func (k Keeper) SetDataset(ctx sdk.Context, addr sdk.AccAddress, name string, dataset *types.Dataset)
- func (k Keeper) SetDeployment(ctx sdk.Context, addr sdk.AccAddress, meta *types.Meta, dataset *types.Dataset)
- func (k Keeper) SetItem(ctx sdk.Context, addr sdk.AccAddress, name string, item *types.Item)
- func (k Keeper) SetMeta(ctx sdk.Context, addr sdk.AccAddress, meta *types.Meta)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
Constants ¶
View Source
const InvalidCreatorAddr = "invalid creator address: %s"
Variables ¶
This section is empty.
Functions ¶
func GetAllDeployments ¶
func GetAllDeployments(ctx sdk.Context, k Keeper) (deployments []*types.Deployment)
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) Content ¶
func (k Keeper) Content(goCtx context.Context, req *types.QueryContentRequest) (*types.QueryContentResponse, error)
func (Keeper) GetDataset ¶
func (Keeper) GetItemContent ¶
func (k Keeper) GetItemContent(ctx sdk.Context, addr sdk.AccAddress, name string, path string) (content types.ItemContent, found bool)
func (Keeper) HasDeployment ¶
func (Keeper) Metas ¶
func (k Keeper) Metas(goCtx context.Context, req *types.QueryMetasRequest) (*types.QueryMetasResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveDataset ¶
func (Keeper) SetDataset ¶
func (Keeper) SetDeployment ¶
Click to show internal directories.
Click to hide internal directories.