controllers

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package controllers has controllers for Capability API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigForServiceAccount added in v0.14.0

func GetConfigForServiceAccount(ctx context.Context, coreClient client.Client, nsName, saName, host string) (*rest.Config, error)

GetConfigForServiceAccount returns a *rest.Config which uses the service account for talking to a Kubernetes API server.

Types

type CapabilityReconciler

type CapabilityReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Host   string
}

CapabilityReconciler reconciles a Capability object.

func (*CapabilityReconciler) Reconcile

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

Reconcile reconciles a Capability spec by executing specified queries.

func (*CapabilityReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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