package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DependencyForServer looks up a dependency in the list of sub-phases of the give phase that references the specified server and returns a reference to it.
NewDefaultReconciler returns an implementation of Reconciler that syncs changes between the authoritative and the remote backends.
NewEngine returns a new update engine using the given dispatcher to dispatch phases.
NewMachine returns a new state machine for an update operation.
NewUpdater returns a new updater for the specified operation using the given machine.
ResolvePlan resolves dependencies between phases and renders IDs as absolute in the specified plan.
Retry runs the specified function fn.
RootPhase makes the specified phase root.
SplitServers splits the specified server list into servers with master cluster role and regular nodes.
SyncChangelog will sync changelog entries from src to dst storage.
SyncOperationPlan will synchronize the specified operation and its plan from source to destination backend.
WaitForEndpoints waits for service endpoints to become active for the server specified with nodeID.

# Structs

Config describes configuration for executing an update operation.
Engine is the updater engine.
Updater manages the operation specified with machine.

# Interfaces

Dispatcher routes the set of execution parameters to a specific operation phase.
LocalPackageService defines a package service on local host.
No description provided by the author
PhaseIder is an interface to identify phases.
Reconciler can sync plan changes between backends.

# Type aliases

Phase aliases the operation phase object from lib/storage.
PhaseRef refers to a phase by ID.
Phases is a list of Phase.