Documentation ¶
Index ¶
- func CreateProjectFromConfigDirAnswerFile(configFilePath string) (projectData, error)
- type ProjectList
- func (p *ProjectList) GetAll() []map[string]interface{}
- func (p *ProjectList) GetWithAlias(alias string) (map[string]interface{}, int, error)
- func (p *ProjectList) GetWithAliasOrIndex(aliasOrIndex string) (map[string]interface{}, int, error)
- func (p *ProjectList) GetWithIndex(index_0based int) (map[string]interface{}, int, error)
- func (p *ProjectList) Length() int
- func (p *ProjectList) PrintTree(startMessage string)
- func (p *ProjectList) Prompt(message string) (map[string]interface{}, int, error)
- func (p *ProjectList) SetAliasForIndex(index_0based int, alias string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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)
Click to show internal directories.
Click to hide internal directories.