Liking cljdoc? Tell your friends :D
Clojure only.

happygapi.remotebuildexecution.actionResults

Remote Build Execution API: actionResults. Supplies a Remote Execution API service for tools such as bazel. See: https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults

Remote Build Execution API: actionResults.
Supplies a Remote Execution API service for tools such as bazel.
See: https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults
raw docstring

get$clj

(get$ auth parameters)

https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults/get

Required parameters: hash, sizeBytes, instanceName

Optional parameters: inlineStdout, inlineStderr, inlineOutputFiles

Retrieve a cached execution result.

Implementations SHOULD ensure that any blobs referenced from the ContentAddressableStorage are available at the time of returning the ActionResult and will be for some period of time afterwards. The TTLs of the referenced blobs SHOULD be increased if necessary and applicable.

Errors:

  • NOT_FOUND: The requested ActionResult is not in the cache.
https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults/get

Required parameters: hash, sizeBytes, instanceName

Optional parameters: inlineStdout, inlineStderr, inlineOutputFiles

Retrieve a cached execution result.

Implementations SHOULD ensure that any blobs referenced from the
ContentAddressableStorage
are available at the time of returning the
ActionResult and will be
for some period of time afterwards. The TTLs of the referenced blobs SHOULD be increased
if necessary and applicable.

Errors:

* `NOT_FOUND`: The requested `ActionResult` is not in the cache.
sourceraw docstring

update$clj

(update$ auth parameters body)

https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults/update

Required parameters: sizeBytes, instanceName, hash

Optional parameters: resultsCachePolicy.priority

Body:

{:stderrDigest {:hash string, :sizeBytes string}, :exitCode integer, :outputSymlinks [{:path string, :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty], :target string}], :stdoutRaw string, :executionMetadata {:executionCompletedTimestamp string, :workerStartTimestamp string, :inputFetchCompletedTimestamp string, :outputUploadCompletedTimestamp string, :executionStartTimestamp string, :workerCompletedTimestamp string, :inputFetchStartTimestamp string, :queuedTimestamp string, :outputUploadStartTimestamp string, :worker string}, :outputFiles [{:isExecutable boolean, :path string, :contents string, :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty], :digest BuildBazelRemoteExecutionV2Digest}], :stdoutDigest {:hash string, :sizeBytes string}, :outputDirectories [{:treeDigest BuildBazelRemoteExecutionV2Digest, :path string}], :outputDirectorySymlinks [{:path string, :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty], :target string}], :stderrRaw string, :outputFileSymlinks [{:path string, :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty], :target string}]}

Upload a new execution result.

In order to allow the server to perform access control based on the type of action, and to assist with client debugging, the client MUST first upload the Action that produced the result, along with its Command, into the ContentAddressableStorage.

Errors:

  • INVALID_ARGUMENT: One or more arguments are invalid.
  • FAILED_PRECONDITION: One or more errors occurred in updating the action result, such as a missing command or action.
  • RESOURCE_EXHAUSTED: There is insufficient storage space to add the entry to the cache.
https://cloud.google.com/remote-build-execution/docs/api/reference/rest/v2/actionResults/update

Required parameters: sizeBytes, instanceName, hash

Optional parameters: resultsCachePolicy.priority

Body: 

{:stderrDigest {:hash string, :sizeBytes string},
 :exitCode integer,
 :outputSymlinks [{:path string,
                   :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty],
                   :target string}],
 :stdoutRaw string,
 :executionMetadata {:executionCompletedTimestamp string,
                     :workerStartTimestamp string,
                     :inputFetchCompletedTimestamp string,
                     :outputUploadCompletedTimestamp string,
                     :executionStartTimestamp string,
                     :workerCompletedTimestamp string,
                     :inputFetchStartTimestamp string,
                     :queuedTimestamp string,
                     :outputUploadStartTimestamp string,
                     :worker string},
 :outputFiles [{:isExecutable boolean,
                :path string,
                :contents string,
                :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty],
                :digest BuildBazelRemoteExecutionV2Digest}],
 :stdoutDigest {:hash string, :sizeBytes string},
 :outputDirectories [{:treeDigest BuildBazelRemoteExecutionV2Digest,
                      :path string}],
 :outputDirectorySymlinks [{:path string,
                            :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty],
                            :target string}],
 :stderrRaw string,
 :outputFileSymlinks [{:path string,
                       :nodeProperties [BuildBazelRemoteExecutionV2NodeProperty],
                       :target string}]}

Upload a new execution result.

In order to allow the server to perform access control based on the type of
action, and to assist with client debugging, the client MUST first upload
the Action that produced the
result, along with its
Command, into the
`ContentAddressableStorage`.

Errors:

* `INVALID_ARGUMENT`: One or more arguments are invalid.
* `FAILED_PRECONDITION`: One or more errors occurred in updating the
  action result, such as a missing command or action.
* `RESOURCE_EXHAUSTED`: There is insufficient storage space to add the
  entry to the cache.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close