Documentation ¶
Index ¶
- func NewMsgServiceServer(keeper Keeper) types.MsgServiceServer
- func NewQueryServiceServer(keeper Keeper) types.QueryServiceServer
- type Keeper
- func (k *Keeper) DeleteActivePlan(ctx sdk.Context, id uint64)
- func (k *Keeper) DeleteActivePlanForProvider(ctx sdk.Context, address hubtypes.ProvAddress, id uint64)
- func (k *Keeper) DeleteInactivePlan(ctx sdk.Context, id uint64)
- func (k *Keeper) DeleteInactivePlanForProvider(ctx sdk.Context, address hubtypes.ProvAddress, id uint64)
- func (k *Keeper) DeleteNodeForPlan(ctx sdk.Context, id uint64, address hubtypes.NodeAddress)
- func (k *Keeper) GetActivePlans(ctx sdk.Context, skip, limit int64) (items types.Plans)
- func (k *Keeper) GetActivePlansForProvider(ctx sdk.Context, address hubtypes.ProvAddress, skip, limit int64) (items types.Plans)
- func (k *Keeper) GetCount(ctx sdk.Context) uint64
- func (k *Keeper) GetInactivePlans(ctx sdk.Context, skip, limit int64) (items types.Plans)
- func (k *Keeper) GetInactivePlansForProvider(ctx sdk.Context, address hubtypes.ProvAddress, skip, limit int64) (items types.Plans)
- func (k *Keeper) GetNode(ctx sdk.Context, address hubtypes.NodeAddress) (nodetypes.Node, bool)
- func (k *Keeper) GetNodesForPlan(ctx sdk.Context, id uint64, skip, limit int64) (items nodetypes.Nodes)
- func (k *Keeper) GetPlan(ctx sdk.Context, id uint64) (plan types.Plan, found bool)
- func (k *Keeper) GetPlans(ctx sdk.Context, skip, limit int64) (items types.Plans)
- func (k *Keeper) GetPlansForProvider(ctx sdk.Context, address hubtypes.ProvAddress, skip, limit int64) (items types.Plans)
- func (k *Keeper) HasNodeForPlan(ctx sdk.Context, id uint64, address hubtypes.NodeAddress) bool
- func (k *Keeper) HasProvider(ctx sdk.Context, address hubtypes.ProvAddress) bool
- func (k *Keeper) Logger(ctx sdk.Context) log.Logger
- func (k *Keeper) SetActivePlan(ctx sdk.Context, id uint64)
- func (k *Keeper) SetActivePlanForProvider(ctx sdk.Context, address hubtypes.ProvAddress, id uint64)
- func (k *Keeper) SetCount(ctx sdk.Context, count uint64)
- func (k *Keeper) SetInactivePlan(ctx sdk.Context, id uint64)
- func (k *Keeper) SetInactivePlanForProvider(ctx sdk.Context, address hubtypes.ProvAddress, id uint64)
- func (k *Keeper) SetNodeForPlan(ctx sdk.Context, id uint64, address hubtypes.NodeAddress)
- func (k *Keeper) SetPlan(ctx sdk.Context, plan types.Plan)
- func (k *Keeper) Store(ctx sdk.Context) sdk.KVStore
- func (k *Keeper) WithNodeKeeper(keeper expected.NodeKeeper)
- func (k *Keeper) WithProviderKeeper(keeper expected.ProviderKeeper)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServiceServer ¶ added in v0.6.0
func NewMsgServiceServer(keeper Keeper) types.MsgServiceServer
func NewQueryServiceServer ¶ added in v0.6.0
func NewQueryServiceServer(keeper Keeper) types.QueryServiceServer
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (*Keeper) DeleteActivePlan ¶ added in v0.4.0
func (*Keeper) DeleteActivePlanForProvider ¶ added in v0.4.0
func (*Keeper) DeleteInactivePlan ¶ added in v0.4.0
func (*Keeper) DeleteInactivePlanForProvider ¶ added in v0.4.0
func (*Keeper) DeleteNodeForPlan ¶
func (*Keeper) GetActivePlans ¶ added in v0.4.0
func (*Keeper) GetActivePlansForProvider ¶ added in v0.4.0
func (*Keeper) GetInactivePlans ¶ added in v0.4.0
func (*Keeper) GetInactivePlansForProvider ¶ added in v0.4.0
func (*Keeper) GetNodesForPlan ¶
func (*Keeper) GetPlansForProvider ¶
func (*Keeper) HasNodeForPlan ¶
func (*Keeper) HasProvider ¶
func (*Keeper) SetActivePlan ¶ added in v0.4.0
func (*Keeper) SetActivePlanForProvider ¶ added in v0.4.0
func (*Keeper) SetInactivePlan ¶ added in v0.4.0
func (*Keeper) SetInactivePlanForProvider ¶ added in v0.4.0
func (*Keeper) SetNodeForPlan ¶
func (*Keeper) WithNodeKeeper ¶
func (k *Keeper) WithNodeKeeper(keeper expected.NodeKeeper)
func (*Keeper) WithProviderKeeper ¶
func (k *Keeper) WithProviderKeeper(keeper expected.ProviderKeeper)
Click to show internal directories.
Click to hide internal directories.