Dagger
Search

gcp

No long description provided.

Installation

dagger install github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62

Entrypoint

Return Type
Gcp !
Arguments
NameTypeDefault ValueDescription
credentialsJsonSecret -No description provided
workloadIdentityProviderString -No description provided
workloadIdentityTokenSecret -No description provided
registries[String ! ] -No description provided
Example
dagger -m github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62 call \
func (m *myModule) example() *Gcp  {
	return dag.
			Gcp()
}
@function
def example() -> dag.Gcp:
	return (
		dag.gcp()
	)
@func()
example(): Gcp {
	return dag
		.gcp()
}

Types

Gcp 🔗

mount() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
Example
dagger -m github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62 call \
 mount --ctr IMAGE:TAG
func (m *myModule) example(ctr *Container) *Container  {
	return dag.
			Gcp().
			Mount(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
	return (
		dag.gcp()
		.mount(ctr)
	)
@func()
example(ctr: Container): Container {
	return dag
		.gcp()
		.mount(ctr)
}

registryAuth() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
Example
dagger -m github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62 call \
 registry-auth --ctr IMAGE:TAG
func (m *myModule) example(ctr *Container) *Container  {
	return dag.
			Gcp().
			RegistryAuth(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
	return (
		dag.gcp()
		.registry_auth(ctr)
	)
@func()
example(ctr: Container): Container {
	return dag
		.gcp()
		.registryAuth(ctr)
}

getAccessToken() 🔗

Return Type
Secret !
Arguments
NameTypeDefault ValueDescription
formatString "text"No description provided
Example
dagger -m github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62 call \
 get-access-token
func (m *myModule) example() *Secret  {
	return dag.
			Gcp().
			GetAccessToken()
}
@function
def example() -> dagger.Secret:
	return (
		dag.gcp()
		.get_access_token()
	)
@func()
example(): Secret {
	return dag
		.gcp()
		.getAccessToken()
}