group

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGroupReconciler

func NewGroupReconciler(
	c cluster.Cluster,
	atlasProvider atlas.Provider,
	logger *zap.Logger,
	globalSecretRef client.ObjectKey,
	deletionProtection bool,
	reapplySupport bool,
	predicates []predicate.Predicate) (*ctrlstate.Reconciler[akov2generated.Group], error)

Types

type Handler

type Handler struct {
	ctrlstate.StateHandler[akov2generated.Group]
	reconciler.AtlasReconciler
	// contains filtered or unexported fields
}

func (*Handler) For

func (h *Handler) For() (client.Object, builder.Predicates)

For returns the resource and predicates for the controller

func (*Handler) HandleCreated

func (h *Handler) HandleCreated(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleCreated delegates to the version-specific handler

func (*Handler) HandleCreating

func (h *Handler) HandleCreating(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleCreating delegates to the version-specific handler

func (*Handler) HandleDeleting

func (h *Handler) HandleDeleting(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleDeleting delegates to the version-specific handler

func (*Handler) HandleDeletionRequested

func (h *Handler) HandleDeletionRequested(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleDeletionRequested delegates to the version-specific handler

func (*Handler) HandleImportRequested

func (h *Handler) HandleImportRequested(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleImportRequested delegates to the version-specific handler

func (*Handler) HandleImported

func (h *Handler) HandleImported(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleImported delegates to the version-specific handler

func (*Handler) HandleInitial

func (h *Handler) HandleInitial(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleInitial delegates to the version-specific handler

func (*Handler) HandleUpdated

func (h *Handler) HandleUpdated(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleUpdated delegates to the version-specific handler

func (*Handler) HandleUpdating

func (h *Handler) HandleUpdating(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleUpdating delegates to the version-specific handler

func (*Handler) SetupWithManager

func (h *Handler) SetupWithManager(mgr controllerruntime.Manager, rec reconcile.Reconciler, defaultOptions controller.Options) error

SetupWithManager sets up the controller with the Manager

type Handlerv20250312

type Handlerv20250312 struct {
	// contains filtered or unexported fields
}

func NewHandlerv20250312

func NewHandlerv20250312(kubeClient client.Client, atlasClient *v20250312sdk.APIClient, translator crapi.Translator, deletionProtection bool) *Handlerv20250312

func (*Handlerv20250312) For

For returns the resource and predicates for the controller

func (*Handlerv20250312) HandleCreated

func (h *Handlerv20250312) HandleCreated(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleCreated handles the created state for version v20250312

func (*Handlerv20250312) HandleCreating

func (h *Handlerv20250312) HandleCreating(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

func (*Handlerv20250312) HandleDeleting

func (h *Handlerv20250312) HandleDeleting(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleDeleting handles the deleting state for version v20250312

func (*Handlerv20250312) HandleDeletionRequested

func (h *Handlerv20250312) HandleDeletionRequested(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleDeletionRequested handles the deletionrequested state for version v20250312

func (*Handlerv20250312) HandleImportRequested

func (h *Handlerv20250312) HandleImportRequested(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleImportRequested handles the importrequested state for version v20250312

func (*Handlerv20250312) HandleImported

func (h *Handlerv20250312) HandleImported(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

func (*Handlerv20250312) HandleInitial

func (h *Handlerv20250312) HandleInitial(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleInitial handles the initial state for version v20250312

func (*Handlerv20250312) HandleUpdated

func (h *Handlerv20250312) HandleUpdated(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleUpdated handles the updated state for version v20250312

func (*Handlerv20250312) HandleUpdating

func (h *Handlerv20250312) HandleUpdating(ctx context.Context, group *akov2generated.Group) (ctrlstate.Result, error)

HandleUpdating handles the updating state for version v20250312

func (*Handlerv20250312) SetupWithManager

func (h *Handlerv20250312) SetupWithManager(mgr controllerruntime.Manager, rec reconcile.Reconciler, defaultOptions controller.Options) error

SetupWithManager sets up the controller with the Manager

Jump to

Keyboard shortcuts

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