Documentation ¶
Index ¶
- Constants
- Variables
- func BindEnv(flags ...string) bindWorkflow
- func CheckDocker() error
- func CheckIfDirExists(dirName string) (bool, error)
- func CheckJavaDependencies() error
- func CheckPodman() error
- func DefaultTemplatedHelp(cmd *cobra.Command, args []string)
- func GetFriendlyMessages(operation string) []string
- func GetTemplate(cmd *cobra.Command, name string) *template.Template
- func RunCommand(command *exec.Cmd, verbose bool, commandName string, friendlyMessages []string) error
- func RunExtensionCommand(verbose bool, extensionCommand string, friendlyMessages []string, ...) error
- func VerboseLog(stdout io.Reader, stderr io.Reader)
Constants ¶
View Source
const ( QUARKUS_MAVEN_PLUGIN = "quarkus-maven-plugin" QUARKUS_KUBERNETES_EXTENSION = "quarkus-kubernetes" QUARKUS_RESTEASY_REACTIVE_JACKSON_EXTENSION = "quarkus-resteasy-reactive-jackson" QUARKUS_CONTAINER_IMAGE_JIB = "quarkus-container-image-jib" QUARKUS_CONTAINER_IMAGE_DOCKER = "quarkus-container-image-docker" KOGITO_QUARKUS_SERVERLESS_WORKFLOW_EXTENSION = "kogito-quarkus-serverless-workflow" KOGITO_ADDONS_QUARKUS_KNATIVE_EVENTING_EXTENSION = "kogito-addons-quarkus-knative-eventing" // Versions JAVA_VERSION = 11 MAVEN_MAJOR_VERSION = 3 MAVEN_MINOR_VERSION = 8 // Default values DEFAULT_TAG = "latest" WORKFLOW_SW_JSON = "workflow.sw.json" )
Variables ¶
View Source
var ExecCommand = exec.Command
Make it a global var so it can be overrided in tests
Functions ¶
func CheckDocker ¶
func CheckDocker() error
func CheckIfDirExists ¶
func CheckJavaDependencies ¶
func CheckJavaDependencies() error
func CheckPodman ¶
func CheckPodman() error
func DefaultTemplatedHelp ¶
func GetFriendlyMessages ¶
Accepts a operation string, and returns an array of predefined messages. Taking the "creating" operation:
[]string{ " Creating...", " Still creating project", " Still creating project", " Yes, still creating project", " Don't give up on me", " Still creating project", " This is taking a while", }
func RunCommand ¶
func RunExtensionCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.