images

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: Apache-2.0 Imports: 13 Imported by: 9

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 NewImageRegistryFromConfigMap(ctx context.Context, c client.Client) (ImageRegistry, error)

func NewImageRegistryV2 added in v1.27.0

func NewImageRegistryV2(content []byte) (ImageRegistry, error)

Jump to

Keyboard shortcuts

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