scrapyd
Module for running scrapyd
Installation
dagger install github.com/mxdev88/daggerverse/scrapyd@9efcb5f2a2edc0ad1a8551fc29218c1000ef2d69
Entrypoint
Return Type
Scrapyd !
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd@9efcb5f2a2edc0ad1a8551fc29218c1000ef2d69 call \
func (m *myModule) example() *Scrapyd {
return dag.
Scrapyd()
}
@function
def example() -> dag.Scrapyd:
return (
dag.scrapyd()
)
@func()
example(): Scrapyd {
return dag
.scrapyd()
}
Types
Scrapyd 🔗
base() 🔗
Build base environment
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
url | String | - | No description provided |
username | String | - | No description provided |
password | Secret | - | No description provided |
ssh | Directory | - | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd@9efcb5f2a2edc0ad1a8551fc29218c1000ef2d69 call \
base --source DIR_PATH
func (m *myModule) example(source *Directory) *Container {
return dag.
Scrapyd().
Base(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.scrapyd()
.base(source)
)
@func()
example(source: Directory): Container {
return dag
.scrapyd()
.base(source)
}
deploy() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
includeDependencies | Boolean ! | true | No description provided |
url | String | null | No description provided |
username | String | null | No description provided |
password | Secret | null | No description provided |
ssh | Directory | null | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd@9efcb5f2a2edc0ad1a8551fc29218c1000ef2d69 call \
deploy --source DIR_PATH --include-dependencies boolean
func (m *myModule) example(source *Directory, includeDependencies bool) *Container {
return dag.
Scrapyd().
Deploy(source, includeDependencies)
}
@function
def example(source: dagger.Directory, include_dependencies: bool) -> dagger.Container:
return (
dag.scrapyd()
.deploy(source, include_dependencies)
)
@func()
example(source: Directory, includeDependencies: boolean): Container {
return dag
.scrapyd()
.deploy(source, includeDependencies)
}