scanner

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner interface {
	LoadPluginListFromFS(indexDir string) ([]index.Plugin, error)
	LoadPluginByName(pluginsDir, pluginName string) (index.Plugin, error)
	ReadPluginFromFile(path string) (index.Plugin, error)
	ReadPlugin(f io.ReadCloser) (index.Plugin, error)
	ReadReceiptFromFile(path string) (index.Receipt, error)
	DecodePluginFile(r io.Reader) (index.Plugin, error)
}

func NewScanner

func NewScanner(log log.Logger) Scanner

Jump to

Keyboard shortcuts

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