Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
BuildImage permit to build image
func GetBuildCommand ¶
func GetBuildCommand(registryName, imageName string) *cli.Command
GetBuildCommand permit to get the command spec to add on cli
Types ¶
type BuildImageOption ¶
type BuildImageOption struct { WithLint bool `default:"true"` WithProxy bool `default:"true"` WithPush bool `default:"false"` WithRegistryUsername string `validate:"validateRegistryAuth"` WithRegistryPassword string `validate:"validateRegistryAuth"` RegistryName string `validate:"required"` Name string `validate:"required"` Tag string `default:"latest"` PathContext string `default:"."` }
func (BuildImageOption) ValidateRegistryAuth ¶
func (h BuildImageOption) ValidateRegistryAuth(val string) bool
Click to show internal directories.
Click to hide internal directories.