Documentation ¶
Index ¶
Constants ¶
View Source
const ( // AddPvcCommand command name for addPvc AddPvcCommand = "addPvc" // DownScaleCommand command name for donscale DownScaleCommand = "downScale" // UpScaleCommand command name for ipscale UpScaleCommand = "upScale" // ResizePvcCommand command name for resizePvc ResizePvcCommand = "resizePvc" )
Variables ¶
This section is empty.
Functions ¶
func GetCommandList ¶
func GetCommandList() []string
GetCommandList returns list of supported commands
Types ¶
type AlertState ¶
type AlertState struct { FingerPrint model.Fingerprint Status model.AlertStatus Labels model.LabelSet Annotations model.LabelSet }
AlertState current alert state
type AlertValidator ¶
type AlertValidator interface {
// contains filtered or unexported methods
}
AlertValidator validates an alert.
type AlertValidators ¶
type AlertValidators []AlertValidator
AlertValidators validate alert
func (AlertValidators) ValidateAlert ¶
func (v AlertValidators) ValidateAlert() error
ValidateAlert validates
type CurrentAlerts ¶
type CurrentAlerts interface { AddAlert(AlertState) *currentAlertStruct AlertGC(AlertState) error DeleteAlert(model.Fingerprint) error ListAlerts() map[model.Fingerprint]*currentAlertStruct HandleAlert(model.Fingerprint, client.Client, int, logr.Logger) (*currentAlertStruct, error) GetRollingUpgradeAlertCount() int IgnoreCCStatusCheck(bool) }
CurrentAlerts interface
func GetCurrentAlerts ¶
func GetCurrentAlerts() CurrentAlerts
GetCurrentAlerts get current stored alerts
Click to show internal directories.
Click to hide internal directories.