| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Keiro.Projection.Catalog.Operations
Description
Operator-neutral inventory and rebuild actions derived from one validated projection catalog. This module deliberately contains no command parser, renderer, confirmation policy, or database connection details.
Synopsis
- data ProjectionCatalogOperations
- projectionCatalogOperations :: ValidatedProjectionCatalog -> ProjectionCatalogOperations
- data CatalogInventoryReport = CatalogInventoryReport {
- reportSchema :: !Text
- catalogFingerprint :: !Text
- groupSlices :: ![(RebuildGroupId, Text)]
- inventory :: !CatalogInventory
- data RebuildPreview = RebuildPreview {
- reportSchema :: !Text
- rebuildGroupId :: !RebuildGroupId
- catalogFingerprint :: !Text
- sliceFingerprint :: !Text
- targets :: ![InventoryTarget]
- sources :: ![InventorySource]
- projections :: ![InventoryProjection]
- queryModels :: ![InventoryQueryModel]
- subscriptionResets :: ![InventorySubscription]
- dedupResets :: ![InventoryDedupKey]
- verifications :: ![(Text, Text)]
- lockScope :: ![RebuildGroupId]
- capturedHeadStrategy :: !Text
- destructive :: !Bool
- data RegisteredRebuildPreview = RegisteredRebuildPreview {}
- data CatalogAdoptionGroupPreview = CatalogAdoptionGroupPreview {
- rebuildGroupId :: !RebuildGroupId
- classification :: !GroupAdoptionClass
- storedSlice :: !(Maybe Text)
- currentSlice :: !Text
- inScope :: !Bool
- data CatalogAdoptionRegistrationPreview = CatalogAdoptionRegistrationPreview {}
- data CatalogAdoptionOrphanPreview = CatalogAdoptionOrphanPreview {
- registryName :: !Text
- boundGroupId :: !RebuildGroupId
- inScope :: !Bool
- data CatalogAdoptionReport = CatalogAdoptionReport {
- reportSchema :: !Text
- catalogFingerprint :: !Text
- requestedGroups :: ![RebuildGroupId]
- groups :: ![CatalogAdoptionGroupPreview]
- registrations :: ![CatalogAdoptionRegistrationPreview]
- orphanedRegistrations :: ![CatalogAdoptionOrphanPreview]
- removedGroups :: ![RebuildGroupId]
- outOfScopeChangedGroups :: ![RebuildGroupId]
- data CatalogAdoptionOutcome = CatalogAdoptionOutcome {}
- data CatalogRunReport = CatalogRunReport {
- reportSchema :: !Text
- run :: !RebuildRunReport
- data CatalogVersionedStartOptions = CatalogVersionedStartOptions {
- rebuildRunId :: !RebuildRunId
- rebuildGroupId :: !RebuildGroupId
- servingRevisionId :: !ProjectionRevisionId
- candidateRevisionId :: !ProjectionRevisionId
- targetMode :: !VersionedTargetMode
- replayPageSize :: !Int32
- cutoverThreshold :: !Int64
- cutoverLockTimeoutMs :: !Int64
- promotionDedupLimit :: !Int64
- retentionDuration :: !DiffTime
- requestedBy :: !Text
- requestReason :: !Text
- data CatalogVersionedRunReport = CatalogVersionedRunReport {}
- data CatalogRetiredGenerationsReport = CatalogRetiredGenerationsReport {}
- data CatalogRetiredDropReport
- data CatalogExternalReadRetirementReport = CatalogExternalReadRetirementReport {}
- data CatalogStreamReprojectionPreview = CatalogStreamReprojectionPreview {
- reportSchema :: !Text
- rebuildGroupId :: !RebuildGroupId
- projectionId :: !ProjectionId
- streamName :: !StreamName
- servingRevisionId :: !ProjectionRevisionId
- targets :: ![InventoryTarget]
- affectedDedup :: ![InventoryDedupKey]
- streamVersion :: !(Maybe StreamVersion)
- eventCount :: !(Maybe Int64)
- expectedDedupClaims :: !(Maybe Integer)
- maxEvents :: !Int64
- softDeleted :: !Bool
- truncateBefore :: !(Maybe StreamVersion)
- eligible :: !Bool
- refusal :: !(Maybe Text)
- forceOperation :: !Text
- data CatalogStreamReprojectionReport = CatalogStreamReprojectionReport {}
- data CatalogOpsError
- = CatalogOpsUnknownGroup !RebuildGroupId
- | CatalogOpsRunSliceMismatch !RebuildRunId !Text !Text
- | CatalogOpsAdoptionRefused !CatalogAdoptionError
- | CatalogOpsRebuildError !CatalogRebuildError
- | CatalogOpsVersionedError !VersionedRebuildError
- | CatalogOpsExternalReadRetirementError !ExternalReadRetirementError
- | CatalogOpsStreamReprojectionError !StreamReprojectionError
- | CatalogOpsInvalidVersionedRequest !Text
- catalogInventoryReport :: ProjectionCatalogOperations -> CatalogInventoryReport
- previewGroupRebuild :: ProjectionCatalogOperations -> RebuildGroupId -> Either CatalogOpsError RebuildPreview
- previewRegisteredGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildGroupId -> Eff es (Either CatalogOpsError RegisteredRebuildPreview)
- previewCatalogAdoption :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> NonEmpty RebuildGroupId -> Eff es (Either CatalogOpsError CatalogAdoptionReport)
- adoptCatalogGroups :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> NonEmpty RebuildGroupId -> Eff es (Either CatalogOpsError CatalogAdoptionOutcome)
- startGroupRebuild :: forall (es :: [Effect]). (IOE :> es, Store :> es) => ProjectionCatalogOperations -> RebuildGroupId -> RebuildOptions -> Eff es (Either CatalogOpsError CatalogRunReport)
- inspectGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogRunReport)
- resumeGroupRebuild :: forall (es :: [Effect]). (IOE :> es, Store :> es) => ProjectionCatalogOperations -> RebuildRunId -> RebuildOptions -> Eff es (Either CatalogOpsError CatalogRunReport)
- abandonGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> RebuildFailure -> Eff es (Either CatalogOpsError CatalogRunReport)
- startVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> CatalogVersionedStartOptions -> Eff es (Either CatalogOpsError CatalogVersionedRunReport)
- inspectVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport)
- resumeVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport)
- abandonVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport)
- listRetiredGenerations :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> Eff es CatalogRetiredGenerationsReport
- previewRetiredGenerationDrop :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> TargetGenerationId -> Eff es (Either CatalogOpsError CatalogRetiredDropReport)
- dropRetiredGeneration :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> TargetGenerationId -> Eff es (Either CatalogOpsError CatalogRetiredDropReport)
- inspectExternalReadContract :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> ExternalReadContractId -> ExternalReadContractVersion -> Eff es (Either CatalogOpsError CatalogExternalReadRetirementReport)
- retireExternalReadContract :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> ExternalReadContractId -> ExternalReadContractVersion -> Eff es (Either CatalogOpsError CatalogExternalReadRetirementReport)
- previewStreamReprojection :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> StreamReprojectionRequest -> Eff es (Either CatalogOpsError CatalogStreamReprojectionPreview)
- reprojectCatalogStream :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> StreamReprojectionRequest -> Eff es (Either CatalogOpsError CatalogStreamReprojectionReport)
Documentation
data ProjectionCatalogOperations Source #
Instances
data CatalogInventoryReport Source #
Stable, JSON-friendly envelope for the complete heterogeneous inventory.
Constructors
| CatalogInventoryReport | |
Fields
| |
Instances
| Generic CatalogInventoryReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogInventoryReport -> Rep CatalogInventoryReport x # to :: Rep CatalogInventoryReport x -> CatalogInventoryReport # | |||||
| Show CatalogInventoryReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogInventoryReport -> ShowS # show :: CatalogInventoryReport -> String # showList :: [CatalogInventoryReport] -> ShowS # | |||||
| Eq CatalogInventoryReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogInventoryReport -> CatalogInventoryReport -> Bool # (/=) :: CatalogInventoryReport -> CatalogInventoryReport -> Bool # | |||||
| ToJSON CatalogInventoryReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogInventoryReport -> Value # toEncoding :: CatalogInventoryReport -> Encoding # toJSONList :: [CatalogInventoryReport] -> Value # toEncodingList :: [CatalogInventoryReport] -> Encoding # omitField :: CatalogInventoryReport -> Bool # | |||||
| type Rep CatalogInventoryReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogInventoryReport = D1 ('MetaData "CatalogInventoryReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogInventoryReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "catalogFingerprint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "groupSlices") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(RebuildGroupId, Text)]) :*: S1 ('MetaSel ('Just "inventory") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CatalogInventory)))) | |||||
data RebuildPreview Source #
A pure, non-mutating description of one group rebuild. Every list is selected from the validated catalog; no caller-supplied reset or handler list can enter the report.
Constructors
| RebuildPreview | |
Fields
| |
Instances
| Generic RebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: RebuildPreview -> Rep RebuildPreview x # to :: Rep RebuildPreview x -> RebuildPreview # | |||||
| Show RebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> RebuildPreview -> ShowS # show :: RebuildPreview -> String # showList :: [RebuildPreview] -> ShowS # | |||||
| Eq RebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: RebuildPreview -> RebuildPreview -> Bool # (/=) :: RebuildPreview -> RebuildPreview -> Bool # | |||||
| ToJSON RebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: RebuildPreview -> Value # toEncoding :: RebuildPreview -> Encoding # toJSONList :: [RebuildPreview] -> Value # toEncodingList :: [RebuildPreview] -> Encoding # omitField :: RebuildPreview -> Bool # | |||||
| type Rep RebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep RebuildPreview = D1 ('MetaData "RebuildPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "RebuildPreview" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "rebuildGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId) :*: S1 ('MetaSel ('Just "catalogFingerprint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "sliceFingerprint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryTarget])) :*: (S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventorySource]) :*: S1 ('MetaSel ('Just "projections") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryProjection])))) :*: ((S1 ('MetaSel ('Just "queryModels") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryQueryModel]) :*: (S1 ('MetaSel ('Just "subscriptionResets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventorySubscription]) :*: S1 ('MetaSel ('Just "dedupResets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryDedupKey]))) :*: ((S1 ('MetaSel ('Just "verifications") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Text, Text)]) :*: S1 ('MetaSel ('Just "lockScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RebuildGroupId])) :*: (S1 ('MetaSel ('Just "capturedHeadStrategy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "destructive") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))) | |||||
data RegisteredRebuildPreview Source #
The pure preview plus an optional read-only lifecycle observation. A missing row means the validated group has not been registered yet.
Constructors
| RegisteredRebuildPreview | |
Fields
| |
Instances
| Generic RegisteredRebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: RegisteredRebuildPreview -> Rep RegisteredRebuildPreview x # to :: Rep RegisteredRebuildPreview x -> RegisteredRebuildPreview # | |||||
| Show RegisteredRebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> RegisteredRebuildPreview -> ShowS # show :: RegisteredRebuildPreview -> String # showList :: [RegisteredRebuildPreview] -> ShowS # | |||||
| Eq RegisteredRebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: RegisteredRebuildPreview -> RegisteredRebuildPreview -> Bool # (/=) :: RegisteredRebuildPreview -> RegisteredRebuildPreview -> Bool # | |||||
| ToJSON RegisteredRebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: RegisteredRebuildPreview -> Value # toEncoding :: RegisteredRebuildPreview -> Encoding # toJSONList :: [RegisteredRebuildPreview] -> Value # | |||||
| type Rep RegisteredRebuildPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep RegisteredRebuildPreview = D1 ('MetaData "RegisteredRebuildPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "RegisteredRebuildPreview" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "preview") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildPreview)) :*: (S1 ('MetaSel ('Just "registeredState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe GroupRebuildMetadata)) :*: S1 ('MetaSel ('Just "registeredSliceMatches") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool))))) | |||||
data CatalogAdoptionGroupPreview Source #
Constructors
| CatalogAdoptionGroupPreview | |
Fields
| |
Instances
| Generic CatalogAdoptionGroupPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogAdoptionGroupPreview -> Rep CatalogAdoptionGroupPreview x # to :: Rep CatalogAdoptionGroupPreview x -> CatalogAdoptionGroupPreview # | |||||
| Show CatalogAdoptionGroupPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogAdoptionGroupPreview -> ShowS # show :: CatalogAdoptionGroupPreview -> String # showList :: [CatalogAdoptionGroupPreview] -> ShowS # | |||||
| Eq CatalogAdoptionGroupPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogAdoptionGroupPreview -> CatalogAdoptionGroupPreview -> Bool # (/=) :: CatalogAdoptionGroupPreview -> CatalogAdoptionGroupPreview -> Bool # | |||||
| type Rep CatalogAdoptionGroupPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogAdoptionGroupPreview = D1 ('MetaData "CatalogAdoptionGroupPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogAdoptionGroupPreview" 'PrefixI 'True) ((S1 ('MetaSel ('Just "rebuildGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId) :*: S1 ('MetaSel ('Just "classification") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 GroupAdoptionClass)) :*: (S1 ('MetaSel ('Just "storedSlice") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "currentSlice") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))) | |||||
data CatalogAdoptionRegistrationPreview Source #
Constructors
| CatalogAdoptionRegistrationPreview | |
Fields
| |
Instances
| Generic CatalogAdoptionRegistrationPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogAdoptionRegistrationPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogAdoptionRegistrationPreview -> ShowS # | |||||
| Eq CatalogAdoptionRegistrationPreview Source # | |||||
| type Rep CatalogAdoptionRegistrationPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogAdoptionRegistrationPreview = D1 ('MetaData "CatalogAdoptionRegistrationPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogAdoptionRegistrationPreview" 'PrefixI 'True) ((S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rebuildGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId)) :*: (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RegistrationAdoptionAction) :*: S1 ('MetaSel ('Just "inScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))) | |||||
data CatalogAdoptionOrphanPreview Source #
Constructors
| CatalogAdoptionOrphanPreview | |
Fields
| |
Instances
| Generic CatalogAdoptionOrphanPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogAdoptionOrphanPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogAdoptionOrphanPreview -> ShowS # show :: CatalogAdoptionOrphanPreview -> String # showList :: [CatalogAdoptionOrphanPreview] -> ShowS # | |||||
| Eq CatalogAdoptionOrphanPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogAdoptionOrphanPreview -> CatalogAdoptionOrphanPreview -> Bool # (/=) :: CatalogAdoptionOrphanPreview -> CatalogAdoptionOrphanPreview -> Bool # | |||||
| type Rep CatalogAdoptionOrphanPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogAdoptionOrphanPreview = D1 ('MetaData "CatalogAdoptionOrphanPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogAdoptionOrphanPreview" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "boundGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId) :*: S1 ('MetaSel ('Just "inScope") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))) | |||||
data CatalogAdoptionReport Source #
Constructors
| CatalogAdoptionReport | |
Fields
| |
Instances
| Generic CatalogAdoptionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogAdoptionReport -> Rep CatalogAdoptionReport x # to :: Rep CatalogAdoptionReport x -> CatalogAdoptionReport # | |||||
| Show CatalogAdoptionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogAdoptionReport -> ShowS # show :: CatalogAdoptionReport -> String # showList :: [CatalogAdoptionReport] -> ShowS # | |||||
| Eq CatalogAdoptionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogAdoptionReport -> CatalogAdoptionReport -> Bool # (/=) :: CatalogAdoptionReport -> CatalogAdoptionReport -> Bool # | |||||
| ToJSON CatalogAdoptionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogAdoptionReport -> Value # toEncoding :: CatalogAdoptionReport -> Encoding # toJSONList :: [CatalogAdoptionReport] -> Value # toEncodingList :: [CatalogAdoptionReport] -> Encoding # omitField :: CatalogAdoptionReport -> Bool # | |||||
| type Rep CatalogAdoptionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogAdoptionReport = D1 ('MetaData "CatalogAdoptionReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogAdoptionReport" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "catalogFingerprint") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "requestedGroups") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RebuildGroupId]) :*: S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [CatalogAdoptionGroupPreview]))) :*: ((S1 ('MetaSel ('Just "registrations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [CatalogAdoptionRegistrationPreview]) :*: S1 ('MetaSel ('Just "orphanedRegistrations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [CatalogAdoptionOrphanPreview])) :*: (S1 ('MetaSel ('Just "removedGroups") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RebuildGroupId]) :*: S1 ('MetaSel ('Just "outOfScopeChangedGroups") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RebuildGroupId]))))) | |||||
data CatalogAdoptionOutcome Source #
Constructors
| CatalogAdoptionOutcome | |
Fields | |
Instances
| Generic CatalogAdoptionOutcome Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogAdoptionOutcome -> Rep CatalogAdoptionOutcome x # to :: Rep CatalogAdoptionOutcome x -> CatalogAdoptionOutcome # | |||||
| Show CatalogAdoptionOutcome Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogAdoptionOutcome -> ShowS # show :: CatalogAdoptionOutcome -> String # showList :: [CatalogAdoptionOutcome] -> ShowS # | |||||
| Eq CatalogAdoptionOutcome Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogAdoptionOutcome -> CatalogAdoptionOutcome -> Bool # (/=) :: CatalogAdoptionOutcome -> CatalogAdoptionOutcome -> Bool # | |||||
| ToJSON CatalogAdoptionOutcome Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogAdoptionOutcome -> Value # toEncoding :: CatalogAdoptionOutcome -> Encoding # toJSONList :: [CatalogAdoptionOutcome] -> Value # toEncodingList :: [CatalogAdoptionOutcome] -> Encoding # omitField :: CatalogAdoptionOutcome -> Bool # | |||||
| type Rep CatalogAdoptionOutcome Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogAdoptionOutcome = D1 ('MetaData "CatalogAdoptionOutcome" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogAdoptionOutcome" 'PrefixI 'True) ((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "adoptedGroups") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [GroupRebuildMetadata])) :*: (S1 ('MetaSel ('Just "registrationOutcomes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [RegistrationAdoption]) :*: S1 ('MetaSel ('Just "removedOrphans") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [OrphanedRegistration])))) | |||||
data CatalogRunReport Source #
Versioned operations envelope around the runtime runner's structured progress report.
Constructors
| CatalogRunReport | |
Fields
| |
Instances
| Generic CatalogRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogRunReport -> Rep CatalogRunReport x # to :: Rep CatalogRunReport x -> CatalogRunReport # | |||||
| Show CatalogRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogRunReport -> ShowS # show :: CatalogRunReport -> String # showList :: [CatalogRunReport] -> ShowS # | |||||
| Eq CatalogRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogRunReport -> CatalogRunReport -> Bool # (/=) :: CatalogRunReport -> CatalogRunReport -> Bool # | |||||
| ToJSON CatalogRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogRunReport -> Value # toEncoding :: CatalogRunReport -> Encoding # toJSONList :: [CatalogRunReport] -> Value # toEncodingList :: [CatalogRunReport] -> Encoding # omitField :: CatalogRunReport -> Bool # | |||||
| type Rep CatalogRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogRunReport = D1 ('MetaData "CatalogRunReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogRunReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "run") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildRunReport))) | |||||
data CatalogVersionedStartOptions Source #
Constructors
| CatalogVersionedStartOptions | |
Fields
| |
Instances
| Generic CatalogVersionedStartOptions Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogVersionedStartOptions Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogVersionedStartOptions -> ShowS # show :: CatalogVersionedStartOptions -> String # showList :: [CatalogVersionedStartOptions] -> ShowS # | |||||
| Eq CatalogVersionedStartOptions Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogVersionedStartOptions -> CatalogVersionedStartOptions -> Bool # (/=) :: CatalogVersionedStartOptions -> CatalogVersionedStartOptions -> Bool # | |||||
| type Rep CatalogVersionedStartOptions Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogVersionedStartOptions = D1 ('MetaData "CatalogVersionedStartOptions" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogVersionedStartOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "rebuildRunId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildRunId) :*: (S1 ('MetaSel ('Just "rebuildGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId) :*: S1 ('MetaSel ('Just "servingRevisionId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectionRevisionId))) :*: (S1 ('MetaSel ('Just "candidateRevisionId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectionRevisionId) :*: (S1 ('MetaSel ('Just "targetMode") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VersionedTargetMode) :*: S1 ('MetaSel ('Just "replayPageSize") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int32)))) :*: ((S1 ('MetaSel ('Just "cutoverThreshold") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: (S1 ('MetaSel ('Just "cutoverLockTimeoutMs") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "promotionDedupLimit") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64))) :*: (S1 ('MetaSel ('Just "retentionDuration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DiffTime) :*: (S1 ('MetaSel ('Just "requestedBy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requestReason") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))))) | |||||
data CatalogVersionedRunReport Source #
Constructors
| CatalogVersionedRunReport | |
Fields
| |
Instances
| Generic CatalogVersionedRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogVersionedRunReport -> Rep CatalogVersionedRunReport x # to :: Rep CatalogVersionedRunReport x -> CatalogVersionedRunReport # | |||||
| Show CatalogVersionedRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogVersionedRunReport -> ShowS # show :: CatalogVersionedRunReport -> String # showList :: [CatalogVersionedRunReport] -> ShowS # | |||||
| Eq CatalogVersionedRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogVersionedRunReport -> CatalogVersionedRunReport -> Bool # (/=) :: CatalogVersionedRunReport -> CatalogVersionedRunReport -> Bool # | |||||
| ToJSON CatalogVersionedRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogVersionedRunReport -> Value # toEncoding :: CatalogVersionedRunReport -> Encoding # toJSONList :: [CatalogVersionedRunReport] -> Value # | |||||
| type Rep CatalogVersionedRunReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogVersionedRunReport = D1 ('MetaData "CatalogVersionedRunReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogVersionedRunReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "run") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VersionedRebuildReport))) | |||||
data CatalogRetiredGenerationsReport Source #
Constructors
| CatalogRetiredGenerationsReport | |
Fields
| |
Instances
| Generic CatalogRetiredGenerationsReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogRetiredGenerationsReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogRetiredGenerationsReport -> ShowS # | |||||
| Eq CatalogRetiredGenerationsReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| ToJSON CatalogRetiredGenerationsReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| type Rep CatalogRetiredGenerationsReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogRetiredGenerationsReport = D1 ('MetaData "CatalogRetiredGenerationsReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogRetiredGenerationsReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "generations") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [VersionedTargetGeneration]))) | |||||
data CatalogRetiredDropReport Source #
Constructors
| CatalogRetiredDropPreview !VersionedRetiredGenerationPreview | |
| CatalogRetiredDropOutcome !VersionedRetiredDropResult |
Instances
| Generic CatalogRetiredDropReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogRetiredDropReport -> Rep CatalogRetiredDropReport x # to :: Rep CatalogRetiredDropReport x -> CatalogRetiredDropReport # | |||||
| Show CatalogRetiredDropReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogRetiredDropReport -> ShowS # show :: CatalogRetiredDropReport -> String # showList :: [CatalogRetiredDropReport] -> ShowS # | |||||
| Eq CatalogRetiredDropReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogRetiredDropReport -> CatalogRetiredDropReport -> Bool # (/=) :: CatalogRetiredDropReport -> CatalogRetiredDropReport -> Bool # | |||||
| ToJSON CatalogRetiredDropReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods toJSON :: CatalogRetiredDropReport -> Value # toEncoding :: CatalogRetiredDropReport -> Encoding # toJSONList :: [CatalogRetiredDropReport] -> Value # | |||||
| type Rep CatalogRetiredDropReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogRetiredDropReport = D1 ('MetaData "CatalogRetiredDropReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogRetiredDropPreview" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VersionedRetiredGenerationPreview)) :+: C1 ('MetaCons "CatalogRetiredDropOutcome" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VersionedRetiredDropResult))) | |||||
data CatalogExternalReadRetirementReport Source #
Constructors
| CatalogExternalReadRetirementReport | |
Fields
| |
Instances
| Generic CatalogExternalReadRetirementReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogExternalReadRetirementReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogExternalReadRetirementReport -> ShowS # show :: CatalogExternalReadRetirementReport -> String # showList :: [CatalogExternalReadRetirementReport] -> ShowS # | |||||
| Eq CatalogExternalReadRetirementReport Source # | |||||
| ToJSON CatalogExternalReadRetirementReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| type Rep CatalogExternalReadRetirementReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogExternalReadRetirementReport = D1 ('MetaData "CatalogExternalReadRetirementReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogExternalReadRetirementReport" 'PrefixI 'True) (((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contractId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ExternalReadContractId)) :*: (S1 ('MetaSel ('Just "contractVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ExternalReadContractVersion) :*: S1 ('MetaSel ('Just "publicFunction") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "currentState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "surfaceGeneration") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "dependentObjects") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "executeGrants") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [Text]))))) | |||||
data CatalogStreamReprojectionPreview Source #
Constructors
| CatalogStreamReprojectionPreview | |
Fields
| |
Instances
| Generic CatalogStreamReprojectionPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogStreamReprojectionPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogStreamReprojectionPreview -> ShowS # | |||||
| Eq CatalogStreamReprojectionPreview Source # | |||||
| ToJSON CatalogStreamReprojectionPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| type Rep CatalogStreamReprojectionPreview Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogStreamReprojectionPreview = D1 ('MetaData "CatalogStreamReprojectionPreview" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogStreamReprojectionPreview" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "rebuildGroupId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId)) :*: (S1 ('MetaSel ('Just "projectionId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectionId) :*: S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StreamName))) :*: ((S1 ('MetaSel ('Just "servingRevisionId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProjectionRevisionId) :*: S1 ('MetaSel ('Just "targets") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryTarget])) :*: (S1 ('MetaSel ('Just "affectedDedup") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [InventoryDedupKey]) :*: S1 ('MetaSel ('Just "streamVersion") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe StreamVersion))))) :*: (((S1 ('MetaSel ('Just "eventCount") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int64)) :*: S1 ('MetaSel ('Just "expectedDedupClaims") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "maxEvents") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int64) :*: S1 ('MetaSel ('Just "softDeleted") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "truncateBefore") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe StreamVersion)) :*: S1 ('MetaSel ('Just "eligible") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "refusal") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "forceOperation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))))) | |||||
data CatalogStreamReprojectionReport Source #
Constructors
| CatalogStreamReprojectionReport | |
Fields | |
Instances
| Generic CatalogStreamReprojectionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
| |||||
| Show CatalogStreamReprojectionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogStreamReprojectionReport -> ShowS # | |||||
| Eq CatalogStreamReprojectionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| ToJSON CatalogStreamReprojectionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations | |||||
| type Rep CatalogStreamReprojectionReport Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogStreamReprojectionReport = D1 ('MetaData "CatalogStreamReprojectionReport" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (C1 ('MetaCons "CatalogStreamReprojectionReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "reportSchema") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "repair") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StreamReprojectionReport))) | |||||
data CatalogOpsError Source #
Constructors
| CatalogOpsUnknownGroup !RebuildGroupId | |
| CatalogOpsRunSliceMismatch !RebuildRunId !Text !Text | |
| CatalogOpsAdoptionRefused !CatalogAdoptionError | |
| CatalogOpsRebuildError !CatalogRebuildError | |
| CatalogOpsVersionedError !VersionedRebuildError | |
| CatalogOpsExternalReadRetirementError !ExternalReadRetirementError | |
| CatalogOpsStreamReprojectionError !StreamReprojectionError | |
| CatalogOpsInvalidVersionedRequest !Text |
Instances
| Generic CatalogOpsError Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Associated Types
Methods from :: CatalogOpsError -> Rep CatalogOpsError x # to :: Rep CatalogOpsError x -> CatalogOpsError # | |||||
| Show CatalogOpsError Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods showsPrec :: Int -> CatalogOpsError -> ShowS # show :: CatalogOpsError -> String # showList :: [CatalogOpsError] -> ShowS # | |||||
| Eq CatalogOpsError Source # | |||||
Defined in Keiro.Projection.Catalog.Operations Methods (==) :: CatalogOpsError -> CatalogOpsError -> Bool # (/=) :: CatalogOpsError -> CatalogOpsError -> Bool # | |||||
| type Rep CatalogOpsError Source # | |||||
Defined in Keiro.Projection.Catalog.Operations type Rep CatalogOpsError = D1 ('MetaData "CatalogOpsError" "Keiro.Projection.Catalog.Operations" "keiro-0.12.0.0-inplace" 'False) (((C1 ('MetaCons "CatalogOpsUnknownGroup" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildGroupId)) :+: C1 ('MetaCons "CatalogOpsRunSliceMismatch" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RebuildRunId) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))) :+: (C1 ('MetaCons "CatalogOpsAdoptionRefused" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CatalogAdoptionError)) :+: C1 ('MetaCons "CatalogOpsRebuildError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CatalogRebuildError)))) :+: ((C1 ('MetaCons "CatalogOpsVersionedError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VersionedRebuildError)) :+: C1 ('MetaCons "CatalogOpsExternalReadRetirementError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ExternalReadRetirementError))) :+: (C1 ('MetaCons "CatalogOpsStreamReprojectionError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 StreamReprojectionError)) :+: C1 ('MetaCons "CatalogOpsInvalidVersionedRequest" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))) | |||||
previewGroupRebuild :: ProjectionCatalogOperations -> RebuildGroupId -> Either CatalogOpsError RebuildPreview Source #
previewRegisteredGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildGroupId -> Eff es (Either CatalogOpsError RegisteredRebuildPreview) Source #
previewCatalogAdoption :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> NonEmpty RebuildGroupId -> Eff es (Either CatalogOpsError CatalogAdoptionReport) Source #
adoptCatalogGroups :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> NonEmpty RebuildGroupId -> Eff es (Either CatalogOpsError CatalogAdoptionOutcome) Source #
startGroupRebuild :: forall (es :: [Effect]). (IOE :> es, Store :> es) => ProjectionCatalogOperations -> RebuildGroupId -> RebuildOptions -> Eff es (Either CatalogOpsError CatalogRunReport) Source #
inspectGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogRunReport) Source #
resumeGroupRebuild :: forall (es :: [Effect]). (IOE :> es, Store :> es) => ProjectionCatalogOperations -> RebuildRunId -> RebuildOptions -> Eff es (Either CatalogOpsError CatalogRunReport) Source #
abandonGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> RebuildFailure -> Eff es (Either CatalogOpsError CatalogRunReport) Source #
startVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> CatalogVersionedStartOptions -> Eff es (Either CatalogOpsError CatalogVersionedRunReport) Source #
inspectVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport) Source #
resumeVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport) Source #
abandonVersionedGroupRebuild :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> RebuildRunId -> Eff es (Either CatalogOpsError CatalogVersionedRunReport) Source #
listRetiredGenerations :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> Eff es CatalogRetiredGenerationsReport Source #
previewRetiredGenerationDrop :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> TargetGenerationId -> Eff es (Either CatalogOpsError CatalogRetiredDropReport) Source #
dropRetiredGeneration :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> TargetGenerationId -> Eff es (Either CatalogOpsError CatalogRetiredDropReport) Source #
inspectExternalReadContract :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> ExternalReadContractId -> ExternalReadContractVersion -> Eff es (Either CatalogOpsError CatalogExternalReadRetirementReport) Source #
retireExternalReadContract :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> ExternalReadContractId -> ExternalReadContractVersion -> Eff es (Either CatalogOpsError CatalogExternalReadRetirementReport) Source #
previewStreamReprojection :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> StreamReprojectionRequest -> Eff es (Either CatalogOpsError CatalogStreamReprojectionPreview) Source #
reprojectCatalogStream :: forall (es :: [Effect]). Store :> es => ProjectionCatalogOperations -> StreamReprojectionRequest -> Eff es (Either CatalogOpsError CatalogStreamReprojectionReport) Source #