local

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const EventsPerPageLocally = 100

Variables

This section is empty.

Functions

func NewActionInvoker added in v0.3.25

func NewActionInvoker(ctx context.Context, dbPath string, action string, resourceTypeID string, args *structpb.Struct) tasks.Manager

NewActionInvoker returns a task manager that queues an action invoke task. If resourceTypeID is provided, it invokes a resource-scoped action.

func NewBulkTicket added in v0.2.43

func NewBulkTicket(ctx context.Context, templatePath string) tasks.Manager

NewBulkTicket returns a task manager that queues a bulk create ticket task.

func NewCreateAccountManager added in v0.1.15

func NewCreateAccountManager(ctx context.Context, dbPath string, login string, email string, profile *structpb.Struct, resourceTypeId string) tasks.Manager

NewCreateAccountManager returns a task manager that queues a create account task.

func NewCredentialRotator added in v0.1.15

func NewCredentialRotator(ctx context.Context, dbPath string, resourceId string, resourceType string) tasks.Manager

NewGranter returns a task manager that queues a sync task.

func NewDiffer added in v0.3.2

func NewDiffer(ctx context.Context, dbPath string, baseSyncID string, appliedSyncID string) tasks.Manager

NewDiffer returns a task manager that queues a revoke task.

func NewEventFeed added in v0.1.16

func NewEventFeed(ctx context.Context, feedId string, startAt time.Time, cursor string) tasks.Manager

NewEventFeed returns a task manager that queues an event feed task.

func NewGetTicket added in v0.1.36

func NewGetTicket(ctx context.Context, ticketId string) tasks.Manager

NewGetTicket returns a task manager that queues a get ticket task.

func NewGranter

func NewGranter(ctx context.Context, dbPath string, entitlementID string, principalID string, principalType string) tasks.Manager

NewGranter returns a task manager that queues a grant task.

func NewListActionSchemas added in v0.6.9

func NewListActionSchemas(ctx context.Context, resourceTypeID string) tasks.Manager

NewListActionSchemas returns a task manager that queues a list action schemas task. If resourceTypeID is provided, it filters schemas for that specific resource type.

func NewListTicketSchema added in v0.1.36

func NewListTicketSchema(ctx context.Context) tasks.Manager

NewSchema returns a task manager that queues a list schema task.

func NewLocalCompactor added in v0.3.3

func NewLocalCompactor(ctx context.Context, outputPath string, compactableSyncs []*synccompactor.CompactableSync) tasks.Manager

NewLocalCompactor returns a task manager that queues a revoke task.

func NewResourceDeleter added in v0.1.15

func NewResourceDeleter(ctx context.Context, dbPath string, resourceId string, resourceType string) tasks.Manager

NewResourceDeleter returns a task manager that queues a delete resource task.

func NewRevoker

func NewRevoker(ctx context.Context, dbPath string, grantID string) tasks.Manager

NewRevoker returns a task manager that queues a revoke task.

func NewSyncer

func NewSyncer(ctx context.Context, dbPath string, opts ...Option) (tasks.Manager, error)

NewSyncer returns a task manager that queues a sync task.

func NewTicket added in v0.1.36

func NewTicket(ctx context.Context, templatePath string) tasks.Manager

NewTicket returns a task manager that queues a create ticket task.

Types

type Option added in v0.1.8

type Option func(*localSyncer)

func WithExternalResourceC1Z added in v0.2.84

func WithExternalResourceC1Z(externalResourceC1Z string) Option

func WithExternalResourceEntitlementIdFilter added in v0.2.84

func WithExternalResourceEntitlementIdFilter(entitlementId string) Option

func WithParallelSyncEnabled added in v0.8.0

func WithParallelSyncEnabled(parallel bool) Option

func WithSkipEntitlementsAndGrants added in v0.3.40

func WithSkipEntitlementsAndGrants(skip bool) Option

func WithSkipGrants added in v0.5.1

func WithSkipGrants(skip bool) Option

func WithSyncResourceTypeIDs added in v0.5.0

func WithSyncResourceTypeIDs(resourceTypeIDs []string) Option

func WithTargetedSyncResources added in v0.6.6

func WithTargetedSyncResources(resources []*v2.Resource) Option

func WithTmpDir added in v0.1.8

func WithTmpDir(tmpDir string) Option

Jump to

Keyboard shortcuts

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