Documentation ¶
Overview ¶
This is the core implementation of the worker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
Worker is the implementation of the worker lifecycle.
func NewWorker ¶
func NewWorker(log logr.Logger, config *config.Config, factory cri.SandboxFactory, stopCh <-chan bool, shutdown func() error) (*Worker, error)
NewWorker creates a new worker given the configuration and sandbox factory.
Click to show internal directories.
Click to hide internal directories.