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
- type Storage
Constants ¶
View Source
const ( ProjectFile = "project.yaml" StackFile = "stack.yaml" )
Variables ¶
Functions ¶
func DetectProjectAndStackFrom ¶ added in v0.11.1
DetectProjectAndStackFrom try to get stack and project from given path
func DetectProjectAndStacks ¶ added in v0.11.1
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 ¶
Click to show internal directories.
Click to hide internal directories.