controllers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 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
	Ctx         context.Context
	Sess        *session.Session
	GetSMClient func(string) (secretsmanageriface.SecretsManagerAPI, error)

	RoleValidator RoleValidator
	PollInterval  time.Duration
	Log           logr.Logger
	// contains filtered or unexported fields
}

SyncedSecretReconciler reconciles a SyncedSecret object

func (*SyncedSecretReconciler) Quit

func (r *SyncedSecretReconciler) Quit()

func (*SyncedSecretReconciler) Reconcile

func (r *SyncedSecretReconciler) Reconcile(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