Documentation
¶
Index ¶
- func GetIntType(value interface{}) (int, error)
- func GetNamespaceReplicationFactor(nsConf map[string]interface{}) (int, error)
- func IsDeviceOrPmemNamespace(namespaceConf map[string]interface{}) bool
- func IsInMemoryNamespace(namespaceConf map[string]interface{}) bool
- func IsShMemIndexTypeNamespace(namespaceConf map[string]interface{}) bool
- func ValidateAerospikeConfig(aslog logr.Logger, version string, config map[string]interface{}, clSize int) error
- func ValidateAerospikeConfigSchema(aslog logr.Logger, version string, config map[string]interface{}) error
- func ValidateAerospikeConfigUpdate(aslog logr.Logger, version string, oldConfig, newConfig map[string]interface{}, ...) error
- func ValidateAerospikeConfigUpdateWithoutSchema(oldConfig, newConfig map[string]interface{}) error
- func ValidateStorageEngineDeviceList(nsConfList []interface{}) (deviceList, fileList map[string]string, err error)
- func ValidateTLSAuthenticateClient(serviceConf map[string]interface{}) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIntType ¶
GetIntType typecasts the numeric value to the supported type
func GetNamespaceReplicationFactor ¶
GetNamespaceReplicationFactor returns the replication factor for the namespace.
func IsDeviceOrPmemNamespace ¶
IsDeviceOrPmemNamespace returns true if this namespace config uses device for storage.
func IsInMemoryNamespace ¶
IsInMemoryNamespace returns true if this namespace config uses memory for storage.
func IsShMemIndexTypeNamespace ¶
IsShMemIndexTypeNamespace returns true if this namespace index type is shmem.
func ValidateAerospikeConfig ¶
func ValidateAerospikeConfig( aslog logr.Logger, version string, config map[string]interface{}, clSize int, ) error
ValidateAerospikeConfig validates the aerospikeConfig. It validates the schema, service, network, logging and namespace configurations.
func ValidateAerospikeConfigUpdate ¶
func ValidateAerospikeConfigUpdate( aslog logr.Logger, version string, oldConfig, newConfig map[string]interface{}, clSize int, ) error
ValidateAerospikeConfigUpdate validates the update of aerospikeConfig. It validates the schema, security, tls, network and namespace configurations for the newConfig It also validates the update of security, tls, network and namespace configurations.
func ValidateAerospikeConfigUpdateWithoutSchema ¶
ValidateAerospikeConfigUpdateWithoutSchema validates the update of aerospikeConfig except for the schema. It validates the update of security, tls, network and namespace configurations.
func ValidateTLSAuthenticateClient ¶
ValidateTLSAuthenticateClient validate the tls-authenticate-client field in the service configuration.
Types ¶
This section is empty.