google-cloud-credentials
No long description provided.
Installation
dagger install github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33
Entrypoint
Return Type
GoogleCloudCredentials !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
credentialsJson | Secret | - | No description provided |
workloadIdentityProvider | String | - | No description provided |
workloadIdentityToken | Secret | - | No description provided |
Example
dagger -m github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33 call \
func (m *myModule) example() *GoogleCloudCredentials {
return dag.
GoogleCloudCredentials()
}
@function
def example() -> dag.GoogleCloudCredentials:
return (
dag.google_cloud_credentials()
)
@func()
example(): GoogleCloudCredentials {
return dag
.googleCloudCredentials()
}
Types
GoogleCloudCredentials 🔗
getAccessToken() 🔗
Return Type
Secret !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
format | String | "text" | No description provided |
Example
dagger -m github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33 call \
get-access-token
func (m *myModule) example() *Secret {
return dag.
GoogleCloudCredentials().
GetAccessToken()
}
@function
def example() -> dagger.Secret:
return (
dag.google_cloud_credentials()
.get_access_token()
)
@func()
example(): Secret {
return dag
.googleCloudCredentials()
.getAccessToken()
}
mount() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | No description provided |
Example
dagger -m github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33 call \
mount --ctr IMAGE:TAG
func (m *myModule) example(ctr *Container) *Container {
return dag.
GoogleCloudCredentials().
Mount(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
return (
dag.google_cloud_credentials()
.mount(ctr)
)
@func()
example(ctr: Container): Container {
return dag
.googleCloudCredentials()
.mount(ctr)
}
cli() 🔗
Return Type
Container !
Example
dagger -m github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33 call \
cli
func (m *myModule) example() *Container {
return dag.
GoogleCloudCredentials().
Cli()
}
@function
def example() -> dagger.Container:
return (
dag.google_cloud_credentials()
.cli()
)
@func()
example(): Container {
return dag
.googleCloudCredentials()
.cli()
}