Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWorkflowInFailureStatus = errors.New("workflow in failure status") ErrHelmReleaseInFailureStatus = errors.New("helmrelease in failure status") )
View Source
var ( ErrInvalidSpec = fmt.Errorf("custom resource spec is invalid") // ErrRequeue describes error while requeuing ErrRequeue = fmt.Errorf("(transitory error) Requeue-ing resource to try again") )
Functions ¶
func AddApplication ¶ added in v0.6.0
func AddApplication(appGroup v1alpha1.ApplicationGroup, app v1alpha1.Application) v1alpha1.ApplicationGroup
Types ¶
type ApplicationGroupReconciler ¶
type ApplicationGroupReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Engine workflow.Engine
// 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
// 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) SetupWithManager ¶
func (r *ApplicationGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.