Files
kubescape/core/pkg/hostsensorutils/hostsensorinterface.go
2022-08-18 17:41:03 +03:00

14 lines
332 B
Go

package hostsensorutils
import (
"github.com/kubescape/opa-utils/objectsenvelopes/hostsensor"
"github.com/kubescape/opa-utils/reporthandling/apis"
)
type IHostSensor interface {
Init() error
TearDown() error
CollectResources() ([]hostsensor.HostSensorDataEnvelope, map[string]apis.StatusInfo, error)
GetNamespace() string
}