Dagger
Search

remote-dagger

No long description provided.

Installation

dagger install github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e

Entrypoint

Return Type
RemoteDagger !
Arguments
NameTypeDescription
destinationString !No description provided
identityFileSecret !No description provided
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
 --destination string --identity-file env:MYSECRET
func (m *myModule) example(destination string, identityFile *Secret) *RemoteDagger  {
	return dag.
			RemoteDagger(destination, identityFile)
}
@function
def example(destination: str, identity_file: dagger.Secret) -> dag.RemoteDagger:
	return (
		dag.remote_dagger(destination, identity_file)
	)
@func()
example(destination: string, identityFile: Secret): RemoteDagger {
	return dag
		.remoteDagger(destination, identityFile)
}

Types

RemoteDagger 🔗

sshclient() 🔗

Return Type
RemoteDaggerSshclient !
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
 --destination string --identity-file env:MYSECRET sshclient
func (m *myModule) example(destination string, identityFile *Secret) *RemoteDaggerSshclient  {
	return dag.
			RemoteDagger(destination, identityFile).
			Sshclient()
}
@function
def example(destination: str, identity_file: dagger.Secret) -> dag.RemoteDaggerSshclient:
	return (
		dag.remote_dagger(destination, identity_file)
		.sshclient()
	)
@func()
example(destination: string, identityFile: Secret): RemoteDaggerSshclient {
	return dag
		.remoteDagger(destination, identityFile)
		.sshclient()
}

setupDagger() 🔗

example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 install”

Return Type
Void !
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
 --destination string --identity-file env:MYSECRET setup-dagger
func (m *myModule) example(ctx context.Context, destination string, identityFile *Secret)   {
	return dag.
			RemoteDagger(destination, identityFile).
			SetupDagger(ctx)
}
@function
async def example(destination: str, identity_file: dagger.Secret) -> None:
	return await (
		dag.remote_dagger(destination, identity_file)
		.setup_dagger()
	)
@func()
async example(destination: string, identityFile: Secret): Promise<void> {
	return dag
		.remoteDagger(destination, identityFile)
		.setupDagger()
}

remoteCall() 🔗

example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 remote-call … stdout”

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
moduleString !-No description provided
args[String ! ] !-No description provided
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
 --destination string --identity-file env:MYSECRET remote-call --module string --args string1 --args string2
func (m *myModule) example(destination string, identityFile *Secret, module string, args []string) *Container  {
	return dag.
			RemoteDagger(destination, identityFile).
			RemoteCall(module, args)
}
@function
def example(destination: str, identity_file: dagger.Secret, module: str, args: List[str]) -> dagger.Container:
	return (
		dag.remote_dagger(destination, identity_file)
		.remote_call(module, args)
	)
@func()
example(destination: string, identityFile: Secret, module: string, args: string[]): Container {
	return dag
		.remoteDagger(destination, identityFile)
		.remoteCall(module, args)
}

RemoteDaggerSshclient 🔗

baseCtr() 🔗

Return Type
Container !
Example
Function RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger module

destination() 🔗

Return Type
String !
Example
Function RemoteDaggerSshclient.destination is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.destination is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.destination is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.destination is not accessible from the remote-dagger module

opts() 🔗

Return Type
[RemoteDaggerSshopts ! ] !
Example
Function RemoteDaggerSshclient.opts is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.opts is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.opts is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.opts is not accessible from the remote-dagger module

command() 🔗

example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 command –args whoami stdout”

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
Function RemoteDaggerSshclient.command is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.command is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.command is not accessible from the remote-dagger module
Function RemoteDaggerSshclient.command is not accessible from the remote-dagger module

RemoteDaggerSshopts 🔗

identityFile() 🔗

Return Type
Secret !
Example
Function RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger module

port() 🔗

Return Type
Integer !
Example
Function RemoteDaggerSshopts.port is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.port is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.port is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.port is not accessible from the remote-dagger module

login() 🔗

Return Type
String !
Example
Function RemoteDaggerSshopts.login is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.login is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.login is not accessible from the remote-dagger module
Function RemoteDaggerSshopts.login is not accessible from the remote-dagger module