mirror of
https://github.com/kubescape/kubescape.git
synced 2026-03-05 11:10:32 +00:00
20 lines
579 B
Go
20 lines
579 B
Go
package cliinterfaces
|
|
|
|
import (
|
|
"github.com/kubescape/k8s-interface/workloadinterface"
|
|
"github.com/kubescape/kubescape/v2/core/cautils"
|
|
"github.com/kubescape/kubescape/v2/core/pkg/resultshandling/reporter"
|
|
reporthandlingv2 "github.com/kubescape/opa-utils/reporthandling/v2"
|
|
)
|
|
|
|
type ISubmitObjects interface {
|
|
SetResourcesReport() (*reporthandlingv2.PostureReport, error)
|
|
ListAllResources() (map[string]workloadinterface.IMetadata, error)
|
|
}
|
|
|
|
type SubmitInterfaces struct {
|
|
SubmitObjects ISubmitObjects
|
|
Reporter reporter.IReport
|
|
ClusterConfig cautils.ITenantConfig
|
|
}
|