mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add stackdriver and json log options to coder server (#5682)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user