Documentation ¶
Index ¶
- Constants
- Variables
- func AddDefaultRegistryImagePullSecrets(podSpec *corev1.PodSpec) bool
- func CalculateDockerImageRunsAsCassandra(version string) bool
- func GetCassandraImage(serverType, version string) (string, error)
- func GetConfigBuilderImage() string
- func GetImage(name Image) string
- func GetReaperImage() string
- func GetSystemLoggerImage() string
- func IsDseVersionSupported(version string) bool
- func IsOssVersionSupported(version string) bool
- type Image
Constants ¶
View Source
const ( EnvBaseImageOS = "BASE_IMAGE_OS" ValidDseVersionRegexp = "6\\.8\\.\\d+" ValidOssVersionRegexp = "(3\\.11\\.\\d+)|(4\\.0\\.\\d+)" UbiImageSuffix = "-ubi7" )
View Source
const ( Cassandra_3_11_6 Image = iota Cassandra_3_11_7 Cassandra_4_0_0 UBICassandra_3_11_6 UBICassandra_3_11_7 UBICassandra_4_0_0 DSE_6_8_0 DSE_6_8_1 DSE_6_8_2 DSE_6_8_3 DSE_6_8_4 UBIDSE_6_8_0 UBIDSE_6_8_1 UBIDSE_6_8_2 UBIDSE_6_8_3 UBIDSE_6_8_4 ConfigBuilder UBIConfigBuilder BusyBox Reaper BaseImageOS // NOTE: This line MUST be last in the const expression ImageEnumLength int = iota )
IMPORTANT: Only Image enum values (and ImageEnumLength) should go in this const expression
Variables ¶
View Source
var ValidDsePrefixes = []string{"6.8"}
View Source
var ValidOssPrefixes = []string{"3.11", "4.0"}
Functions ¶
func CalculateDockerImageRunsAsCassandra ¶
Calculate if this Docker Image run as the cassandra user? This is meant to be used when the CassandraDatacenter does not explicitly set the DockerImageRunsAsCassandra field.
func GetCassandraImage ¶
func GetConfigBuilderImage ¶
func GetConfigBuilderImage() string
func GetReaperImage ¶
func GetReaperImage() string
func GetSystemLoggerImage ¶
func GetSystemLoggerImage() string
func IsDseVersionSupported ¶
func IsOssVersionSupported ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.