constants

package
v1.3.1-0...-2eb6d4b Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Flatten      = "flatten"
	Key          = "key"
	KeyOnly      = "keyOnly"
	Plaintext    = "plaintext"
	PrefixMatch  = "prefixMatch"
	ServiceId    = "serviceId"
	Deregistered = "deregistered"
)

Constants related to defined url path names and parameters in the v2 service APIs

View Source
const ApiAllRegistrationsRoute = ApiRegisterRoute + "/" + common.All
View Source
const ApiKVRoute = common.ApiBase + "/kvs/" + Key + "/{" + Key + ":.*}"

Constants related to defined routes in the v3 service APIs

View Source
const ApiRegisterRoute = common.ApiBase + "/registry"
View Source
const ApiRegistrationByServiceIdRoute = ApiRegisterRoute + "/" + ServiceId + "/{" + ServiceId + "}"
View Source
const CoreKeeperServiceKey = "core-keeper"

new constants relates to EdgeX Keeper service and will be added to go-mod-core-contracts in the future

View Source
const KeyAllowedCharsRegexString = "^[a-zA-Z0-9-_~;=./]+$"

KeyAllowedCharsRegexString defined the characters allowed in the key name

View Source
const KeyDelimiter = "/"

key delimiter for edgex keeper

Variables

View Source
var (
	KeyAllowedCharsRegex = regexp.MustCompile(KeyAllowedCharsRegexString)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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