Documentation ¶
Index ¶
Constants ¶
View Source
const ( DBUserEnvName = "DB_USER" DBNameEnvName = "DB_NAME" MySqlDBNameEnvValue = "mysql" DBPasswordEnvName = "DB_PASSWORD" MySQLDBHostEnvName = "KATIB_MYSQL_DB_HOST" MySQLDBPortEnvName = "KATIB_MYSQL_DB_PORT" MySQLDatabase = "KATIB_MYSQL_DB_DATABASE" DefaultMySQLUser = "root" DefaultMySQLDatabase = "katib" DefaultMySQLHost = "katib-mysql" DefaultMySQLPort = "3306" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KatibDBInterface ¶
type KatibDBInterface interface { DBInit() SelectOne() error RegisterObservationLog(trialName string, observationLog *v1beta1.ObservationLog) error GetObservationLog(trialName string, metricName string, startTime string, endTime string) (*v1beta1.ObservationLog, error) DeleteObservationLog(trialName string) error }
Click to show internal directories.
Click to hide internal directories.