keeper

package
v0.6.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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 sdk.StoreKey,

	dclauthKeeper types.DclauthKeeper, modelKeeper types.ModelKeeper,
) *Keeper

func (Keeper) AppendTestingResult

func (k Keeper) AppendTestingResult(ctx sdk.Context, testingResult types.TestingResult)

Add a testing result to the list of results.

func (Keeper) GetAllTestingResults

func (k Keeper) GetAllTestingResults(ctx sdk.Context) (list []types.TestingResults)

GetAllTestingResults returns all testingResults.

func (Keeper) GetTestingResults

func (k Keeper) GetTestingResults(
	ctx sdk.Context,
	vid int32,
	pid int32,
	softwareVersion uint32,

) (val types.TestingResults, found bool)

GetTestingResults returns a testingResults from its index.

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) RemoveTestingResults

func (k Keeper) RemoveTestingResults(
	ctx sdk.Context,
	vid int32,
	pid int32,
	softwareVersion uint32,

)

RemoveTestingResults removes a testingResults from the store.

func (Keeper) SetTestingResults

func (k Keeper) SetTestingResults(ctx sdk.Context, testingResults types.TestingResults)

SetTestingResults set a specific testingResults in the store from its index.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL