Skip to main content

Module request

Module request 

Source
Expand description

Helpers for working with RunFunctionRequests.

Constants§

WATCHED_RESOURCE_KEY
The requirement name a WatchOperation uses to inject the watched resource.

Functions§

advertises_capabilities
Checks whether Crossplane advertises its capabilities at all.
get_context_key
Gets a function context value by key, if present.
get_credential_data
Gets the supplied credential data from the request, if any.
get_input
Gets the function’s input from the request as a typed value.
get_required_resource
Gets a single required resource by requirement name from the request.
get_required_resources
Gets required resources by requirement name from the request.
get_required_schema
Gets a required OpenAPI v3 schema by requirement name from the request.
get_watched_resource
Gets the watched resource that triggered this operation, if any.
has_capability
Checks whether Crossplane advertises a particular capability.