demand

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fields added in v1.12.0

func Fields(d Demand) []field.Path

func IsAll

func IsAll(demand Demand) bool

func IsNone

func IsNone(demand Demand) bool

func IsValid

func IsValid(demand Demand) bool

Types

type Demand

type Demand interface {
	// contains filtered or unexported methods
}

func All

func All() Demand

func GetKey

func GetKey(demand Demand, key string) Demand

func Key

func Key(key string, value Demand) Demand

func None

func None() Demand

func Union

func Union(a Demand, b Demand) Demand

Jump to

Keyboard shortcuts

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