filter

package
v0.0.52 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2018 License: Apache-2.0 Imports: 5 Imported by: 2

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 added in v0.0.36

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