Documentation ¶
Index ¶
- Constants
- func AppBasicImageName(reg imgTypes.ImageRegistry, appName string) (string, error)
- func AppBuildImageName(reg imgTypes.ImageRegistry, appName, tag, team string, version int) (string, error)
- func GetBuildImage(ctx context.Context, app appTypes.App) (string, error)
- func ImageHistorySize() int
- func JobBasicImageName(reg imgTypes.ImageRegistry, jobName string) (string, error)
- func ParseImageParts(imageName string) (registry string, image string, tag string)
- func PlatformImageService() (imageTypes.PlatformImageService, error)
- func SplitImageName(imageName string) (repo, tag string)
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 GetBuildImage ¶
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 PlatformImageService ¶
func PlatformImageService() (imageTypes.PlatformImageService, error)
func SplitImageName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.