feat(provisioner): add support for workspace_owner_login_type (#15499)

- Adds support for the `coder_workspace_owner.login_type` attribute.
- Adds a currently disabled test for `coder_workspace_owner.login_type`
This commit is contained in:
Cian Johnston
2024-11-13 15:34:58 +00:00
committed by GitHub
parent 1c938cda4b
commit 4a6b28f5df
7 changed files with 227 additions and 161 deletions
+4
View File
@@ -243,6 +243,7 @@ export interface Metadata {
workspaceOwnerSshPublicKey: string;
workspaceOwnerSshPrivateKey: string;
workspaceBuildId: string;
workspaceOwnerLoginType: string;
}
/** Config represents execution configuration shared by all subsequent requests in the Session */
@@ -878,6 +879,9 @@ export const Metadata = {
if (message.workspaceBuildId !== "") {
writer.uint32(138).string(message.workspaceBuildId);
}
if (message.workspaceOwnerLoginType !== "") {
writer.uint32(146).string(message.workspaceOwnerLoginType);
}
return writer;
},
};