Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "cubenodedistribution-controller"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(_ any, _ any, _ any, _ any, distributionManager distribution.DistributionTaskManager, config *ControllerConfig) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{}) error
type ControllerConfig ¶
type ControllerConfig struct {
WorkerNums int `toml:"worker_nums"`
}
func DefaultControllerConfig ¶
func DefaultControllerConfig() *ControllerConfig
Click to show internal directories.
Click to hide internal directories.