filter

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2016 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 added in v0.16.0

type Filter struct {
}

func NewFilter added in v0.16.0

func NewFilter() *Filter
func (f Filter) DownloadLinks(p []pivnet.ProductFile) map[string]string

func (Filter) DownloadLinksByGlobs added in v0.22.0

func (f Filter) DownloadLinksByGlobs(
	downloadLinks map[string]string,
	glob []string,
	failOnNoMatch bool,
) (map[string]string, error)

func (Filter) ReleasesByReleaseType added in v0.16.0

func (f Filter) ReleasesByReleaseType(releases []pivnet.Release, releaseType pivnet.ReleaseType) ([]pivnet.Release, error)

func (Filter) ReleasesByVersion added in v0.16.0

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