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 *management.APIServiceInstance
Environment *management.Environment
ApiService *management.APIService
ComplianceScopedEnv string
ComplianceRuntimeResult string
ComplianceAgentName string
ComplianceAgentType string
RiskScore float64
}
type RuntimeResults ¶
type RuntimeResults interface {
AddRuntimeResult(RuntimeResult)
}
Click to show internal directories.
Click to hide internal directories.