local

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 sync task.

func NewRevoker

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

NewGranter returns a task manager that queues a sync 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.

Types

type Option added in v0.1.8

type Option func(*localSyncer)

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