resource_filter

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchesAnyIgnoreRule

func MatchesAnyIgnoreRule(manifest *unstructured.Unstructured, ignoreResourceRules []IgnoreResourceRule) bool

Types

type IgnoreResourceRule

type IgnoreResourceRule struct {
	Group string
	Kind  string
	Name  string
}

IgnoreResourceRule represents a rule to skip a difference in the diff

func FromString

func FromString(s string) ([]IgnoreResourceRule, error)

FromString creates a new IgnoreResourceRule from a string representation

func (*IgnoreResourceRule) String

func (s *IgnoreResourceRule) String() string

String returns the string representation of the IgnoreResourceRule

Jump to

Keyboard shortcuts

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