(check-for-update request-values update-server-url)Inputs: [request-values :- RequestValues update-server-url :- (schema/maybe schema/Str)]
Check whether a newer version of the software is available. It does not
submit any extra data beyond the product name and version. If a newer version
is available it will log a message to that effect and return a map describing
the newer version (see UpdateInfo).
Inputs: [request-values :- RequestValues update-server-url :- (schema/maybe schema/Str)] Check whether a newer version of the software is available. It does not submit any extra data beyond the product name and version. If a newer version is available it will log a message to that effect and return a map describing the newer version (see `UpdateInfo`).
(check-for-updates! request-values update-server-url)(check-for-updates! request-values update-server-url callback-fn)Check whether a newer version of the software is available and submit
telemetry data. This is deprecated in favor of check-for-update and
send-telemetry which separate these two operations (since users may want to
opt out of telemetry while still being notified of new versions).
Check whether a newer version of the software is available and submit telemetry data. This is deprecated in favor of `check-for-update` and `send-telemetry` which separate these two operations (since users may want to opt out of telemetry while still being notified of new versions).
(get-coords product-name)Inputs: [product-name :- ProductName] Returns: ProductCoords
Inputs: [product-name :- ProductName] Returns: ProductCoords
(get-hash data)Returns a SHA-512 encoded value of the given string.
Returns a SHA-512 encoded value of the given string.
(get-version-string product-name)(get-version-string product-name group-id)(send-telemetry request-values update-server-url)Inputs: [request-values :- RequestValues update-server-url :- schema/Str]
Submit telemetry data. This will submit a map of data to the telemetry service at the given url.
Inputs: [request-values :- RequestValues update-server-url :- schema/Str] Submit telemetry data. This will submit a map of data to the telemetry service at the given url.
(update-info request-values update-server-url)Inputs: [request-values :- RequestValues update-server-url :- schema/Str] Returns: UpdateInfo
Make a request to the puppetlabs server to determine the latest available
version. Attempts a POST request before falling back to a GET request.
Returns the JSON object received from the server, which is expected to be
a map containing keys :version, :newer, and :link. Returns nil if
the request does not succeed for some reason.
Inputs: [request-values :- RequestValues update-server-url :- schema/Str] Returns: UpdateInfo Make a request to the puppetlabs server to determine the latest available version. Attempts a POST request before falling back to a GET request. Returns the JSON object received from the server, which is expected to be a map containing keys `:version`, `:newer`, and `:link`. Returns `nil` if the request does not succeed for some reason.
(update-info-post request-values update-server-url)Inputs: [request-values :- RequestValues update-server-url :- schema/Str] Returns: RequestResult
Make a POST request to the puppetlabs server to determine the latest available version.
Inputs: [request-values :- RequestValues update-server-url :- schema/Str] Returns: RequestResult Make a POST request to the puppetlabs server to determine the latest available version.
Get the version number of this installation.
Get the version number of this installation.
(version* group-id artifact-id)(version* group-id artifact-id default)Inputs: ([group-id artifact-id] [group-id artifact-id default]) Returns: schema/Str
Get the version number of this installation.
Inputs: ([group-id artifact-id] [group-id artifact-id default]) Returns: schema/Str Get the version number of this installation.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |