build

package
v20.10.12+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBuildContext

func WithBuildContext(t testing.TB, contextOperators ...func(*fakecontext.Fake) error) func(*icmd.Cmd) func()

WithBuildContext sets up the build context

func WithContextPath

func WithContextPath(path string) func(*icmd.Cmd) func()

WithContextPath sets the build context path

func WithDockerfile

func WithDockerfile(dockerfile string) func(*icmd.Cmd) func()

WithDockerfile creates / returns a CmdOperator to set the Dockerfile for a build operation

func WithExternalBuildContext

func WithExternalBuildContext(ctx *fakecontext.Fake) func(*icmd.Cmd) func()

WithExternalBuildContext use the specified context as build context

func WithFile

func WithFile(name, content string) func(*fakecontext.Fake) error

WithFile adds the specified file (with content) in the build context

func WithStdinContext

func WithStdinContext(closer io.ReadCloser) func(*icmd.Cmd) func()

WithStdinContext sets the build context from the standard input with the specified reader

func WithoutCache

func WithoutCache(cmd *icmd.Cmd) func()

WithoutCache makes the build ignore cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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