utils

package
v0.0.65 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBuilder

func GenerateBuilder(rootDir string, stackPath string, registryUrl string) (buildImageID string, buildImageUrl string, runImageID 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