Files
kubescape/core/pkg/hostsensorutils/hostsensorinterface.go
DanielGrunbergerCA 44084592cb fixes
2022-03-16 14:16:48 +02:00

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
}