utils

package
v0.0.93 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBuilder

func GenerateBuilder(buildImage string, runImage string, registryUrl string) (buildImageUrl string, runImageUrl string, builderImageUrl string, err error)

func GetLifecycleImageID

func GetLifecycleImageID(docker occam.Docker, builderImageUrl string) (lifecycleImageID string, err error)

func GetLifecycleVersion

func GetLifecycleVersion(builderUrl string) (string, error)

func PushFileToLocalRegistry

func PushFileToLocalRegistry(filePath string, registryUrl string, imageName string) (string, error)

func RemoveImages

func RemoveImages(docker occam.Docker, imageIDs []string) error

Types

type Builder

type Builder struct {
	LocalInfo struct {
		Lifecycle struct {
			Version string `json:"version"`
		} `json:"lifecycle"`
	} `json:"remote_info"`
}

Jump to

Keyboard shortcuts

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