trustedtarball

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName datastore.ProviderName = "trustedtarball"

Variables

This section is empty.

Functions

func New

func New(name string, config Config, logger logrus.FieldLogger) datastore.Index

func NewFactory

func NewFactory(logger logrus.FieldLogger) datastore.Factory

Types

type Config

type Config struct {
	// Names defines a list of releases to be trusted. At least one must match.
	Names []types.Regexp `yaml:"names"`

	// URIs defines a list of URI regexes to be trusted. At least one must match.
	URIs []types.Regexp `yaml:"uris"`
}

Jump to

Keyboard shortcuts

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