remote

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: BSD-2-Clause Imports: 7 Imported by: 0

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