enricher

package
v1.1.1-1.18b 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: 5 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

This section is empty.

Types

type ApplicationPropertiesFile

type ApplicationPropertiesFile struct {
	Dir  string
	File string
}

type DjangoDetector

type DjangoDetector struct{}

func (DjangoDetector) DoFrameworkDetection

func (d DjangoDetector) DoFrameworkDetection(language *model.Language, files *[]string)

DoFrameworkDetection uses a tag to check for the framework name with django files and django config files

func (DjangoDetector) DoPortsDetection

func (d DjangoDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in /manage.py

func (DjangoDetector) GetSupportedFrameworks

func (d DjangoDetector) GetSupportedFrameworks() []string

type FlaskDetector

type FlaskDetector struct{}

func (FlaskDetector) DoFrameworkDetection

func (d FlaskDetector) DoFrameworkDetection(language *model.Language, files *[]string)

DoFrameworkDetection uses a tag to check for the framework name with flask files and flask config files

func (FlaskDetector) DoPortsDetection

func (d FlaskDetector) DoPortsDetection(component *model.Component, ctx *context.Context)

DoPortsDetection searches for the port in app/__init__.py, app.py or /wsgi.py

func (FlaskDetector) GetSupportedFrameworks

func (d FlaskDetector) GetSupportedFrameworks() []string

Jump to

Keyboard shortcuts

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