Documentation ¶
Index ¶
- Constants
- func BuildImage(ctx context.Context, buildContextLocation string, dockerfile string, ...) (string, error)
- func GetContainerByName(ctx context.Context, name string) (types.Container, error)
- func GetImageByName(ctx context.Context, name string) (image.Summary, error)
- func NewClient() (*dockerclient.Client, error)
- func TagImage(ctx context.Context, src string, dest string) error
Constants ¶
View Source
const (
DumpDockerfile = `
FROM scratch
COPY . .
`
)
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
func GetContainerByName ¶
func NewClient ¶
func NewClient() (*dockerclient.Client, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.