Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ListPackFormats = []string{string(PackFormatTgz), string(PackFormatZip)}
Functions ¶
Types ¶
type PackFormat ¶ added in v0.22.0
type PackFormat string
const ( PackFormatTgz PackFormat = "tgz" PackFormatZip PackFormat = "zip" )
func (*PackFormat) Set ¶ added in v0.22.0
func (e *PackFormat) Set(v string) error
Set must have pointer receiver so it doesn't change the value of a copy
func (*PackFormat) String ¶ added in v0.22.0
func (e *PackFormat) String() string
String is used both by fmt.Print and by Cobra in help text
func (*PackFormat) Type ¶ added in v0.22.0
func (e *PackFormat) Type() string
Type is only used in help text
type PackOptions ¶ added in v0.12.0
type PackOptions struct { FileName string Prefix string IncludeSource bool Format PackFormat }
Click to show internal directories.
Click to hide internal directories.