Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrorIncorrectMode indicates that the given mode is not correct. ErrorIncorrectMode = "incorrect mode" // ProductionMode runs the server in production mode. ProductionMode = Mode("production") // DevelopmentMode runs the server in development mode. DevelopmentMode = Mode("development") // DefaultMode to use if none is specified. DefaultMode = DevelopmentMode )
View Source
const (
ErrorIncorrectConfiguration = "incorrect configuration"
)
Variables ¶
This section is empty.
Functions ¶
func SetSLogger ¶
func SetSLogger(newSlog *zap.SugaredLogger)
SetSLogger sets the *zap.SugaredLogger of this package.
Types ¶
type CompareMacrobench ¶
type CompareMacrobench struct { Type string `json:"type"` Result macrobench.StatisticalCompareResults `json:"result"` }
type Mode ¶
type Mode string
Mode defines the type of mode on which to run the server. Either testing, development, or production.
type RecentExecutions ¶
type RecentExecutions struct { UUID string `json:"uuid"` Source string `json:"source"` GitRef string `json:"git_ref"` Status string `json:"status"` TypeOf string `json:"type_of"` PullNb int `json:"pull_nb"` GolangVersion string `json:"golang_version"` StartedAt *time.Time `json:"started_at"` FinishedAt *time.Time `json:"finished_at"` }
type Server ¶
type Server struct { // Mode used to run the server. Mode // contains filtered or unexported fields }
func (*Server) AddToCommand ¶
type VitessGitRef ¶
type VitessGitRef struct { UUID string `json:"uuid"` Source string `json:"source"` GitRef string `json:"git_ref"` Status string `json:"status"` TypeOf string `json:"type_of"` PullNb int `json:"pull_nb"` GolangVersion string `json:"golang_version"` StartedAt *time.Time `json:"started_at"` FinishedAt *time.Time `json:"finished_at"` }
Click to show internal directories.
Click to hide internal directories.