pravegacluster

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const ReconcileTime = 30 * time.Second

ReconcileTime is the delay between reconciliations

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new PravegaCluster Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL