Documentation
¶
Index ¶
- Variables
- func All(opts *container.Build) error
- func Engine(cmd *cobra.Command, args []string) error
- func Execute() error
- func GetBuild() []*container.Build
- func Init(args ...*container.Build)
- func InitBuildSteps(_buildSteps *build.BuildSteps) *build.BuildSteps
- func LoadCache() error
- func Pre(arg ...*container.Build) *build.BuildSteps
- func RunBuild(_ *cobra.Command, _ []string)
- func RunCommand(cmd *cobra.Command, args []string) error
- func RunGithub(cmd *cobra.Command, args []string)
- func RunGithubAction() error
- func RunGithubActionCmd(_ *cobra.Command, args []string) error
- func RunMage(cmd *cobra.Command, args []string)
- func SaveCache() error
- func SetVersionInfo(version, commit, date, repo string) string
- type Command
Constants ¶
This section is empty.
Variables ¶
View Source
var RootArgs = &rootCmdArgs{}
Functions ¶
func Execute ¶
func Execute() error
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func InitBuildSteps ¶ added in v0.2.1
func InitBuildSteps(_buildSteps *build.BuildSteps) *build.BuildSteps
InitBuildSteps can be used to set the build steps for the build command This is useful for registering a new build step as part of a extension of the engine-ci with to support new build types for different languages or to customize the build steps for a specific project.
func RunGithubAction ¶
func RunGithubAction() error
func SetVersionInfo ¶ added in v0.3.0
Types ¶
Click to show internal directories.
Click to hide internal directories.