Documentation
¶
Overview ¶
Package noop provides a no-operation authorization syncer for deployments that don't require authorization backend synchronization.
Index ¶
- type Syncer
- func (s *Syncer) AddAppRole(_ context.Context, _, _ uuid.UUID, _, _ string) error
- func (s *Syncer) AddOrgMembership(_ context.Context, _, _ uuid.UUID, _ string) error
- func (s *Syncer) AddPrincipalManager(_ context.Context, _, _ uuid.UUID, _ string) error
- func (s *Syncer) RegisterOrganization(_ context.Context, _, _ uuid.UUID) error
- func (s *Syncer) RegisterPrincipal(_ context.Context, _ uuid.UUID) error
- func (s *Syncer) RemoveAppRole(_ context.Context, _, _ uuid.UUID, _, _ string) error
- func (s *Syncer) RemoveOrgMembership(_ context.Context, _, _ uuid.UUID, _ string) error
- func (s *Syncer) RemovePrincipalManager(_ context.Context, _, _ uuid.UUID, _ string) error
- func (s *Syncer) RemoveResourceGrant(_ context.Context, _ uuid.UUID, _ authz.ResourceRef) error
- func (s *Syncer) SetPlatformAdmin(_ context.Context, _ uuid.UUID, _ bool) error
- func (s *Syncer) SetResourceGrant(_ context.Context, _ uuid.UUID, _ authz.ResourceRef, _ string) error
- func (s *Syncer) UnregisterOrganization(_ context.Context, _ uuid.UUID) error
- func (s *Syncer) UnregisterPrincipal(_ context.Context, _ uuid.UUID) error
- func (s *Syncer) UpdateOrgMembership(_ context.Context, _, _ uuid.UUID, _, _ string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
type Syncer struct{}
Syncer is a no-operation implementation of RelationshipSyncer. All methods succeed without performing any action.
func (*Syncer) AddAppRole ¶ added in v0.14.0
AddAppRole is a no-op.
func (*Syncer) AddOrgMembership ¶
AddOrgMembership is a no-op.
func (*Syncer) AddPrincipalManager ¶ added in v0.14.0
AddPrincipalManager is a no-op.
func (*Syncer) RegisterOrganization ¶
RegisterOrganization is a no-op.
func (*Syncer) RegisterPrincipal ¶
RegisterPrincipal is a no-op.
func (*Syncer) RemoveAppRole ¶ added in v0.14.0
RemoveAppRole is a no-op.
func (*Syncer) RemoveOrgMembership ¶
RemoveOrgMembership is a no-op.
func (*Syncer) RemovePrincipalManager ¶ added in v0.14.0
RemovePrincipalManager is a no-op.
func (*Syncer) RemoveResourceGrant ¶ added in v0.14.0
RemoveResourceGrant is a no-op.
func (*Syncer) SetPlatformAdmin ¶
SetPlatformAdmin is a no-op.
func (*Syncer) SetResourceGrant ¶ added in v0.14.0
func (s *Syncer) SetResourceGrant(_ context.Context, _ uuid.UUID, _ authz.ResourceRef, _ string) error
SetResourceGrant is a no-op.
func (*Syncer) UnregisterOrganization ¶
UnregisterOrganization is a no-op.
func (*Syncer) UnregisterPrincipal ¶
UnregisterPrincipal is a no-op.