Documentation
¶
Index ¶
- func AddApplication(appGroup v1alpha1.ApplicationGroup, app v1alpha1.Application) v1alpha1.ApplicationGroup
- type ApplicationGroupReconciler
- func (r *ApplicationGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
- func (r *ApplicationGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *ApplicationGroupReconciler) ShouldRemediate(ctx context.Context, instance *v1alpha1.ApplicationGroup) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
// 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) SetupWithManager ¶
func (r *ApplicationGroupReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*ApplicationGroupReconciler) ShouldRemediate ¶ added in v0.7.0
func (r *ApplicationGroupReconciler) ShouldRemediate(ctx context.Context, instance *v1alpha1.ApplicationGroup) (bool, error)
Click to show internal directories.
Click to hide internal directories.