Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerfileGenerator ¶
type DockerfileGenerator struct {
Config *config.Config
Dir string
// these are here to make this type testable
GOOS string
GOARCH string
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(config *config.Config, dir string) *DockerfileGenerator
func (*DockerfileGenerator) Cleanup ¶
func (g *DockerfileGenerator) Cleanup() error
func (*DockerfileGenerator) Generate ¶
func (g *DockerfileGenerator) Generate() (string, error)
func (*DockerfileGenerator) GenerateBase ¶
func (g *DockerfileGenerator) GenerateBase() (string, error)
Click to show internal directories.
Click to hide internal directories.