differ

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Differ

type Differ struct {
	// contains filtered or unexported fields
}

Differ is the object of comparing two configurations.

func NewDiffer

func NewDiffer(local, remote *types.Configuration) (*Differ, error)

NewDiffer creates a new Differ object.

func (*Differ) Diff

func (d *Differ) Diff() ([]*data.Event, error)

Diff compares the local configuration and remote configuration, and returns the events.

Jump to

Keyboard shortcuts

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