keeper

package
v0.0.0-...-305c64e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 11 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,

) *Keeper

func (Keeper) GetAggregator

func (k Keeper) GetAggregator(ctx sdk.Context) (val types.Aggregator, found bool)

GetAggregator returns aggregator

func (Keeper) GetAllKpi

func (k Keeper) GetAllKpi(ctx sdk.Context) (list []types.Kpi)

GetAllKpi returns all kpi

func (Keeper) GetAllKpiMeasure

func (k Keeper) GetAllKpiMeasure(ctx sdk.Context) (list []types.KpiMeasure)

GetAllKpiMeasure returns all kpiMeasure

func (Keeper) GetAllLem

func (k Keeper) GetAllLem(ctx sdk.Context) (list []types.Lem)

GetAllLem returns all lem

func (Keeper) GetAllLemMeasure

func (k Keeper) GetAllLemMeasure(ctx sdk.Context) (list []types.LemMeasure)

GetAllLemMeasure returns all lemMeasure

func (Keeper) GetAllPlayer

func (k Keeper) GetAllPlayer(ctx sdk.Context) (list []types.Player)

GetAllPlayer returns all player

func (Keeper) GetAllSla

func (k Keeper) GetAllSla(ctx sdk.Context) (list []types.Sla)

GetAllSla returns all sla

func (Keeper) GetDso

func (k Keeper) GetDso(ctx sdk.Context) (val types.Dso, found bool)

GetDso returns dso

func (Keeper) GetKpi

func (k Keeper) GetKpi(
	ctx sdk.Context,
	index string,

) (val types.Kpi, found bool)

GetKpi returns a kpi from its index

func (Keeper) GetKpiMeasure

func (k Keeper) GetKpiMeasure(
	ctx sdk.Context,
	index string,

) (val types.KpiMeasure, found bool)

GetKpiMeasure returns a kpiMeasure from its index

func (Keeper) GetLem

func (k Keeper) GetLem(
	ctx sdk.Context,
	index string,

) (val types.Lem, found bool)

GetLem returns a lem from its index

func (Keeper) GetLemMeasure

func (k Keeper) GetLemMeasure(
	ctx sdk.Context,
	index string,

) (val types.LemMeasure, found bool)

GetLemMeasure returns a lemMeasure from its index

func (Keeper) GetPlayer

func (k Keeper) GetPlayer(
	ctx sdk.Context,
	index string,

) (val types.Player, found bool)

GetPlayer returns a player from its index

func (Keeper) GetSla

func (k Keeper) GetSla(
	ctx sdk.Context,
	index string,

) (val types.Sla, found bool)

GetSla returns a sla from its index

func (Keeper) KpiAll

func (Keeper) LemAll

func (Keeper) Logger

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

func (Keeper) RemoveAggregator

func (k Keeper) RemoveAggregator(ctx sdk.Context)

RemoveAggregator removes aggregator from the store

func (Keeper) RemoveDso

func (k Keeper) RemoveDso(ctx sdk.Context)

RemoveDso removes dso from the store

func (Keeper) RemoveKpi

func (k Keeper) RemoveKpi(
	ctx sdk.Context,
	index string,

)

RemoveKpi removes a kpi from the store

func (Keeper) RemoveKpiMeasure

func (k Keeper) RemoveKpiMeasure(
	ctx sdk.Context,
	index string,

)

RemoveKpiMeasure removes a kpiMeasure from the store

func (Keeper) RemoveLem

func (k Keeper) RemoveLem(
	ctx sdk.Context,
	index string,

)

RemoveLem removes a lem from the store

func (Keeper) RemoveLemMeasure

func (k Keeper) RemoveLemMeasure(
	ctx sdk.Context,
	index string,

)

RemoveLemMeasure removes a lemMeasure from the store

func (Keeper) RemovePlayer

func (k Keeper) RemovePlayer(
	ctx sdk.Context,
	index string,

)

RemovePlayer removes a player from the store

func (Keeper) RemoveSla

func (k Keeper) RemoveSla(
	ctx sdk.Context,
	index string,

)

RemoveSla removes a sla from the store

func (Keeper) SetAggregator

func (k Keeper) SetAggregator(ctx sdk.Context, aggregator types.Aggregator)

SetAggregator set aggregator in the store

func (Keeper) SetDso

func (k Keeper) SetDso(ctx sdk.Context, dso types.Dso)

SetDso set dso in the store

func (Keeper) SetKpi

func (k Keeper) SetKpi(ctx sdk.Context, kpi types.Kpi)

SetKpi set a specific kpi in the store from its index

func (Keeper) SetKpiMeasure

func (k Keeper) SetKpiMeasure(ctx sdk.Context, kpiMeasure types.KpiMeasure)

SetKpiMeasure set a specific kpiMeasure in the store from its index

func (Keeper) SetLem

func (k Keeper) SetLem(ctx sdk.Context, lem types.Lem)

SetLem set a specific lem in the store from its index

func (Keeper) SetLemMeasure

func (k Keeper) SetLemMeasure(ctx sdk.Context, lemMeasure types.LemMeasure)

SetLemMeasure set a specific lemMeasure in the store from its index

func (Keeper) SetPlayer

func (k Keeper) SetPlayer(ctx sdk.Context, player types.Player)

SetPlayer set a specific player in the store from its index

func (Keeper) SetSla

func (k Keeper) SetSla(ctx sdk.Context, sla types.Sla)

SetSla set a specific sla in the store from its index

func (Keeper) SlaAll

Jump to

Keyboard shortcuts

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