docker

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Category added in v1.1.1

func Category() string

Category returns the const string of docker category

func Clean added in v1.1.1

func Clean() error

Clean deletes all templates files

func DockerCommand

func DockerCommand(c *cli.Context) (err error)

DockerCommand provides the entry for goctl docker

func GenTemplates added in v1.0.27

func GenTemplates(_ *cli.Context) error

GenTemplates creates docker template files

func RevertTemplate added in v1.1.1

func RevertTemplate(name string) error

RevertTemplate recovers the deleted template files

func Update added in v1.1.1

func Update() error

Update deletes and creates new template files

Types

type Docker added in v1.1.0

type Docker struct {
	Chinese   bool
	GoRelPath string
	GoFile    string
	ExeFile   string
	HasPort   bool
	Port      int
	Argument  string
}

Docker describes a dockerfile

Jump to

Keyboard shortcuts

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