inline-node
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/essentials/inline-node@v0.0.0
Entrypoint
Return Type
InlineNode !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | "20" | Node.js version to use |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-node@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
func (m *myModule) example() *InlineNode {
return dag.
InlineNode()
}
@function
def example() -> dag.InlineNode:
return (
dag.inline_node()
)
@func()
example(): InlineNode {
return dag
.inlineNode()
}
Types
InlineNode 🔗
ctr() 🔗
Return Type
Container !
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-node@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
ctr
func (m *myModule) example() *Container {
return dag.
InlineNode().
Ctr()
}
@function
def example() -> dagger.Container:
return (
dag.inline_node()
.ctr()
)
@func()
example(): Container {
return dag
.inlineNode()
.ctr()
}
withPackage() 🔗
Return Type
InlineNode !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-node@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
with-package --name string
func (m *myModule) example(name string) *InlineNode {
return dag.
InlineNode().
WithPackage(name)
}
@function
def example(name: str) -> dag.InlineNode:
return (
dag.inline_node()
.with_package(name)
)
@func()
example(name: string): InlineNode {
return dag
.inlineNode()
.withPackage(name)
}
withPackages() 🔗
Return Type
InlineNode !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-node@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
with-packages --packages string1 --packages string2
func (m *myModule) example(packages []string) *InlineNode {
return dag.
InlineNode().
WithPackages(packages)
}
@function
def example(packages: List[str]) -> dag.InlineNode:
return (
dag.inline_node()
.with_packages(packages)
)
@func()
example(packages: string[]): InlineNode {
return dag
.inlineNode()
.withPackages(packages)
}
code() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
code | String ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/inline-node@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
code --code string
func (m *myModule) example(code string) *Container {
return dag.
InlineNode().
Code(code)
}
@function
def example(code: str) -> dagger.Container:
return (
dag.inline_node()
.code(code)
)
@func()
example(code: string): Container {
return dag
.inlineNode()
.code(code)
}