controllers

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationGroupReconciler

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

	// RegistryClient interacts with the helm registries to pull and push charts
	RegistryClient *registry.Client

	// StagingRepoName is the nickname for the repository used for staging artifacts before being deployed using the HelmRelease object
	StagingRepoName string

	WorkflowClientBuilder *workflow.Builder

	// TargetDir to stage the charts before pushing
	TargetDir string

	// Recorder generates kubernetes events
	Recorder record.EventRecorder

	// DisableRemediation for debugging purposes
	// The object and associated Workflow, HelmReleases will
	// not be cleaned up
	DisableRemediation bool

	// CleanupDownloadedCharts signals the controller to delete the
	// fetched charts after they have been repackaged and pushed to staging
	CleanupDownloadedCharts bool
}

ApplicationGroupReconciler reconciles a ApplicationGroup object

func (*ApplicationGroupReconciler) Reconcile

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

func (*ApplicationGroupReconciler) SetupWithManager

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

type WorkflowStatusReconciler added in v0.8.0

type WorkflowStatusReconciler struct {
	client.Client
	Log                   logr.Logger
	Scheme                *runtime.Scheme
	WorkflowClientBuilder *workflowpkg.Builder

	// Recorder generates kubernetes events
	Recorder record.EventRecorder
}

WorkflowStatusReconciler reconciles workflows and their status

func (*WorkflowStatusReconciler) Reconcile added in v0.8.0

func (*WorkflowStatusReconciler) SetupWithManager added in v0.8.0

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

Jump to

Keyboard shortcuts

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