defaults

package
v1.5.20 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//BatchScheduleDescriptionPropertyName Property name for a batch schedule description
	BatchScheduleDescriptionPropertyName = "batchScheduleDescription"
	//BatchSecretsMountPath Path to secrets, mounted to a Radix batch scheduler container
	BatchSecretsMountPath = "/mnt/secrets"
	//BatchNameEnvVarName Name of a batch
	BatchNameEnvVarName = "RADIX_BATCH_NAME"
	//BatchScheduleDescriptionPath Path to a file with batch schedule description json-file
	BatchScheduleDescriptionPath = "RADIX_BATCH_SCHEDULE_DESCRIPTION_PATH"
	//RadixBatchSchedulerContainerName Container name of the Radix batch scheduler
	RadixBatchSchedulerContainerName = "batch-scheduler"
	//RadixBatchSchedulerImage Image name of the Radix batch scheduler
	RadixBatchSchedulerImage = "radix-batch-scheduler"
	//DefaultBatchCpuLimit Default batch pod CPU limit
	DefaultBatchCpuLimit = "200m"
	//DefaultBatchMemoryLimit Default batch pod memory limit
	DefaultBatchMemoryLimit = "200Mi"
)
View Source
const (
	//JobPayloadPropertyName Property name for payload
	JobPayloadPropertyName = "payload"
	//K8sJobNameLabel A label that k8s automatically adds to a Pod created by a Job
	K8sJobNameLabel = "job-name"
)

Variables

This section is empty.

Functions

func GetBatchScheduleDescriptionSecretName

func GetBatchScheduleDescriptionSecretName(batchName string) string

GetBatchScheduleDescriptionSecretName Get secret name for the batch schedule description

func GetPayloadSecretName

func GetPayloadSecretName(jobName string) string

GetPayloadSecretName Get secret name for the payload

Types

This section is empty.

Jump to

Keyboard shortcuts

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