mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
feat: add workspace_id, owner_name to agent manifest (#10199)
Co-authored-by: Kyle Carberry <kyle@carberry.com> Co-authored-by: Atif Ali <atif@coder.com>
This commit is contained in:
committed by
GitHub
parent
28eca2e53f
commit
baf3bf6b9c
@ -98,6 +98,11 @@ func (c *Client) PostMetadata(ctx context.Context, req PostMetadataRequest) erro
|
||||
|
||||
type Manifest struct {
|
||||
AgentID uuid.UUID `json:"agent_id"`
|
||||
// OwnerName and WorkspaceID are used by an open-source user to identify the workspace.
|
||||
// We do not provide insurance that this will not be removed in the future,
|
||||
// but if it's easy to persist lets keep it around.
|
||||
OwnerName string `json:"owner_name"`
|
||||
WorkspaceID uuid.UUID `json:"workspace_id"`
|
||||
// GitAuthConfigs stores the number of Git configurations
|
||||
// the Coder deployment has. If this number is >0, we
|
||||
// set up special configuration in the workspace.
|
||||
|
Reference in New Issue
Block a user