guides

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDirDoesNotContainAnyConfigFile  = errors.New("this directory does not contain any config (.yaml|.yml) file")
	ErrDirDoesNotContainAnyDiagramFile = errors.New("this directory does not contain any diagram (.xml) file")
)

Functions

This section is empty.

Types

type CodeAnswers

type CodeAnswers struct {
	StackName string
	Config    string
	Output    string
}

func GuideCode

func GuideCode(surveyAsker surveyasker.Asker, workdir string, fileMap map[string][]string) (*CodeAnswers, error)

type DiagramAnswers

type DiagramAnswers struct {
	Diagram string
	Config  string
	Output  string
}

func GuideDiagram

func GuideDiagram(surveyAsker surveyasker.Asker, workdir string, fileMap map[string][]string) (*DiagramAnswers, error)

type StructureAnswers

type StructureAnswers struct {
	Config string
	Output string
}

func GuideStructure

func GuideStructure(
	surveyAsker surveyasker.Asker, workdir string, fileMap map[string][]string,
) (*StructureAnswers, error)

Jump to

Keyboard shortcuts

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