pkgx
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/pkgx@52f6a99c76a63d17f041c73e55ce9375af8a8e06
Entrypoint
Return Type
Pkgx
Example
dagger -m github.com/tsirysndr/daggerverse/pkgx@52f6a99c76a63d17f041c73e55ce9375af8a8e06 call \
func (m *myModule) example() *Pkgx {
return dag.
Pkgx()
}
@function
def example() -> dag.Pkgx:
return (
dag.pkgx()
)
@func()
example(): Pkgx {
return dag
.pkgx()
}
Types
Pkgx 🔗
install() 🔗
Install packages in a Docker Container and return it
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pkgs | [StringKind ! ] ! | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/pkgx@52f6a99c76a63d17f041c73e55ce9375af8a8e06 call \
install
func (m *myModule) example(pkgs ) {
return dag.
Pkgx().
Install(pkgs)
}
@function
def example(pkgs: ) -> :
return (
dag.pkgx()
.install(pkgs)
)
@func()
example(pkgs: ): {
return dag
.pkgx()
.install(pkgs)
}
dev() 🔗
Activate developer environment in a Docker Container and return it
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/pkgx@52f6a99c76a63d17f041c73e55ce9375af8a8e06 call \
dev
func (m *myModule) example() {
return dag.
Pkgx().
Dev()
}
@function
def example() -> :
return (
dag.pkgx()
.dev()
)
@func()
example(): {
return dag
.pkgx()
.dev()
}