Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Total uint32 // total number of keys marked for sync Synced uint32 // number of successful syncs Success bool // if Sync was successful Status string // an arbitrary status message SyncedAt time.Time // completion timestamp }
Status defines response data returned by Sync.
func Sync ¶
func Sync(ctx context.Context, source v1alpha1.StoreReader, target v1alpha1.StoreWriter, actions []v1alpha1.SyncAction, ) (*Status, error)
Sync will synchronize keys from source to target based on provided specs.
Click to show internal directories.
Click to hide internal directories.