Documentation ¶
Index ¶
- Constants
- func RegisterPackageBundleControllerReconciler(mgr ctrl.Manager) error
- func RegisterPackageBundleReconciler(mgr ctrl.Manager) error
- func RegisterPackageControllerReconciler(mgr ctrl.Manager) (err error)
- func RegisterPackageReconciler(mgr ctrl.Manager) (err error)
- type PackageBundleControllerReconciler
- type PackageBundleReconciler
- type PackageControllerReconciler
- type PackageReconciler
Constants ¶
const DefaultUpgradeCheckInterval = time.Hour * 24
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageBundleControllerReconciler ¶
type PackageBundleControllerReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger // contains filtered or unexported fields }
PackageBundleControllerReconciler reconciles a PackageBundleController object
func (*PackageBundleControllerReconciler) Reconcile ¶
func (r *PackageBundleControllerReconciler) 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 PackageBundleController 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.8.3/pkg/reconcile
func (*PackageBundleControllerReconciler) SetupWithManager ¶
func (r *PackageBundleControllerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PackageBundleReconciler ¶
type PackageBundleReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
PackageBundleReconciler reconciles a PackageBundle object
func (*PackageBundleReconciler) Reconcile ¶
func (r *PackageBundleReconciler) 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 PackageBundle 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.8.3/pkg/reconcile
type PackageControllerReconciler ¶
PackageControllerReconciler reconciles a PackageController object
func (*PackageControllerReconciler) Reconcile ¶
func (r *PackageControllerReconciler) 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.
func (*PackageControllerReconciler) SetupWithManager ¶
func (r *PackageControllerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PackageReconciler ¶
type PackageReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme PackageDriver driver.PackageDriver Manager packages.Manager // contains filtered or unexported fields }
PackageReconciler reconciles a Package object
func NewPackageReconciler ¶
func (*PackageReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*PackageReconciler) SetupWithManager ¶
func (r *PackageReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.