Documentation
¶
Index ¶
- func EnterCPU(typeStr string, defaultValue string) string
- func EnterComponentName(defaultName string, context *genericclioptions.Context) string
- func EnterDevfileComponentName(defaultComponentName string) string
- func EnterDevfileComponentNamespace(defaultComponentNamespace string) string
- func EnterEnvVars() []string
- func EnterGitInfo() (string, string)
- func EnterInputTypePath(inputType string, currentDir string, defaultPath ...string) string
- func EnterMemory(typeStr string, defaultValue string) string
- func EnterOpenshiftName(defaultName string, message string, context *genericclioptions.Context) string
- func EnterPorts() []string
- func SelectComponentType(options []catalog.ComponentType) string
- func SelectDevfileComponentType(options []catalog.DevfileComponentType) string
- func SelectImageTag(options []catalog.ComponentType, selectedComponentType string) string
- func SelectSourceType(sourceTypes []config.SrcType) config.SrcType
- func SelectStarterProject(projects []common.DevfileStarterProject) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnterComponentName ¶
func EnterComponentName(defaultName string, context *genericclioptions.Context) string
EnterComponentName allows the user to specify the component name in a prompt
func EnterDevfileComponentName ¶
EnterDevfileComponentName lets the user to specify the component name in the prompt
func EnterDevfileComponentNamespace ¶
EnterDevfileComponentNamespace lets the user to specify the component namespace in the prompt
func EnterEnvVars ¶
func EnterEnvVars() []string
EnterEnvVars allows the user to specify the environment variables to be used in a prompt
func EnterGitInfo ¶
EnterGitInfo will display two prompts, one of the URL of the project and one of the ref
func EnterInputTypePath ¶
EnterInputTypePath allows the user to specify the path on the filesystem in a prompt
func EnterMemory ¶
EnterMemory allows the user to specify the memory limits to be used in a prompt
func EnterOpenshiftName ¶
func EnterOpenshiftName(defaultName string, message string, context *genericclioptions.Context) string
EnterOpenshiftName allows the user to specify the app name in a prompt
func EnterPorts ¶
func EnterPorts() []string
EnterPorts allows the user to specify the ports to be used in a prompt
func SelectComponentType ¶
func SelectComponentType(options []catalog.ComponentType) string
SelectComponentType lets the user to select the builder image (name only) in the prompt
func SelectDevfileComponentType ¶
func SelectDevfileComponentType(options []catalog.DevfileComponentType) string
SelectDevfileComponentType lets the user to select the devfile component type in the prompt
func SelectImageTag ¶
func SelectImageTag(options []catalog.ComponentType, selectedComponentType string) string
SelectImageTag lets the user to select a specific tag for the previously selected builder image in a prompt
func SelectSourceType ¶
SelectSourceType lets the user select a specific config.SrcType in a prompty
func SelectStarterProject ¶
func SelectStarterProject(projects []common.DevfileStarterProject) string
SelectStarterProject allows user to select starter project in the prompt
Types ¶
This section is empty.