hostpath

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const IDENTITY_TYPE = "hostpath"

IDENTITY_TYPE is the identity of this matcher.

View Source
const ID_HOSTNAME = "hostname"

ID_HOSTNAME is a hostname.

View Source
const ID_PATHPREFIX = "pathprefix"

ID_PATHPREFIX is the path prefix below the host.

View Source
const ID_PORT = "port"

ID_PORT is a port.

View Source
const ID_SCHEME = "scheme"

ID_SCHEME is the scheme prefix.

View Source
const ID_TYPE = cpi.ID_TYPE

ID_TYPE is the type of the consumer.

Variables

View Source
var Matcher = IdentityMatcher("")

Functions

func GetConsumerIdentity added in v0.3.0

func GetConsumerIdentity(typ, _url string) cpi.ConsumerIdentity

func IdentityMatcher

func IdentityMatcher(identityType string) cpi.IdentityMatcher

func Match added in v0.13.0

func Match(identityType string, request, cur, id cpi.ConsumerIdentity) (match bool, better bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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