Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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. TODO(user): Modify the Reconcile function to compare the state specified by the BundleInstance object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
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
KubeClient kubernetes.Interface
Scheme *runtime.Scheme
Storage storage.Storage
PodNamespace string
UnpackImage string
CopyBundleImage string
}
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. TODO(user): Modify the Reconcile function to compare the state specified by the Bundle object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
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.