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 ¶
type ScanKubernetes struct {
// contains filtered or unexported fields
}
ScanKubernetes implements the scanner
func NewKubenetesScanner ¶
func NewKubenetesScanner() *ScanKubernetes
NewKubenetesScanner is the factory method for scanner
func NewScanKubernetes ¶
func NewScanKubernetes(s local.Scanner) *ScanKubernetes
NewScanKubernetes is the factory method for scanner
func (ScanKubernetes) Scan ¶
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.