compliance

package
v1.1.98 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SourceCompliancePath = "/source/compliance"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	RegisterRuntimeComplianceJob(interval time.Duration, processor Processor)
	Trigger()
}

func GetManager

func GetManager() Manager

type Processor

type Processor interface {
	CollectRuntimeResult(RuntimeResults) error
}

type RuntimeResult

type RuntimeResult struct {
	APIServiceInstance string  `json:"apiServiceInstance"`
	RiskScore          float64 `json:"riskScore"`
}

type RuntimeResults

type RuntimeResults interface {
	AddRuntimeResult(RuntimeResult)
}

Jump to

Keyboard shortcuts

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