configauditreport

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Owner(owner metav1.Object) Builder
	PodSpecHash(hash string) Builder
	Result(result v1alpha1.ConfigAuditResult) Builder
	Get() (v1alpha1.ConfigAuditReport, error)
}

func NewBuilder

func NewBuilder(scheme *runtime.Scheme) Builder

type ReadWriter

type ReadWriter interface {
	Writer
	Reader
}

func NewReadWriter

func NewReadWriter(client clientset.Interface) ReadWriter

type Reader

type Reader interface {
	FindByOwner(ctx context.Context, owner kube.Object) (*starboard.ConfigAuditReport, error)
}

Reader is the interface that wraps basic methods for reading ConfigAudit reports.

Read will return a single ConfigAuditReport that match a specific workload

type Writer

type Writer interface {
	Write(ctx context.Context, report starboard.ConfigAuditReport) error
}

Write is the interface that wraps basic methods for persisting ConfigAudit reports.

Write persists the given ConfigAuditReport report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL