add back worker input

This commit is contained in:
Shreyas Goenka 2025-01-29 16:45:21 +01:00
parent 8f8463f665
commit f092e21594
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,10 @@
package telemetry
import (
"github.com/databricks/cli/libs/telemetry/protos"
"github.com/databricks/databricks-sdk-go/config"
)
// RequestBody is the request body type bindings for the /telemetry-ext API endpoint.
type RequestBody struct {
// Timestamp in millis for when the log was uploaded.
@ -29,3 +34,8 @@ type LogError struct {
Message string `json:"message"`
ErrorType string `json:"errorType"`
}
type WorkerInput struct {
AuthConfig *config.Config `json:"authConfig"`
Logs []protos.FrontendLog `json:"logs"`
}