Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LabelExperimentName is the label of experiment name. LabelExperimentName = "experiment" // LabelTrialName is the label of trial name. LabelTrialName = "trial" // LabelDeploymentName is the label of deployment name. LabelDeploymentName = "deployment" // DefaultServicePort is the default port of sampling_client service. DefaultServicePort = 8500 // DefaultServicePortName is the default port name of sampling_client service. DefaultServicePortName = "profile-service" // DefaultMetricValue is the default trial result value, set for failed trials DefaultMetricValue = "0.0" // DefaultSamplingService is the default algorithm k8s service name DefaultSamplingService = "morphling-algorithm-server" // DefaultSamplingPort is the default port of algorithm service. DefaultSamplingPort = 9996 // DefaultMorphlingMySqlServiceName is the default mysql k8s service name DefaultMorphlingMySqlServiceName = "morphling-mysql" // DefaultMorphlingMySqlServicePort is the default mysql k8s service port DefaultMorphlingMySqlServicePort = "3306" // DefaultMorphlingDBManagerServiceName is the default db-manager k8s service name DefaultMorphlingDBManagerServiceName = "morphling-db-manager" )
Variables ¶
View Source
var ( DefaultControllerNamespace = GetEnvOrDefault("MORPHLING_CORE_NAMESPACE", "morphling-system") // DefaultMorphlingDBManagerServicePort is the default db-manager k8s service port DefaultMorphlingDBManagerServicePort = GetEnvOrDefault("DB_PORT", "6799") )
Functions ¶
func GetEnvOrDefault ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.