Documentation ¶
Overview ¶
Package operator contains implementations and definitions to create Kubernetes operators and controllers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator interface { // Initialize knows how to initialize the resources. Initialize() error controller.Controller }
Operator is a controller, at code level have almost same contract of behaviour but at a higher level it need to initialize some resources (usually CRDs) before start its execution.
func NewMultiOperator ¶
func NewMultiOperator(crds []resource.CRD, ctrlrs []controller.Controller, logger log.Logger) Operator
NewMultiOperator returns an operator that has multiple CRDs and controllers.
func NewOperator ¶
func NewOperator(crd resource.CRD, ctrlr controller.Controller, logger log.Logger) Operator
NewOperator will return an operator that only manages one CRD and one Controller.
Directories ¶
Path | Synopsis |
---|---|
Package controller contains implementation and defition to create kubernetes controllers.
|
Package controller contains implementation and defition to create kubernetes controllers. |
Click to show internal directories.
Click to hide internal directories.