Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project interface { HasDependencyOn(project Project) bool GetConfigs() []config.Config GetConfig(id string) (config.Config, error) GetId() string }
func LoadProjectsToDeploy ¶
func LoadProjectsToDeploy(specificProjectToDeploy string, apis map[string]api.Api, path string, fileReader util.FileReader) (projectsToDeploy []Project, err error)
LoadProjectsToDeploy returns a list of projects for deployment if projects specified with -p parameter then it takes only those projects and it also resolves all project dependencies if no -p parameter specified, then it creates a list of all projects
func NewProject ¶
func NewProject(fullQualifiedProjectFolderName string, projectFolderName string, apis map[string]api.Api, projectRootFolder string, fileReader util.FileReader) (Project, error)
NewProject loads a new project from folder. Returns either project or a reading/sorting error respectively.
Click to show internal directories.
Click to hide internal directories.