reconciler

package
v2.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingKubeProject = errors.New("missing Kubernetes Atlas Project")
)

Functions

func GetConnectionConfig added in v2.8.1

func GetConnectionConfig(ctx context.Context, k8sClient client.Client, secretRef, fallbackRef *client.ObjectKey) (*atlas.ConnectionConfig, error)

Types

type AtlasReconciler

type AtlasReconciler struct {
	Client          client.Client
	Log             *zap.SugaredLogger
	GlobalSecretRef client.ObjectKey
}

func (*AtlasReconciler) Invalidate added in v2.8.0

func (r *AtlasReconciler) Invalidate(typeName string, invalid workflow.Result) (ctrl.Result, error)

func (*AtlasReconciler) ResolveConnectionConfig added in v2.8.1

func (r *AtlasReconciler) ResolveConnectionConfig(ctx context.Context, referrer project.ProjectReferrerObject) (*atlas.ConnectionConfig, error)

func (*AtlasReconciler) ResolveProject

func (r *AtlasReconciler) ResolveProject(ctx context.Context, sdkClient *admin.APIClient, pro project.ProjectReferrerObject) (*project.Project, error)

func (*AtlasReconciler) Skip added in v2.8.0

func (r *AtlasReconciler) Skip(ctx context.Context, typeName string, resource api.AtlasCustomResource, spec any) (ctrl.Result, error)

func (*AtlasReconciler) Unsupport added in v2.8.0

func (r *AtlasReconciler) Unsupport(ctx *workflow.Context, typeName string) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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