validateui

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: Apache-2.0 Imports: 23 Imported by: 1 module, 1 package

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(cfg ValidateAppConfig) (*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 ValidateAppConfig

type ValidateAppConfig struct {
	Engine                 engine.DeployEngine
	Logger                 *zap.Logger
	BlueprintFile          string
	IsDefaultBlueprintFile bool
	Styles                 *stylespkg.Styles
	Headless               bool
	HeadlessWriter         io.Writer
	Preflight              tea.Model
}

ValidateAppConfig holds configuration for creating a new validate application.

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,
	styles *stylespkg.Styles,
) 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