Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectType ¶
type ProjectType string
const ( ProjectGo ProjectType = "go" ProjectRust ProjectType = "rust" ProjectNode ProjectType = "node" ProjectPython ProjectType = "python" ProjectRuby ProjectType = "ruby" ProjectJava ProjectType = "java" ProjectUnknown ProjectType = "unknown" )
type VariantSelector ¶
type VariantSelector struct {
// contains filtered or unexported fields
}
func NewVariantSelector ¶
func NewVariantSelector() *VariantSelector
func (*VariantSelector) AddVariant ¶
func (vs *VariantSelector) AddVariant(v Variant)
func (*VariantSelector) DetectProjectType ¶
func (vs *VariantSelector) DetectProjectType(workDir string) ProjectType
func (*VariantSelector) GetVariants ¶
func (vs *VariantSelector) GetVariants() []Variant
func (*VariantSelector) SelectVariant ¶
func (vs *VariantSelector) SelectVariant(command string, output string, workDir string) *Variant
type VariantType ¶
type VariantType string
const ( VariantFileDetection VariantType = "file_detection" VariantOutputPattern VariantType = "output_pattern" )
Click to show internal directories.
Click to hide internal directories.