Documentation ¶
Index ¶
Constants ¶
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 ¶
SpaceReconciler reconciles a Space object
func (*SpaceReconciler) Reconcile ¶
func (r *SpaceReconciler) Reconcile(ctx context.Context, req ctrlruntime.Request) (ctrlruntime.Result, error)
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 ¶
func (r *TeamReconciler) Reconcile(ctx context.Context, req ctrlruntime.Request) (ctrlruntime.Result, error)
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.