Help us shape the future of Go! Take the 2026 Go Developer Survey

v0

package
v1.76.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpgradeConfig

func UpgradeConfig(cfgBytes []byte) ([]byte, error)

Types

type Config

type Config struct {
	BuildArgs []string `yaml:"build-args,omitempty"`

	// BuildArgsScript is the content of a script that is written to a file and run before this image is built to
	// provide supplemental "docker build" arguments for the image. The content of this value is written to a file and
	// executed. The script process uses the project directory as its working directory and inherits the environment
	// variables of the Go process. Each line of output of the script is provided to the "docker build" command as a
	// separate argument. The arguments produced by the script are appended to any arguments specified in BuildArgs.
	BuildArgsScript *string `yaml:"build-args-script,omitempty"`
}

Jump to

Keyboard shortcuts

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