Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client discovery.DiscoveryClient Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconciler reconciles a ManualScalarTrait object
func (*Reconciler) Reconcile ¶
Reconcile to reconcile manual trait. +kubebuilder:rbac:groups=core.oam.dev,resources=manualscalertraits,verbs=get;list;watch +kubebuilder:rbac:groups=core.oam.dev,resources=manualscalertraits/status,verbs=get;update;patch +kubebuilder:rbac:groups=core.oam.dev,resources=containerizedworkloads,verbs=get;list; +kubebuilder:rbac:groups=core.oam.dev,resources=containerizedworkloads/status,verbs=get; +kubebuilder:rbac:groups=core.oam.dev,resources=workloaddefinition,verbs=get;list; +kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch;update;patch;delete
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager to setup k8s controller.