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

envbuilder

package
v0.7.122 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteDockerfile

func WriteDockerfile(dir string, env *Environment) (string, error)

WriteDockerfile writes Dockerfile.test (and Dockerfile.test.dockerignore if needed) to dir and returns the path to the written Dockerfile.

Types

type Environment

type Environment = envspec.Environment

func DetectEnvironment

func DetectEnvironment(ctx context.Context, dir string) (*Environment, error)

DetectEnvironment analyses the repository at dir and returns a detected Environment.

type Step added in v0.7.35

type Step = envspec.Step

Step and Environment are defined in internal/envspec; alias them here so existing callers using envbuilder.Step / envbuilder.Environment continue to work.

Jump to

Keyboard shortcuts

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