Versions in this module Expand all Collapse all v0 v0.2.2 Aug 17, 2020 v0.2.1 Aug 17, 2020 Changes in this version + const AnnotationKeyHook + const AnnotationKeyHookDeletePolicy + const AnnotationSyncOptions + const AnnotationSyncWave + const SyncOptionDisablePrune + const SyncOptionSkipDryRunOnMissingResource + const SyncOptionsDisableValidation + const SyncPhasePostSync + const SyncPhasePreSync + const SyncPhaseSync + const SyncPhaseSyncFail + type HookDeletePolicy string + const HookDeletePolicyBeforeHookCreation + const HookDeletePolicyHookFailed + const HookDeletePolicyHookSucceeded + func NewHookDeletePolicy(p string) (HookDeletePolicy, bool) + type HookType string + const HookTypePostSync + const HookTypePreSync + const HookTypeSkip + const HookTypeSync + const HookTypeSyncFail + func NewHookType(t string) (HookType, bool) + type OperationPhase string + const OperationError + const OperationFailed + const OperationRunning + const OperationSucceeded + const OperationTerminating + func (os OperationPhase) Completed() bool + func (os OperationPhase) Failed() bool + func (os OperationPhase) Running() bool + func (os OperationPhase) Successful() bool + type PermissionValidator func(un *unstructured.Unstructured, res *metav1.APIResource) error + type ResourceSyncResult struct + HookPhase OperationPhase + HookType HookType + Message string + Order int + ResourceKey kube.ResourceKey + Status ResultCode + SyncPhase SyncPhase + Version string + type ResultCode string + const ResultCodePruneSkipped + const ResultCodePruned + const ResultCodeSyncFailed + const ResultCodeSynced + type SyncPhase string