image

package
v0.0.0-...-8ecd7f4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 12 Imported by: 13

Documentation

Index

Constants

View Source
const LatestTag = "latest"

Variables

This section is empty.

Functions

func AppBasicImageName

func AppBasicImageName(reg imgTypes.ImageRegistry, appName string) (string, error)

func AppBuildImageName

func AppBuildImageName(reg imgTypes.ImageRegistry, appName, tag, team string, version int) (string, error)

func GetBuildImage

func GetBuildImage(ctx context.Context, app appTypes.App) (string, error)

GetBuildImage returns the image name from app or plaftorm. the platform image will be returned if: * there are no containers; * the container have an empty image name; * the deploy number is multiple of 10. in all other cases the app image name will be returned.

func ImageHistorySize

func ImageHistorySize() int

func JobBasicImageName

func JobBasicImageName(reg imgTypes.ImageRegistry, jobName string) (string, error)

func ParseImageParts

func ParseImageParts(imageName string) (registry string, image string, tag string)

func PlatformImageService

func PlatformImageService() (imageTypes.PlatformImageService, error)

func SplitImageName

func SplitImageName(imageName string) (repo, tag string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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