Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerRegistry ¶
type ControllerRegistry struct {
// contains filtered or unexported fields
}
ControllerRegistry contains backed off controllers to be used in time-based backing off of controllers considered in fake pod injection
func NewFakePodControllerRegistry ¶
func NewFakePodControllerRegistry() *ControllerRegistry
NewFakePodControllerRegistry Creates & returns an instance of fakePodControllerBackoffRegistry
func (*ControllerRegistry) BackOffUntil ¶
BackOffUntil Returns the back off status a controller with id `uid`
func (*ControllerRegistry) BackoffController ¶
func (r *ControllerRegistry) BackoffController(ownerUID types.UID, now time.Time)
BackoffController Backs off a controller If the controller is already in backoff it's backoff time is exponentially increased If the controller was in backoff, it resets its entry and makes it in backoff If the controller is not in backoff and not stored, a new entry is created
Click to show internal directories.
Click to hide internal directories.