cmdsolutiondeploy

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PromptIdentifier = "# arete-prompt"

PromptIdentifier is the comment pattern that will be searched for in the solutions yaml config files

Variables

This section is empty.

Functions

func SolutiondeployRun

func SolutiondeployRun(solutionName string, fromCache bool, dryRun bool) error

solutionDeployCmd is the cobra command that represents the solution deploy sub command

Types

type Prompt

type Prompt struct {
	Name  string
	Value string
}

type Prompts

type Prompts struct {
	Prompts []Prompt
	Results []Result
}

Prompts store the found key/value scalar yaml nodes in a solutions config files as well as the prompted results from the user

func (*Prompts) SetPrompt

func (p *Prompts) SetPrompt(node *kyaml.MapNode)

SetPrompt adds a new prompt to the prompt struct map

type Result

type Result struct {
	Name  string
	Value string
}

Jump to

Keyboard shortcuts

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