controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: UPL-1.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIngressNotReady = goerrors.New("Ingress configuration not yet available")

ErrIngressNotReady is returned when Kubernetes has not yet exposed our services so that they may be accessed outside of the cluster

Functions

This section is empty.

Types

type CryostatReconciler

type CryostatReconciler struct {
	client.Client
	Log         logr.Logger
	Scheme      *runtime.Scheme
	IsOpenShift bool
	common.ReconcilerTLS
}

CryostatReconciler reconciles a Cryostat object

func (*CryostatReconciler) Reconcile

func (r *CryostatReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile processes a Cryostat CR and manages a Cryostat installation accordingly

func (*CryostatReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type EndpointsReconciler

type EndpointsReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	common.Reconciler
}

EndpointsReconciler reconciles a Endpoints object

func (*EndpointsReconciler) Reconcile

func (r *EndpointsReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile processes an Endpoints and creates FlightRecorders when compatible

func (*EndpointsReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type FlightRecorderReconciler

type FlightRecorderReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	common.Reconciler
}

FlightRecorderReconciler reconciles a FlightRecorder object

func (*FlightRecorderReconciler) Reconcile

func (r *FlightRecorderReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile processes a FlightRecorder CR and retrieves event/template information from Cryostat

func (*FlightRecorderReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type RecordingReconciler

type RecordingReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	common.Reconciler
}

RecordingReconciler reconciles a Recording object

func (*RecordingReconciler) Reconcile

func (r *RecordingReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile processes a Recording and communicates with Cryostat to create and manage a corresponding JDK Flight Recording

func (*RecordingReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis
resource_definitions
Code generated by imagetag_generator.go; DO NOT EDIT.
Code generated by imagetag_generator.go; DO NOT EDIT.

Jump to

Keyboard shortcuts

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