Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConverter = NewConverter()
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
type ContainerResult ¶
type Converter ¶
type Converter interface {
Convert(reader io.Reader) (sec.ConfigAudit, error)
}
func NewConverter ¶
func NewConverter() Converter
type PodResult ¶
type PodResult struct { Name string `json:"Name"` Results map[string]Check `json:"Results"` ContainerResults []ContainerResult `json:"ContainerResults"` }
type ReadWriter ¶ added in v0.3.0
type Reader ¶ added in v0.3.0
type Reader interface {
Read(ctx context.Context, workload kube.Object) (starboard.ConfigAuditReport, error)
}
Reader is the interface that wraps basic methods for persistent reading of ConfigAudit reports.
Read will return a single ConfigAuditReport that match a specific workload
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func NewScanner(opts kube.ScannerOpts, clientset kubernetes.Interface) *Scanner
Click to show internal directories.
Click to hide internal directories.