Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is responsible for synchronizing lazy service.
func NewController ¶
func NewController(syncService func(context.Context, string) error) *Controller
NewController creates a new lazy service controller
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.