Files
kubescape/core/pkg/hostsensorutils/hostsensorinterface.go
DanielGrunbergerCA 0d0c8e1b97 support status info
2022-03-16 12:08:04 +02:00

14 lines
326 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(map[string]apis.StatusInfo) ([]hostsensor.HostSensorDataEnvelope, error)
GetNamespace() string
}