cloud-utils
WARNING: this module is no longer maintainedInstallation
dagger install github.com/levlaz/daggerverse/cloud-utils@v0.1.5
Entrypoint
Return Type
CloudUtils !
Example
dagger -m github.com/levlaz/daggerverse/cloud-utils@a4b979eb1eb18e77ebbdecf986a5dfaaf70beac0 call \
func (m *myModule) example() *CloudUtils {
return dag.
CloudUtils()
}
@function
def example() -> dag.CloudUtils:
return (
dag.cloud_utils()
)
@func()
example(): CloudUtils {
return dag
.cloudUtils()
}
Types
CloudUtils 🔗
traceUrl() 🔗
Parse Environment Variables and Return Dagger Cloud Trace URL
Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/cloud-utils@a4b979eb1eb18e77ebbdecf986a5dfaaf70beac0 call \
trace-url
func (m *myModule) example(ctx context.Context) string {
return dag.
CloudUtils().
TraceUrl(ctx)
}
@function
async def example() -> str:
return await (
dag.cloud_utils()
.trace_url()
)
@func()
async example(): Promise<string> {
return dag
.cloudUtils()
.traceUrl()
}