Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBinaryFiles ¶
WithBinaryFiles adds the specified files in the build context, content is binary
func WithDockerfile ¶
WithDockerfile adds the specified content as Dockerfile in the build context
Types ¶
type Fake ¶
type Fake struct {
Dir string
}
Fake creates directories that can be used as a build context
func (*Fake) AsTarReader ¶
func (f *Fake) AsTarReader(t testing.TB) io.ReadCloser
AsTarReader returns a ReadCloser with the contents of Dir as a tar archive.
Click to show internal directories.
Click to hide internal directories.