Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EnvHostname hostname env variable EnvHostname = "HOSTNAME" // EnvConfigMapName configmap name env variable EnvConfigMapName = "CONFIG_MAP_NAME" // PodTemplateName key of the pod template in the configmap PodTemplateName = "pod-template.yaml" // ConfigFileName key of the config yaml file in the configmap ConfigFileName = "config.yaml" // LabelVersion version label LabelVersion = "version" // LabelName name label LabelName = "name" // LabelPoolSize poolSize label LabelPoolSize = "poolSize" // LabelReportHistory reportHistory label LabelReportHistory = "reportHistory" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string `json:"name"`
JobServiceAccount string `json:"jobServiceAccount"`
JobNodeSelector map[string]string `json:"jobNodeSelector"`
RunOnUnscheduledNodes bool `json:"runOnUnscheduledNodes"`
CronExpression string `json:"cronExpression"`
ReportDirectory string `json:"reportDirectory"`
ReportHistory int `json:"reportHistory"`
PodPoolSize int `json:"podPoolSize"`
RunOnStartup bool `json:"runOnStartup"`
Metrics Metrics `json:"metrics"`
// LatestMetricsLabel if true, each result metric is also created with executionID=latest
LatestMetricsLabel bool `json:"latestMetricsLabel"`
Custom map[string]interface{} `json:"custom"`
CallbackServiceName string `json:"callbackServiceName"`
CallbackServicePort int `json:"callbackServicePort"`
Namespace string `json:"-"`
JobPodTemplate string `json:"-"`
Owner runtime.Object `json:"-"`
}
Config struct
Click to show internal directories.
Click to hide internal directories.