executor

package
v0.0.0-...-b6b237c Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_CONTAINER_MOUNT = "/cfs"

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func CreateExecutor

func CreateExecutor(opts ...ExecutorOption) (*Executor, error)

func (*Executor) ServeForEver

func (e *Executor) ServeForEver() error

func (*Executor) Shutdown

func (e *Executor) Shutdown() error

type ExecutorOption

type ExecutorOption func(*Executor)

func WithAddDebugLogs

func WithAddDebugLogs(addDebugLogs bool) ExecutorOption

func WithColoniesInsecure

func WithColoniesInsecure(insecure bool) ExecutorOption

func WithColoniesServerHost

func WithColoniesServerHost(host string) ExecutorOption

func WithColoniesServerPort

func WithColoniesServerPort(port int) ExecutorOption

func WithColonyName

func WithColonyName(name string) ExecutorOption

func WithColonyPrvKey

func WithColonyPrvKey(prvkey string) ExecutorOption

func WithDevMode

func WithDevMode(devMode bool) ExecutorOption

func WithExecutorName

func WithExecutorName(executorName string) ExecutorOption

func WithExecutorPrvKey

func WithExecutorPrvKey(key string) ExecutorOption

func WithExecutorType

func WithExecutorType(executorType string) ExecutorOption

func WithFsDir

func WithFsDir(fsDir string) ExecutorOption

func WithGRES

func WithGRES(gres bool) ExecutorOption

func WithHardwareCPU

func WithHardwareCPU(hwCPU string) ExecutorOption

func WithHardwareGPUCount

func WithHardwareGPUCount(hwGPUCount int) ExecutorOption

func WithHardwareGPUMemory

func WithHardwareGPUMemory(hwGPUMem string) ExecutorOption

func WithHardwareGPUName

func WithHardwareGPUName(hwGPUName string) ExecutorOption

func WithHardwareGPUNodesCount

func WithHardwareGPUNodesCount(hwGPUNodesCount int) ExecutorOption

func WithHardwareMemory

func WithHardwareMemory(hwMem string) ExecutorOption

func WithHardwareModel

func WithHardwareModel(hwModel string) ExecutorOption

func WithHardwareNodes

func WithHardwareNodes(hwNodes int) ExecutorOption

func WithHardwareStorage

func WithHardwareStorage(hwStorage string) ExecutorOption

func WithHomeDir

func WithHomeDir(homeDir string) ExecutorOption

func WithImageDir

func WithImageDir(imageDir string) ExecutorOption

func WithLat

func WithLat(lat float64) ExecutorOption

func WithLocDesc

func WithLocDesc(locDesc string) ExecutorOption

func WithLogDir

func WithLogDir(logDir string) ExecutorOption

func WithLong

func WithLong(long float64) ExecutorOption

func WithROCm

func WithROCm(rocm bool) ExecutorOption

func WithSlurmAccount

func WithSlurmAccount(slurmAccount string) ExecutorOption

func WithSlurmModule

func WithSlurmModule(slurmModule string) ExecutorOption

func WithSlurmPartition

func WithSlurmPartition(slurmPartition string) ExecutorOption

func WithSoftwareName

func WithSoftwareName(swName string) ExecutorOption

func WithSoftwareType

func WithSoftwareType(swType string) ExecutorOption

func WithSoftwareVersion

func WithSoftwareVersion(swVersion string) ExecutorOption

func WithVerbose

func WithVerbose(verbose bool) ExecutorOption

Jump to

Keyboard shortcuts

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