noop

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package noop provides a no-operation authorization syncer for deployments that don't require authorization backend synchronization.

Index

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 NewSyncer

func NewSyncer() *Syncer

NewSyncer creates a new no-op syncer.

func (*Syncer) AddOrgMembership

func (s *Syncer) AddOrgMembership(_ context.Context, _, _ uuid.UUID, _ string) error

AddOrgMembership is a no-op.

func (*Syncer) RegisterOrganization

func (s *Syncer) RegisterOrganization(_ context.Context, _, _ uuid.UUID) error

RegisterOrganization is a no-op.

func (*Syncer) RegisterPrincipal

func (s *Syncer) RegisterPrincipal(_ context.Context, _ uuid.UUID) error

RegisterPrincipal is a no-op.

func (*Syncer) RemoveOrgMembership

func (s *Syncer) RemoveOrgMembership(_ context.Context, _, _ uuid.UUID, _ string) error

RemoveOrgMembership is a no-op.

func (*Syncer) SetPlatformAdmin

func (s *Syncer) SetPlatformAdmin(_ context.Context, _ uuid.UUID, _ bool) error

SetPlatformAdmin is a no-op.

func (*Syncer) UnregisterOrganization

func (s *Syncer) UnregisterOrganization(_ context.Context, _ uuid.UUID) error

UnregisterOrganization is a no-op.

func (*Syncer) UnregisterPrincipal

func (s *Syncer) UnregisterPrincipal(_ context.Context, _ uuid.UUID) error

UnregisterPrincipal is a no-op.

func (*Syncer) UpdateOrgMembership

func (s *Syncer) UpdateOrgMembership(_ context.Context, _, _ uuid.UUID, _, _ string) error

UpdateOrgMembership is a no-op.

Jump to

Keyboard shortcuts

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