dockerfile

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL