controllers

package
v0.0.0-...-527e8a9 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrganizationReconciler

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

OrganizationReconciler reconciles a Organization object

func (*OrganizationReconciler) Reconcile

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

Reconcile function reconciles the Organization object which specified by the request. Currently, it does the following: 1. Fetch the Organization object. 2. Handle the deletion of the Organization object (Remove the namespace that the Organization owns, and remove the finalizer). 3. Handle the creation/update of the Organization object (Create/reconcile the namespace and insert the finalizer). 4. Create project-admin and rbac-admin OrganizationRoleTemplate for owners of the Organization. 5. Update the status of the Organization object.

func (*OrganizationReconciler) SetupWithManager

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

type OrganizationRoleTemplateReconciler

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

OrganizationRoleTemplateReconciler reconciles a Organization object

func (*OrganizationRoleTemplateReconciler) Reconcile

func (*OrganizationRoleTemplateReconciler) SetupWithManager

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

type ProjectReconciler

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

ProjectReconciler reconciles a Project object

func (*ProjectReconciler) Reconcile

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

func (*ProjectReconciler) SetupWithManager

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

type ProjectRoleTemplateReconciler

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

ProjectRoleTemplateReconciler reconciles a Project object

func (*ProjectRoleTemplateReconciler) Reconcile

func (*ProjectRoleTemplateReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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