Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Coordinator ¶
type Coordinator struct {
// contains filtered or unexported fields
}
func NewCoordinator ¶
func NewCoordinator(resourceLock resourcelock.Interface, errChan chan<- error, isLeaderChan chan<- bool) (Coordinator, error)
func (Coordinator) Coordinate ¶
func (c Coordinator) Coordinate(ctx context.Context)
func (Coordinator) IsLeader ¶
func (c Coordinator) IsLeader() bool
type EventRecorderProvider ¶
type EventRecorderProvider struct{}
func (EventRecorderProvider) GetEventRecorderFor ¶
func (e EventRecorderProvider) GetEventRecorderFor(name string) record.EventRecorder
TODO: use a real recorder
type UnixSocketReporter ¶
type UnixSocketReporter struct {
// contains filtered or unexported fields
}
func NewUnixSocketReporter ¶
func (UnixSocketReporter) Report ¶
func (r UnixSocketReporter) Report(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.