You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The controller is reponsible for invoking the configured wasm binary accordingly for each of these operations.
Implementation Details
The initial lifecycle of the controller will likely involve:
Taking a resource definition path
Opening, parsing and validation the resource definition
Sourcing the associated controller binary
FS Abstractions
Each method on a controller will require access to a filesystem of sorts.
Currently, the plans for the shape of this interface is up in the air.
In the near term we can use gitfs for reads and an actual directory on disk for writes.
In the future we would like the use the (yet to be exported) Wazero abstractions.
So in the near-term, the controller package will abstract this details behind a struct with unexported fields.
Implementations of the FilesystemStore will decide what is appropriate based on either read (view) or write (update) level of requested access.
We will hide this details behind the following types and functions:
Controller will handle building and invoking implementations of controllers and it will live in
pkg/controller
.This issue will acts as a parent issue for implementing each of the operations supported by the Controller.
The controller is reponsible for invoking the configured wasm binary accordingly for each of these operations.
Implementation Details
The initial lifecycle of the controller will likely involve:
FS Abstractions
Each method on a controller will require access to a filesystem of sorts.
Currently, the plans for the shape of this interface is up in the air.
In the near term we can use
gitfs
for reads and an actual directory on disk for writes.In the future we would like the use the (yet to be exported) Wazero abstractions.
So in the near-term, the controller package will abstract this details behind a struct with unexported fields.
Implementations of the FilesystemStore will decide what is appropriate based on either read (view) or write (update) level of requested access.
We will hide this details behind the following types and functions:
This will allow us to make adjustments over time without effecting the API server implementation.
Each Controller request structure will require a
FSConfig
as an argument.Success Criteria
We have added support for each of the four core controller operations.
The text was updated successfully, but these errors were encountered: