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 ¶
Types ¶
type EnvVarGenerator ¶
type EnvVarGenerator interface {
Generate(kcluster *kubeclusterorgv1alpha1.KubeCluster) ([]corev1.EnvVar, error)
}
EnvVarGenerator is the environment variable generator interface.
Click to show internal directories.
Click to hide internal directories.