Skip to content

Impl support for multi agent workspaces #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jun 28, 2022
Prev Previous commit
Next Next commit
Add new view model for workspace
- UI needs to present a combination of properties
  from two data models (Workspace and WorkspaceAgent)
  • Loading branch information
fioan89 committed Jun 28, 2022
commit 061c2f48c89cf72e7cb007d9fd10969b46709b6d
16 changes: 16 additions & 0 deletions src/main/kotlin/com/coder/gateway/models/WorkspaceAgentModel.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.coder.gateway.models

import com.coder.gateway.sdk.Arch
import com.coder.gateway.sdk.OS
import com.coder.gateway.sdk.v2.models.ProvisionerJobStatus
import com.coder.gateway.sdk.v2.models.WorkspaceBuildTransition

data class WorkspaceAgentModel(
val name: String,

val jobStatus: ProvisionerJobStatus,
val buildTransition: WorkspaceBuildTransition,

val agentOS: OS?,
val agentArch: Arch?
)