scan

package
v0.0.0-...-b5b2af5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvailableResource = []string{"pod", "pods", "configmap", "configmaps", "cm", "clusterrolebinding", "clusterrolebindings", "all"}

Functions

func DispatchContainers

func DispatchContainers(ctx context.Context, targets []*target.Target) error

func DispatchIacs

func DispatchIacs(ctx context.Context, targets []*target.Target) error

func DispatchImages

func DispatchImages(ctx context.Context, targets []*target.Target) error

func GitIac

func GitIac(ctx context.Context, t *target.Target) error

func HostIac

func HostIac(ctx context.Context, t *target.Target) error

func HostImage

func HostImage(ctx context.Context, t *target.Target, runtime api.Runtime) error

func KubeIac

func KubeIac(ctx context.Context, t *target.Target) error

func LocalContainer

func LocalContainer(ctx context.Context, t *target.Target, runtime api.Runtime) error

func Registry

func Registry(ctx context.Context, t *target.Target, runtime api.Runtime) error

func RegistryImage

func RegistryImage(ctx context.Context, t *target.Target, runtime api.Runtime) error

func TarballImage

func TarballImage(ctx context.Context, t *target.Target, runtime api.Runtime) error

Types

type DispatchTask

type DispatchTask func(ctx context.Context, targets []*target.Target) error

DispatchTask declare func that how to scan a target object

Jump to

Keyboard shortcuts

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