docker

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageRepoTagFromEnv

func GetImageRepoTagFromEnv(envName, defaultImage string, defaultTag string) (image, tag string)

GetImageRepoTagFromEnv parse the image and tag from environment varaibles, if it's not existed or

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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