Documentation ¶
Index ¶
- func AutodetectProject(name string) (*project.Project, error)
- func AutodetectSource(project *project.Project, sourceNameSel string, purpose AutodetectSourceType) ([]string, []string, error)
- func Destroy(ctx context.Context, project *project.Project) error
- func GetLocalMountCandidates(project *project.Project, filter string) []string
- func GetLocalMounts(project *project.Project, filter string) []string
- func Init(name, url string, branch string) error
- func ListProjects(filter string) []string
- type AutodetectSourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutodetectProject ¶ added in v0.1.9
AutodetectProject validates project name (if provided) and tries to autodetect the project by comparing the current directory with the project sources and local mounts. If not successful or ambiguous, it returns an error.
func AutodetectSource ¶ added in v0.1.9
func GetLocalMountCandidates ¶ added in v0.1.10
func GetLocalMounts ¶ added in v0.1.10
func ListProjects ¶
Types ¶
type AutodetectSourceType ¶ added in v0.1.10
type AutodetectSourceType int
const ( AutodetectSourceForMount AutodetectSourceType = iota AutodetectSourceForUmount )
Click to show internal directories.
Click to hide internal directories.