v1beta1

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

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const RbacAPIGroup = "rbac.authorization.k8s.io"

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrSpaceResourceNotFound

type ErrSpaceResourceNotFound struct {
	SpaceName         string
	ResourceKind      string
	ResourceName      string
	ResourceNamespace string
}

ErrSpaceResourceNotFound indicates a Space resource was not found.

func (ErrSpaceResourceNotFound) Error

func (e ErrSpaceResourceNotFound) Error() string

type ErrTeamResourceNotFound

type ErrTeamResourceNotFound struct {
	TeamName          string
	ResourceKind      string
	ResourceName      string
	ResourceNamespace string
}

ErrTeamResourceNotFound indicates a Team resource was not found.

func (ErrTeamResourceNotFound) Error

func (e ErrTeamResourceNotFound) Error() string

type SpaceReconciler

type SpaceReconciler struct {
	ctrlclient.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

SpaceReconciler reconciles a Space object

func (*SpaceReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*SpaceReconciler) SetupWithManager

func (r *SpaceReconciler) SetupWithManager(mgr ctrlruntime.Manager) error

SetupWithManager sets up the controller with the Manager.

type TeamReconciler

type TeamReconciler struct {
	ctrlclient.Client
	Log    logr.Logger
	Scheme *apiruntime.Scheme
}

TeamReconciler reconciles a Team object.

func (*TeamReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*TeamReconciler) SetupWithManager

func (r *TeamReconciler) SetupWithManager(mgr ctrlruntime.Manager) error

SetupWithManager sets up the controller with the Mapper.

Jump to

Keyboard shortcuts

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