selector

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 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 Specification

type Specification interface {
	IsSatisfiedBy(object interface{}) bool
}

Specification contract

func MatchJMESPath

func MatchJMESPath(exp *jmespath.JMESPath) Specification

MatchJMESPath returns a JMESPatch package matcher specification.

func MatchPathRegex

func MatchPathRegex(regex *regexp.Regexp) Specification

MatchPathRegex returns a path matcher specification with regexp.

func MatchPathStrict

func MatchPathStrict(value string) Specification

MatchPathStrict returns a path matcher specification with strict profile.

Jump to

Keyboard shortcuts

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