plugins

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.5.9

type Config struct {
	CodeBaseDir string // code base directory
	ProjectID   string
}

type ConfigDiagnostics added in v0.5.9

type ConfigDiagnostics struct {
	Config      *Config
	Diagnostics []*diagnostics.SecurityDiagnostic
}

type DiagnosticTransformer

type DiagnosticTransformer interface {
	Transform(*Config, ...*diagnostics.SecurityDiagnostic) []*diagnostics.SecurityDiagnostic
}

func NewDiagnosticTransformerPlugin added in v0.5.9

func NewDiagnosticTransformerPlugin(path string) (DiagnosticTransformer, error)

creates and runs a new diagnostic transformer plugin

type MicroService added in v0.5.9

type MicroService struct {
	Port       int
	HTTPServer *http.Server
	// contains filtered or unexported fields
}

func RegisterDiagnosticTransformer added in v0.5.9

func RegisterDiagnosticTransformer(transformer DiagnosticTransformer) (micro MicroService, err error)

func (MicroService) ShutDown added in v0.5.9

func (m MicroService) ShutDown()

func (*MicroService) Start added in v0.5.9

func (m *MicroService) Start()

Jump to

Keyboard shortcuts

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