Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigDiagnostics ¶ added in v0.5.9
type ConfigDiagnostics struct { Config *Config `json:"Config,omitempty"` Diagnostics []*diagnostics.SecurityDiagnostic `json:"Diagnostics,omitempty"` }
type DiagnosticTransformer ¶
type DiagnosticTransformer interface {
Transform(*Config, ...*diagnostics.SecurityDiagnostic) []*diagnostics.SecurityDiagnostic
}
type DiagnosticTransformerPlugin ¶ added in v0.6.1
type DiagnosticTransformerPlugin interface { DiagnosticTransformer ShutDown() error }
func NewDiagnosticTransformerPlugin ¶ added in v0.5.9
func NewDiagnosticTransformerPlugin(path string) (DiagnosticTransformerPlugin, io.Reader, 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()
shut down server and service
func (*MicroService) Start ¶ added in v0.5.9
func (m *MicroService) Start()
Click to show internal directories.
Click to hide internal directories.