Documentation ¶
Index ¶
- func IsUserAuthenticated(accessToken string) (bool, error)
- func Run(port, localVitessPath string) error
- func SetSLogger(newSlog *zap.SugaredLogger)
- type CompareMacrobench
- type ErrorAPI
- type ExecutionMetadatas
- type ExecutionQueue
- type ExecutionQueueResponse
- type ExecutionRequest
- type RecentExecutions
- type RecentExecutionsResponse
- type Server
- type VitessGitRefReleases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUserAuthenticated ¶
func SetSLogger ¶
func SetSLogger(newSlog *zap.SugaredLogger)
SetSLogger sets the *zap.SugaredLogger of this package.
Types ¶
type CompareMacrobench ¶
type CompareMacrobench struct { Workload string `json:"workload"` Result macrobench.StatisticalCompareResults `json:"result"` }
type ExecutionMetadatas ¶
type ExecutionQueue ¶
type ExecutionQueueResponse ¶
type ExecutionQueueResponse struct { Executions []ExecutionQueue `json:"executions"` ExecutionMetadatas }
type ExecutionRequest ¶
type ExecutionRequest struct { Auth string `json:"auth"` Source string `json:"source"` SHA string `json:"sha"` PR string `json:"pr"` Workloads []string `json:"workloads"` NumberOfExecutions string `json:"number_of_executions"` EnableProfile bool `json:"enable_profile"` BinaryToProfile string `json:"binary_to_profile"` ProfileMode string `json:"profile_mode"` }
type RecentExecutions ¶
type RecentExecutions struct { UUID string `json:"uuid"` Source string `json:"source"` GitRef string `json:"git_ref"` Status string `json:"status"` Workload string `json:"workload"` PullNb int `json:"pull_nb"` GolangVersion string `json:"golang_version"` StartedAt *time.Time `json:"started_at"` FinishedAt *time.Time `json:"finished_at"` ProfileBinary string `json:"profile_binary"` ProfileMode string `json:"profile_mode"` }
type RecentExecutionsResponse ¶
type RecentExecutionsResponse struct { Executions []RecentExecutions `json:"executions"` ExecutionMetadatas }
Click to show internal directories.
Click to hide internal directories.