config

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConfigFile = "/etc/slurm-bridge/config.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SchedulerName            string                `yaml:"schedulerName"`
	SlurmRestApi             string                `yaml:"slurmRestApi"`
	ManagedNamespaces        []string              `yaml:"managedNamespaces"`
	ManagedNamespaceSelector *metav1.LabelSelector `yaml:"managedNamespaceSelector"`
	MCSLabel                 string                `yaml:"mcsLabel"`
	Partition                string                `yaml:"partition"`
}

func Unmarshal

func Unmarshal(in []byte) (*Config, error)

func UnmarshalOrDie

func UnmarshalOrDie(in []byte) *Config

Jump to

Keyboard shortcuts

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