build

package
v0.0.0-...-60f4931 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlimpServiceTag

func BlimpServiceTag(absComposePath, svc string) string

func RemoteImageName

func RemoteImageName(absComposePath, svc, namespace string) string

func ReplaceTagWithDigest

func ReplaceTagWithDigest(imageName, digest string) string

Types

type BuildPushConfig

type BuildPushConfig struct {
	composeTypes.BuildConfig
	ImageName  string
	ForceBuild bool
	PullParent bool
	NoCache    bool
}

type Interface

type Interface interface {
	// BuildAndPush takes a map of service names to their build/push configs,
	// and returns a mapping from service names to the pushed image names.
	BuildAndPush(serviceConfigs map[string]BuildPushConfig) (map[string]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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