element_type
stringclasses
4 values
project_name
stringclasses
2 values
uuid
stringlengths
36
36
name
stringlengths
3
66
imports
stringlengths
0
1.04k
file_location
stringlengths
64
148
code
stringlengths
28
14.1k
parent
stringclasses
18 values
function
kubev2v/migration-planner-ui
3b334342-bd99-407d-a3fe-13980b33831d
constructor
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/AgentApi.ts
constructor(configuration: Configuration) { this.configuration = configuration; }
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
2177f36a-0be1-4c0e-ac77-e60b5245fcff
getStatus
[{'import_name': ['StatusReply'], 'import_path': '#/models/'}]
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/AgentApi.ts
async getStatus(options?: RequestInit): Promise<StatusReply> { const request = new Request(this.configuration.basePath + "/status", { method: "GET", ...(options?.signal && { signal: options.signal }), }); const response = await fetch(request); const statusReply = (await response.json()) as ...
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
fd7ab42f-cef4-40b4-9d7f-70eb3f80c5bf
putCredentials
[{'import_name': ['Either', 'Credentials', 'CredentialsError'], 'import_path': '#/models/'}]
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/AgentApi.ts
async putCredentials( credentials: Credentials, options?: RequestInit & { pathParams?: string[] } ): Promise<Either<number, CredentialsError>> { const request = new Request(this.configuration.basePath + "/credentials", { method: "PUT", body: JSON.stringify(credentials), ...(options?.sign...
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
456d262b-3546-40c9-8d9e-35a31b81da46
getAgentVersion
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/AgentApi.ts
async getAgentVersion(): Promise<string> { const request = new Request(this.configuration.basePath + "/version", { method: "GET" }); const response = await fetch(request); const statusReply = (await response.json()) as { version: string }; return statusReply.version; }
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
5d96bcef-7b07-4871-9a05-e24fcc06d4ef
getServiceUiUrl
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/AgentApi.ts
async getServiceUiUrl(): Promise<string> { const request = new Request(this.configuration.basePath + "/url", { method: "GET" }); const response = await fetch(request); const uiReply = (await response.json()) as { url: string }; return uiReply.url; }
{'type': 'class_declaration', 'name': 'AgentApi'}
file
kubev2v/migration-planner-ui
952635a2-7ce7-4970-a8af-fcbb7ca1db32
index.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/apis/index.ts
export * from "./AgentApi";
null
file
kubev2v/migration-planner-ui
b6fdfbdd-0f9f-4c82-bba6-ed1ef9650999
Credentials.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/Credentials.ts
export interface Credentials { url: string; username: string; password: string; isDataSharingAllowed?: boolean; }
null
file
kubev2v/migration-planner-ui
2a217be8-1404-46e2-8626-87da41090a29
CredentialsError.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/CredentialsError.ts
export class CredentialsError extends Error { #code?: number; constructor(code?: number, ...errorArgs: Parameters<ErrorConstructor>) { super(...errorArgs); this.#code = code; } toString(): string { const code = this.#code ? `code=${this.#code}` : ""; return `${super.toString()} ${code}`; } ...
null
function
kubev2v/migration-planner-ui
3d1dbdd4-013e-4048-82f7-6cc0665bc467
constructor
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/CredentialsError.ts
constructor(code?: number, ...errorArgs: Parameters<ErrorConstructor>) { super(...errorArgs); this.#code = code; }
{'type': 'class_declaration', 'name': 'CredentialsError'}
function
kubev2v/migration-planner-ui
93fbcff4-5575-40a8-9d05-e54c5add32af
toString
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/CredentialsError.ts
toString(): string { const code = this.#code ? `code=${this.#code}` : ""; return `${super.toString()} ${code}`; }
{'type': 'class_declaration', 'name': 'CredentialsError'}
function
kubev2v/migration-planner-ui
e11871d4-1f3f-4bac-ac06-3178405ce5d5
code
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/CredentialsError.ts
get code(): number | undefined { return this.#code; }
{'type': 'class_declaration', 'name': 'CredentialsError'}
file
kubev2v/migration-planner-ui
ac92577c-ef1d-43ed-8dff-395e3a6cea82
Either.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/Either.ts
export type Either<GoodType, BadType> = [GoodType, null] | [null, BadType];
null
file
kubev2v/migration-planner-ui
57d5b31c-3903-45f2-b841-06b82f15298d
SourceStatus.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/SourceStatus.ts
export enum SourceStatus { SourceStatusError = "error", SourceStatusGatheringInitialInventory = "gathering-initial-inventory", SourceStatusNotConnected = "not-connected", SourceStatusUpToDate = "up-to-date", SourceStatusWaitingForCredentials = "waiting-for-credentials", }
null
file
kubev2v/migration-planner-ui
fa6f4d0e-67bc-4630-a4d4-60b0ed0df681
StatusReply.ts
[{'import_name': ['SourceStatus'], 'import_path': './SourceStatus'}]
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/StatusReply.ts
import { SourceStatus } from "./SourceStatus"; export interface StatusReply { status: SourceStatus; statusInfo: string; }
null
file
kubev2v/migration-planner-ui
0c9b27e8-1871-4da1-b23f-68280115cd79
index.ts
https://github.com/kubev2v/migration-planner-ui/packages/agent-client/src/models/index.ts
export * from "./Credentials"; export * from "./StatusReply"; export * from "./SourceStatus"; export * from "./CredentialsError"; export * from "./Either";
null
file
kubev2v/migration-planner-ui
bb8f0aa5-b313-44ba-8853-6d613661a42b
index.ts
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/index.ts
/* tslint:disable */ /* eslint-disable */ export * from './runtime'; export * from './apis/index'; export * from './models/index';
null
file
kubev2v/migration-planner-ui
c4d16d16-5193-4f70-88fc-52349e33de0a
runtime.ts
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
5c2e6598-5584-4189-9992-cfaa17e6d9bf
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(private configuration: ConfigurationParameters = {}) {}
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
65662106-b281-45e7-8d34-ce4136cb61a3
config
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
set config(configuration: Configuration) { this.configuration = configuration; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
f5614a22-f3b7-4308-a1fc-e7b31e7d76eb
basePath
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get basePath(): string { return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
645bd6de-caaa-49f8-b4b8-c857052cb637
fetchApi
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get fetchApi(): FetchAPI | undefined { return this.configuration.fetchApi; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
0bae9f06-7956-4645-8930-e44e1cbefaa3
middleware
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get middleware(): Middleware[] { return this.configuration.middleware || []; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
11617419-a740-43b1-ac3f-36345062f549
queryParamsStringify
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get queryParamsStringify(): (params: HTTPQuery) => string { return this.configuration.queryParamsStringify || querystring; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
c31ce4c8-f0d6-4c53-95dc-fb99c2557893
username
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get username(): string | undefined { return this.configuration.username; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
d96f7bf7-8efe-44d3-902f-e20143104ba6
password
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get password(): string | undefined { return this.configuration.password; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
6debc9f7-a795-4e5e-bc7d-1d8ad15a5ac3
apiKey
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get apiKey(): ((name: string) => string | Promise<string>) | undefined { const apiKey = this.configuration.apiKey; if (apiKey) { return typeof apiKey === 'function' ? apiKey : () => apiKey; } return undefined; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
90d72cd9-69f6-48eb-a58a-4a8ad296c50b
accessToken
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined { const accessToken = this.configuration.accessToken; if (accessToken) { return typeof accessToken === 'function' ? accessToken : async () => accessToken; } return undefined; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
cb125633-21e7-4d92-811c-1431230fbd98
headers
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get headers(): HTTPHeaders | undefined { return this.configuration.headers; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
fe88153b-7d24-4678-8aa3-2d69c0c4ab41
credentials
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
get credentials(): RequestCredentials | undefined { return this.configuration.credentials; }
{'type': 'class_declaration', 'name': 'Configuration'}
function
kubev2v/migration-planner-ui
0d07a3e6-f850-4507-9fbf-b70b730767fb
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(protected configuration = DefaultConfig) { this.middleware = configuration.middleware; }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
62a99df6-a152-4b4a-81ce-afff7f0af493
withMiddleware
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]) { const next = this.clone<T>(); next.middleware = next.middleware.concat(...middlewares); return next; }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
9fd0a258-cda7-464f-8852-6eb6949fdc50
withPreMiddleware
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>) { const middlewares = preMiddlewares.map((pre) => ({ pre })); return this.withMiddleware<T>(...middlewares); }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
3980cd44-e6c6-40a1-bc2b-aac0be074b17
withPostMiddleware
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>) { const middlewares = postMiddlewares.map((post) => ({ post })); return this.withMiddleware<T>(...middlewares); }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
c1c12e1b-8d2d-4deb-9331-2ef79685b0e1
isJsonMime
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
protected isJsonMime(mime: string | null | undefined): boolean { if (!mime) { return false; } return BaseAPI.jsonRegex.test(mime); }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
4a1f9387-58d5-471f-b598-43cba3d40601
request
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
protected async request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response> { const { url, init } = await this.createFetchParams(context, initOverrides); const response = await this.fetchApi(url, init); if (response && (response.status >= 200 && response....
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
3256484a-1a41-431a-80d4-acd10a874660
createFetchParams
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
private async createFetchParams(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction) { let url = this.configuration.basePath + context.path; if (context.query !== undefined && Object.keys(context.query).length !== 0) { // only add the querystring to the URL if there are ...
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
9872a13d-cb0d-4716-bf91-3fe9155d61d3
clone
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
private clone<T extends BaseAPI>(this: T): T { const constructor = this.constructor as any; const next = new constructor(this.configuration); next.middleware = this.middleware.slice(); return next; }
{'type': 'class_declaration', 'name': 'BaseAPI'}
function
kubev2v/migration-planner-ui
87bc49ab-7337-40ea-958f-35c77f6aa28b
isBlob
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function isBlob(value: any): value is Blob { return typeof Blob !== 'undefined' && value instanceof Blob; }
{}
function
kubev2v/migration-planner-ui
7287c032-65dc-4467-9c49-6fd0abe25f2f
isFormData
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function isFormData(value: any): value is FormData { return typeof FormData !== "undefined" && value instanceof FormData; }
{}
function
kubev2v/migration-planner-ui
c72154f0-96b2-441d-aad3-e5135946e04e
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public response: Response, msg?: string) { super(msg); }
{'type': 'class_declaration', 'name': 'ResponseError'}
function
kubev2v/migration-planner-ui
d068fa51-fad6-41b1-8053-b9d954ed63d1
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public cause: Error, msg?: string) { super(msg); }
{'type': 'class_declaration', 'name': 'FetchError'}
function
kubev2v/migration-planner-ui
55d88b27-9e94-4048-b8cb-36b18b019c57
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public field: string, msg?: string) { super(msg); }
{'type': 'class_declaration', 'name': 'RequiredError'}
function
kubev2v/migration-planner-ui
922139b8-8de4-426b-9455-3d30aedc3b21
querystring
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function querystring(params: HTTPQuery, prefix: string = ''): string { return Object.keys(params) .map(key => querystringSingleKey(key, params[key], prefix)) .filter(part => part.length > 0) .join('&'); }
{}
function
kubev2v/migration-planner-ui
d4dcd6c5-45d3-43ef-b768-935e13c72fda
querystringSingleKey
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function querystringSingleKey(key: string, value: string | number | null | undefined | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery, keyPrefix: string = ''): string { const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key); if (value instanceof ...
{}
function
kubev2v/migration-planner-ui
d9ff7d41-7014-4072-bc94-6718a9932561
mapValues
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function mapValues(data: any, fn: (item: any) => any) { return Object.keys(data).reduce( (acc, key) => ({ ...acc, [key]: fn(data[key]) }), {} ); }
{}
function
kubev2v/migration-planner-ui
5a714ea2-dfce-4b6f-b8be-d9738f0dc06e
canConsumeForm
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
function canConsumeForm(consumes: Consume[]): boolean { for (const consume of consumes) { if ('multipart/form-data' === consume.contentType) { return true; } } return false; }
{}
function
kubev2v/migration-planner-ui
96e65ab4-5787-44c4-b1e3-55d5052fa5d6
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public raw: Response, private transformer: ResponseTransformer<T> = (jsonValue: any) => jsonValue) {}
{'type': 'class_declaration', 'name': 'JSONApiResponse'}
function
kubev2v/migration-planner-ui
11bb510f-e609-400d-ba01-076484d8f4ec
value
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
async value(): Promise<T> { return this.transformer(await this.raw.json()); }
{'type': 'class_declaration', 'name': 'JSONApiResponse'}
function
kubev2v/migration-planner-ui
167597d7-5c10-483d-ba1c-9500061396ca
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public raw: Response) {}
{'type': 'class_declaration', 'name': 'VoidApiResponse'}
function
kubev2v/migration-planner-ui
0f42bf63-5074-476e-bf3f-fa522e8eac71
value
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
async value(): Promise<void> { return undefined; }
{'type': 'class_declaration', 'name': 'VoidApiResponse'}
function
kubev2v/migration-planner-ui
2dbc2719-5f9a-48a8-bd53-04cc6a14cd82
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public raw: Response) {}
{'type': 'class_declaration', 'name': 'BlobApiResponse'}
function
kubev2v/migration-planner-ui
c1e5a4da-4dcb-4adb-b579-8621bfbdfabb
value
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
async value(): Promise<Blob> { return await this.raw.blob(); }
{'type': 'class_declaration', 'name': 'BlobApiResponse'}
function
kubev2v/migration-planner-ui
f3c3f1d1-5237-40ad-90d0-61f10b14a43f
constructor
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
constructor(public raw: Response) {}
{'type': 'class_declaration', 'name': 'TextApiResponse'}
function
kubev2v/migration-planner-ui
b0e67378-03db-46f4-af02-032db0002a4c
value
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/runtime.ts
async value(): Promise<string> { return await this.raw.text(); }
{'type': 'class_declaration', 'name': 'TextApiResponse'}
file
kubev2v/migration-planner-ui
cb991e07-90bd-4fc5-a94f-0f3ba850c911
AgentApi.ts
[{'import_name': ['Agent'], 'import_path': '../models/index'}, {'import_name': ['AgentFromJSON', 'AgentToJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/AgentApi.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
12cd4213-ad08-4ab8-ab6d-1d0c4f085e38
deleteAgentRaw
[{'import_name': ['Agent'], 'import_path': '../models/index'}, {'import_name': ['AgentFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/AgentApi.ts
async deleteAgentRaw(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Agent>> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', 'Required parameter "id" was nu...
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
789d6129-1d33-4d38-8369-20fa19d73aec
deleteAgent
[{'import_name': ['Agent'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/AgentApi.ts
async deleteAgent(requestParameters: DeleteAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Agent> { const response = await this.deleteAgentRaw(requestParameters, initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
49edda73-5648-47dc-8574-23be61b9b215
listAgentsRaw
[{'import_name': ['Agent'], 'import_path': '../models/index'}, {'import_name': ['AgentFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/AgentApi.ts
async listAgentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Agent>>> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; const response = await this.request({ path: `/api/v1/agents`, ...
{'type': 'class_declaration', 'name': 'AgentApi'}
function
kubev2v/migration-planner-ui
14eb9312-a0af-4c92-9f8d-07f5fa545943
listAgents
[{'import_name': ['Agent'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/AgentApi.ts
async listAgents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Agent>> { const response = await this.listAgentsRaw(initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'AgentApi'}
file
kubev2v/migration-planner-ui
cecc280e-1999-451b-8c2b-29c1ec0679ab
HealthApi.ts
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/HealthApi.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
69c0797c-0fad-4809-9401-a942bddb8272
healthRaw
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/HealthApi.ts
async healthRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; const response = await this.request({ path: `/health`, method: 'GET', ...
{'type': 'class_declaration', 'name': 'HealthApi'}
function
kubev2v/migration-planner-ui
99c4a127-7fdc-4dce-8b35-8d59636feac3
health
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/HealthApi.ts
async health(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> { await this.healthRaw(initOverrides); }
{'type': 'class_declaration', 'name': 'HealthApi'}
file
kubev2v/migration-planner-ui
277d11c9-4b77-4c9c-a126-940d47d928bb
ImageApi.ts
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/ImageApi.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
91b7b2ec-d697-4ec8-b760-5e8321aede2f
getImageRaw
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/ImageApi.ts
async getImageRaw(requestParameters: GetImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>> { const queryParameters: any = {}; if (requestParameters['sshKey'] != null) { queryParameters['sshKey'] = requestParameters['sshKey']; ...
{'type': 'class_declaration', 'name': 'ImageApi'}
function
kubev2v/migration-planner-ui
a454203b-3144-4dac-9596-5bd32ee9cfb2
getImage
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/ImageApi.ts
async getImage(requestParameters: GetImageRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob> { const response = await this.getImageRaw(requestParameters, initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'ImageApi'}
function
kubev2v/migration-planner-ui
dfd57814-c569-4f09-bdd6-689dff830432
headImageRaw
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/ImageApi.ts
async headImageRaw(requestParameters: HeadImageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> { const queryParameters: any = {}; if (requestParameters['sshKey'] != null) { queryParameters['sshKey'] = requestParameters['sshKey']; ...
{'type': 'class_declaration', 'name': 'ImageApi'}
function
kubev2v/migration-planner-ui
d9039354-64ed-41e0-b42c-80806a6908c9
headImage
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/ImageApi.ts
async headImage(requestParameters: HeadImageRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> { await this.headImageRaw(requestParameters, initOverrides); }
{'type': 'class_declaration', 'name': 'ImageApi'}
file
kubev2v/migration-planner-ui
0a07170c-357a-4abe-b8c3-3800f1fd3373
SourceApi.ts
[{'import_name': ['Source', 'Status'], 'import_path': '../models/index'}, {'import_name': ['SourceFromJSON', 'SourceToJSON', 'StatusFromJSON', 'StatusToJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
9cfaa6bc-7e83-4ab0-bea1-2b6e7cef6780
deleteSourceRaw
[{'import_name': ['Source'], 'import_path': '../models/index'}, {'import_name': ['SourceFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async deleteSourceRaw(requestParameters: DeleteSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Source>> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', 'Required parameter "id" was...
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
023c418e-37b6-452d-a577-427069975fa4
deleteSource
[{'import_name': ['Source'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async deleteSource(requestParameters: DeleteSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Source> { const response = await this.deleteSourceRaw(requestParameters, initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
9f880bb7-3604-428c-ad20-042489a79f6f
deleteSourcesRaw
[{'import_name': ['Source', 'Status'], 'import_path': '../models/index'}, {'import_name': ['StatusFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async deleteSourcesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Status>> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; const response = await this.request({ path: `/api/v1/sources`, m...
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
d805a562-28fe-491e-9e40-4534fb8c2625
deleteSources
[{'import_name': ['Source', 'Status'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async deleteSources(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Status> { const response = await this.deleteSourcesRaw(initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
d40a19cc-77fb-4de4-ae5c-9b69152d7000
listSourcesRaw
[{'import_name': ['Source'], 'import_path': '../models/index'}, {'import_name': ['SourceFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async listSourcesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Source>>> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; const response = await this.request({ path: `/api/v1/sources`, ...
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
acad2de3-7789-4cb8-a248-784d5c5a5419
listSources
[{'import_name': ['Source'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async listSources(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Source>> { const response = await this.listSourcesRaw(initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
4adbbdf2-02a9-4191-ba4e-7001dcb71495
readSourceRaw
[{'import_name': ['Source'], 'import_path': '../models/index'}, {'import_name': ['SourceFromJSON'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async readSourceRaw(requestParameters: ReadSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Source>> { if (requestParameters['id'] == null) { throw new runtime.RequiredError( 'id', 'Required parameter "id" was nul...
{'type': 'class_declaration', 'name': 'SourceApi'}
function
kubev2v/migration-planner-ui
56eb1ea2-47eb-44ad-89b2-4a0c107c1eb9
readSource
[{'import_name': ['Source'], 'import_path': '../models/index'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/SourceApi.ts
async readSource(requestParameters: ReadSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Source> { const response = await this.readSourceRaw(requestParameters, initOverrides); return await response.value(); }
{'type': 'class_declaration', 'name': 'SourceApi'}
file
kubev2v/migration-planner-ui
cedccb08-7204-4cd8-8b1a-aeca64c94397
index.ts
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/apis/index.ts
/* tslint:disable */ /* eslint-disable */ export { type GetImageRequest, type HeadImageRequest, type ImageApiInterface, ImageApi, } from "./ImageApi"; export { type DeleteSourceRequest, type ReadSourceRequest, type SourceApiInterface, SourceApi, } from "./SourceApi"; export { type HealthApiInterface...
null
file
kubev2v/migration-planner-ui
5cfd734f-a3c7-45a4-b479-0657f7f2b116
Agent.ts
[{'import_name': ['mapValues'], 'import_path': '../runtime'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Agent.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
a92fc1a1-4c34-4c7b-97b1-813109be8429
instanceOfAgent
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Agent.ts
function instanceOfAgent(value: object): value is Agent { if (!('id' in value) || value['id'] === undefined) return false; if (!('status' in value) || value['status'] === undefined) return false; if (!('statusInfo' in value) || value['statusInfo'] === undefined) return false; if (!('credentialUrl' in va...
{}
function
kubev2v/migration-planner-ui
a648ade0-085c-4128-bca7-3e370c7a380e
AgentFromJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Agent.ts
function AgentFromJSON(json: any): Agent { return AgentFromJSONTyped(json, false); }
{}
function
kubev2v/migration-planner-ui
fb39513f-dcbb-4065-9836-b874abad4a18
AgentFromJSONTyped
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Agent.ts
function AgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Agent { if (json == null) { return json; } return { 'id': json['id'], 'status': json['status'], 'statusInfo': json['statusInfo'], 'credentialUrl': json['credentialUrl'], 'sourceId':...
{}
function
kubev2v/migration-planner-ui
4dbfbc5a-3b68-45d2-9639-4300dcf9da9b
AgentToJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Agent.ts
function AgentToJSON(value?: Agent | null): any { if (value == null) { return value; } return { 'id': value['id'], 'status': value['status'], 'statusInfo': value['statusInfo'], 'credentialUrl': value['credentialUrl'], 'sourceId': value['sourceId'], ...
{}
file
kubev2v/migration-planner-ui
55748607-d441-4f1e-982a-f205ad60b113
Infra.ts
[{'import_name': ['mapValues'], 'import_path': '../runtime'}, {'import_name': ['InfraNetworksInner'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraNetworksInnerFromJSON', 'InfraNetworksInnerFromJSONTyped', 'InfraNetworksInnerToJSON'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraData...
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Infra.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
a090e995-24d5-4801-a630-afdd10720f91
instanceOfInfra
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Infra.ts
function instanceOfInfra(value: object): value is Infra { if (!('totalHosts' in value) || value['totalHosts'] === undefined) return false; if (!('totalClusters' in value) || value['totalClusters'] === undefined) return false; if (!('hostsPerCluster' in value) || value['hostsPerCluster'] === undefined) retur...
{}
function
kubev2v/migration-planner-ui
13c8df3c-7ccc-4076-91d7-04a422ad5777
InfraFromJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Infra.ts
function InfraFromJSON(json: any): Infra { return InfraFromJSONTyped(json, false); }
{}
function
kubev2v/migration-planner-ui
40a4be72-c85e-4400-9d5e-ec073f00f379
InfraFromJSONTyped
[{'import_name': ['InfraNetworksInner'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraNetworksInnerFromJSON'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraDatastoresInner'], 'import_path': './InfraDatastoresInner'}, {'import_name': ['InfraDatastoresInnerFromJSON'], 'import_path': '....
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Infra.ts
function InfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): Infra { if (json == null) { return json; } return { 'totalHosts': json['totalHosts'], 'totalClusters': json['totalClusters'], 'hostsPerCluster': json['hostsPerCluster'], 'hostPowerStates': ...
{}
function
kubev2v/migration-planner-ui
995e9338-e711-4d9f-a22a-18a543d3775c
InfraToJSON
[{'import_name': ['InfraNetworksInner'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraNetworksInnerToJSON'], 'import_path': './InfraNetworksInner'}, {'import_name': ['InfraDatastoresInner'], 'import_path': './InfraDatastoresInner'}, {'import_name': ['InfraDatastoresInnerToJSON'], 'import_path': './Inf...
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Infra.ts
function InfraToJSON(value?: Infra | null): any { if (value == null) { return value; } return { 'totalHosts': value['totalHosts'], 'totalClusters': value['totalClusters'], 'hostsPerCluster': value['hostsPerCluster'], 'hostPowerStates': value['hostPowerStates'...
{}
file
kubev2v/migration-planner-ui
2dee93e8-c7b0-4b67-8f86-209f321500e4
InfraDatastoresInner.ts
[{'import_name': ['mapValues'], 'import_path': '../runtime'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraDatastoresInner.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
8fd54114-b3f5-422c-8e50-ba35f040d10a
instanceOfInfraDatastoresInner
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraDatastoresInner.ts
function instanceOfInfraDatastoresInner(value: object): value is InfraDatastoresInner { if (!('type' in value) || value['type'] === undefined) return false; if (!('totalCapacityGB' in value) || value['totalCapacityGB'] === undefined) return false; if (!('freeCapacityGB' in value) || value['freeCapacityGB'] ...
{}
function
kubev2v/migration-planner-ui
e79cf9ed-1837-4c09-a8b8-31c72f35b360
InfraDatastoresInnerFromJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraDatastoresInner.ts
function InfraDatastoresInnerFromJSON(json: any): InfraDatastoresInner { return InfraDatastoresInnerFromJSONTyped(json, false); }
{}
function
kubev2v/migration-planner-ui
39ac5591-1b3f-483f-a455-07ebad6f9d20
InfraDatastoresInnerFromJSONTyped
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraDatastoresInner.ts
function InfraDatastoresInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): InfraDatastoresInner { if (json == null) { return json; } return { 'type': json['type'], 'totalCapacityGB': json['totalCapacityGB'], 'freeCapacityGB': json['freeCapacityGB'], }; ...
{}
function
kubev2v/migration-planner-ui
05a6cf37-5777-40a9-9b79-d07bc6719ec3
InfraDatastoresInnerToJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraDatastoresInner.ts
function InfraDatastoresInnerToJSON(value?: InfraDatastoresInner | null): any { if (value == null) { return value; } return { 'type': value['type'], 'totalCapacityGB': value['totalCapacityGB'], 'freeCapacityGB': value['freeCapacityGB'], }; }
{}
file
kubev2v/migration-planner-ui
1eefe5bf-d66d-45d7-9e82-b29ad7193d37
InfraNetworksInner.ts
[{'import_name': ['mapValues'], 'import_path': '../runtime'}]
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraNetworksInner.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
4c3e0323-36f7-49b9-9938-d1b87d8afb89
instanceOfInfraNetworksInner
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraNetworksInner.ts
function instanceOfInfraNetworksInner(value: object): value is InfraNetworksInner { if (!('type' in value) || value['type'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; return true; }
{}
function
kubev2v/migration-planner-ui
4ae4da92-379c-4ce5-bae3-ddee3fa90864
InfraNetworksInnerFromJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraNetworksInner.ts
function InfraNetworksInnerFromJSON(json: any): InfraNetworksInner { return InfraNetworksInnerFromJSONTyped(json, false); }
{}
function
kubev2v/migration-planner-ui
7cfdb555-09e5-4c48-97e9-4647373a4f2e
InfraNetworksInnerFromJSONTyped
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraNetworksInner.ts
function InfraNetworksInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): InfraNetworksInner { if (json == null) { return json; } return { 'type': json['type'], 'name': json['name'], 'vlanId': json['vlanId'] == null ? undefined : json['vlanId'], 'dvs...
{}
function
kubev2v/migration-planner-ui
987d23a0-7352-4a1b-b91c-cc5fac8ecd82
InfraNetworksInnerToJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/InfraNetworksInner.ts
function InfraNetworksInnerToJSON(value?: InfraNetworksInner | null): any { if (value == null) { return value; } return { 'type': value['type'], 'name': value['name'], 'vlanId': value['vlanId'], 'dvswitch': value['dvswitch'], }; }
{}
file
kubev2v/migration-planner-ui
ef3f6231-ba4d-45f6-8010-5f6cde64eae6
Inventory.ts
[{'import_name': ['mapValues'], 'import_path': '../runtime'}, {'import_name': ['VCenter'], 'import_path': './VCenter'}, {'import_name': ['VCenterFromJSON', 'VCenterFromJSONTyped', 'VCenterToJSON'], 'import_path': './VCenter'}, {'import_name': ['Infra'], 'import_path': './Infra'}, {'import_name': ['InfraFromJSON', 'Infr...
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Inventory.ts
/* tslint:disable */ /* eslint-disable */ /** * Migration Planner API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: undefined * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gen...
null
function
kubev2v/migration-planner-ui
80d286b3-5681-4312-baa0-679da4752e82
instanceOfInventory
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Inventory.ts
function instanceOfInventory(value: object): value is Inventory { if (!('vcenter' in value) || value['vcenter'] === undefined) return false; if (!('vms' in value) || value['vms'] === undefined) return false; if (!('infra' in value) || value['infra'] === undefined) return false; return true; }
{}
function
kubev2v/migration-planner-ui
ba828cdc-562f-4f3a-b968-2c30629fa25d
InventoryFromJSON
https://github.com/kubev2v/migration-planner-ui/packages/api-client/src/models/Inventory.ts
function InventoryFromJSON(json: any): Inventory { return InventoryFromJSONTyped(json, false); }
{}