hostauthz

package
v1.18.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package hostauthz decides which app owns a reserved internal actor type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalActorType

func InternalActorType(actorType, ns, appID string) (internal, owned bool)

InternalActorType reports whether actorType is a reserved internal actor type (dapr.internal.*) and, if so, whether it belongs to appID in namespace ns, that is whether it is "dapr.internal.<ns>.<appID>" or starts with it followed by a dot. The owner is matched as a prefix rather than parsed out of the type because a self-hosted namespace may contain dots; an app ID cannot, so the match is unambiguous within a namespace. A malformed internal type, such as one with an empty segment, is internal and owned by no one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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