Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaskEnvVarValue ¶
Types ¶
type EntityChanges ¶
type EntityChanges struct { Creating []EntityState `json:"creating"` Updating []EntityState `json:"updating"` Deleting []EntityState `json:"deleting"` }
type EntityState ¶
type JSONOutputObject ¶
type JSONOutputObject struct { Changes EntityChanges `json:"changes"` Summary Summary `json:"summary"` Warnings []string `json:"warnings"` Errors []string `json:"errors"` }
type Stats ¶
type Stats struct { CreateOps *utils.AtomicInt32Counter UpdateOps *utils.AtomicInt32Counter DeleteOps *utils.AtomicInt32Counter }
Stats holds the stats related to a Solve.
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
Syncer takes in a current and target state of Kong, diffs them, generating a Graph to get Kong from current to target state.
type SyncerOpts ¶
type SyncerOpts struct { CurrentState *state.KongState TargetState *state.KongState KongClient *kong.Client KonnectClient *konnect.Client SilenceWarnings bool StageDelaySec int NoMaskValues bool IsKonnect bool CreatePrintln func(a ...interface{}) UpdatePrintln func(a ...interface{}) DeletePrintln func(a ...interface{}) }
Click to show internal directories.
Click to hide internal directories.