backends

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	Plan(ctx context.Context, cfg map[string]any) ([]Plan, error)
}

Backend is a backend of op-sync.

type Plan

type Plan interface {
	Preview() string
	Apply(ctx context.Context) error
}

Plan is a plan of op-sync.

Directories

Path Synopsis
Package template provides the template backend.
Package template provides the template backend.

Jump to

Keyboard shortcuts

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