project

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProjectFromConfigDirAnswerFile

func CreateProjectFromConfigDirAnswerFile(configFilePath string) (projectData, error)

Types

type ProjectList

type ProjectList struct {
	// contains filtered or unexported fields
}

func CreateProjectListFromConfigDir

func CreateProjectListFromConfigDir(configData config.Interface) (ProjectList, error)

this will populate the ProjectList with answers loaded from the filesystem

func CreateProjectListFromProvidedAnswers

func CreateProjectListFromProvidedAnswers(configData config.Interface) (ProjectList, error)

this will populate the ProjectList with answers emedded in the config file (~/drawbridge.yaml)

func (*ProjectList) GetAll

func (p *ProjectList) GetAll() []map[string]interface{}

func (*ProjectList) GetIndex

func (p *ProjectList) GetIndex(index_0based int) (map[string]interface{}, error)

func (*ProjectList) Length

func (p *ProjectList) Length() int

func (*ProjectList) PrintTree

func (p *ProjectList) PrintTree(startMessage string)

func (*ProjectList) Prompt

func (p *ProjectList) Prompt(message string) (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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