Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ControllerName is the name of the orders controller.
ControllerName = "orders"
)
Variables ¶
View Source
var ( // RequeuePeriod is the default period after which an Order should be re-queued. // It can be overriden in tests. RequeuePeriod time.Duration = time.Second * 5 )
Functions ¶
func NewController ¶ added in v1.4.0
func NewController( log logr.Logger, cmClient cmclient.Interface, kubeInformerFactory informers.SharedInformerFactory, cmInformerFactory cminformers.SharedInformerFactory, accountRegistry accounts.Getter, recorder record.EventRecorder, clock clock.Clock, isNamespaced bool, ) (*controller, workqueue.RateLimitingInterface, []cache.InformerSynced)
NewController constructs an orders controller using the provided options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.