Documentation
¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- func AddToManager(mgr manager.Manager, r reconcile.Reconciler, concurrentReconciles int, ...) error
- func GetInstallLogsPVCName(cd *hivev1.ClusterDeployment) string
- func LoadReleaseImageVerifier(config *rest.Config) (verify.Interface, error)
- func NewReconciler(mgr manager.Manager, logger log.FieldLogger, ...) reconcile.Reconciler
- func ValidateInstallConfig(cd *hivev1.ClusterDeployment, installConfig []byte) error
- type ClusterProvisionManager
- type ReconcileClusterDeployment
Constants ¶
const (
ControllerName = hivev1.ClusterDeploymentControllerName
)
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add creates a new ClusterDeployment controller and adds it to the manager with default RBAC.
func AddToManager ¶
func AddToManager(mgr manager.Manager, r reconcile.Reconciler, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error
AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler
func GetInstallLogsPVCName ¶
func GetInstallLogsPVCName(cd *hivev1.ClusterDeployment) string
GetInstallLogsPVCName returns the expected name of the persistent volume claim for cluster install failure logs. TODO: Remove this function and all calls to it. It's being left here for compatibility until the install log PVs are removed from all the installs.
func LoadReleaseImageVerifier ¶ added in v1.1.5
func NewReconciler ¶
func NewReconciler(mgr manager.Manager, logger log.FieldLogger, rateLimiter flowcontrol.RateLimiter) reconcile.Reconciler
NewReconciler returns a new reconcile.Reconciler
func ValidateInstallConfig ¶ added in v1.1.6
func ValidateInstallConfig(cd *hivev1.ClusterDeployment, installConfig []byte) error
Types ¶
type ClusterProvisionManager ¶ added in v1.1.3
type ClusterProvisionManager struct{}
type ReconcileClusterDeployment ¶
ReconcileClusterDeployment reconciles a ClusterDeployment object
func (*ReconcileClusterDeployment) Reconcile ¶
func (r *ReconcileClusterDeployment) Reconcile(ctx context.Context, request reconcile.Request) (result reconcile.Result, returnErr error)
Reconcile reads that state of the cluster for a ClusterDeployment object and makes changes based on the state read and what is in the ClusterDeployment.Spec
func (*ReconcileClusterDeployment) SetWatcher ¶ added in v1.1.3
func (r *ReconcileClusterDeployment) SetWatcher(w controllerutils.Watcher)