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) AddOrgMembership(_ 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) RemoveOrgMembership(_ context.Context, _, _ uuid.UUID, _ string) error
- func (s *Syncer) SetPlatformAdmin(_ context.Context, _ uuid.UUID, _ bool) 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) AddOrgMembership ¶
AddOrgMembership is a no-op.
func (*Syncer) RegisterOrganization ¶
RegisterOrganization is a no-op.
func (*Syncer) RegisterPrincipal ¶
RegisterPrincipal is a no-op.
func (*Syncer) RemoveOrgMembership ¶
RemoveOrgMembership is a no-op.
func (*Syncer) SetPlatformAdmin ¶
SetPlatformAdmin is a no-op.
func (*Syncer) UnregisterOrganization ¶
UnregisterOrganization is a no-op.
func (*Syncer) UnregisterPrincipal ¶
UnregisterPrincipal is a no-op.
Click to show internal directories.
Click to hide internal directories.