validateui

package
v0.0.0-...-3776344 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 18 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 {
	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