driftctl/docs/media/generalflow.puml

27 lines
812 B
Plaintext
Raw Normal View History

@startuml
hnote across: Retrieve Resources
2021-08-24 15:07:34 +00:00
driftctl -> IACSupplier: Resource()
IACSupplier --> driftctl: stateResources []Resource
driftctl -> RemoteSupplier: Resource()
RemoteSupplier --> driftctl: remoteResources []Resource
hnote across: Run Middlewares
2021-08-24 15:07:34 +00:00
driftctl --> driftctl: List Middlewares
loop on each middleware
driftctl -> Middleware: Execute(remoteResources, stateResources)
Middleware --> driftctl: remoteResources, stateResources []Resource
end
hnote across: Run Filters
2021-08-24 15:07:34 +00:00
driftctl -> FilterEngine: Run(remoteResources)
FilterEngine --> driftctl: remoteResources []Resource
driftctl -> FilterEngine: Run(stateResources)
FilterEngine --> driftctl: stateResources []Resource
hnote across: Analyze
2021-08-24 15:07:34 +00:00
driftctl -> Analyzer: Analyze(remoteResources, stateResources)
Analyzer --> driftctl: Analyze
@enduml