create

package
v0.13.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSuggestedWorkspaceName added in v0.11.0

func GetSuggestedWorkspaceName(repo string) string

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

type Styles

type Styles struct {
	Base,
	HeaderText,
	Status,
	StatusHeader,
	Highlight,
	ErrorHeaderText,
	Help lipgloss.Style
}

func NewStyles

func NewStyles(lg *lipgloss.Renderer) *Styles

type WorkspaceCreationPromptResponse

type WorkspaceCreationPromptResponse struct {
	WorkspaceName         string
	PrimaryRepository     serverapiclient.GitRepository
	SecondaryRepositories []serverapiclient.GitRepository
	SecondaryProjectCount int
}

func RunInitialForm added in v0.11.0

func RunInitialForm(providerRepo serverapiclient.GitRepository, multiProject bool) (WorkspaceCreationPromptResponse, error)

func RunSecondaryProjectsForm added in v0.11.0

func RunSecondaryProjectsForm(workspaceCreationPromptResponse WorkspaceCreationPromptResponse) (WorkspaceCreationPromptResponse, error)

func RunWorkspaceNameForm added in v0.11.0

func RunWorkspaceNameForm(workspaceCreationPromptResponse WorkspaceCreationPromptResponse, suggestedName string, workspaceNames []string) (WorkspaceCreationPromptResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL