Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ScanSuperSet = wire.NewSet( local.SuperSet, wire.Bind(new(scanner.Driver), new(local.Scanner)), NewScanKubernetes, )
ScanSuperSet binds the dependencies for k8s
Functions ¶
Types ¶
type ScanKubernetes ¶ added in v0.47.0
type ScanKubernetes struct {
// contains filtered or unexported fields
}
ScanKubernetes implements the scanner
func NewKubenetesScanner ¶ added in v0.47.0
func NewKubenetesScanner() *ScanKubernetes
NewKubenetesScanner is the factory method for scanner
func NewScanKubernetes ¶ added in v0.47.0
func NewScanKubernetes(s local.Scanner) *ScanKubernetes
NewScanKubernetes is the factory method for scanner
func (ScanKubernetes) Scan ¶ added in v0.47.0
func (sk ScanKubernetes) Scan(ctx context.Context, target types.ScanTarget, options types.ScanOptions) (types.Results, ftypes.OS, error)
// Scan scans k8s core components and return it findings
Click to show internal directories.
Click to hide internal directories.