defaults

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 3 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 (
	DefaultAccountingStoragePort int    = 3306
	DefaultAccountingStorageDB   string = "slurm_acct_db"
)

Default values for Accounting Spec fields when unspecified.

View Source
const (
	DefaultControllerPersistenceEnabled      bool  = true
	DefaultControllerHighAvailabilityBackups int32 = 1
)

Default values for Controller Spec fields when unspecified.

View Source
const (
	DefaultNodeSetReplicas                     int32                                         = 1
	DefaultNodeSetSyncTopology                 bool                                          = true
	DefaultNodeSetWorkloadDisruptionProtection bool                                          = true
	DefaultNodeSetScalingMode                  slinkyv1beta1.ScalingModeType                 = slinkyv1beta1.ScalingModeStatefulset
	DefaultNodeSetUpdateStrategyType           slinkyv1beta1.NodeSetUpdateStrategyType       = slinkyv1beta1.RollingUpdateNodeSetStrategyType
	DefaultNodeSetPruneSlurmNodeRecordType     slinkyv1beta1.NodeSetPruneSlurmNodeRecordType = slinkyv1beta1.NodeSetPruneNodeRecordTypeNever
	DefaultNodeSetOrdinalPadding               uint                                          = 0
	DefaultNodeSetPinToNode                    bool                                          = false
)

Default values for NodeSet Spec fields when unspecified.

View Source
const (
	DefaultLoginSetReplicas int32 = 1
)

Default values for LoginSet Spec fields when unspecified.

View Source
const (
	DefaultRestApiReplicas int32 = 1
)

Default values for RestApi Spec fields when unspecified.

View Source
const (
	DefaultTokenRefresh bool = true
)

Default values for Token Spec fields when unspecified.

Variables

View Source
var (
	DefaultNodeSetRollingUpdateMaxUnavailable intstr.IntOrString = intstr.FromString("25%")
)

Default values for NodeSet Spec fields when unspecified.

Functions

func SetAccountingDefaults

func SetAccountingDefaults(accounting *slinkyv1beta1.Accounting)

func SetControllerDefaults

func SetControllerDefaults(controller *slinkyv1beta1.Controller)

func SetLoginSetDefaults

func SetLoginSetDefaults(loginset *slinkyv1beta1.LoginSet)

func SetNodeSetDefaults

func SetNodeSetDefaults(nodeset *slinkyv1beta1.NodeSet)

func SetRestApiDefaults

func SetRestApiDefaults(restapi *slinkyv1beta1.RestApi)

func SetTokenDefaults

func SetTokenDefaults(token *slinkyv1beta1.Token)

Types

This section is empty.

Jump to

Keyboard shortcuts

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