controllers

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

View Source
const DecryptionProviderSOPS = "sops"

Variables

This section is empty.

Functions

This section is empty.

Types

type GitRepositoryRevisionChangePredicate

type GitRepositoryRevisionChangePredicate struct {
	predicate.Funcs
}

func (GitRepositoryRevisionChangePredicate) Create

func (GitRepositoryRevisionChangePredicate) Delete

func (GitRepositoryRevisionChangePredicate) Update

type GitRepositoryWatcher

type GitRepositoryWatcher struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

GitRepositoryWatcher watches GitRepository objects for revision changes and triggers a reconcile for all the Kustomizations that reference a changed source

func (*GitRepositoryWatcher) Reconcile

func (r *GitRepositoryWatcher) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*GitRepositoryWatcher) SetupWithManager

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

type KustomizationReconciler

type KustomizationReconciler struct {
	client.Client

	Log                   logr.Logger
	Scheme                *runtime.Scheme
	EventRecorder         kuberecorder.EventRecorder
	ExternalEventRecorder *recorder.EventRecorder
	// contains filtered or unexported fields
}

KustomizationReconciler reconciles a Kustomization object

func (*KustomizationReconciler) Reconcile

func (r *KustomizationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*KustomizationReconciler) SetupWithManager

type KustomizationReconcilerOptions

type KustomizationReconcilerOptions struct {
	MaxConcurrentReconciles   int
	DependencyRequeueInterval time.Duration
}

type KustomizationSyncAtPredicate

type KustomizationSyncAtPredicate struct {
	predicate.Funcs
}

func (KustomizationSyncAtPredicate) Update

type KustomizeDecryptor added in v0.0.9

type KustomizeDecryptor struct {
	client.Client
	// contains filtered or unexported fields
}

func NewDecryptor added in v0.0.9

func NewDecryptor(kubeClient client.Client,
	kustomization kustomizev1.Kustomization, homeDir string) *KustomizeDecryptor

func NewTempDecryptor added in v0.0.9

func NewTempDecryptor(kubeClient client.Client,
	kustomization kustomizev1.Kustomization) (*KustomizeDecryptor, func(), error)

func (*KustomizeDecryptor) Decrypt added in v0.0.9

func (*KustomizeDecryptor) ImportKeys added in v0.0.9

func (kd *KustomizeDecryptor) ImportKeys(ctx context.Context) error

type KustomizeGarbageCollector added in v0.0.9

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

func NewGarbageCollector added in v0.0.9

func NewGarbageCollector(snapshot kustomizev1.Snapshot, log logr.Logger) *KustomizeGarbageCollector

func (*KustomizeGarbageCollector) Prune added in v0.0.9

func (kgc *KustomizeGarbageCollector) Prune(timeout time.Duration, name string, namespace string) (string, bool)

type KustomizeGenerator added in v0.0.9

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

func NewGenerator added in v0.0.9

func NewGenerator(kustomization kustomizev1.Kustomization, revision string) *KustomizeGenerator

func (*KustomizeGenerator) WriteFile added in v0.0.9

func (kg *KustomizeGenerator) WriteFile(dirPath string) error

Jump to

Keyboard shortcuts

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