package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Aug 4, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Do is the worker function to sync the diff
TODO remove crud.Arg
type Event struct {
Op crud.Op
Kind crud.Kind
Obj interface{}
OldObj interface{}
}
Event represents an event to perform
an imperative operation
that gets Kong closer to the target state.
type Syncer struct {
SilenceWarnings bool
StageDelaySec int
}
Syncer takes in a current and target state of Kong,
diffs them, generating a Graph to get Kong from current
to target state.
NewSyncer constructs a Syncer.
Run starts a diff and invokes d for every diff.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.