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.
Click to show internal directories.
Click to hide internal directories.