controllers

package
v0.0.0-...-0f94a65 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseReconciler

type DatabaseReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	DB     *sqlx.DB
}

DatabaseReconciler reconciles a Database object

func (*DatabaseReconciler) Reconcile

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

func (*DatabaseReconciler) SetupWithManager

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

type UserReconciler

type UserReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	DB     *sqlx.DB
}

UserReconciler reconciles a User object

func (*UserReconciler) Reconcile

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

+kubebuilder:rbac:groups=db.breeze.sh,resources=users,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=db.breeze.sh,resources=users/status,verbs=get;update;patch +kubebuilder:rbac:groups=core,resources=secrets,verbs=create

func (*UserReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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