Documentation ¶
Overview ¶
Package api defines the common gRPC policy service and data structures.
Index ¶
Constants ¶
View Source
const ( // ForwardedSubjectMD is name of the metadata field in which the actual // subject should be passed in case sentry forwarded the request. ForwardedSubjectMD = "forwarded-subject" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PolicyWatcher ¶
type PolicyWatcher interface { // PolicyUpdated updates policies. PolicyUpdated(service grpc.ServiceName, accessPolicies map[common.Namespace]accessctl.Policy) }
PolicyWatcher is a policy watcher interface.
Click to show internal directories.
Click to hide internal directories.