mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
added common disable sync otpion (#749)
Signed-off-by: reggie-k <[email protected]>
This commit is contained in:
@@ -28,6 +28,8 @@ const (
|
||||
SyncOptionPruneLast = "PruneLast=true"
|
||||
// Sync option that enables use of replace or create command instead of apply
|
||||
SyncOptionReplace = "Replace=true"
|
||||
// Sync option that disables use of replace or create command instead of apply
|
||||
SyncOptionDisableReplace = "Replace=false"
|
||||
// Sync option that enables use of --force flag, delete and re-create
|
||||
SyncOptionForce = "Force=true"
|
||||
// Sync option that enables use of --server-side flag instead of client-side
|
||||
@@ -38,6 +40,8 @@ const (
|
||||
SyncOptionDisableDeletion = "Delete=false"
|
||||
// Sync option that sync only out of sync resources
|
||||
SyncOptionApplyOutOfSyncOnly = "ApplyOutOfSyncOnly=true"
|
||||
// Sync option that disables sync only out of sync resources
|
||||
SyncOptionDisableApplyOutOfSyncOnly = "ApplyOutOfSyncOnly=false"
|
||||
// Sync option that requires confirmation before deleting the resource
|
||||
SyncOptionDeleteRequireConfirm = "Delete=confirm"
|
||||
// Sync option that requires confirmation before deleting the resource
|
||||
|
||||
Reference in New Issue
Block a user