Documentation
¶
Index ¶
- Constants
- Variables
- func DetectProjectAndStackFrom(stackDir string) (p *v1.Project, s *v1.Stack, err error)
- func DetectProjectAndStacks() (*v1.Project, *v1.Stack, error)
- func FindAllProjectsFrom(path string) ([]*v1.Project, error)
- func FindAllStacksFrom(path string) ([]*v1.Stack, error)
- func GetStackFrom(path string) (*v1.Stack, error)
- func IsStack(path string) bool
Constants ¶
View Source
const ( ProjectFile = "project.yaml" StackFile = "stack.yaml" )
Variables ¶
Functions ¶
func DetectProjectAndStackFrom ¶
DetectProjectAndStackFrom try to get stack and project from given path
func DetectProjectAndStacks ¶
DetectProjectAndStacks locates the closest project and stack from the current working directory, or an error if not found.
func FindAllProjectsFrom ¶
FindAllProjectsFrom find all project from the given path
func FindAllStacksFrom ¶
FindAllStacksFrom find all stacks from the given path
func GetStackFrom ¶
GetStackFrom get stack from the given path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.