filter

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

filter package provide an interface for filtering resources during apply time. The resource(s) that will be filtered out will be kept inside the inventory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Filter receive a resource and return if has to be filtered out or an error if something has gone wrong
	Filter(*unstructured.Unstructured, cache.RemoteResourceGetter) (bool, error)
}

Interface defines the interface for a filter that can choose to remove or keep objects from application

Jump to

Keyboard shortcuts

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