Dagger
Search

scrapyd

Module for running scrapyd

Installation

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

Entrypoint

Return Type
Scrapyd !
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd@bac74972ac3af5d53ecdb7d51a82cff5934f760f 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
sshSockSocket -No description provided
Example
echo 'Custom types are not supported in shell examples'
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
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)
}