-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathBuildImageInAzureImageSourceContext.ts
More file actions
29 lines (24 loc) · 1.41 KB
/
BuildImageInAzureImageSourceContext.ts
File metadata and controls
29 lines (24 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { type Run as AcrRun, type ContainerRegistryManagementClient } from '@azure/arm-containerregistry';
import type * as vscode from 'vscode';
import { type BuildImageInAzureTelemetryProps as TelemetryProps } from '../../../../telemetry/ImageSourceTelemetryProps';
import { type SetTelemetryProps } from '../../../../telemetry/SetTelemetryProps';
import { type ContainerRegistryImageSourceBaseContext } from '../containerRegistry/ContainerRegistryImageSourceContext';
import { type AcrBuildSupportedOS } from './OSPickStep';
export interface BuildImageInAzureImageSourceBaseContext extends ContainerRegistryImageSourceBaseContext {
rootFolder: vscode.WorkspaceFolder;
srcPath: string;
dockerfilePath: string;
imageName: string;
os: AcrBuildSupportedOS;
uploadedSourceLocation: string;
tarFilePath: string;
client: ContainerRegistryManagementClient;
resourceGroupName: string;
registryName: string;
run: AcrRun;
}
export type BuildImageInAzureImageSourceContext = BuildImageInAzureImageSourceBaseContext & SetTelemetryProps<TelemetryProps>;