Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) DeleteActiveNodeAt(ctx sdk.Context, at time.Time, address hub.NodeAddress)
- func (k Keeper) DeleteNodeForPlan(ctx sdk.Context, id uint64, address hub.NodeAddress)
- func (k Keeper) DeleteNodeForProvider(ctx sdk.Context, p hub.ProvAddress, n hub.NodeAddress)
- func (k Keeper) GetNode(ctx sdk.Context, address hub.NodeAddress) (node types.Node, found bool)
- func (k Keeper) GetNodes(ctx sdk.Context) (items types.Nodes)
- func (k Keeper) GetNodesForProvider(ctx sdk.Context, address hub.ProvAddress) (items types.Nodes)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPlansForProvider(ctx sdk.Context, address hub.ProvAddress) plan.Plans
- func (k Keeper) HasNode(ctx sdk.Context, address hub.NodeAddress) bool
- func (k Keeper) HasProvider(ctx sdk.Context, address hub.ProvAddress) bool
- func (k Keeper) InactiveDuration(ctx sdk.Context) (duration time.Duration)
- func (k Keeper) IterateActiveNodes(ctx sdk.Context, end time.Time, f func(index int, item types.Node) (stop bool))
- func (k Keeper) IterateNodes(ctx sdk.Context, f func(index int, item types.Node) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetActiveNodeAt(ctx sdk.Context, at time.Time, address hub.NodeAddress)
- func (k Keeper) SetNode(ctx sdk.Context, node types.Node)
- func (k Keeper) SetNodeForProvider(ctx sdk.Context, p hub.ProvAddress, n hub.NodeAddress)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) Store(ctx sdk.Context) sdk.KVStore
- func (k *Keeper) WithPlanKeeper(keeper expected.PlanKeeper)
- 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) DeleteActiveNodeAt ¶
func (Keeper) DeleteNodeForPlan ¶
func (Keeper) DeleteNodeForProvider ¶
func (k Keeper) DeleteNodeForProvider(ctx sdk.Context, p hub.ProvAddress, n hub.NodeAddress)
func (Keeper) GetNodesForProvider ¶
func (Keeper) GetPlansForProvider ¶
func (Keeper) HasProvider ¶
func (Keeper) InactiveDuration ¶
func (Keeper) IterateActiveNodes ¶
func (Keeper) IterateNodes ¶
func (Keeper) SetActiveNodeAt ¶
func (Keeper) SetNodeForProvider ¶
func (k Keeper) SetNodeForProvider(ctx sdk.Context, p hub.ProvAddress, n hub.NodeAddress)
func (*Keeper) WithPlanKeeper ¶
func (k *Keeper) WithPlanKeeper(keeper expected.PlanKeeper)
func (*Keeper) WithProviderKeeper ¶
func (k *Keeper) WithProviderKeeper(keeper expected.ProviderKeeper)
Click to show internal directories.
Click to hide internal directories.