@@ -144,6 +144,8 @@ type Options struct {
144
144
// as part of your test.
145
145
Logger * slog.Logger
146
146
StatsBatcher * batchstats.Batcher
147
+
148
+ WorkspaceAppsStatsCollectorOptions workspaceapps.StatsCollectorOptions
147
149
}
148
150
149
151
// New constructs a codersdk client connected to an in-memory API instance.
@@ -394,37 +396,38 @@ func NewOptions(t testing.TB, options *Options) (func(http.Handler), context.Can
394
396
Pubsub : options .Pubsub ,
395
397
GitAuthConfigs : options .GitAuthConfigs ,
396
398
397
- Auditor : options .Auditor ,
398
- AWSCertificates : options .AWSCertificates ,
399
- AzureCertificates : options .AzureCertificates ,
400
- GithubOAuth2Config : options .GithubOAuth2Config ,
401
- RealIPConfig : options .RealIPConfig ,
402
- OIDCConfig : options .OIDCConfig ,
403
- GoogleTokenValidator : options .GoogleTokenValidator ,
404
- SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
405
- DERPServer : derpServer ,
406
- APIRateLimit : options .APIRateLimit ,
407
- LoginRateLimit : options .LoginRateLimit ,
408
- FilesRateLimit : options .FilesRateLimit ,
409
- Authorizer : options .Authorizer ,
410
- Telemetry : telemetry .NewNoop (),
411
- TemplateScheduleStore : & templateScheduleStore ,
412
- TLSCertificates : options .TLSCertificates ,
413
- TrialGenerator : options .TrialGenerator ,
414
- TailnetCoordinator : options .Coordinator ,
415
- BaseDERPMap : derpMap ,
416
- DERPMapUpdateFrequency : 150 * time .Millisecond ,
417
- MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
418
- AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
419
- DeploymentValues : options .DeploymentValues ,
420
- UpdateCheckOptions : options .UpdateCheckOptions ,
421
- SwaggerEndpoint : options .SwaggerEndpoint ,
422
- AppSecurityKey : AppSecurityKey ,
423
- SSHConfig : options .ConfigSSH ,
424
- HealthcheckFunc : options .HealthcheckFunc ,
425
- HealthcheckTimeout : options .HealthcheckTimeout ,
426
- HealthcheckRefresh : options .HealthcheckRefresh ,
427
- StatsBatcher : options .StatsBatcher ,
399
+ Auditor : options .Auditor ,
400
+ AWSCertificates : options .AWSCertificates ,
401
+ AzureCertificates : options .AzureCertificates ,
402
+ GithubOAuth2Config : options .GithubOAuth2Config ,
403
+ RealIPConfig : options .RealIPConfig ,
404
+ OIDCConfig : options .OIDCConfig ,
405
+ GoogleTokenValidator : options .GoogleTokenValidator ,
406
+ SSHKeygenAlgorithm : options .SSHKeygenAlgorithm ,
407
+ DERPServer : derpServer ,
408
+ APIRateLimit : options .APIRateLimit ,
409
+ LoginRateLimit : options .LoginRateLimit ,
410
+ FilesRateLimit : options .FilesRateLimit ,
411
+ Authorizer : options .Authorizer ,
412
+ Telemetry : telemetry .NewNoop (),
413
+ TemplateScheduleStore : & templateScheduleStore ,
414
+ TLSCertificates : options .TLSCertificates ,
415
+ TrialGenerator : options .TrialGenerator ,
416
+ TailnetCoordinator : options .Coordinator ,
417
+ BaseDERPMap : derpMap ,
418
+ DERPMapUpdateFrequency : 150 * time .Millisecond ,
419
+ MetricsCacheRefreshInterval : options .MetricsCacheRefreshInterval ,
420
+ AgentStatsRefreshInterval : options .AgentStatsRefreshInterval ,
421
+ DeploymentValues : options .DeploymentValues ,
422
+ UpdateCheckOptions : options .UpdateCheckOptions ,
423
+ SwaggerEndpoint : options .SwaggerEndpoint ,
424
+ AppSecurityKey : AppSecurityKey ,
425
+ SSHConfig : options .ConfigSSH ,
426
+ HealthcheckFunc : options .HealthcheckFunc ,
427
+ HealthcheckTimeout : options .HealthcheckTimeout ,
428
+ HealthcheckRefresh : options .HealthcheckRefresh ,
429
+ StatsBatcher : options .StatsBatcher ,
430
+ WorkspaceAppsStatsCollectorOptions : options .WorkspaceAppsStatsCollectorOptions ,
428
431
}
429
432
}
430
433
0 commit comments