Dagger
Search

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
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
urlString -No description provided
usernameString -No description provided
passwordSecret -No description provided
sshDirectory -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
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
includeDependenciesBoolean !trueNo description provided
urlString nullNo description provided
usernameString nullNo description provided
passwordSecret nullNo description provided
sshDirectory nullNo 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)
}