Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) DeleteActivePlan(ctx sdk.Context, id uint64)
- func (k Keeper) DeleteActivePlanForProvider(ctx sdk.Context, address hub.ProvAddress, id uint64)
- func (k Keeper) DeleteInactivePlan(ctx sdk.Context, id uint64)
- func (k Keeper) DeleteInactivePlanForProvider(ctx sdk.Context, address hub.ProvAddress, id uint64)
- func (k Keeper) DeleteNodeForPlan(ctx sdk.Context, id uint64, address hub.NodeAddress)
- func (k Keeper) GetActivePlans(ctx sdk.Context, skip, limit int) (items types.Plans)
- func (k Keeper) GetActivePlansForProvider(ctx sdk.Context, address hub.ProvAddress, skip, limit int) (items types.Plans)
- func (k Keeper) GetCount(ctx sdk.Context) (count uint64)
- func (k Keeper) GetInactivePlans(ctx sdk.Context, skip, limit int) (items types.Plans)
- func (k Keeper) GetInactivePlansForProvider(ctx sdk.Context, address hub.ProvAddress, skip, limit int) (items types.Plans)
- func (k Keeper) GetNode(ctx sdk.Context, address hub.NodeAddress) (node.Node, bool)
- func (k Keeper) GetNodesForPlan(ctx sdk.Context, id uint64, skip, limit int) (items node.Nodes)
- func (k Keeper) GetPlan(ctx sdk.Context, id uint64) (plan types.Plan, found bool)
- func (k Keeper) GetPlans(ctx sdk.Context, skip, limit int) (items types.Plans)
- func (k Keeper) GetPlansForProvider(ctx sdk.Context, address hub.ProvAddress, skip, limit int) (items types.Plans)
- func (k Keeper) HasNodeForPlan(ctx sdk.Context, id uint64, address hub.NodeAddress) bool
- func (k Keeper) HasProvider(ctx sdk.Context, address hub.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 hub.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 hub.ProvAddress, id uint64)
- func (k Keeper) SetNodeForPlan(ctx sdk.Context, id uint64, address hub.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 ¶
This section is empty.
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.