model

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 1 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationFileInfo

type ApplicationFileInfo struct {
	Dir  string
	File string
}

type Component

type Component struct {
	Name      string
	Path      string
	Languages []Language
	Ports     []int
}

type DetectionSettings

type DetectionSettings struct {
	BasePath              string
	PortDetectionStrategy []PortDetectionAlgorithm
}

type DevFileScore

type DevFileScore struct {
	DevFileIndex int
	Score        int
}

type DevFileType

type DevFileType struct {
	Name        string
	Language    string
	ProjectType string
	Tags        []string
	Versions    []Version
}

type DevfileFilter added in v1.0.1

type DevfileFilter struct {
	MinSchemaVersion string
	MaxSchemaVersion string
}

type Language

type Language struct {
	Name                    string
	Aliases                 []string
	Weight                  float64
	Frameworks              []string
	Tools                   []string
	CanBeComponent          bool
	CanBeContainerComponent bool
}

type PortDetectionAlgorithm

type PortDetectionAlgorithm int
const (
	DockerFile PortDetectionAlgorithm = 0
	Compose    PortDetectionAlgorithm = 1
	Source     PortDetectionAlgorithm = 2
)

type PortMatchRule

type PortMatchRule struct {
	Regex     *regexp.Regexp
	ToReplace string
}

type PortMatchRules

type PortMatchRules struct {
	MatchIndexRegexes []PortMatchRule
	MatchRegexes      []PortMatchSubRule
}

type PortMatchSubRule

type PortMatchSubRule struct {
	Regex    *regexp.Regexp
	SubRegex *regexp.Regexp
}

type Version added in v1.0.1

type Version struct {
	SchemaVersion string
	Default       bool
	Version       string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL