canarytrait

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 20 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, log logging.Logger) error

Setup adds a controller that reconciles ContainerizedWorkload.

Types

type Reconciler

type Reconciler struct {
	client.Client
	discovery.DiscoveryClient

	IstioClient *istioclient.Clientset

	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

Reconciler reconciles a ManualScalarTrait object

func (*Reconciler) Reconcile

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

+kubebuilder:rbac:groups=core.oam.dev,resources=canarytraits,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core.oam.dev,resources=canarytraits/status,verbs=get;update;patch +kubebuilder:rbac:groups=core.oam.dev,resources=workloaddefinitions,verbs=get;list;watch +kubebuilder:rbac:groups=autoscaling,resources=canarytraits,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=services,verbs=get;list;watch;

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