scopes

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SubscriptionScopes = "subscriptionScopes"
	PublishingScopes   = "publishingScopes"
	AllowedTopics      = "allowedTopics"
	ProtectedTopics    = "protectedTopics"
)

Variables

This section is empty.

Functions

func GetAllowedTopics

func GetAllowedTopics(metadata map[string]string) []string

GetAllowedTopics return the all topics list of params allowedTopics.

func GetProtectedTopics added in v1.12.0

func GetProtectedTopics(metadata map[string]string) []string

GetProtectedTopics returns all topics of param protectedTopics.

func GetScopedTopics

func GetScopedTopics(scope, appID string, metadata map[string]string) []string

GetScopedTopics returns a list of scoped topics for a given application from a Pub/Sub Component properties.

Types

This section is empty.

Jump to

Keyboard shortcuts

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