controllerbuilder

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: Apache-2.0 Imports: 27 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	SlurmConfFile  = "slurm.conf"
	CgroupConfFile = "cgroup.conf"
	GresConfFile   = "gres.conf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerBuilder

type ControllerBuilder struct {
	CommonBuilder common.CommonBuilder
	// contains filtered or unexported fields
}

func New

func (*ControllerBuilder) BuildController

func (b *ControllerBuilder) BuildController(controller *slinkyv1beta1.Controller) (*appsv1.StatefulSet, error)

func (*ControllerBuilder) BuildControllerConfig

func (b *ControllerBuilder) BuildControllerConfig(controller *slinkyv1beta1.Controller) (*corev1.ConfigMap, error)

func (*ControllerBuilder) BuildControllerConfigExternal

func (b *ControllerBuilder) BuildControllerConfigExternal(controller *slinkyv1beta1.Controller) (*corev1.ConfigMap, error)

BuildControllerConfigExternal returns a minimal slurm.conf for slurmrestd (lacks configless).

func (*ControllerBuilder) BuildControllerService

func (b *ControllerBuilder) BuildControllerService(controller *slinkyv1beta1.Controller) (*corev1.Service, error)

func (*ControllerBuilder) BuildControllerServiceMonitor

func (b *ControllerBuilder) BuildControllerServiceMonitor(controller *slinkyv1beta1.Controller) (*monitoringv1.ServiceMonitor, error)

func (*ControllerBuilder) BuildServiceMonitor

func (b *ControllerBuilder) BuildServiceMonitor(opts ServiceMonitorOpts, owner metav1.Object) (*monitoringv1.ServiceMonitor, error)

type ServiceMonitorOpts

type ServiceMonitorOpts struct {
	Key      types.NamespacedName
	Metadata slinkyv1beta1.Metadata
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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