pbspro_schema

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PBSConfKey       = "pbs.conf"
	PBSServerConfKey = "pbs-server.conf"
	PBSWorkerConfKey = "pbs-worker.conf"

	PBSConf             = pbsproConfDir + "/" + PBSConfKey
	PBSMonPrivConfig    = "/var/spool/pbs/mom_priv/config"
	PBSMomConfigKey     = "privConfig"
	PBSMonPrivMountPath = "/tmp/var/spool/pbs/mom_priv/config"

	ServerEntrypoint          = "entrypoint.sh"
	WorkerEntrypoint          = "worker-entrypoint.sh"
	ServerEntryPointMountPath = "/tmp/" + ServerEntrypoint
	WorkerEntryPointMountPath = "/tmp/" + WorkerEntrypoint

	PBS_START_MOM_VALUE     = "1"
	NOT_PBS_START_MOM_VALUE = "0"
)
View Source
const (
	ClusterSchemaKind = "pbspro"

	PBSSH  = "/etc/profile.d/pbs.sh"
	PBSCmd = "/etc/init.d/pbs"

	PBSExec = "/opt/pbs"
	PBSBin  = PBSExec + "/bin"
	PBSSBin = PBSExec + "/sbin"

	PBSNodes = PBSBin + "/pbsnodes"
	PBSIff   = PBSSBin + "/pbs_iff"
	PBSRcp   = PBSSBin + "/pbs_rcp"

	PBSInitShell = "/opt/pbs/init.sh"

	EmptyVolume                         = "pbs-opt-dir"
	EmptyVolumeMountPathInInitContainer = "/mnt/share"
	EmptyVolumeMountPathInMainContainer = "/mnt/share"

	PBSProDir   = "/opt/pbs"
	PostGresDir = "/opt/postgres"

	SchemaReplicaTypeServer kubeclusterorgv1alpha1.ReplicaType = "Server"
)
View Source
const (
	// EnvControllerAddress is the environment variable name for the rank of nodes.
	EnvControllerAddress = "PBS_SERVER_ADDRESS"
)

Variables

This section is empty.

Functions

func NewpbsproClusterReconciler

func NewpbsproClusterReconciler(_ context.Context, mgr ctrl.Manager) (common.ClusterSchemaReconciler, error)

Types

type EnvVarGenerator

type EnvVarGenerator interface {
	Generate(kcluster *kubeclusterorgv1alpha1.KubeCluster) ([]corev1.EnvVar, error)
}

EnvVarGenerator is the environment variable generator interface.

Jump to

Keyboard shortcuts

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