styra

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package styra holds controllers for the styra API group.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalDatasourceReconciler

type GlobalDatasourceReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	Styra  styra.ClientInterface
	Config *configv2alpha2.ProjectConfig
}

GlobalDatasourceReconciler reconciles a GlobalDatasource object.

func (*GlobalDatasourceReconciler) Reconcile

Reconcile implements renconcile.Renconciler and has responsibility of ensuring that the current state of the GlobalDatasource resource renconciled towards the desired state.

func (*GlobalDatasourceReconciler) SetupWithManager

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

SetupWithManager registers the the GlobalDatasource controller with the Manager.

type LibraryReconciler added in v0.10.0

type LibraryReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	Styra         styra.ClientInterface
	Config        *configv2alpha2.ProjectConfig
	WebhookClient webhook.Client
}

LibraryReconciler reconciles a Library object

func (*LibraryReconciler) Reconcile added in v0.10.0

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

Reconcile implements renconcile.Renconciler and has responsibility of ensuring that the current state of the Library resource renconciled towards the desired state.

func (*LibraryReconciler) SetupWithManager added in v0.10.0

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

SetupWithManager sets up the controller with the Manager.

type SystemReconciler

type SystemReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	Styra         styra.ClientInterface
	WebhookClient webhook.Client
	Recorder      record.EventRecorder
	Metric        *prometheus.GaugeVec
	Config        *configv2alpha2.ProjectConfig
}

SystemReconciler reconciles a System object

func (*SystemReconciler) Reconcile

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

Reconcile implements renconcile.Renconciler and has responsibility of ensuring that the current state of the System resource renconciled towards the desired state.

func (*SystemReconciler) SetupWithManager

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

SetupWithManager registers the the System controller with the Manager.

Jump to

Keyboard shortcuts

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