util

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ResourceIDAll declares on a resource that it matches any id
	ResourceIDAll = "all"
)

Variables

This section is empty.

Functions

func IsResourceMatched

func IsResourceMatched(definition, example *proto.Resource) bool

IsResourceMatched checks if the `example` resource is an exact match or a subset of `definition`

Types

This section is empty.

Jump to

Keyboard shortcuts

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