runner

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package runner orchestrates reconciliation between rules and CalDAV.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg config.Config, opts Options) error

Run performs a reconciliation cycle that reads existing tasks, checks rules, and creates at most one new task per rule when needed. Inputs: context for cancellation, a validated config, and runtime options. Output: error when client setup or query fails; per-rule creation errors are logged.

Types

type Options

type Options struct {
	DryRun bool
}

Options control synchronization behavior.

Jump to

Keyboard shortcuts

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