images

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 AddDefaultRegistryImagePullSecrets

func AddDefaultRegistryImagePullSecrets(podSpec *corev1.PodSpec) bool

func CalculateDockerImageRunsAsCassandra

func CalculateDockerImageRunsAsCassandra(version string) bool

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 GetCassandraImage(serverType, version string) (string, error)

func GetConfigBuilderImage

func GetConfigBuilderImage() string

func GetImage

func GetImage(name Image) string

func GetReaperImage

func GetReaperImage() string

func GetSystemLoggerImage

func GetSystemLoggerImage() string

func IsDseVersionSupported

func IsDseVersionSupported(version string) bool

func IsOssVersionSupported

func IsOssVersionSupported(version string) bool

Types

type Image

type Image int

func (Image) String

func (image Image) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL