object

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RisingWaveManager

type RisingWaveManager struct {
	RisingWaveReader
	// contains filtered or unexported fields
}

func NewRisingWaveManager

func NewRisingWaveManager(client client.Client, risingwave *risingwavev1alpha1.RisingWave, openkruiseAvailable bool) *RisingWaveManager

func (*RisingWaveManager) IsOpenKruiseAvailable added in v0.2.4

func (mgr *RisingWaveManager) IsOpenKruiseAvailable() bool

func (*RisingWaveManager) IsOpenKruiseEnabled added in v0.2.4

func (mgr *RisingWaveManager) IsOpenKruiseEnabled() bool

func (*RisingWaveManager) KeepLock added in v0.2.4

func (mgr *RisingWaveManager) KeepLock(aliveScaleView []risingwavev1alpha1.RisingWaveScaleViewLock)

func (*RisingWaveManager) RemoveCondition

func (mgr *RisingWaveManager) RemoveCondition(conditionType risingwavev1alpha1.RisingWaveConditionType)

func (*RisingWaveManager) RisingWaveAfterImage

func (mgr *RisingWaveManager) RisingWaveAfterImage() *risingwavev1alpha1.RisingWave

RisingWaveAfterImage returns a copy of the mutable RisingWave.

func (*RisingWaveManager) SyncObservedGeneration

func (mgr *RisingWaveManager) SyncObservedGeneration()

SyncObservedGeneration updates the observed generation to the current generation.

func (*RisingWaveManager) UpdateCondition

func (mgr *RisingWaveManager) UpdateCondition(condition risingwavev1alpha1.RisingWaveCondition)

func (*RisingWaveManager) UpdateRemoteRisingWaveStatus

func (mgr *RisingWaveManager) UpdateRemoteRisingWaveStatus(ctx context.Context) error

func (*RisingWaveManager) UpdateStatus

func (mgr *RisingWaveManager) UpdateStatus(f func(*risingwavev1alpha1.RisingWaveStatus))

type RisingWaveReader

type RisingWaveReader struct {
	// contains filtered or unexported fields
}

RisingWaveReader is a reader for RisingWave object.

func NewRisingWaveReader

func NewRisingWaveReader(risingwave *risingwavev1alpha1.RisingWave) *RisingWaveReader

NewRisingWaveReader creates a RisingWaveReader.

func (*RisingWaveReader) DoesConditionExistAndEqual

func (r *RisingWaveReader) DoesConditionExistAndEqual(conditionType risingwavev1alpha1.RisingWaveConditionType, value bool) bool

func (*RisingWaveReader) GetCondition

func (*RisingWaveReader) IsObservedGenerationOutdated

func (r *RisingWaveReader) IsObservedGenerationOutdated() bool

IsObservedGenerationOutdated tells whether the observed generation is outdated.

func (*RisingWaveReader) RisingWave

RisingWave returns the RisingWave immutable reference.

type ScaleViewLockManager added in v0.2.2

type ScaleViewLockManager struct {
	// contains filtered or unexported fields
}

func NewScaleViewLockManager added in v0.2.2

func NewScaleViewLockManager(risingwave *risingwavev1alpha1.RisingWave) *ScaleViewLockManager

func (*ScaleViewLockManager) GetScaleViewLock added in v0.2.2

func (*ScaleViewLockManager) GrabOrUpdateScaleViewLockFor added in v0.2.2

func (svl *ScaleViewLockManager) GrabOrUpdateScaleViewLockFor(sv *risingwavev1alpha1.RisingWaveScaleView) (bool, error)

func (*ScaleViewLockManager) GrabScaleViewLockFor added in v0.2.2

func (svl *ScaleViewLockManager) GrabScaleViewLockFor(sv *risingwavev1alpha1.RisingWaveScaleView) error

func (*ScaleViewLockManager) IsScaleViewLocked added in v0.2.2

func (*ScaleViewLockManager) ReleaseLockFor added in v0.2.2

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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