Dagger
Search

google-cloud-credentials

No long description provided.

Installation

dagger install github.com/jsiebens/dagger-gcp/google-cloud-credentials@5df6ff3b0456a0d8399eb971d0b142d5bedecd33

Entrypoint

Return Type
GoogleCloudCredentials !
Arguments
NameTypeDefault ValueDescription
credentialsJsonSecret -No description provided
workloadIdentityProviderString -No description provided
workloadIdentityTokenSecret -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
NameTypeDefault ValueDescription
formatString "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
NameTypeDefault ValueDescription
ctrContainer !-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()
}