controllers

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFieldSyncedSecret = "SyncedSecret"
	LogFieldK8SSecret    = "KubernetesSecret"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleValidator

type RoleValidator interface {
	IsWhitelisted(role, namespace string) (bool, error)
}

type SyncedSecretReconciler

type SyncedSecretReconciler struct {
	client.Client
	Sess        *session.Session
	GetSMClient func(string) (secretsmanageriface.SecretsManagerAPI, error)

	RoleValidator RoleValidator
	PollInterval  time.Duration
	Log           logr.Logger

	DefaultSearchRole string
	// contains filtered or unexported fields
}

SyncedSecretReconciler reconciles a SyncedSecret object

func (*SyncedSecretReconciler) Quit

func (r *SyncedSecretReconciler) Quit()

func (*SyncedSecretReconciler) Reconcile

func (r *SyncedSecretReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*SyncedSecretReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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