Skip to main content

Module availability

Module availability 

Source
Expand description

Generated endpoint availability table for canonical dynamic dispatch.

Enums§

DetectedVersion
Represents a detected NiFi server version.
Endpoint
One variant per canonical endpoint. Public so callers can write if client.supports(Endpoint::GET_FLOW_ABOUT) { ... }.

Constants§

ENDPOINT_AVAILABILITY
(Endpoint, supported versions) for every canonical endpoint. The string slices are static — they live in the binary.
LATEST_NIFI_VERSION
The semver-latest NiFi version supported by this build.
QUERY_PARAM_AVAILABILITY
((Endpoint, param wire name), supported versions) for every query parameter that does not exist in every supporting version. Used by the generated URL builder to emit UnsupportedQueryParam when a caller sets a value the detected server cannot understand.

Functions§

query_param_supported
True if param is supported by endpoint in the given version. Returns true for params not in QUERY_PARAM_AVAILABILITY (i.e. params available in every supporting version).