local

package
v0.1.36 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const EventsPerPageLocally = 100

Variables

This section is empty.

Functions

func NewCreateAccountManager added in v0.1.15

func NewCreateAccountManager(ctx context.Context, dbPath string, login string, email string) tasks.Manager

NewGranter returns a task manager that queues a sync 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 NewEventFeed added in v0.1.16

func NewEventFeed(ctx context.Context) 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 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 NewResourceDeleter added in v0.1.15

func NewResourceDeleter(ctx context.Context, dbPath string, resourceId string, resourceType 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

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 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