hostpath

package
v0.18.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 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

func GetConsumerIdentity(typ, _url string) cpi.ConsumerIdentity

func IdentityMatcher

func IdentityMatcher(identityType string) cpi.IdentityMatcher

func Match

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

func PathPrefix added in v0.15.0

func PathPrefix(id cpi.ConsumerIdentity) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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