Documentation
      ¶
    
    
  
    
  
    Index ¶
- func EnterCPU(typeStr string, defaultValue string) string
 - func EnterComponentName(defaultName string, context *genericclioptions.Context) 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.CatalogImage) string
 - func SelectImageTag(options []catalog.CatalogImage, selectedComponentType string) string
 - func SelectSourceType(sourceTypes []config.SrcType) config.SrcType
 
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 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 ¶ added in v1.0.0
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.CatalogImage) string
SelectComponentType lets the user to select the builder image (name only) in the prompt
func SelectImageTag ¶
func SelectImageTag(options []catalog.CatalogImage, selectedComponentType string) string
SelectImageTag lets the user to select a specific tag for the previously selected builder image in a prompt
Types ¶
This section is empty.