Documentation ¶
Index ¶
- Constants
- type Executor
- type ExecutorOption
- func WithAddDebugLogs(addDebugLogs bool) ExecutorOption
- func WithColoniesInsecure(insecure bool) ExecutorOption
- func WithColoniesServerHost(host string) ExecutorOption
- func WithColoniesServerPort(port int) ExecutorOption
- func WithColonyName(name string) ExecutorOption
- func WithColonyPrvKey(prvkey string) ExecutorOption
- func WithDevMode(devMode bool) ExecutorOption
- func WithExecutorName(executorName string) ExecutorOption
- func WithExecutorPrvKey(key string) ExecutorOption
- func WithExecutorType(executorType string) ExecutorOption
- func WithFsDir(fsDir string) ExecutorOption
- func WithGRES(gres bool) ExecutorOption
- func WithHardwareCPU(hwCPU string) ExecutorOption
- func WithHardwareGPUCount(hwGPUCount int) ExecutorOption
- func WithHardwareGPUMemory(hwGPUMem string) ExecutorOption
- func WithHardwareGPUName(hwGPUName string) ExecutorOption
- func WithHardwareGPUNodesCount(hwGPUNodesCount int) ExecutorOption
- func WithHardwareMemory(hwMem string) ExecutorOption
- func WithHardwareModel(hwModel string) ExecutorOption
- func WithHardwareNodes(hwNodes int) ExecutorOption
- func WithHardwareStorage(hwStorage string) ExecutorOption
- func WithHomeDir(homeDir string) ExecutorOption
- func WithImageDir(imageDir string) ExecutorOption
- func WithLat(lat float64) ExecutorOption
- func WithLocDesc(locDesc string) ExecutorOption
- func WithLogDir(logDir string) ExecutorOption
- func WithLong(long float64) ExecutorOption
- func WithROCm(rocm bool) ExecutorOption
- func WithSlurmAccount(slurmAccount string) ExecutorOption
- func WithSlurmModule(slurmModule string) ExecutorOption
- func WithSlurmPartition(slurmPartition string) ExecutorOption
- func WithSoftwareName(swName string) ExecutorOption
- func WithSoftwareType(swType string) ExecutorOption
- func WithSoftwareVersion(swVersion string) ExecutorOption
- func WithVerbose(verbose bool) ExecutorOption
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 ¶
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
Click to show internal directories.
Click to hide internal directories.