Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Manifold ¶
func Manifold(config ManifoldConfig) dependency.Manifold
Manifold returns a Manifold that encapsulates the statushistorypruner worker.
Types ¶
type Config ¶
type Config struct { Facade Facade MaxHistoryTime time.Duration MaxHistoryMB uint PruneInterval time.Duration // TODO(fwereade): 2016-03-17 lp:1558657 NewTimer jworker.NewTimerFunc }
Config holds all necessary attributes to start a pruner worker.
type ManifoldConfig ¶
type ManifoldConfig struct { APICallerName string MaxHistoryTime time.Duration MaxHistoryMB uint PruneInterval time.Duration // TODO(fwereade): 2016-03-17 lp:1558657 NewTimer jworker.NewTimerFunc }
ManifoldConfig describes the resources and configuration on which the statushistorypruner worker depends.
Click to show internal directories.
Click to hide internal directories.