package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Oct 24, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 9
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 {
InFlightOps int32
}
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.