Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdditionalPropertyPadding = " "
View Source
var ArbitrarySpace = 10
View Source
var RowWhiteSpace = 1 + 4 + len(AdditionalPropertyPadding)*2 + 4 + 4 + 1
Left border, BaseTableStyle padding left, additional padding for workspace name and target, BaseTableStyle padding right, BaseCellStyle padding right, right border
Functions ¶
func GetLongDescription ¶
func GetLongDescription() string
func GetTableMinimumWidth ¶ added in v0.13.0
func WithInlineSpinner ¶ added in v0.31.0
func WithSpinner ¶ added in v0.23.0
Types ¶
type BuildChoice ¶ added in v0.28.0
type BuildChoice string
const ( AUTOMATIC BuildChoice = "auto" DEVCONTAINER BuildChoice = "devcontainer" CUSTOMIMAGE BuildChoice = "custom-image" NONE BuildChoice = "none" )
func GetProjectBuildChoice ¶ added in v0.28.0
func GetProjectBuildChoice(project apiclient.CreateProjectDTO, defaults *ProjectConfigDefaults) (BuildChoice, string)
func (*BuildChoice) Set ¶ added in v0.28.0
func (c *BuildChoice) Set(v string) error
Set must have pointer receiver so it doesn't change the value of a copy
func (*BuildChoice) String ¶ added in v0.28.0
func (c *BuildChoice) String() string
String is used both by fmt.Print and by Cobra in help text
func (*BuildChoice) Type ¶ added in v0.28.0
func (c *BuildChoice) Type() string
Type is only used in help text
type ProjectConfigDefaults ¶ added in v0.28.0
type ProjectConfigDefaults struct { BuildChoice BuildChoice Image *string ImageUser *string DevcontainerFilePath string }
Click to show internal directories.
Click to hide internal directories.