Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authz ¶
type Authz struct {
// contains filtered or unexported fields
}
func (*Authz) Job ¶ added in v1.17.16
Job authorizes a request for a named job. An actor targeted job on a reserved internal actor type (dapr.internal.<namespace>.<appid>.*) must belong to the requesting app. The one exception is scheduling, without overwrite, an activity result reminder on a workflow actor in the same namespace, which is how an activity host delivers a result to the workflow's app: reading, deleting or replacing such a job stays with the owner.
func (*Authz) Metadata ¶
func (a *Authz) Metadata(ctx context.Context, meta *schedulerv1pb.JobMetadata) error
func (*Authz) WatchInitial ¶
func (a *Authz) WatchInitial(ctx context.Context, initial *schedulerv1pb.WatchJobsRequestInitial) error
WatchInitial authorizes a WatchJobs stream. Declared actor types must not be another app's reserved internal actor types, else the stream would receive that app's reminder triggers.
type Request ¶ added in v1.17.16
type Request interface {
GetName() string
GetMetadata() *schedulerv1pb.JobMetadata
}
Request is a named job request.