common

package
v1.1.25 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AttrWorkspaceName = "workspaceName"
	AttrServiceID     = "serviceID"
	AttrServiceName   = "serviceName"
	AttrRouteName     = "routeName"
	AttrRouteID       = "routeID"
	AttrServiceTag    = "serviceTag"
	AttrChecksum      = "checksum"
	AttrAppID         = "kongApplicationId"

	AttrCredentialID = "kongCredentialID"
	AttrCredUpdater  = "kongCredentialUpdate"

	AclGroup    = "amplify.group"
	Marketplace = "marketplace"
	// CorsField -
	CorsField = "cors"

	// RedirectURLsField -
	RedirectURLsField = "redirectURLs"
	OauthServerField  = "oauthServer"

	OAuth2AuthType = "oauth2"

	ApplicationTypeField = "applicationType"
	// ClientTypeField -
	ClientTypeField = "clientType"
	AudienceField   = "audience"
	OauthScopes     = "oauthScopes"

	// plugins
	AclPlugin          = "acl"
	RateLimitingPlugin = "rate-limiting"

	// Workspace
	DefaultWorkspace = "default"
)

Variables

This section is empty.

Functions

func GetStringValueFromCtx added in v1.1.16

func GetStringValueFromCtx(ctx context.Context, key ContextKeys) string

func WksPrefixName added in v1.1.16

func WksPrefixName(workspace, name string) string

Types

type ContextKeys added in v1.1.16

type ContextKeys string
const (
	ContextWorkspace ContextKeys = "workspace"
)

func (ContextKeys) String added in v1.1.16

func (c ContextKeys) String() string

Jump to

Keyboard shortcuts

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