docker

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Category

func Category() string

Category returns the const string of docker category

func Clean

func Clean() error

Clean deletes all templates files

func DockerCommand

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

DockerCommand provides the entry for taoctl docker

func GenTemplates

func GenTemplates(_ *cli.Context) error

GenTemplates creates docker template files

func RevertTemplate

func RevertTemplate(name string) error

RevertTemplate recovers the deleted template files

func Update

func Update() error

Update deletes and creates new template files

Types

type Docker

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