feat: add stackdriver and json log options to coder server (#5682)

This commit is contained in:
Colin Adler
2023-01-12 20:08:23 -06:00
committed by GitHub
parent 1229fda1a6
commit dcab87358e
12 changed files with 461 additions and 7 deletions
+8
View File
@@ -313,6 +313,7 @@ export interface DeploymentConfig {
readonly update_check: DeploymentConfigField<boolean>
readonly max_token_lifetime: DeploymentConfigField<number>
readonly swagger: SwaggerConfig
readonly logging: LoggingConfig
}
// From codersdk/deploymentconfig.go
@@ -421,6 +422,13 @@ export interface ListeningPortsResponse {
readonly ports: ListeningPort[]
}
// From codersdk/deploymentconfig.go
export interface LoggingConfig {
readonly human: DeploymentConfigField<string>
readonly json: DeploymentConfigField<string>
readonly stackdriver: DeploymentConfigField<string>
}
// From codersdk/users.go
export interface LoginWithPasswordRequest {
readonly email: string