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 overridden in tests. RequeuePeriod = time.Second * 5 )
Functions ¶
func NewController ¶
func NewController( log logr.Logger, ctx *controllerpkg.Context, isNamespaced bool, ) (*controller, workqueue.TypedRateLimitingInterface[types.NamespacedName], []cache.InformerSynced, error)
NewController constructs an orders controller using the provided options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.