Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller for Steward Tenants
func NewController ¶
func NewController(factory k8s.ClientFactory, opts ControllerOpts) *Controller
NewController creates new Controller
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Run runs the controller.
type ControllerOpts ¶ added in v0.16.0
type ControllerOpts struct { // HeartbeatInterval is the interval for heartbeats. // If zero or negative, heartbeats are disabled. HeartbeatInterval time.Duration // HeartbeatLogLevel is a pointer to a klog log level to be used for // logging heartbeats. // If nil, heartbeat logging is disabled and heartbeats are only // exposed via metric. HeartbeatLogLevel *klog.Level }
ControllerOpts stores options for the construction of a Controller instance.
Click to show internal directories.
Click to hide internal directories.