Documentation ¶
Index ¶
- Constants
- func ConfigMapName() string
- func EnableDependencies()
- func GetFeatureArgName(featureName string) string
- func GetFeatureMap() map[string]bool
- func Init(cmd *cobra.Command) error
- func IsGatewayEnabled(spec api.DeploymentSpec) bool
- func Iterate(iterator Iterator)
- func Supported(f Feature, v driver.Version, enterprise bool) bool
- type Feature
- func AgencyPoll() Feature
- func AsyncBackupCreation() Feature
- func BackupCleanup() Feature
- func DeploymentSpecDefaultsRestore() Feature
- func EncryptionRotation() Feature
- func EnforcedResignLeadership() Feature
- func EphemeralVolumes() Feature
- func FailoverLeadership() Feature
- func Gateway() Feature
- func GracefulShutdown() Feature
- func InitContainerCopyResources() Feature
- func InitContainerUpscaleResources() Feature
- func JWTRotation() Feature
- func LocalStorageReclaimPolicyPass() Feature
- func LocalVolumeReplacementCheck() Feature
- func Maintenance() Feature
- func MetricsExporter() Feature
- func OptionalGracefulShutdown() Feature
- func RandomPodNames() Feature
- func RebalancerV2() Feature
- func RebuildOutSyncedShards() Feature
- func RestartPolicyAlways() Feature
- func SecuredContainers() Feature
- func SensitiveInformationProtection() Feature
- func ShortPodNames() Feature
- func TLSRotation() Feature
- func TLSSNI() Feature
- func Timezone() Feature
- func UpgradeAlternativeOrder() Feature
- func UpgradeVersionCheck() Feature
- func UpgradeVersionCheckV2() Feature
- func Version310() Feature
- type Features
- type Iterator
Constants ¶
View Source
const ( Enabled = "true" Disabled = "false" )
View Source
const (
DefaultFeaturesConfigMap = "arangodb-operator-feature-config-map"
)
View Source
const MinSupportedArangoDBVersion = "3.8.0"
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func ConfigMapName() string
func EnableDependencies ¶
func EnableDependencies()
EnableDependencies enables dependencies for features if it is required.
func GetFeatureArgName ¶
GetFeatureArgName returns feature process argument name.
func GetFeatureMap ¶
GetFeatureMap returns all features' arguments names.
func Init ¶
Init initializes all registered features. If a feature is not provided via process's argument, then it is taken from environment variable or from enabled by default setting.
func IsGatewayEnabled ¶
func IsGatewayEnabled(spec api.DeploymentSpec) bool
Types ¶
type Feature ¶
type Feature interface { Name() string Description() string Dependencies() []Feature Version() driver.Version EnterpriseRequired() bool OperatorEnterpriseRequired() bool EnabledByDefault() bool Enabled() bool EnabledPointer() *bool Deprecated() (bool, string) Hidden() bool Supported(v driver.Version, enterprise bool) bool ImageSupported(i *api.ImageInfo) bool GetDependencies() []string }
func AgencyPoll ¶
func AgencyPoll() Feature
func AsyncBackupCreation ¶
func AsyncBackupCreation() Feature
AsyncBackupCreation returns mode for backup creation (sync/async).
func BackupCleanup ¶
func BackupCleanup() Feature
BackupCleanup returns mode for Imported backups cleanup.
func DeploymentSpecDefaultsRestore ¶
func DeploymentSpecDefaultsRestore() Feature
func EncryptionRotation ¶
func EncryptionRotation() Feature
func EnforcedResignLeadership ¶
func EnforcedResignLeadership() Feature
EnforcedResignLeadership returns enforced ResignLeadership.
func EphemeralVolumes ¶
func EphemeralVolumes() Feature
func FailoverLeadership ¶
func FailoverLeadership() Feature
func GracefulShutdown ¶
func GracefulShutdown() Feature
func InitContainerCopyResources ¶
func InitContainerCopyResources() Feature
func InitContainerUpscaleResources ¶
func InitContainerUpscaleResources() Feature
func JWTRotation ¶
func JWTRotation() Feature
func LocalStorageReclaimPolicyPass ¶
func LocalStorageReclaimPolicyPass() Feature
func LocalVolumeReplacementCheck ¶
func LocalVolumeReplacementCheck() Feature
func Maintenance ¶
func Maintenance() Feature
func OptionalGracefulShutdown ¶
func OptionalGracefulShutdown() Feature
func RandomPodNames ¶
func RandomPodNames() Feature
func RebalancerV2 ¶
func RebalancerV2() Feature
func RebuildOutSyncedShards ¶
func RebuildOutSyncedShards() Feature
func RestartPolicyAlways ¶
func RestartPolicyAlways() Feature
func SecuredContainers ¶
func SecuredContainers() Feature
SecuredContainers returns secured containers feature.
func SensitiveInformationProtection ¶
func SensitiveInformationProtection() Feature
func ShortPodNames ¶
func ShortPodNames() Feature
func TLSRotation ¶
func TLSRotation() Feature
func UpgradeAlternativeOrder ¶
func UpgradeAlternativeOrder() Feature
func UpgradeVersionCheck ¶
func UpgradeVersionCheck() Feature
func UpgradeVersionCheckV2 ¶
func UpgradeVersionCheckV2() Feature
func Version310 ¶
func Version310() Feature
Source Files ¶
- agency.go
- backup.go
- config.go
- deployment.go
- encryption.go
- failoverleadership.go
- features.go
- gateway.go
- graceful.go
- init_containers.go
- jwt.go
- local.go
- maintenance.go
- metrics.go
- names.go
- rebalancer.go
- rebuild_out_synced_shards.go
- resign_leadership.go
- restart_policy_always.go
- secured_containers.go
- security.go
- timezone.go
- tls.go
- upgrade.go
- version_3_10.go
- volumes.go
Click to show internal directories.
Click to hide internal directories.