docker

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ImageTagEnvRegexFormat = "^\\S+:\\S+$"

Variables

Functions

func GetImagePullSecretsFromEnv added in v0.8.2

func GetImagePullSecretsFromEnv(envName string) []corev1.LocalObjectReference

get docker pull secrets from environment variables, if it's not existed, return [] image pull secret format in ENV: str1,str2,str3

func GetImageRepoFromEnv added in v0.6.0

func GetImageRepoFromEnv(envName string) (image string)

GetImageRepoFromEnv parse the image from environment variables, if it's not existed, return the default value

func GetImageTagFromEnv added in v0.6.0

func GetImageTagFromEnv(envName string) (tag string)

GetImageTagFromEnv parse the image tag from environment variables, if it's not existed, return the default value

func GetWorkerImage

func GetWorkerImage(client client.Client, datasetName string, runtimeType string, namespace string) (imageName string, imageTag string)

GetWorkerImage get the image of alluxio worker from alluxioruntime, env or default TODO: Get image by calling runtime controller interface instead of reading runtime object

func ParseDockerImage

func ParseDockerImage(image string) (name string, tag string)

ParseDockerImage extracts repo and tag from image. An empty string is returned if no tag is discovered.

func ParseInitImage added in v0.6.0

func ParseInitImage(image, tag, imagePullPolicy, envName string) (string, string, string)

ParseInitImage parses the init image and image tag

Types

This section is empty.

Jump to

Keyboard shortcuts

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