filtering

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	Match(rel *v1alpha1.Release) bool
}

type NamePatternFilter

type NamePatternFilter struct {
	ReleaseNames []string
}

func NewNamePatternFilter

func NewNamePatternFilter(pattern string) *NamePatternFilter

func (*NamePatternFilter) Match

func (f *NamePatternFilter) Match(rel *v1alpha1.Release) bool

type SpecificReleasesFilter

type SpecificReleasesFilter struct {
	ReleaseNames []string
}

func NewSpecificReleasesFilter

func NewSpecificReleasesFilter(releaseNames []string) *SpecificReleasesFilter

func (*SpecificReleasesFilter) Match

Jump to

Keyboard shortcuts

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