trivyk8s

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactsK8S

type ArtifactsK8S interface {
	// ListArtifacts returns kubernetes scanable artifacts
	ListArtifacts(context.Context) ([]*artifacts.Artifact, error)
	// GetArtifact return kubernete scanable artifact
	GetArtifact(context.Context, string, string) (*artifacts.Artifact, error)
}

ArtifactsK8S interface represents operations to query the artifacts

type TrivyK8S

type TrivyK8S interface {
	Namespace(string) TrivyK8S
	ArtifactsK8S
}

TrivyK8S interface represents the operations supported by the library

func New

func New(cluster k8s.Cluster) TrivyK8S

New creates a trivyK8S client

Jump to

Keyboard shortcuts

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