Add OCI Functions advanced parity support to Fn CLI#724
Open
Jaytee-fn wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds advanced OCI Functions option support to Fn CLI.
It introduces an API-spec-driven parity layer for OCI-native app/function options so that Fn CLI can expose a broader set of OCI Functions capabilities while reducing long-term drift as OCI APIs evolve.
In addition to the generated parity layer, this PR adds the CLI-side wiring needed to make those advanced options usable in Fn CLI workflows.
It also updates the vendored 'fn_go' dependency to the newly released 'v0.8.11', which contains the shared client/oracle shim support required by this CLI work.
The PR includes -
Advanced OCI option support for apps and functions
Adds support for advanced OCI-native options in Fn CLI for relevant app/function operations.
API-spec-driven parity generation
Introduces and uses a generated parity layer derived from the OCI Functions API spec.
This helps:
Adds supporting CLI behaviour around the advanced option layer, including:
--from-json) for supported flowsUpdates vendored/shared
fn_gosupport to:Advanced OCI options added to Fn CLI as part of this PR -
Applications
Create / Update
trace-confignetwork-security-group-idsimage-policy-configsecurity-attributesList
display-nameidlifecycle-statesort-bysort-orderFunctions
Create / Update
trace-configtimeout-in-secondsdetached-mode-timeout-in-secondssuccess-destinationfailure-destinationList
display-nameidlifecycle-statesort-bysort-orderSupporting request-control / input handling
if-matchwait-for-statemax-wait-secondswait-interval-seconds--from-jsonsupport for supported flows