project

package
v1.0.22 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 16 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) GetWithAlias added in v1.0.20

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

func (*ProjectList) GetWithAliasOrIndex added in v1.0.20

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

func (*ProjectList) GetWithIndex added in v1.0.20

func (p *ProjectList) GetWithIndex(index_0based int) (map[string]interface{}, int, 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{}, int, error)

func (*ProjectList) SetAliasForIndex added in v1.0.20

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

Jump to

Keyboard shortcuts

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