Help us shape the future of Go! Take the 2026 Go Developer Survey

scopes

package
v1.17.18 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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