Documentation ¶
Overview ¶
Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// TmpDirPattern sets the pattern for temporary files
TmpDirPattern = "build_cli_tests"
)
Functions ¶
func NewBuildContext ¶
NewBuildContext creates a temporary directory with a set of files populated. The input payload keys represent the filenames, and values are the contents of the files. Returns the directory path, a cleanup function, and error Callers should always call the cleanup, even in the case of an error
func NewSimpleBuildContext ¶
NewSimpleBuildContext creates a very simple Dockerfile for exercising the builder
func RunBuildkit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.