fetch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogFetcher

type CatalogFetcher interface {
	FetchCatalogs(ctx context.Context, filters ...CatalogFilterFunc) ([]v1alpha1.Catalog, error)
}

func New

func New(client dynamic.Interface) CatalogFetcher

type CatalogFilterFunc

type CatalogFilterFunc func(catalog *v1alpha1.Catalog) bool

func WithNameFilter

func WithNameFilter(name string) CatalogFilterFunc

func WithUnpackedFilter

func WithUnpackedFilter() CatalogFilterFunc

Jump to

Keyboard shortcuts

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