validateui

package
v0.0.0-...-2e9796e Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	True = true
)

Functions

This section is empty.

Types

type ClearSelectedBlueprintMsg

type ClearSelectedBlueprintMsg struct{}

type MainModel

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

func NewValidateApp

func NewValidateApp(engine core.DeployEngine, blueprintFile string, isDefaultBlueprintFile bool) (*MainModel, error)

func (MainModel) Init

func (m MainModel) Init() tea.Cmd

func (MainModel) Update

func (m MainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (MainModel) View

func (m MainModel) View() string

type SelectBlueprintModel

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

func NewSelectBlueprint

func NewSelectBlueprint(blueprintFile string, autoValidate bool) (*SelectBlueprintModel, error)

func (SelectBlueprintModel) Init

func (m SelectBlueprintModel) Init() tea.Cmd

func (SelectBlueprintModel) Update

func (m SelectBlueprintModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (SelectBlueprintModel) View

func (m SelectBlueprintModel) View() string

type SelectBlueprintMsg

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

type ValidateErrMsg

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

type ValidateModel

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

func NewValidateModel

func NewValidateModel(engine core.DeployEngine) ValidateModel

func (ValidateModel) Init

func (m ValidateModel) Init() tea.Cmd

func (ValidateModel) Update

func (m ValidateModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ValidateModel) View

func (m ValidateModel) View() string

type ValidateResultMsg

type ValidateResultMsg *core.ValidateResult

type ValidateStage

type ValidateStage int

ValidateStage is an enum that represents the different stages of the validation process.

const (
	// ValidateStageConfigStructure is the stage where application configuration
	// and project structure is validated.
	ValidateStageConfigStructure ValidateStage = iota
	// ValidateStageBlueprint is the stage where the blueprint is validated.
	ValidateStageBlueprint
	// ValidateStageSourceCode is the stage where the source code of the
	// application is validated.
	ValidateStageSourceCode
)

type ValidateStreamMsg

type ValidateStreamMsg struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳