mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-28 16:50:40 +00:00
14 lines
328 B
Go
14 lines
328 B
Go
package hostsensorutils
|
|
|
|
import (
|
|
"github.com/armosec/opa-utils/objectsenvelopes/hostsensor"
|
|
"github.com/armosec/opa-utils/reporthandling/apis"
|
|
)
|
|
|
|
type IHostSensor interface {
|
|
Init() error
|
|
TearDown() error
|
|
CollectResources() ([]hostsensor.HostSensorDataEnvelope, map[string]apis.StatusInfo, error)
|
|
GetNamespace() string
|
|
}
|