Documentation
¶
Index ¶
- func GetPortsForJBossFrameworks(pom schema.Pom, pluginArtifactId string, pluginGroupId string) string
- type ApplicationPropertiesFile
- type JBossEAPDetector
- func (o JBossEAPDetector) DoFrameworkDetection(language *model.Language, config string)
- func (o JBossEAPDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (o JBossEAPDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (o JBossEAPDetector) GetSupportedFrameworks() []string
- type MicronautDetector
- func (m MicronautDetector) DoFrameworkDetection(language *model.Language, config string)
- func (m MicronautDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (m MicronautDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (m MicronautDetector) GetSupportedFrameworks() []string
- type OpenLibertyDetector
- func (o OpenLibertyDetector) DoFrameworkDetection(language *model.Language, config string)
- func (o OpenLibertyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (o OpenLibertyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (o OpenLibertyDetector) GetSupportedFrameworks() []string
- type QuarkusDetector
- func (q QuarkusDetector) DoFrameworkDetection(language *model.Language, config string)
- func (q QuarkusDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (q QuarkusDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (q QuarkusDetector) GetSupportedFrameworks() []string
- type SpringDetector
- func (s SpringDetector) DoFrameworkDetection(language *model.Language, config string)
- func (s SpringDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (s SpringDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (s SpringDetector) GetSupportedFrameworks() []string
- type VertxDetector
- func (v VertxDetector) DoFrameworkDetection(language *model.Language, config string)
- func (v VertxDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (v VertxDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (v VertxDetector) GetSupportedFrameworks() []string
- type WildFlyDetector
- func (w WildFlyDetector) DoFrameworkDetection(language *model.Language, config string)
- func (w WildFlyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
- func (w WildFlyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
- func (w WildFlyDetector) GetSupportedFrameworks() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JBossEAPDetector ¶
type JBossEAPDetector struct{}
func (JBossEAPDetector) DoFrameworkDetection ¶
func (o JBossEAPDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId and artifactId to check for the framework name
func (JBossEAPDetector) DoPortsDetection ¶
func (o JBossEAPDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
func (JBossEAPDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (o JBossEAPDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (JBossEAPDetector) GetSupportedFrameworks ¶
func (o JBossEAPDetector) GetSupportedFrameworks() []string
type MicronautDetector ¶
type MicronautDetector struct{}
func (MicronautDetector) DoFrameworkDetection ¶
func (m MicronautDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId to check for the framework name
func (MicronautDetector) DoPortsDetection ¶
func (m MicronautDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection searches for the port in src/main/resources/application.yaml
func (MicronautDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (m MicronautDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (MicronautDetector) GetSupportedFrameworks ¶
func (m MicronautDetector) GetSupportedFrameworks() []string
type OpenLibertyDetector ¶
type OpenLibertyDetector struct{}
func (OpenLibertyDetector) DoFrameworkDetection ¶
func (o OpenLibertyDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId to check for the framework name
func (OpenLibertyDetector) DoPortsDetection ¶
func (o OpenLibertyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection searches for the port in src/main/liberty/config/server.xml and /server.xml
func (OpenLibertyDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (o OpenLibertyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (OpenLibertyDetector) GetSupportedFrameworks ¶
func (o OpenLibertyDetector) GetSupportedFrameworks() []string
type QuarkusDetector ¶
type QuarkusDetector struct{}
func (QuarkusDetector) DoFrameworkDetection ¶
func (q QuarkusDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId to check for the framework name
func (QuarkusDetector) DoPortsDetection ¶
func (q QuarkusDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection searches for ports in the env var, .env file, and src/main/resources/application.properties, or src/main/resources/application.yaml
func (QuarkusDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (q QuarkusDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (QuarkusDetector) GetSupportedFrameworks ¶
func (q QuarkusDetector) GetSupportedFrameworks() []string
type SpringDetector ¶
type SpringDetector struct{}
func (SpringDetector) DoFrameworkDetection ¶
func (s SpringDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId to check for the framework name
func (SpringDetector) DoPortsDetection ¶
func (s SpringDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection searches for ports in the env var and src/main/resources/application.properties, or src/main/resources/application.yaml
func (SpringDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (s SpringDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (SpringDetector) GetSupportedFrameworks ¶
func (s SpringDetector) GetSupportedFrameworks() []string
type VertxDetector ¶
type VertxDetector struct{}
func (VertxDetector) DoFrameworkDetection ¶
func (v VertxDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId to check for the framework name
func (VertxDetector) DoPortsDetection ¶
func (v VertxDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection searches for the port in json files under src/main/conf/
func (VertxDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (v VertxDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (VertxDetector) GetSupportedFrameworks ¶
func (v VertxDetector) GetSupportedFrameworks() []string
type WildFlyDetector ¶
type WildFlyDetector struct{}
func (WildFlyDetector) DoFrameworkDetection ¶
func (w WildFlyDetector) DoFrameworkDetection(language *model.Language, config string)
DoFrameworkDetection uses the groupId and artifactId to check for the framework name
func (WildFlyDetector) DoPortsDetection ¶
func (w WildFlyDetector) DoPortsDetection(component *model.Component, ctx *context.Context)
DoPortsDetection for wildfly fetches the pom.xml and tries to find any javaOpts under the wildfly-maven-plugin profiles. If there is one it looks if jboss.http.port is defined.
func (WildFlyDetector) GetApplicationFileInfos ¶ added in v1.2.0
func (w WildFlyDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo
func (WildFlyDetector) GetSupportedFrameworks ¶
func (w WildFlyDetector) GetSupportedFrameworks() []string