Documentation
¶
Index ¶
- Constants
- func GenerateOutput(ctx context.Context, tree *topology.Vertex, params map[string]any) ([]byte, *httperr.Error)
- func GenerateOutputParams(ctx context.Context, root *topology.Vertex, params *Params) ([]byte, *httperr.Error)
- func GetFakeNodes(ctx context.Context) (string, error)
- func GetNodeList(ctx context.Context) ([]string, error)
- func GetPartitionNodes(ctx context.Context, partition string, f *TopologyNodeFinder) ([]string, error)
- func GetTranslateConfig(ctx context.Context, params *BaseParams, f *TopologyNodeFinder) (*translate.Config, error)
- func Loader(_ context.Context, _ engines.Config) (engines.Engine, *httperr.Error)
- func NamedLoader() (string, engines.Loader)
- type BaseParams
- type Params
- type SlurmEngine
- type Topology
- type TopologyNodeFinder
Constants ¶
View Source
const NAME = "slurm"
View Source
const TopologyHeader = `` /* 204-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GenerateOutput ¶
func GenerateOutputParams ¶
func GetPartitionNodes ¶
func GetTranslateConfig ¶
func GetTranslateConfig(ctx context.Context, params *BaseParams, f *TopologyNodeFinder) (*translate.Config, error)
func NamedLoader ¶
Types ¶
type BaseParams ¶
type Params ¶
type Params struct {
BaseParams `mapstructure:",squash"`
TopoConfigPath string `mapstructure:"topologyConfigPath"`
Reconfigure bool `mapstructure:"reconfigure"`
}
type SlurmEngine ¶
type SlurmEngine struct{}
func (*SlurmEngine) GenerateOutput ¶
func (*SlurmEngine) GetComputeInstances ¶
func (eng *SlurmEngine) GetComputeInstances(ctx context.Context, environment engines.Environment) ([]topology.ComputeInstances, *httperr.Error)
Click to show internal directories.
Click to hide internal directories.