config

package
v0.0.0-...-a943d7f Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	zrpc.RpcServerConf
	LogConf        logx.LogConf
	PcmCoreRpcConf zrpc.RpcClientConf
	SlurmConf
}

type Path

type Path struct {
	Job           string
	JobSubmit     string
	Jobs          string
	JobDb         string
	JobsDb        string
	User          string
	Users         string
	Partition     string
	Partitions    string
	Node          string
	Nodes         string
	Reservation   string
	Reservations  string
	Config        string
	Qos           string
	Tres          string
	Account       string
	Accounts      string
	Cluster       string
	Clusters      string
	Wckey         string
	Wckeys        string
	Diagnostics   string
	DiagnosticsDb string
	Ping          string
	Association   string
	Associations  string
}

type SSH

type SSH struct {
	Url      string
	Username string
	Password string
}

type SlurmConf

type SlurmConf struct {
	RestUrl       string            `json:"RestUrl"`
	SvcType       string            `json:"SvcType"`
	SSH           SSH               `json:"SSH"`
	Path          Path              `json:"Path"`
	SlurmRestUser string            `json:"SlurmRestUser"`
	SlurmToken    string            `json:"SlurmToken"`
	SlurmStatus   map[string]string `json:"SlurmStatus"`
}

SlurmConf slurm 相关URL配置

Jump to

Keyboard shortcuts

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