mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 18:09:55 +00:00
In this change I used both claude code and Antigravity. --------- Signed-off-by: Bezalel Brandwine <bez@softwine.net>
15 lines
355 B
Go
15 lines
355 B
Go
package hostsensorutils
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/kubescape/opa-utils/objectsenvelopes/hostsensor"
|
|
"github.com/kubescape/opa-utils/reporthandling/apis"
|
|
)
|
|
|
|
type IHostSensor interface {
|
|
Init(ctx context.Context) error
|
|
TearDown() error
|
|
CollectResources(context.Context) ([]hostsensor.HostSensorDataEnvelope, map[string]apis.StatusInfo, error)
|
|
}
|