Documentation ¶
Index ¶
- Constants
- func AddDefaultRegistryImagePullSecrets(podSpec *corev1.PodSpec, imageTypes ...string)
- func GetCassandraImage(serverType, version string) (string, error)
- func GetClientImage() string
- func GetConfigBuilderImage() string
- func GetConfiguredImage(imageType, image string) string
- func GetImage(imageType string) string
- func GetImageConfig() *configv1beta1.ImageConfig
- func GetImagePullPolicy(imageType string) corev1.PullPolicy
- func GetSystemLoggerImage() string
- func IsDseVersionSupported(version string) bool
- func IsHCDVersionSupported(version string) bool
- func IsOssVersionSupported(version string) bool
- func LoadImageConfig(content []byte) (*configv1beta1.ImageConfig, error)
- func ParseImageConfig(imageConfigFile string) error
Constants ¶
View Source
const ( ValidDseVersionRegexp = "(6\\.[89]\\.\\d+)" ValidHcdVersionRegexp = "(1\\.\\d+\\.\\d+)" ValidOssVersionRegexp = "(3\\.11\\.\\d+)|(4\\.\\d+\\.\\d+)|(5\\.\\d+\\.\\d+)" DefaultCassandraRepository = "k8ssandra/cass-management-api" DefaultDSERepository = "datastax/dse-mgmtapi-6_8" DefaultHCDRepository = "datastax/hcd" )
Variables ¶
This section is empty.
Functions ¶
func GetCassandraImage ¶
func GetClientImage ¶ added in v1.17.0
func GetClientImage() string
func GetConfigBuilderImage ¶
func GetConfigBuilderImage() string
func GetConfiguredImage ¶ added in v1.23.0
func GetImageConfig ¶
func GetImageConfig() *configv1beta1.ImageConfig
func GetImagePullPolicy ¶ added in v1.23.0
func GetImagePullPolicy(imageType string) corev1.PullPolicy
func GetSystemLoggerImage ¶
func GetSystemLoggerImage() string
func IsDseVersionSupported ¶
func IsHCDVersionSupported ¶ added in v1.21.0
func IsOssVersionSupported ¶
func LoadImageConfig ¶ added in v1.13.0
func LoadImageConfig(content []byte) (*configv1beta1.ImageConfig, error)
func ParseImageConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.