Documentation
¶
Overview ¶
Package discover finds the compose projects below a directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
Targets []Target
// Warnings describes unreadable directories that were skipped.
Warnings []string
}
Result holds the discovered targets and the directories that were skipped.
type Target ¶
type Target struct {
// Dir is the project directory.
Dir string
// File is the canonical compose file in Dir.
File string
// Label is Dir relative to the scan root ("." for the root itself).
Label string
// ProjectName is the compose project name used for the target.
ProjectName string
}
Target is one discovered compose project.
Click to show internal directories.
Click to hide internal directories.