Skip to main content

advertises_capabilities

Function advertises_capabilities 

Source
pub fn advertises_capabilities(req: &RunFunctionRequest) -> bool
Expand description

Checks whether Crossplane advertises its capabilities at all.

Crossplane v2.2 and later advertise capabilities in the request metadata. If this returns false the calling Crossplane predates capability advertisement, and has_capability returns false even for features that older Crossplane does support.