Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MigActuator ¶
func NewActuator ¶
func NewActuator(client client.Client, migClient mig.Client, sharedState *SharedState, nodeName string) MigActuator
func (*MigActuator) SetupWithManager ¶
func (a *MigActuator) SetupWithManager(mgr ctrl.Manager, controllerName string) error
type MigReporter ¶
func NewReporter ¶
func NewReporter(client client.Client, migClient mig.Client, sharedState *SharedState, refreshInterval time.Duration) MigReporter
func (*MigReporter) SetupWithManager ¶
type SharedState ¶
type SharedState struct { // contains filtered or unexported fields }
SharedState contains the information shared between the Actuator and the Reporter processes
func NewSharedState ¶
func NewSharedState() *SharedState
func (*SharedState) AtLeastOneReportSinceLastApply ¶
func (s *SharedState) AtLeastOneReportSinceLastApply() bool
func (*SharedState) OnApplyDone ¶
func (s *SharedState) OnApplyDone()
func (*SharedState) OnReportDone ¶
func (s *SharedState) OnReportDone()
Click to show internal directories.
Click to hide internal directories.