Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DockerignoreFilename is the filename for Docker's ignore file.
DockerignoreFilename = ".dockerignore"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
Image string
Dockerfile string
BuildContext io.ReadCloser
// contains filtered or unexported fields
}
Component contains all information to build a container image
func NewComponent ¶
func NewComponent(c *manifest.InvocationImage, cli *command.DockerCli) *Component
NewComponent returns a new Docker component based on the manifest
func (Component) Digest ¶
Digest returns the name of a Docker component, which will give the image name
TODO - return the actual digest
func (*Component) PrepareBuild ¶
PrepareBuild archives the component directory and loads it as Docker context
Click to show internal directories.
Click to hide internal directories.