remote

package
v1.3.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: BSD-2-Clause Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemoteContextByCfg

func NewRemoteContextByCfg(cfg Config) *wfl.Context

NewRemoteContextByCfg creates a wfl Context which executes tasks remotely on a DRMAA2 server.

Types

type BasicAuthConfig

type BasicAuthConfig struct {
	User     string
	Password string
}

type Config

type Config struct {
	// Server is the URL of the DRMAA2 server including port, like
	// http://localhost:8088
	Server string
	// Path is the path to the DRMAA2 server, like /jobserver/jobmanagement
	Path string
	// BasicAuth uses username and password for authentication if set
	BasicAuth *BasicAuthConfig
	// JobSessionName is the name of the DRMAA2 job session
	JobSessionName string
	// JobSessionDBFile is the path to the job session database file
	JobSessionDBFile string
	// DefaultTemplate is the job template which is used for all jobs,
	// when not explicitly set in the job submission.
	DefaultTemplate drmaa2interface.JobTemplate
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL