scopes

package
v0.0.0-...-949823d Latest Latest
Warning

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

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

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