Documentation ¶
Index ¶
- Constants
- func GetBackupConfig(cluster *kstonev1alpha1.EtcdCluster) (*backup.Config, error)
- func IncrFailedInspectionCounter(clusterName string, featureName kstonev1alpha1.KStoneFeature)
- func IsFeatureGateEnabled(annotations map[string]string, name kstonev1alpha1.KStoneFeature) bool
- type ConsistencyType
Constants ¶
View Source
const ( FeatureStatusEnabled = "enabled" FeatureStatusDisabled = "disabled" )
View Source
const (
OneDaySeconds = 24 * 60 * 60
)
Variables ¶
This section is empty.
Functions ¶
func GetBackupConfig ¶
func GetBackupConfig(cluster *kstonev1alpha1.EtcdCluster) (*backup.Config, error)
func IncrFailedInspectionCounter ¶
func IncrFailedInspectionCounter(clusterName string, featureName kstonev1alpha1.KStoneFeature)
func IsFeatureGateEnabled ¶
func IsFeatureGateEnabled(annotations map[string]string, name kstonev1alpha1.KStoneFeature) bool
Types ¶
type ConsistencyType ¶
type ConsistencyType string
const ( ConsistencyKeyTotal ConsistencyType = "keyTotal" ConsistencyRevision ConsistencyType = "revision" ConsistencyIndex ConsistencyType = "index" ConsistencyRaftRaftAppliedIndex ConsistencyType = "raftAppliedIndex" ConsistencyRaftIndex ConsistencyType = "raftIndex" )
Click to show internal directories.
Click to hide internal directories.