enricher

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 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

func DoGoPortsDetection

func DoGoPortsDetection(component *model.Component, ctx *context.Context)

func GetPortFromFileGo

func GetPortFromFileGo(rules model.PortMatchRules, text string) []int

func GetPortWithMatchIndexesGo

func GetPortWithMatchIndexesGo(content string, matchIndexes []int, toBeReplaced string) int

Types

type ApplicationPropertiesFile

type ApplicationPropertiesFile struct {
	Dir  string
	File string
}

type BeegoDetector

type BeegoDetector struct{}

func (BeegoDetector) DoFrameworkDetection

func (b BeegoDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (BeegoDetector) DoPortsDetection

func (b BeegoDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in conf/app.conf

func (BeegoDetector) GetApplicationFileInfos added in v1.2.0

func (b BeegoDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (BeegoDetector) GetSupportedFrameworks

func (b BeegoDetector) GetSupportedFrameworks() []string

type EchoDetector

type EchoDetector struct{}

func (EchoDetector) DoFrameworkDetection

func (e EchoDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (EchoDetector) DoPortsDetection

func (e EchoDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (EchoDetector) GetApplicationFileInfos added in v1.2.0

func (e EchoDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (EchoDetector) GetSupportedFrameworks

func (e EchoDetector) GetSupportedFrameworks() []string

type FastHttpDetector

type FastHttpDetector struct{}

func (FastHttpDetector) DoFrameworkDetection

func (f FastHttpDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (FastHttpDetector) DoPortsDetection

func (f FastHttpDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (FastHttpDetector) GetApplicationFileInfos added in v1.2.0

func (f FastHttpDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (FastHttpDetector) GetSupportedFrameworks

func (f FastHttpDetector) GetSupportedFrameworks() []string

type GinDetector

type GinDetector struct{}

func (GinDetector) DoFrameworkDetection

func (g GinDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (GinDetector) DoPortsDetection

func (g GinDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (GinDetector) GetApplicationFileInfos added in v1.2.0

func (g GinDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (GinDetector) GetSupportedFrameworks

func (g GinDetector) GetSupportedFrameworks() []string

type GoFiberDetector

type GoFiberDetector struct{}

func (GoFiberDetector) DoFrameworkDetection

func (g GoFiberDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (GoFiberDetector) DoPortsDetection

func (g GoFiberDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (GoFiberDetector) GetApplicationFileInfos added in v1.2.0

func (g GoFiberDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (GoFiberDetector) GetSupportedFrameworks

func (g GoFiberDetector) GetSupportedFrameworks() []string

type MuxDetector

type MuxDetector struct{}

func (MuxDetector) DoFrameworkDetection

func (m MuxDetector) DoFrameworkDetection(language *model.Language, goMod *modfile.File)

DoFrameworkDetection uses a tag to check for the framework name

func (MuxDetector) DoPortsDetection

func (m MuxDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

func (MuxDetector) GetApplicationFileInfos added in v1.2.0

func (m MuxDetector) GetApplicationFileInfos(componentPath string, ctx *context.Context) []model.ApplicationFileInfo

func (MuxDetector) GetSupportedFrameworks

func (m MuxDetector) GetSupportedFrameworks() []string

Jump to

Keyboard shortcuts

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