validateui

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 22 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

This section is empty.

Functions

This section is empty.

Types

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,
	bluelinkStyles *styles.BluelinkStyles,
	headless bool,
	headlessWriter io.Writer,
) (*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 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,
	headless bool,
	headlessWriter io.Writer,
) 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