primitive

package
v0.28.27 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package primitive provides predicates that can be used as building blocks for routing behavior.

Index

Constants

View Source
const (
	// Deprecated, use predicates.FalseName instead
	NameFalse = predicates.FalseName
)
View Source
const (
	// Deprecated, use predicates.TrueName instead
	NameTrue = predicates.TrueName
)

Variables

This section is empty.

Functions

func NewFalse

func NewFalse() routing.PredicateSpec

NewFalse provides a predicate spec to create a Predicate instance that evaluates to false

func NewShutdown added in v0.13.139

func NewShutdown() routing.PredicateSpec

NewShutdown provides a predicate spec to create predicates that evaluate to true if Skipper is shutting down

func NewTrue

func NewTrue() routing.PredicateSpec

NewTrue provides a predicate spec to create a Predicate instance that evaluates to true

Types

This section is empty.

Jump to

Keyboard shortcuts

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