Documentation ¶
Index ¶
- type Operator
- func (o *Operator) GetLogger() logr.Logger
- func (o *Operator) GetManager() manager.Manager
- func (o *Operator) GetOperatorChannel() chan event.Event
- func (o *Operator) ProgressReport() int
- func (o *Operator) SetProgressReporters(reporters ...config.ProgressReporter)
- func (o *Operator) Start(ctx context.Context) error
- type OperatorConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func NewOperator ¶
func NewOperator(cfg OperatorConfig) *Operator
NewOperator creates a new Operator
func (*Operator) GetManager ¶
GetManager returns the controller manager associated with this operator
func (*Operator) GetOperatorChannel ¶
GetOperatorChannel returns the channel on which the operator event dispatcher listens
func (*Operator) ProgressReport ¶ added in v0.18.0
ProgressReport returns the number of ongoing operations (rendering processes, updates, etc) plus the number of throttled rendering processes in progress.
func (*Operator) SetProgressReporters ¶ added in v0.18.0
func (o *Operator) SetProgressReporters(reporters ...config.ProgressReporter)
SetProgressReporters sets the operator subsystems that need to be queried to check the number of operations in progrses. This can be used to implement graceful shutdown.
Click to show internal directories.
Click to hide internal directories.