2021-08-02 15:01:01 +00:00
|
|
|
@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
|
2021-08-02 15:01:01 +00:00
|
|
|
|
|
|
|
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
|
2021-08-02 15:01:01 +00:00
|
|
|
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
|
2021-08-02 15:01:01 +00:00
|
|
|
|
|
|
|
hnote across: Analyze
|
2021-08-24 15:07:34 +00:00
|
|
|
driftctl -> Analyzer: Analyze(remoteResources, stateResources)
|
|
|
|
Analyzer --> driftctl: Analyze
|
2021-08-02 15:01:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
@enduml
|