Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // WorkDir defines work dir WorkDir(dir string) Interface // Build builds a image Build(dockerfile, repository string) error // Push pushes built image to remote Push(repository string) error }
Interface defines docker interface to build and push image TODO(liubog2008): add credential interface
Click to show internal directories.
Click to hide internal directories.