Liking cljdoc? Tell your friends :D

puppetlabs.puppetdb.http.handlers


agg-event-counts-routesclj

(agg-event-counts-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

append-handlerclj

(append-handler route handler-to-append)

Inputs: [route :- bidi-schema/RoutePair handler-to-append :- handler-schema] Returns: bidi-schema/RoutePair

Inputs: [route :- bidi-schema/RoutePair handler-to-append :- handler-schema]
Returns: bidi-schema/RoutePair
sourceraw docstring

catalog-input-contents-routesclj

(catalog-input-contents-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

catalog-inputs-routesclj

(catalog-inputs-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

catalog-routesclj

(catalog-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

catalog-statusclj

(catalog-status version)

Produces a response body for a request to retrieve the catalog for the node in route-params

Produces a response body for a request to retrieve the catalog for the node in route-params
sourceraw docstring

create-query-handlerclj

(create-query-handler version entity & handler-fns)

Inputs: [version :- s/Keyword entity :- s/Str & handler-fns :- [handler-schema]] Returns: handler-schema

Creates a new query handler for the given entity and version.

Inputs: [version :- s/Keyword entity :- s/Str & handler-fns :- [handler-schema]]
Returns: handler-schema

Creates a new query handler for the given `entity` and `version`.
sourceraw docstring

edge-routesclj

(edge-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

environment-statusclj

(environment-status version)

Produce a response body for a single environment.

Produce a response body for a single environment.
sourceraw docstring

environments-routesclj

(environments-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

event-counts-routesclj

(event-counts-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

events-routesclj

(events-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Ring app for querying events

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair

Ring app for querying events
sourceraw docstring

fact-contents-routesclj

(fact-contents-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

fact-names-routesclj

(fact-names-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

fact-path-routesclj

(fact-path-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

facts-routesclj

(facts-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

factset-routesclj

(factset-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

factset-statusclj

(factset-status version)

Produces a response body for a request to retrieve the factset for the node in route-params

Produces a response body for a request to retrieve the factset for the node in route-params
sourceraw docstring

global-engine-paramsclj

Parameters that should always be forwarded from the incoming query to the engine.

Parameters that should always be forwarded from the incoming query to
the engine.
sourceraw docstring

global-paramsclj

source

inventory-routesclj

(inventory-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

node-routesclj

(node-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

node-statusclj

(node-status version)

Produce a response body for a single environment.

Produce a response body for a single environment.
sourceraw docstring

package-inventory-routesclj

(package-inventory-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

packages-routesclj

(packages-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

paging-paramsclj

source

pretty-paramsclj

source

producer-statusclj

(producer-status version)

Produce a response body for a single producer.

Produce a response body for a single producer.
sourceraw docstring

producers-routesclj

(producers-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

report-data-responderclj

(report-data-responder version entity)

Respond with either metrics or logs for a given report hash. entity should be either :metrics or :logs.

Respond with either metrics or logs for a given report hash.
`entity` should be either :metrics or :logs.
sourceraw docstring

reports-routesclj

(reports-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

resources-routesclj

(resources-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

root-routesclj

(root-routes version)

Inputs: [version :- s/Keyword] Returns: bidi-schema/RoutePair

Inputs: [version :- s/Keyword]
Returns: bidi-schema/RoutePair
sourceraw docstring

route-paramclj

(route-param param-name)
source

status-responseclj

(status-response version query globals found not-found query-params)

Executes query and if a row is found, returns (found row), otherwise (not-found).

Executes `query` and if a row is found, returns `(found row)`,
otherwise `(not-found)`.
sourceraw docstring

typical-paramsclj

source

wrap-typical-queryclj

(wrap-typical-query param-spec routes)

Inputs: [param-spec :- params-schema routes :- bidi-schema/RoutePair] Returns: bidi-schema/RoutePair

Inputs: [param-spec :- params-schema routes :- bidi-schema/RoutePair]
Returns: bidi-schema/RoutePair
sourceraw docstring

wrap-with-parent-checkclj

(wrap-with-parent-check route version entity route-param-key)

Inputs: [route :- bidi-schema/RoutePair version :- s/Keyword entity :- s/Keyword route-param-key :- s/Keyword] Returns: bidi-schema/RoutePair

Wraps all handlers found in route with the parent-check middleware

Inputs: [route :- bidi-schema/RoutePair version :- s/Keyword entity :- s/Keyword route-param-key :- s/Keyword]
Returns: bidi-schema/RoutePair

Wraps all handlers found in `route` with the parent-check middleware
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close