k8s

package
v0.4.19 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ScanSuperSet binds the dependencies for k8s

Functions

func Write

func Write(k8sreport report.Report, option report.Option) error

Write writes the results in the give format

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

// Scan scans k8s core components and return it findings

type Writer

type Writer interface {
	Write(report.Report) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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