Liking cljdoc? Tell your friends :D

clj-gcloud.common


->RetryOptionclj

(->RetryOption [k v])
source

array-typeclj

(array-type type)
(array-type type dims)

Return a string representing the type of an array with dimensions and a type. For primitives, use a type like Integer/TYPE. Useful for type hints of the form: ^#=(array-type String) my-str-array

Return a string representing the type of an array with dimensions and a type.
For primitives, use a type like Integer/TYPE.
Useful for type hints of the form: ^#=(array-type String) my-str-array
sourceraw docstring

build-serviceclj

(build-service builder {:keys [project-id credentials retry-settings] :as opts})
source

default-projectclj

source

default-retry-settingsclj

source

default-termination-timeoutclj

source

fixed-credentialsclj

(fixed-credentials path)

Returns a credentials provider which will always returns the service account credentials located at the path

Returns a credentials provider which will always returns the
service account credentials located at the path
sourceraw docstring

get-projectclj

(get-project)
(get-project settings)

Returns the project id using the credentials located in the client settings. If not a service account, it returns the first available project id among the following sources:

  • The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable;
  • The App Engine project ID;
  • The project ID specified in the JSON credentials file pointed by the GOOGLE_APPLICATION_CREDENTIALS environment variable;
  • The Google Cloud SDK project ID;
  • The Compute Engine project ID
Returns the project id using the credentials located in the client settings.
If not a service account, it returns the first available project id among the following sources:
- The project ID specified by the GOOGLE_CLOUD_PROJECT environment variable;
- The App Engine project ID;
- The project ID specified in the JSON credentials file pointed by the
GOOGLE_APPLICATION_CREDENTIALS environment variable;
- The Google Cloud SDK project ID;
- The Compute Engine project ID
sourceraw docstring

mk-credentialsclj

(mk-credentials json-path)
source

mk-credentials-providerclj

(mk-credentials-provider creds)

Creates a new credentials provider

Creates a new credentials provider
sourceraw docstring

mk-retry-settingsclj

(mk-retry-settings settings)
source

option-mapperclj

(option-mapper f)

Spec conformer helper for options

Spec conformer helper for options
sourceraw docstring

Shutdowncljprotocol

Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled. If a timeout/unit is specified, it will wait for the resource to become terminated, giving up if the timeout is reached.

Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
If a timeout/unit is specified, it will wait for the resource to become terminated,
giving up if the timeout is reached.

shutdown!clj

(shutdown! this)
(shutdown! this timeout unit)
sourceraw docstring

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

× close