filter

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

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

func NewFilter

func NewFilter(l logger.Logger) *Filter

func (Filter) ProductFileKeysByGlobs

func (f Filter) ProductFileKeysByGlobs(
	productFiles []pivnet.ProductFile,
	globs []string,
) ([]pivnet.ProductFile, error)

func (Filter) ReleasesByVersion

func (f Filter) ReleasesByVersion(releases []pivnet.Release, version string) ([]pivnet.Release, error)

ReleasesByVersion returns all releases that match the provided version regex

Jump to

Keyboard shortcuts

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