Dagger
Search

scrapyd

Module for running scrapyd

Installation

dagger install github.com/mxdev88/daggerverse/scrapyd@db911694369a15a4ec6445c1f31dca570b149908

Entrypoint

Return Type
Scrapyd !
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd@db911694369a15a4ec6445c1f31dca570b149908 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
urlString -No description provided
usernameString -No description provided
passwordSecret -No description provided
sshSockSocket -No description provided
Example
echo 'Custom types are not supported in shell examples'
func (m *myModule) example() *Container  {
	return dag.
			Scrapyd().
			Base()
}
@function
def example() -> dagger.Container:
	return (
		dag.scrapyd()
		.base()
	)
@func()
example(): Container {
	return dag
		.scrapyd()
		.base()
}

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
sshSockSocket nullNo description provided
Example
echo 'Custom types are not supported in shell examples'
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)
}