module

package
v0.30.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 25 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RelativeDir = filepath.Join(".trivy", "modules")
)

Functions

func Install

func Install(ctx context.Context, repo string, quiet, insecure bool) error

Install installs a module

func Uninstall

func Uninstall(_ context.Context, repo string) error

Uninstall uninstalls a module

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(ctx context.Context) (*Manager, error)

func (*Manager) Close

func (m *Manager) Close(ctx context.Context) error

func (*Manager) Register

func (m *Manager) Register()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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