filtering

package
v0.42.3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 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 OwnerFilter added in v0.30.0

type OwnerFilter struct {
	ReleaseOwners []string
}

func NewOwnerFilter added in v0.30.0

func NewOwnerFilter(ownerNames string) *OwnerFilter

func (*OwnerFilter) Match added in v0.30.0

func (f *OwnerFilter) 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