Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- type ReconcilePravegaCluster
- func (r *ReconcilePravegaCluster) IsAbove07STSPresent(p *pravegav1beta1.PravegaCluster) bool
- func (r *ReconcilePravegaCluster) IsClusterRollbackingFrom07(p *pravegav1beta1.PravegaCluster) bool
- func (r *ReconcilePravegaCluster) IsClusterUpgradingTo07(p *pravegav1beta1.PravegaCluster) bool
- func (r *ReconcilePravegaCluster) Reconcile(request reconcile.Request) (reconcile.Result, error)
Constants ¶
const ReconcileTime = 30 * time.Second
ReconcileTime is the delay between reconciliations
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReconcilePravegaCluster ¶
type ReconcilePravegaCluster struct {
// contains filtered or unexported fields
}
ReconcilePravegaCluster reconciles a PravegaCluster object
func (*ReconcilePravegaCluster) IsAbove07STSPresent ¶ added in v0.5.0
func (r *ReconcilePravegaCluster) IsAbove07STSPresent(p *pravegav1beta1.PravegaCluster) bool
This function checks if stsabove07 exsists
func (*ReconcilePravegaCluster) IsClusterRollbackingFrom07 ¶ added in v0.5.0
func (r *ReconcilePravegaCluster) IsClusterRollbackingFrom07(p *pravegav1beta1.PravegaCluster) bool
this function is to check are we doing a rollback in case of a upgrade failure while upgrading from a version below 07 to a version above 07
func (*ReconcilePravegaCluster) IsClusterUpgradingTo07 ¶ added in v0.5.0
func (r *ReconcilePravegaCluster) IsClusterUpgradingTo07(p *pravegav1beta1.PravegaCluster) bool
this function will return true only in case of upgrading from a version below 0.7 to pravega version 0.7 or later
func (*ReconcilePravegaCluster) Reconcile ¶
Reconcile reads that state of the cluster for a PravegaCluster object and makes changes based on the state read and what is in the PravegaCluster.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.