Versions in this module Expand all Collapse all v0 v0.15.15 Oct 9, 2023 Changes in this version + type Builder struct + func NewBuilder(scheme *runtime.Scheme) *Builder + func (b *Builder) Controller(controller metav1.Object) *Builder + func (b *Builder) Data(data v1alpha1.CISKubeBenchReportData) *Builder + func (b *Builder) Get() (v1alpha1.CISKubeBenchReport, error) + type Config interface + GetKubeBenchImageRef func() (string, error) + type Plugin interface + GetContainerName func() string + GetScanJobSpec func(node corev1.Node) (corev1.PodSpec, error) + ParseCISKubeBenchReportData func(logsStream io.ReadCloser) (v1alpha1.CISKubeBenchReportData, error) + func NewKubeBenchPlugin(clock ext.Clock, config Config) Plugin + type ReadWriter interface + func NewReadWriter(client client.Client) ReadWriter + type Reader interface + FindByOwner func(ctx context.Context, node kube.ObjectRef) (*v1alpha1.CISKubeBenchReport, error) + type Scanner struct + func NewScanner(scheme *runtime.Scheme, clientset kubernetes.Interface, plugin Plugin, ...) *Scanner + func (s *Scanner) Scan(ctx context.Context, node corev1.Node) (v1alpha1.CISKubeBenchReport, error) + type Writer interface + Write func(ctx context.Context, report v1alpha1.CISKubeBenchReport) error