ui

package
v0.0.171 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Choice

type Choice struct {
	ID          string
	Name        string
	Description string
}

type DeploymentOption

type DeploymentOption struct {
	ID          string
	Name        string
	Description string
}

type ProjectForm

type ProjectForm struct {
	Context             context.Context                 `json:"-"`
	Logger              logger.Logger                   `json:"-"`
	Runtime             string                          `json:"runtime"`
	Template            string                          `json:"template"`
	ProjectName         string                          `json:"projectName"`
	Description         string                          `json:"description"`
	AgentName           string                          `json:"agentName"`
	AgentDescription    string                          `json:"agentDescription"`
	AgentAuthType       string                          `json:"agentAuthType"`
	DeploymentType      string                          `json:"deploymentType"`
	TemplateDir         string                          `json:"-"`
	Templates           templates.Templates             `json:"-"`
	ValidateProjectName func(name string) (bool, error) `json:"-"`
	AgentuityCommand    string                          `json:"-"`
	Provider            *templates.Template             `json:"-"`
}

func ShowProjectUI

func ShowProjectUI(initial ProjectForm) ProjectForm

func (*ProjectForm) CheckDependencies

func (f *ProjectForm) CheckDependencies(template *templates.Template) error

CheckDependencies checks if all required dependencies for the given runtime template are met. Returns an error if any dependencies are missing, with details about what needs to be installed.

type Template

type Template struct {
	ID          string
	Name        string
	Description string

	SkipAgentStep bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL