validateui

package
v0.0.0-...-bf62912 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: Apache-2.0 Imports: 18 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 {
	Error error
	// contains filtered or unexported fields
}

func NewValidateApp

func NewValidateApp(
	engine engine.DeployEngine,
	logger *zap.Logger,
	blueprintFile string,
	isDefaultBlueprintFile bool,
	celerityStyles *styles.CelerityStyles,
) (*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,
	celerityStyles *styles.CelerityStyles,
) (*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 engine.DeployEngine, logger *zap.Logger) 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 *types.BlueprintValidationEvent

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