Documentation
¶
Index ¶
- type KluctlDeploymentReconcilerImpl
- func (r *KluctlDeploymentReconcilerImpl) Finalize(ctx context.Context, objIn KluctlProjectHolder)
- func (r *KluctlDeploymentReconcilerImpl) NewObject() KluctlProjectHolder
- func (r *KluctlDeploymentReconcilerImpl) NewObjectList() KluctlProjectListHolder
- func (r *KluctlDeploymentReconcilerImpl) Reconcile(ctx context.Context, objIn KluctlProjectHolder, source sourcev1.Source) error
- type KluctlMultiDeploymentReconcilerImpl
- func (r *KluctlMultiDeploymentReconcilerImpl) Finalize(ctx context.Context, obj KluctlProjectHolder)
- func (r *KluctlMultiDeploymentReconcilerImpl) NewObject() KluctlProjectHolder
- func (r *KluctlMultiDeploymentReconcilerImpl) NewObjectList() KluctlProjectListHolder
- func (r *KluctlMultiDeploymentReconcilerImpl) Reconcile(ctx context.Context, objIn KluctlProjectHolder, source sourcev1.Source) error
- type KluctlProjectHolder
- type KluctlProjectListHolder
- type KluctlProjectReconciler
- type KluctlProjectReconcilerImpl
- type KluctlProjectReconcilerOptions
- type SourceRevisionChangePredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KluctlDeploymentReconcilerImpl ¶ added in v0.3.0
type KluctlDeploymentReconcilerImpl struct {
R *KluctlProjectReconciler
}
func (*KluctlDeploymentReconcilerImpl) Finalize ¶ added in v0.3.0
func (r *KluctlDeploymentReconcilerImpl) Finalize(ctx context.Context, objIn KluctlProjectHolder)
func (*KluctlDeploymentReconcilerImpl) NewObject ¶ added in v0.3.0
func (r *KluctlDeploymentReconcilerImpl) NewObject() KluctlProjectHolder
func (*KluctlDeploymentReconcilerImpl) NewObjectList ¶ added in v0.3.0
func (r *KluctlDeploymentReconcilerImpl) NewObjectList() KluctlProjectListHolder
func (*KluctlDeploymentReconcilerImpl) Reconcile ¶ added in v0.3.0
func (r *KluctlDeploymentReconcilerImpl) Reconcile( ctx context.Context, objIn KluctlProjectHolder, source sourcev1.Source) error
type KluctlMultiDeploymentReconcilerImpl ¶ added in v0.3.0
type KluctlMultiDeploymentReconcilerImpl struct {
R *KluctlProjectReconciler
}
func (*KluctlMultiDeploymentReconcilerImpl) Finalize ¶ added in v0.3.0
func (r *KluctlMultiDeploymentReconcilerImpl) Finalize(ctx context.Context, obj KluctlProjectHolder)
func (*KluctlMultiDeploymentReconcilerImpl) NewObject ¶ added in v0.3.0
func (r *KluctlMultiDeploymentReconcilerImpl) NewObject() KluctlProjectHolder
func (*KluctlMultiDeploymentReconcilerImpl) NewObjectList ¶ added in v0.3.0
func (r *KluctlMultiDeploymentReconcilerImpl) NewObjectList() KluctlProjectListHolder
func (*KluctlMultiDeploymentReconcilerImpl) Reconcile ¶ added in v0.3.0
func (r *KluctlMultiDeploymentReconcilerImpl) Reconcile( ctx context.Context, objIn KluctlProjectHolder, source sourcev1.Source) error
type KluctlProjectHolder ¶ added in v0.3.0
type KluctlProjectHolder interface {
client.Object
dependency.Dependent
meta.ObjectWithConditions
meta.ObjectWithConditionsSetter
GetKluctlProject() *kluctlv1.KluctlProjectSpec
GetKluctlTiming() *kluctlv1.KluctlTimingSpec
GetKluctlStatus() *kluctlv1.KluctlProjectStatus
GetFullStatus() any
SetFullStatus(s any)
}
type KluctlProjectListHolder ¶ added in v0.3.0
type KluctlProjectListHolder interface {
client.ObjectList
GetItems() []client.Object
}
type KluctlProjectReconciler ¶
type KluctlProjectReconciler struct {
client.Client
Scheme *runtime.Scheme
EventRecorder kuberecorder.EventRecorder
MetricsRecorder *metrics.Recorder
ControllerName string
NoCrossNamespaceRefs bool
DefaultServiceAccount string
Impl KluctlProjectReconcilerImpl
// contains filtered or unexported fields
}
KluctlProjectReconciler reconciles a KluctlDeployment object
func (*KluctlProjectReconciler) SetupWithManager ¶
func (r *KluctlProjectReconciler) SetupWithManager(mgr ctrl.Manager, opts KluctlProjectReconcilerOptions) error
SetupWithManager sets up the controller with the Manager.
type KluctlProjectReconcilerImpl ¶ added in v0.3.0
type KluctlProjectReconcilerImpl interface {
NewObject() KluctlProjectHolder
NewObjectList() KluctlProjectListHolder
Reconcile(ctx context.Context, obj KluctlProjectHolder, source sourcev1.Source) error
Finalize(ctx context.Context, obj KluctlProjectHolder)
}
type KluctlProjectReconcilerOptions ¶
type KluctlProjectReconcilerOptions struct {
MaxConcurrentReconciles int
HTTPRetry int
DependencyRequeueInterval time.Duration
}
KluctlProjectReconcilerOptions contains options for the KluctlProjectReconciler.
type SourceRevisionChangePredicate ¶
func (SourceRevisionChangePredicate) Update ¶
func (SourceRevisionChangePredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.