rules

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LabelExcludes = signing.ExcludeEmpty{signing.DynamicArrayExcludes{
	ValueChecker: IgnoreLabelsWithoutSignature,
	Continue: signing.MapIncludes{
		"name":    signing.NoExcludes{},
		"version": signing.NoExcludes{},
		"value":   signing.NoExcludes{},
		"signing": signing.NoExcludes{},
	},
}}

Functions

func CheckIgnoreResourcesWithAccessType

func CheckIgnoreResourcesWithAccessType(t func(string) bool, v interface{}) bool

func IgnoreLabelsWithoutSignature

func IgnoreLabelsWithoutSignature(v interface{}) bool

func IgnoreResourcesWithAccessType

func IgnoreResourcesWithAccessType(t string) func(v interface{}) bool

func IgnoreResourcesWithNoneAccess

func IgnoreResourcesWithNoneAccess(v interface{}) bool

func MapResourcesWithAccessType

func MapResourcesWithAccessType(t func(string) bool, m func(interface{}) interface{}, v interface{}) interface{}

func MapResourcesWithNoneAccess

func MapResourcesWithNoneAccess(v interface{}) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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