Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultCassandraRepository = "k8ssandra/cass-management-api" DefaultDSERepository = "datastax/dse-mgmtapi-6_8" DefaultHCDRepository = "datastax/hcd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageRegistry ¶ added in v1.27.0
type ImageRegistry interface {
GetImage(imageType string) string
GetImagePullPolicy(imageType string) corev1.PullPolicy
GetImagePullSecrets(imageTypes ...string) []string
// Shortcuts for common images used by cass-operator internally. TODO: Remove "Get" prefix for consistency with golang idioms
GetConfigBuilderImage() string
GetClientImage() string
GetSystemLoggerImage() string
GetCassandraImage(serverType, version string) (string, error)
Image(imageType string) *api.Image
}
func NewImageRegistry ¶ added in v1.27.0
func NewImageRegistry(imageConfigFile string) (ImageRegistry, error)
NewImageRegistry creates a new ImageRegistry.
func NewImageRegistryFromConfigMap ¶ added in v1.27.0
func NewImageRegistryV2 ¶ added in v1.27.0
func NewImageRegistryV2(content []byte) (ImageRegistry, error)
Click to show internal directories.
Click to hide internal directories.