controllers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CappReconciler

type CappReconciler struct {
	Log logr.Logger
	client.Client
	Scheme *runtime.Scheme
}

CappReconciler reconciles a Capp object

func (*CappReconciler) Reconcile

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

+kubebuilder:rbac:groups=rcs.dana.io,resources=capps,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rcs.dana.io,resources=capps/status,verbs=get;update;patch +kubebuilder:rbac:groups=rcs.dana.io,resources=capps/finalizers,verbs=update +kubebuilder:rbac:groups=serving.knative.dev,resources=services;domainmappings,verbs=get;list;watch;update;create

func (*CappReconciler) SetupWithManager

func (r *CappReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

func (*CappReconciler) SyncApplication

func (r *CappReconciler) SyncApplication(ctx context.Context, capp rcsv1alpha1.Capp, resourceManagers []rmanagers.ResourceManager) error

Jump to

Keyboard shortcuts

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