gcp
No long description provided.
Installation
dagger install github.com/jsiebens/dagger-gcp@63ca7df7c0252c591af25128e6b5f77dcb8d7b62
Entrypoint
Return Type
Gcp !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
credentialsJson | Secret | - | No description provided |
workloadIdentityProvider | String | - | No description provided |
workloadIdentityToken | Secret | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
format | String | "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()
}