module

package
v0.0.0-...-c5f19f0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

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