UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

559 lines (558 loc) 23.6 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { IoK8sApiBatchV1CronJob, IoK8sApiBatchV1CronJobList, IoK8sApiBatchV1Job, IoK8sApiBatchV1JobList, IoK8sApimachineryPkgApisMetaV1APIResourceList, IoK8sApimachineryPkgApisMetaV1DeleteOptions, IoK8sApimachineryPkgApisMetaV1Status, IoK8sApimachineryPkgApisMetaV1WatchEvent } from '../models'; export interface CreateBatchV1NamespacedCronJobRequest { namespace: string; body: IoK8sApiBatchV1CronJob; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface CreateBatchV1NamespacedJobRequest { namespace: string; body: IoK8sApiBatchV1Job; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface DeleteBatchV1CollectionNamespacedCronJobRequest { namespace: string; pretty?: string; _continue?: string; dryRun?: string; fieldSelector?: string; gracePeriodSeconds?: number; ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; labelSelector?: string; limit?: number; orphanDependents?: boolean; propagationPolicy?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; body?: IoK8sApimachineryPkgApisMetaV1DeleteOptions; } export interface DeleteBatchV1CollectionNamespacedJobRequest { namespace: string; pretty?: string; _continue?: string; dryRun?: string; fieldSelector?: string; gracePeriodSeconds?: number; ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; labelSelector?: string; limit?: number; orphanDependents?: boolean; propagationPolicy?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; body?: IoK8sApimachineryPkgApisMetaV1DeleteOptions; } export interface DeleteBatchV1NamespacedCronJobRequest { name: string; namespace: string; pretty?: string; dryRun?: string; gracePeriodSeconds?: number; ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; orphanDependents?: boolean; propagationPolicy?: string; body?: IoK8sApimachineryPkgApisMetaV1DeleteOptions; } export interface DeleteBatchV1NamespacedJobRequest { name: string; namespace: string; pretty?: string; dryRun?: string; gracePeriodSeconds?: number; ignoreStoreReadErrorWithClusterBreakingPotential?: boolean; orphanDependents?: boolean; propagationPolicy?: string; body?: IoK8sApimachineryPkgApisMetaV1DeleteOptions; } export interface ListBatchV1CronJobForAllNamespacesRequest { allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface ListBatchV1JobForAllNamespacesRequest { allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface ListBatchV1NamespacedCronJobRequest { namespace: string; pretty?: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface ListBatchV1NamespacedJobRequest { namespace: string; pretty?: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface PatchBatchV1NamespacedCronJobRequest { name: string; namespace: string; body: object; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; force?: boolean; } export interface PatchBatchV1NamespacedCronJobStatusRequest { name: string; namespace: string; body: object; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; force?: boolean; } export interface PatchBatchV1NamespacedJobRequest { name: string; namespace: string; body: object; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; force?: boolean; } export interface PatchBatchV1NamespacedJobStatusRequest { name: string; namespace: string; body: object; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; force?: boolean; } export interface ReadBatchV1NamespacedCronJobRequest { name: string; namespace: string; pretty?: string; } export interface ReadBatchV1NamespacedCronJobStatusRequest { name: string; namespace: string; pretty?: string; } export interface ReadBatchV1NamespacedJobRequest { name: string; namespace: string; pretty?: string; } export interface ReadBatchV1NamespacedJobStatusRequest { name: string; namespace: string; pretty?: string; } export interface ReplaceBatchV1NamespacedCronJobRequest { name: string; namespace: string; body: IoK8sApiBatchV1CronJob; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface ReplaceBatchV1NamespacedCronJobStatusRequest { name: string; namespace: string; body: IoK8sApiBatchV1CronJob; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface ReplaceBatchV1NamespacedJobRequest { name: string; namespace: string; body: IoK8sApiBatchV1Job; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface ReplaceBatchV1NamespacedJobStatusRequest { name: string; namespace: string; body: IoK8sApiBatchV1Job; pretty?: string; dryRun?: string; fieldManager?: string; fieldValidation?: string; } export interface WatchBatchV1CronJobListForAllNamespacesRequest { allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface WatchBatchV1JobListForAllNamespacesRequest { allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface WatchBatchV1NamespacedCronJobRequest { name: string; namespace: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface WatchBatchV1NamespacedCronJobListRequest { namespace: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface WatchBatchV1NamespacedJobRequest { name: string; namespace: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } export interface WatchBatchV1NamespacedJobListRequest { namespace: string; allowWatchBookmarks?: boolean; _continue?: string; fieldSelector?: string; labelSelector?: string; limit?: number; pretty?: string; resourceVersion?: string; resourceVersionMatch?: string; sendInitialEvents?: boolean; timeoutSeconds?: number; watch?: boolean; } /** * */ export declare class BatchV1Api extends runtime.BaseAPI { /** * create a CronJob */ createBatchV1NamespacedCronJobRaw(requestParameters: CreateBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * create a CronJob */ createBatchV1NamespacedCronJob(requestParameters: CreateBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * create a Job */ createBatchV1NamespacedJobRaw(requestParameters: CreateBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * create a Job */ createBatchV1NamespacedJob(requestParameters: CreateBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * delete collection of CronJob */ deleteBatchV1CollectionNamespacedCronJobRaw(requestParameters: DeleteBatchV1CollectionNamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1Status>>; /** * delete collection of CronJob */ deleteBatchV1CollectionNamespacedCronJob(requestParameters: DeleteBatchV1CollectionNamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1Status>; /** * delete collection of Job */ deleteBatchV1CollectionNamespacedJobRaw(requestParameters: DeleteBatchV1CollectionNamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1Status>>; /** * delete collection of Job */ deleteBatchV1CollectionNamespacedJob(requestParameters: DeleteBatchV1CollectionNamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1Status>; /** * delete a CronJob */ deleteBatchV1NamespacedCronJobRaw(requestParameters: DeleteBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1Status>>; /** * delete a CronJob */ deleteBatchV1NamespacedCronJob(requestParameters: DeleteBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1Status>; /** * delete a Job */ deleteBatchV1NamespacedJobRaw(requestParameters: DeleteBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1Status>>; /** * delete a Job */ deleteBatchV1NamespacedJob(requestParameters: DeleteBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1Status>; /** * get available resources */ getBatchV1APIResourcesRaw(initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1APIResourceList>>; /** * get available resources */ getBatchV1APIResources(initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1APIResourceList>; /** * list or watch objects of kind CronJob */ listBatchV1CronJobForAllNamespacesRaw(requestParameters: ListBatchV1CronJobForAllNamespacesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJobList>>; /** * list or watch objects of kind CronJob */ listBatchV1CronJobForAllNamespaces(requestParameters: ListBatchV1CronJobForAllNamespacesRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJobList>; /** * list or watch objects of kind Job */ listBatchV1JobForAllNamespacesRaw(requestParameters: ListBatchV1JobForAllNamespacesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1JobList>>; /** * list or watch objects of kind Job */ listBatchV1JobForAllNamespaces(requestParameters: ListBatchV1JobForAllNamespacesRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1JobList>; /** * list or watch objects of kind CronJob */ listBatchV1NamespacedCronJobRaw(requestParameters: ListBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJobList>>; /** * list or watch objects of kind CronJob */ listBatchV1NamespacedCronJob(requestParameters: ListBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJobList>; /** * list or watch objects of kind Job */ listBatchV1NamespacedJobRaw(requestParameters: ListBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1JobList>>; /** * list or watch objects of kind Job */ listBatchV1NamespacedJob(requestParameters: ListBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1JobList>; /** * partially update the specified CronJob */ patchBatchV1NamespacedCronJobRaw(requestParameters: PatchBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * partially update the specified CronJob */ patchBatchV1NamespacedCronJob(requestParameters: PatchBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * partially update status of the specified CronJob */ patchBatchV1NamespacedCronJobStatusRaw(requestParameters: PatchBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * partially update status of the specified CronJob */ patchBatchV1NamespacedCronJobStatus(requestParameters: PatchBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * partially update the specified Job */ patchBatchV1NamespacedJobRaw(requestParameters: PatchBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * partially update the specified Job */ patchBatchV1NamespacedJob(requestParameters: PatchBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * partially update status of the specified Job */ patchBatchV1NamespacedJobStatusRaw(requestParameters: PatchBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * partially update status of the specified Job */ patchBatchV1NamespacedJobStatus(requestParameters: PatchBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * read the specified CronJob */ readBatchV1NamespacedCronJobRaw(requestParameters: ReadBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * read the specified CronJob */ readBatchV1NamespacedCronJob(requestParameters: ReadBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * read status of the specified CronJob */ readBatchV1NamespacedCronJobStatusRaw(requestParameters: ReadBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * read status of the specified CronJob */ readBatchV1NamespacedCronJobStatus(requestParameters: ReadBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * read the specified Job */ readBatchV1NamespacedJobRaw(requestParameters: ReadBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * read the specified Job */ readBatchV1NamespacedJob(requestParameters: ReadBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * read status of the specified Job */ readBatchV1NamespacedJobStatusRaw(requestParameters: ReadBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * read status of the specified Job */ readBatchV1NamespacedJobStatus(requestParameters: ReadBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * replace the specified CronJob */ replaceBatchV1NamespacedCronJobRaw(requestParameters: ReplaceBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * replace the specified CronJob */ replaceBatchV1NamespacedCronJob(requestParameters: ReplaceBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * replace status of the specified CronJob */ replaceBatchV1NamespacedCronJobStatusRaw(requestParameters: ReplaceBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1CronJob>>; /** * replace status of the specified CronJob */ replaceBatchV1NamespacedCronJobStatus(requestParameters: ReplaceBatchV1NamespacedCronJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1CronJob>; /** * replace the specified Job */ replaceBatchV1NamespacedJobRaw(requestParameters: ReplaceBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * replace the specified Job */ replaceBatchV1NamespacedJob(requestParameters: ReplaceBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * replace status of the specified Job */ replaceBatchV1NamespacedJobStatusRaw(requestParameters: ReplaceBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApiBatchV1Job>>; /** * replace status of the specified Job */ replaceBatchV1NamespacedJobStatus(requestParameters: ReplaceBatchV1NamespacedJobStatusRequest, initOverrides?: RequestInit): Promise<IoK8sApiBatchV1Job>; /** * watch individual changes to a list of CronJob. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1CronJobListForAllNamespacesRaw(requestParameters: WatchBatchV1CronJobListForAllNamespacesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch individual changes to a list of CronJob. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1CronJobListForAllNamespaces(requestParameters: WatchBatchV1CronJobListForAllNamespacesRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; /** * watch individual changes to a list of Job. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1JobListForAllNamespacesRaw(requestParameters: WatchBatchV1JobListForAllNamespacesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch individual changes to a list of Job. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1JobListForAllNamespaces(requestParameters: WatchBatchV1JobListForAllNamespacesRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; /** * watch changes to an object of kind CronJob. deprecated: use the \'watch\' parameter with a list operation instead, filtered to a single item with the \'fieldSelector\' parameter. */ watchBatchV1NamespacedCronJobRaw(requestParameters: WatchBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch changes to an object of kind CronJob. deprecated: use the \'watch\' parameter with a list operation instead, filtered to a single item with the \'fieldSelector\' parameter. */ watchBatchV1NamespacedCronJob(requestParameters: WatchBatchV1NamespacedCronJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; /** * watch individual changes to a list of CronJob. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1NamespacedCronJobListRaw(requestParameters: WatchBatchV1NamespacedCronJobListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch individual changes to a list of CronJob. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1NamespacedCronJobList(requestParameters: WatchBatchV1NamespacedCronJobListRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; /** * watch changes to an object of kind Job. deprecated: use the \'watch\' parameter with a list operation instead, filtered to a single item with the \'fieldSelector\' parameter. */ watchBatchV1NamespacedJobRaw(requestParameters: WatchBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch changes to an object of kind Job. deprecated: use the \'watch\' parameter with a list operation instead, filtered to a single item with the \'fieldSelector\' parameter. */ watchBatchV1NamespacedJob(requestParameters: WatchBatchV1NamespacedJobRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; /** * watch individual changes to a list of Job. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1NamespacedJobListRaw(requestParameters: WatchBatchV1NamespacedJobListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<IoK8sApimachineryPkgApisMetaV1WatchEvent>>; /** * watch individual changes to a list of Job. deprecated: use the \'watch\' parameter with a list operation instead. */ watchBatchV1NamespacedJobList(requestParameters: WatchBatchV1NamespacedJobListRequest, initOverrides?: RequestInit): Promise<IoK8sApimachineryPkgApisMetaV1WatchEvent>; }