Dagger
Search

scrapyd-client

Module for running scrapyd-client commands.

Installation

dagger install github.com/mxdev88/daggerverse/scrapyd-client@76371318eee6a8123077c09935b06761b9f79cdc

Entrypoint

Return Type
ScrapydClient !
Example
dagger -m github.com/mxdev88/daggerverse/scrapyd-client@76371318eee6a8123077c09935b06761b9f79cdc call \
func (m *myModule) example() *ScrapydClient  {
	return dag.
			ScrapydClient()
}
@function
def example() -> dag.ScrapydClient:
	return (
		dag.scrapyd_client()
	)
@func()
example(): ScrapydClient {
	return dag
		.scrapydClient()
}

Types

ScrapydClient 🔗

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.
			ScrapydClient().
			Base()
}
@function
def example() -> dagger.Container:
	return (
		dag.scrapyd_client()
		.base()
	)
@func()
example(): Container {
	return dag
		.scrapydClient()
		.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.
			ScrapydClient().
			Deploy(source, includeDependencies)
}
@function
def example(source: dagger.Directory, include_dependencies: bool) -> dagger.Container:
	return (
		dag.scrapyd_client()
		.deploy(source, include_dependencies)
	)
@func()
example(source: Directory, includeDependencies: boolean): Container {
	return dag
		.scrapydClient()
		.deploy(source, includeDependencies)
}