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
func (m *myModule) 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
func (m *myModule) 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
func (m *myModule) example(source *Directory, includeDependencies bool) *Container  {
	return dag.
			ScrapydClient().
			Deploy(source, includeDependencies)
}