manualscalertrait

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager, args controller.Args) error

Setup adds a controller that reconciles ContainerizedWorkload.

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

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

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=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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL