Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // ErrMaxGeneratedLimit is the error returned by the BundleInstance controller // when the configured maximum number of Bundles that match a label selector // has been reached. ErrMaxGeneratedLimit = errors.New("reached the maximum generated Bundle limit") )
Functions ¶
This section is empty.
Types ¶
type BundleInstanceReconciler ¶
type BundleInstanceReconciler struct {
client.Client
Scheme *runtime.Scheme
Controller controller.Controller
ActionClientGetter helmclient.ActionClientGetter
BundleStorage storage.Storage
ReleaseNamespace string
// contains filtered or unexported fields
}
BundleInstanceReconciler reconciles a BundleInstance object
func (*BundleInstanceReconciler) Reconcile ¶
func (r *BundleInstanceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.2/pkg/reconcile
func (*BundleInstanceReconciler) SetupWithManager ¶
func (r *BundleInstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type BundleReconciler ¶
type BundleReconciler struct {
client.Client
Scheme *runtime.Scheme
Storage storage.Storage
Finalizers finalizer.Finalizers
Unpacker source.Unpacker
}
BundleReconciler reconciles a Bundle object
func (*BundleReconciler) Reconcile ¶
func (r *BundleReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reconcileErr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.9.2/pkg/reconcile
func (*BundleReconciler) SetupWithManager ¶
func (r *BundleReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.