Arc Postgres: Fixes for May release (#10877)

This commit is contained in:
Brian Bergeron
2020-06-11 14:55:33 -07:00
committed by GitHub
parent 6b86cbdd6e
commit a099b9e72a
126 changed files with 5815 additions and 138 deletions

View File

@@ -1,3 +1,3 @@
// This is the entrypoint for the package
export * from './api/apis';
export * from './model/models';
export * from './model/models';

View File

@@ -24,6 +24,7 @@ import { DuskyObjectModelsRestoreStatus } from '../model/duskyObjectModelsRestor
import { DuskyObjectModelsRole } from '../model/duskyObjectModelsRole';
import { DuskyObjectModelsUser } from '../model/duskyObjectModelsUser';
import { Authentication, HttpBasicAuth, HttpBearerAuth, Interceptor, ObjectSerializer, VoidAuth } from '../model/models';
import { V1Pod } from '../model/v1Pod';
import { V1Status } from '../model/v1Status';
import { HttpError } from './apis';
@@ -1543,6 +1544,88 @@ export class DatabaseRouterApi {
});
});
}
/**
*
* @summary Returns a list of pods associated with the service.
* @param ns The namespace of the database service.
* @param serviceName The name of the database service.
*/
public async getDuskyPods (ns: string, serviceName: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<V1Pod>; }> {
const localVarPath = this.basePath + '/dusky/databases/{ns}/{serviceName}/pods'
.replace('{' + 'ns' + '}', encodeURIComponent(String(ns)))
.replace('{' + 'serviceName' + '}', encodeURIComponent(String(serviceName)));
let localVarQueryParameters: any = {};
let localVarHeaderParams: any = (<any>Object).assign({}, this._defaultHeaders);
const produces = ['application/json'];
// give precedence to 'application/json'
if (produces.indexOf('application/json') >= 0) {
localVarHeaderParams.Accept = 'application/json';
} else {
localVarHeaderParams.Accept = produces.join(',');
}
let localVarFormParams: any = {};
// verify required parameter 'ns' is not null or undefined
if (ns === null || ns === undefined) {
throw new Error('Required parameter ns was null or undefined when calling getDuskyPods.');
}
// verify required parameter 'serviceName' is not null or undefined
if (serviceName === null || serviceName === undefined) {
throw new Error('Required parameter serviceName was null or undefined when calling getDuskyPods.');
}
(<any>Object).assign(localVarHeaderParams, options.headers);
let localVarUseFormData = false;
let localVarRequestOptions: localVarRequest.Options = {
method: 'GET',
qs: localVarQueryParameters,
headers: localVarHeaderParams,
uri: localVarPath,
useQuerystring: this._useQuerystring,
json: true,
};
let authenticationPromise = Promise.resolve();
if (this.authentications.BasicAuth.username && this.authentications.BasicAuth.password) {
authenticationPromise = authenticationPromise.then(() => this.authentications.BasicAuth.applyToRequest(localVarRequestOptions));
}
if (this.authentications.BearerAuth.accessToken) {
authenticationPromise = authenticationPromise.then(() => this.authentications.BearerAuth.applyToRequest(localVarRequestOptions));
}
authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
let interceptorPromise = authenticationPromise;
for (const interceptor of this.interceptors) {
interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
}
return interceptorPromise.then(() => {
if (Object.keys(localVarFormParams).length) {
if (localVarUseFormData) {
(<any>localVarRequestOptions).formData = localVarFormParams;
} else {
localVarRequestOptions.form = localVarFormParams;
}
}
return new Promise<{ response: http.IncomingMessage; body: Array<V1Pod>; }>((resolve, reject) => {
localVarRequest(localVarRequestOptions, (error, response, body) => {
if (error) {
reject(error);
} else {
body = ObjectSerializer.deserialize(body, "Array<V1Pod>");
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
resolve({ response: response, body: body });
} else {
reject(new HttpError(response, body, response.statusCode));
}
}
});
});
});
}
/**
*
* @summary Gets a user in a Dusky database service.

View File

@@ -16,9 +16,9 @@ export class DuskyObjectModelsBackup {
'error'?: DuskyObjectModelsError;
'id'?: string;
'name'?: string;
'timestamp': Date;
'timestamp'?: Date;
'size'?: number | null;
'state': string;
'state'?: string;
'tiers'?: number | null;
static discriminator: string | undefined = undefined;

View File

@@ -12,7 +12,7 @@
export class DuskyObjectModelsBackupCopySchedule {
'interval': string;
'interval'?: string;
'offset'?: string;
static discriminator: string | undefined = undefined;

View File

@@ -17,7 +17,7 @@ export class DuskyObjectModelsBackupSpec {
'deltaMinutes'?: number | null;
'fullMinutes'?: number | null;
'copySchedule'?: DuskyObjectModelsBackupCopySchedule;
'tiers': Array<DuskyObjectModelsBackupTier>;
'tiers'?: Array<DuskyObjectModelsBackupTier>;
static discriminator: string | undefined = undefined;

View File

@@ -15,7 +15,7 @@ import { DuskyObjectModelsStorageSpec } from './duskyObjectModelsStorageSpec';
export class DuskyObjectModelsBackupTier {
'retention'?: DuskyObjectModelsRetentionSpec;
'storage': DuskyObjectModelsStorageSpec;
'storage'?: DuskyObjectModelsStorageSpec;
static discriminator: string | undefined = undefined;

View File

@@ -12,9 +12,9 @@
export class DuskyObjectModelsDatabase {
'name': string;
'name'?: string;
'owner'?: string;
'sharded'?: boolean;
'sharded'?: boolean | null;
static discriminator: string | undefined = undefined;

View File

@@ -13,33 +13,33 @@
import { DuskyObjectModelsDatabaseServiceArcPayload } from './duskyObjectModelsDatabaseServiceArcPayload';
import { DuskyObjectModelsDatabaseServiceSpec } from './duskyObjectModelsDatabaseServiceSpec';
import { DuskyObjectModelsDatabaseServiceStatus } from './duskyObjectModelsDatabaseServiceStatus';
import { DuskyObjectModelsObjectMeta } from './duskyObjectModelsObjectMeta';
import { V1ObjectMeta } from './v1ObjectMeta';
export class DuskyObjectModelsDatabaseService {
'kind'?: string;
'apiVersion'?: string;
'metadata'?: DuskyObjectModelsObjectMeta;
'spec': DuskyObjectModelsDatabaseServiceSpec;
'kind'?: string;
'metadata'?: V1ObjectMeta;
'spec'?: DuskyObjectModelsDatabaseServiceSpec;
'status'?: DuskyObjectModelsDatabaseServiceStatus;
'arc'?: DuskyObjectModelsDatabaseServiceArcPayload;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "DuskyObjectModelsObjectMeta"
"type": "V1ObjectMeta"
},
{
"name": "spec",

View File

@@ -12,8 +12,8 @@
export class DuskyObjectModelsDatabaseServiceCondition {
'type': string;
'status': DuskyObjectModelsDatabaseServiceCondition.StatusEnum;
'type'?: string;
'status'?: string;
'lastTransitionTime'?: Date | null;
'reason'?: string;
'message'?: string;
@@ -29,7 +29,7 @@ export class DuskyObjectModelsDatabaseServiceCondition {
{
"name": "status",
"baseName": "status",
"type": "DuskyObjectModelsDatabaseServiceCondition.StatusEnum"
"type": "string"
},
{
"name": "lastTransitionTime",
@@ -52,10 +52,3 @@ export class DuskyObjectModelsDatabaseServiceCondition {
}
}
export namespace DuskyObjectModelsDatabaseServiceCondition {
export enum StatusEnum {
Unknown = <any> 'Unknown',
False = <any> 'False',
True = <any> 'True'
}
}

View File

@@ -11,30 +11,31 @@
*/
import { DuskyObjectModelsDatabaseService } from './duskyObjectModelsDatabaseService';
import { V1ListMeta } from './v1ListMeta';
export class DuskyObjectModelsDatabaseServiceList {
'kind'?: string;
'apiVersion'?: string;
'metadata'?: object;
'items': Array<DuskyObjectModelsDatabaseService>;
'kind'?: string;
'metadata'?: V1ListMeta;
'items'?: Array<DuskyObjectModelsDatabaseService>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "object"
"type": "V1ListMeta"
},
{
"name": "items",

View File

@@ -16,18 +16,20 @@ import { DuskyObjectModelsEngineSpec } from './duskyObjectModelsEngineSpec';
import { DuskyObjectModelsMonitoringSpec } from './duskyObjectModelsMonitoringSpec';
import { DuskyObjectModelsScaleSpec } from './duskyObjectModelsScaleSpec';
import { DuskyObjectModelsSchedulingSpec } from './duskyObjectModelsSchedulingSpec';
import { DuskyObjectModelsSecuritySpec } from './duskyObjectModelsSecuritySpec';
import { DuskyObjectModelsServiceSpec } from './duskyObjectModelsServiceSpec';
import { DuskyObjectModelsStorageSpec } from './duskyObjectModelsStorageSpec';
export class DuskyObjectModelsDatabaseServiceSpec {
'backups'?: DuskyObjectModelsBackupSpec;
'docker'?: DuskyObjectModelsDockerSpec;
'engine': DuskyObjectModelsEngineSpec;
'engine'?: DuskyObjectModelsEngineSpec;
'monitoring'?: DuskyObjectModelsMonitoringSpec;
'scale'?: DuskyObjectModelsScaleSpec;
'scheduling'?: DuskyObjectModelsSchedulingSpec;
'security'?: DuskyObjectModelsSecuritySpec;
'service'?: DuskyObjectModelsServiceSpec;
'storage': DuskyObjectModelsStorageSpec;
'storage'?: DuskyObjectModelsStorageSpec;
static discriminator: string | undefined = undefined;
@@ -62,6 +64,11 @@ export class DuskyObjectModelsDatabaseServiceSpec {
"baseName": "scheduling",
"type": "DuskyObjectModelsSchedulingSpec"
},
{
"name": "security",
"baseName": "security",
"type": "DuskyObjectModelsSecuritySpec"
},
{
"name": "service",
"baseName": "service",

View File

@@ -13,21 +13,18 @@
import { DuskyObjectModelsDatabaseServiceCondition } from './duskyObjectModelsDatabaseServiceCondition';
export class DuskyObjectModelsDatabaseServiceStatus {
'state': string;
'state'?: string;
'appliedGeneration'?: number | null;
'conditions'?: Array<DuskyObjectModelsDatabaseServiceCondition>;
'internalIP'?: string;
'internalPort'?: number | null;
'externalIP'?: string;
'externalPort'?: number | null;
'podsFailed': number;
'podsPending': number;
'podsRunning': number;
'podsUnknown': number;
'restartRequired': boolean;
'execFailCount'?: number | null;
'settingsUpdatePending'?: boolean;
'shardsProvisioned'?: number | null;
'podsFailed'?: number;
'podsPending'?: number;
'podsRunning'?: number;
'podsUnknown'?: number;
'restartRequired'?: boolean;
static discriminator: string | undefined = undefined;
@@ -91,21 +88,6 @@ export class DuskyObjectModelsDatabaseServiceStatus {
"name": "restartRequired",
"baseName": "restartRequired",
"type": "boolean"
},
{
"name": "execFailCount",
"baseName": "execFailCount",
"type": "number"
},
{
"name": "settingsUpdatePending",
"baseName": "settingsUpdatePending",
"type": "boolean"
},
{
"name": "shardsProvisioned",
"baseName": "shardsProvisioned",
"type": "number"
} ];
static getAttributeTypeMap() {

View File

@@ -14,7 +14,7 @@
export class DuskyObjectModelsDockerSpec {
'registry'?: string;
'repository'?: string;
'imagePullPolicy'?: string;
'imagePullPolicy'?: DuskyObjectModelsDockerSpec.ImagePullPolicyEnum;
'imagePullSecret'?: string;
'imageTagSuffix'?: string;
@@ -34,7 +34,7 @@ export class DuskyObjectModelsDockerSpec {
{
"name": "imagePullPolicy",
"baseName": "imagePullPolicy",
"type": "string"
"type": "DuskyObjectModelsDockerSpec.ImagePullPolicyEnum"
},
{
"name": "imagePullSecret",
@@ -52,3 +52,10 @@ export class DuskyObjectModelsDockerSpec {
}
}
export namespace DuskyObjectModelsDockerSpec {
export enum ImagePullPolicyEnum {
IfNotPresent = <any> 'IfNotPresent',
Always = <any> 'Always',
Never = <any> 'Never'
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class DuskyObjectModelsEngineSettings {
'_default'?: { [key: string]: string; };
'roles'?: { [key: string]: { [key: string]: string; }; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "_default",
"baseName": "default",
"type": "{ [key: string]: string; }"
},
{
"name": "roles",
"baseName": "roles",
"type": "{ [key: string]: { [key: string]: string; }; }"
} ];
static getAttributeTypeMap() {
return DuskyObjectModelsEngineSettings.attributeTypeMap;
}
}

View File

@@ -10,12 +10,13 @@
* Do not edit the class manually.
*/
import { DuskyObjectModelsEngineSettings } from './duskyObjectModelsEngineSettings';
import { DuskyObjectModelsPluginSpec } from './duskyObjectModelsPluginSpec';
export class DuskyObjectModelsEngineSpec {
'type': string;
'type'?: string;
'version'?: number | null;
'settings'?: { [key: string]: string; };
'settings'?: DuskyObjectModelsEngineSettings;
'plugins'?: Array<DuskyObjectModelsPluginSpec>;
static discriminator: string | undefined = undefined;
@@ -34,7 +35,7 @@ export class DuskyObjectModelsEngineSpec {
{
"name": "settings",
"baseName": "settings",
"type": "{ [key: string]: string; }"
"type": "DuskyObjectModelsEngineSettings"
},
{
"name": "plugins",

View File

@@ -12,7 +12,7 @@
export class DuskyObjectModelsPluginSpec {
'name': string;
'name'?: string;
static discriminator: string | undefined = undefined;

View File

@@ -19,7 +19,7 @@ export class DuskyObjectModelsRestoreStatus {
'fromServer'?: string;
'restoreTime'?: Date;
'startTime'?: Date;
'state': string;
'state'?: string;
static discriminator: string | undefined = undefined;

View File

@@ -12,7 +12,7 @@
export class DuskyObjectModelsRole {
'name': string;
'name'?: string;
static discriminator: string | undefined = undefined;

View File

@@ -0,0 +1,44 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1Affinity } from './v1Affinity';
import { V1ResourceRequirements } from './v1ResourceRequirements';
export class DuskyObjectModelsSchedulingOptions {
'affinity'?: V1Affinity;
'nodeSelector'?: { [key: string]: string; };
'resources'?: V1ResourceRequirements;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "affinity",
"baseName": "affinity",
"type": "V1Affinity"
},
{
"name": "nodeSelector",
"baseName": "nodeSelector",
"type": "{ [key: string]: string; }"
},
{
"name": "resources",
"baseName": "resources",
"type": "V1ResourceRequirements"
} ];
static getAttributeTypeMap() {
return DuskyObjectModelsSchedulingOptions.attributeTypeMap;
}
}

View File

@@ -10,24 +10,30 @@
* Do not edit the class manually.
*/
import { DuskyObjectModelsResourceRequirements } from './duskyObjectModelsResourceRequirements';
import { DuskyObjectModelsSchedulingOptions } from './duskyObjectModelsSchedulingOptions';
export class DuskyObjectModelsSchedulingSpec {
'nodeSelector'?: { [key: string]: string; };
'resources'?: DuskyObjectModelsResourceRequirements;
'_default'?: DuskyObjectModelsSchedulingOptions;
'roles'?: { [key: string]: DuskyObjectModelsSchedulingOptions; };
'availabilityZones'?: { [key: string]: DuskyObjectModelsSchedulingOptions; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "nodeSelector",
"baseName": "nodeSelector",
"type": "{ [key: string]: string; }"
"name": "_default",
"baseName": "default",
"type": "DuskyObjectModelsSchedulingOptions"
},
{
"name": "resources",
"baseName": "resources",
"type": "DuskyObjectModelsResourceRequirements"
"name": "roles",
"baseName": "roles",
"type": "{ [key: string]: DuskyObjectModelsSchedulingOptions; }"
},
{
"name": "availabilityZones",
"baseName": "availability-zones",
"type": "{ [key: string]: DuskyObjectModelsSchedulingOptions; }"
} ];
static getAttributeTypeMap() {

View File

@@ -0,0 +1,31 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1PodSecurityContext } from './v1PodSecurityContext';
export class DuskyObjectModelsSecuritySpec {
'context'?: V1PodSecurityContext;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "context",
"baseName": "context",
"type": "V1PodSecurityContext"
} ];
static getAttributeTypeMap() {
return DuskyObjectModelsSecuritySpec.attributeTypeMap;
}
}

View File

@@ -12,7 +12,7 @@
export class DuskyObjectModelsTINASpec {
'namespace': string;
'namespace'?: string;
static discriminator: string | undefined = undefined;

View File

@@ -12,9 +12,9 @@
export class DuskyObjectModelsUser {
'name': string;
'name'?: string;
'password'?: string;
'roles': Array<string>;
'roles'?: Array<string>;
static discriminator: string | undefined = undefined;

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class IntstrIntOrString {
'value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "value",
"baseName": "value",
"type": "string"
} ];
static getAttributeTypeMap() {
return IntstrIntOrString.attributeTypeMap;
}
}

View File

@@ -15,29 +15,127 @@ export * from './duskyObjectModelsDatabaseServiceVolumeStatus';
export * from './duskyObjectModelsDockerSpec';
export * from './duskyObjectModelsDuskyValidationMessage';
export * from './duskyObjectModelsDuskyValidationResult';
export * from './duskyObjectModelsEngineSettings';
export * from './duskyObjectModelsEngineSpec';
export * from './duskyObjectModelsError';
export * from './duskyObjectModelsErrorDetails';
export * from './duskyObjectModelsMonitoringSpec';
export * from './duskyObjectModelsObjectMeta';
export * from './duskyObjectModelsOperatorStatus';
export * from './duskyObjectModelsPluginSpec';
export * from './duskyObjectModelsReplicaStatus';
export * from './duskyObjectModelsResourceRequirements';
export * from './duskyObjectModelsRestoreStatus';
export * from './duskyObjectModelsRetentionSpec';
export * from './duskyObjectModelsRole';
export * from './duskyObjectModelsScaleSpec';
export * from './duskyObjectModelsSchedulingOptions';
export * from './duskyObjectModelsSchedulingSpec';
export * from './duskyObjectModelsSecuritySpec';
export * from './duskyObjectModelsServiceSpec';
export * from './duskyObjectModelsStorageSpec';
export * from './duskyObjectModelsTINASpec';
export * from './duskyObjectModelsUser';
export * from './intstrIntOrString';
export * from './logsRequest';
export * from './v1Affinity';
export * from './v1AWSElasticBlockStoreVolumeSource';
export * from './v1AzureDiskVolumeSource';
export * from './v1AzureFileVolumeSource';
export * from './v1Capabilities';
export * from './v1CephFSVolumeSource';
export * from './v1CinderVolumeSource';
export * from './v1ConfigMapEnvSource';
export * from './v1ConfigMapKeySelector';
export * from './v1ConfigMapProjection';
export * from './v1ConfigMapVolumeSource';
export * from './v1Container';
export * from './v1ContainerPort';
export * from './v1ContainerState';
export * from './v1ContainerStateRunning';
export * from './v1ContainerStateTerminated';
export * from './v1ContainerStateWaiting';
export * from './v1ContainerStatus';
export * from './v1CSIVolumeSource';
export * from './v1DownwardAPIProjection';
export * from './v1DownwardAPIVolumeFile';
export * from './v1DownwardAPIVolumeSource';
export * from './v1EmptyDirVolumeSource';
export * from './v1EnvFromSource';
export * from './v1EnvVar';
export * from './v1EnvVarSource';
export * from './v1EphemeralContainer';
export * from './v1ExecAction';
export * from './v1FCVolumeSource';
export * from './v1FlexVolumeSource';
export * from './v1FlockerVolumeSource';
export * from './v1GCEPersistentDiskVolumeSource';
export * from './v1GitRepoVolumeSource';
export * from './v1GlusterfsVolumeSource';
export * from './v1Handler';
export * from './v1HostAlias';
export * from './v1HostPathVolumeSource';
export * from './v1HTTPGetAction';
export * from './v1HTTPHeader';
export * from './v1ISCSIVolumeSource';
export * from './v1KeyToPath';
export * from './v1LabelSelector';
export * from './v1LabelSelectorRequirement';
export * from './v1Lifecycle';
export * from './v1ListMeta';
export * from './v1LocalObjectReference';
export * from './v1ManagedFieldsEntry';
export * from './v1NFSVolumeSource';
export * from './v1NodeAffinity';
export * from './v1NodeSelector';
export * from './v1NodeSelectorRequirement';
export * from './v1NodeSelectorTerm';
export * from './v1ObjectFieldSelector';
export * from './v1ObjectMeta';
export * from './v1OwnerReference';
export * from './v1PersistentVolumeClaimVolumeSource';
export * from './v1PhotonPersistentDiskVolumeSource';
export * from './v1Pod';
export * from './v1PodAffinity';
export * from './v1PodAffinityTerm';
export * from './v1PodAntiAffinity';
export * from './v1PodCondition';
export * from './v1PodDNSConfig';
export * from './v1PodDNSConfigOption';
export * from './v1PodIP';
export * from './v1PodReadinessGate';
export * from './v1PodSecurityContext';
export * from './v1PodSpec';
export * from './v1PodStatus';
export * from './v1PortworxVolumeSource';
export * from './v1PreferredSchedulingTerm';
export * from './v1Probe';
export * from './v1ProjectedVolumeSource';
export * from './v1QuobyteVolumeSource';
export * from './v1RBDVolumeSource';
export * from './v1ResourceFieldSelector';
export * from './v1ResourceRequirements';
export * from './v1ScaleIOVolumeSource';
export * from './v1SecretEnvSource';
export * from './v1SecretKeySelector';
export * from './v1SecretProjection';
export * from './v1SecretVolumeSource';
export * from './v1SecurityContext';
export * from './v1SELinuxOptions';
export * from './v1ServiceAccountTokenProjection';
export * from './v1Status';
export * from './v1StatusCause';
export * from './v1StatusDetails';
export * from './v1StorageOSVolumeSource';
export * from './v1Sysctl';
export * from './v1TCPSocketAction';
export * from './v1Toleration';
export * from './v1TopologySpreadConstraint';
export * from './v1Volume';
export * from './v1VolumeDevice';
export * from './v1VolumeMount';
export * from './v1VolumeProjection';
export * from './v1VsphereVirtualDiskVolumeSource';
export * from './v1WeightedPodAffinityTerm';
export * from './v1WindowsSecurityContextOptions';
import localVarRequest = require('request');
@@ -58,29 +156,127 @@ import { DuskyObjectModelsDatabaseServiceVolumeStatus } from './duskyObjectModel
import { DuskyObjectModelsDockerSpec } from './duskyObjectModelsDockerSpec';
import { DuskyObjectModelsDuskyValidationMessage } from './duskyObjectModelsDuskyValidationMessage';
import { DuskyObjectModelsDuskyValidationResult } from './duskyObjectModelsDuskyValidationResult';
import { DuskyObjectModelsEngineSettings } from './duskyObjectModelsEngineSettings';
import { DuskyObjectModelsEngineSpec } from './duskyObjectModelsEngineSpec';
import { DuskyObjectModelsError } from './duskyObjectModelsError';
import { DuskyObjectModelsErrorDetails } from './duskyObjectModelsErrorDetails';
import { DuskyObjectModelsMonitoringSpec } from './duskyObjectModelsMonitoringSpec';
import { DuskyObjectModelsObjectMeta } from './duskyObjectModelsObjectMeta';
import { DuskyObjectModelsOperatorStatus } from './duskyObjectModelsOperatorStatus';
import { DuskyObjectModelsPluginSpec } from './duskyObjectModelsPluginSpec';
import { DuskyObjectModelsReplicaStatus } from './duskyObjectModelsReplicaStatus';
import { DuskyObjectModelsResourceRequirements } from './duskyObjectModelsResourceRequirements';
import { DuskyObjectModelsRestoreStatus } from './duskyObjectModelsRestoreStatus';
import { DuskyObjectModelsRetentionSpec } from './duskyObjectModelsRetentionSpec';
import { DuskyObjectModelsRole } from './duskyObjectModelsRole';
import { DuskyObjectModelsScaleSpec } from './duskyObjectModelsScaleSpec';
import { DuskyObjectModelsSchedulingOptions } from './duskyObjectModelsSchedulingOptions';
import { DuskyObjectModelsSchedulingSpec } from './duskyObjectModelsSchedulingSpec';
import { DuskyObjectModelsSecuritySpec } from './duskyObjectModelsSecuritySpec';
import { DuskyObjectModelsServiceSpec } from './duskyObjectModelsServiceSpec';
import { DuskyObjectModelsStorageSpec } from './duskyObjectModelsStorageSpec';
import { DuskyObjectModelsTINASpec } from './duskyObjectModelsTINASpec';
import { DuskyObjectModelsUser } from './duskyObjectModelsUser';
import { IntstrIntOrString } from './intstrIntOrString';
import { LogsRequest } from './logsRequest';
import { V1Affinity } from './v1Affinity';
import { V1AWSElasticBlockStoreVolumeSource } from './v1AWSElasticBlockStoreVolumeSource';
import { V1AzureDiskVolumeSource } from './v1AzureDiskVolumeSource';
import { V1AzureFileVolumeSource } from './v1AzureFileVolumeSource';
import { V1Capabilities } from './v1Capabilities';
import { V1CephFSVolumeSource } from './v1CephFSVolumeSource';
import { V1CinderVolumeSource } from './v1CinderVolumeSource';
import { V1ConfigMapEnvSource } from './v1ConfigMapEnvSource';
import { V1ConfigMapKeySelector } from './v1ConfigMapKeySelector';
import { V1ConfigMapProjection } from './v1ConfigMapProjection';
import { V1ConfigMapVolumeSource } from './v1ConfigMapVolumeSource';
import { V1Container } from './v1Container';
import { V1ContainerPort } from './v1ContainerPort';
import { V1ContainerState } from './v1ContainerState';
import { V1ContainerStateRunning } from './v1ContainerStateRunning';
import { V1ContainerStateTerminated } from './v1ContainerStateTerminated';
import { V1ContainerStateWaiting } from './v1ContainerStateWaiting';
import { V1ContainerStatus } from './v1ContainerStatus';
import { V1CSIVolumeSource } from './v1CSIVolumeSource';
import { V1DownwardAPIProjection } from './v1DownwardAPIProjection';
import { V1DownwardAPIVolumeFile } from './v1DownwardAPIVolumeFile';
import { V1DownwardAPIVolumeSource } from './v1DownwardAPIVolumeSource';
import { V1EmptyDirVolumeSource } from './v1EmptyDirVolumeSource';
import { V1EnvFromSource } from './v1EnvFromSource';
import { V1EnvVar } from './v1EnvVar';
import { V1EnvVarSource } from './v1EnvVarSource';
import { V1EphemeralContainer } from './v1EphemeralContainer';
import { V1ExecAction } from './v1ExecAction';
import { V1FCVolumeSource } from './v1FCVolumeSource';
import { V1FlexVolumeSource } from './v1FlexVolumeSource';
import { V1FlockerVolumeSource } from './v1FlockerVolumeSource';
import { V1GCEPersistentDiskVolumeSource } from './v1GCEPersistentDiskVolumeSource';
import { V1GitRepoVolumeSource } from './v1GitRepoVolumeSource';
import { V1GlusterfsVolumeSource } from './v1GlusterfsVolumeSource';
import { V1Handler } from './v1Handler';
import { V1HostAlias } from './v1HostAlias';
import { V1HostPathVolumeSource } from './v1HostPathVolumeSource';
import { V1HTTPGetAction } from './v1HTTPGetAction';
import { V1HTTPHeader } from './v1HTTPHeader';
import { V1ISCSIVolumeSource } from './v1ISCSIVolumeSource';
import { V1KeyToPath } from './v1KeyToPath';
import { V1LabelSelector } from './v1LabelSelector';
import { V1LabelSelectorRequirement } from './v1LabelSelectorRequirement';
import { V1Lifecycle } from './v1Lifecycle';
import { V1ListMeta } from './v1ListMeta';
import { V1LocalObjectReference } from './v1LocalObjectReference';
import { V1ManagedFieldsEntry } from './v1ManagedFieldsEntry';
import { V1NFSVolumeSource } from './v1NFSVolumeSource';
import { V1NodeAffinity } from './v1NodeAffinity';
import { V1NodeSelector } from './v1NodeSelector';
import { V1NodeSelectorRequirement } from './v1NodeSelectorRequirement';
import { V1NodeSelectorTerm } from './v1NodeSelectorTerm';
import { V1ObjectFieldSelector } from './v1ObjectFieldSelector';
import { V1ObjectMeta } from './v1ObjectMeta';
import { V1OwnerReference } from './v1OwnerReference';
import { V1PersistentVolumeClaimVolumeSource } from './v1PersistentVolumeClaimVolumeSource';
import { V1PhotonPersistentDiskVolumeSource } from './v1PhotonPersistentDiskVolumeSource';
import { V1Pod } from './v1Pod';
import { V1PodAffinity } from './v1PodAffinity';
import { V1PodAffinityTerm } from './v1PodAffinityTerm';
import { V1PodAntiAffinity } from './v1PodAntiAffinity';
import { V1PodCondition } from './v1PodCondition';
import { V1PodDNSConfig } from './v1PodDNSConfig';
import { V1PodDNSConfigOption } from './v1PodDNSConfigOption';
import { V1PodIP } from './v1PodIP';
import { V1PodReadinessGate } from './v1PodReadinessGate';
import { V1PodSecurityContext } from './v1PodSecurityContext';
import { V1PodSpec } from './v1PodSpec';
import { V1PodStatus } from './v1PodStatus';
import { V1PortworxVolumeSource } from './v1PortworxVolumeSource';
import { V1PreferredSchedulingTerm } from './v1PreferredSchedulingTerm';
import { V1Probe } from './v1Probe';
import { V1ProjectedVolumeSource } from './v1ProjectedVolumeSource';
import { V1QuobyteVolumeSource } from './v1QuobyteVolumeSource';
import { V1RBDVolumeSource } from './v1RBDVolumeSource';
import { V1ResourceFieldSelector } from './v1ResourceFieldSelector';
import { V1ResourceRequirements } from './v1ResourceRequirements';
import { V1ScaleIOVolumeSource } from './v1ScaleIOVolumeSource';
import { V1SecretEnvSource } from './v1SecretEnvSource';
import { V1SecretKeySelector } from './v1SecretKeySelector';
import { V1SecretProjection } from './v1SecretProjection';
import { V1SecretVolumeSource } from './v1SecretVolumeSource';
import { V1SecurityContext } from './v1SecurityContext';
import { V1SELinuxOptions } from './v1SELinuxOptions';
import { V1ServiceAccountTokenProjection } from './v1ServiceAccountTokenProjection';
import { V1Status } from './v1Status';
import { V1StatusCause } from './v1StatusCause';
import { V1StatusDetails } from './v1StatusDetails';
import { V1StorageOSVolumeSource } from './v1StorageOSVolumeSource';
import { V1Sysctl } from './v1Sysctl';
import { V1TCPSocketAction } from './v1TCPSocketAction';
import { V1Toleration } from './v1Toleration';
import { V1TopologySpreadConstraint } from './v1TopologySpreadConstraint';
import { V1Volume } from './v1Volume';
import { V1VolumeDevice } from './v1VolumeDevice';
import { V1VolumeMount } from './v1VolumeMount';
import { V1VolumeProjection } from './v1VolumeProjection';
import { V1VsphereVirtualDiskVolumeSource } from './v1VsphereVirtualDiskVolumeSource';
import { V1WeightedPodAffinityTerm } from './v1WeightedPodAffinityTerm';
import { V1WindowsSecurityContextOptions } from './v1WindowsSecurityContextOptions';
/* tslint:disable:no-unused-variable */
let primitives = [
@@ -95,7 +291,7 @@ let primitives = [
];
let enumsMap: {[index: string]: any} = {
"DuskyObjectModelsDatabaseServiceCondition.StatusEnum": DuskyObjectModelsDatabaseServiceCondition.StatusEnum,
"DuskyObjectModelsDockerSpec.ImagePullPolicyEnum": DuskyObjectModelsDockerSpec.ImagePullPolicyEnum,
"DuskyObjectModelsDuskyValidationMessage.TypeEnum": DuskyObjectModelsDuskyValidationMessage.TypeEnum,
"DuskyObjectModelsDuskyValidationMessage.CodeEnum": DuskyObjectModelsDuskyValidationMessage.CodeEnum,
}
@@ -118,29 +314,127 @@ let typeMap: {[index: string]: any} = {
"DuskyObjectModelsDockerSpec": DuskyObjectModelsDockerSpec,
"DuskyObjectModelsDuskyValidationMessage": DuskyObjectModelsDuskyValidationMessage,
"DuskyObjectModelsDuskyValidationResult": DuskyObjectModelsDuskyValidationResult,
"DuskyObjectModelsEngineSettings": DuskyObjectModelsEngineSettings,
"DuskyObjectModelsEngineSpec": DuskyObjectModelsEngineSpec,
"DuskyObjectModelsError": DuskyObjectModelsError,
"DuskyObjectModelsErrorDetails": DuskyObjectModelsErrorDetails,
"DuskyObjectModelsMonitoringSpec": DuskyObjectModelsMonitoringSpec,
"DuskyObjectModelsObjectMeta": DuskyObjectModelsObjectMeta,
"DuskyObjectModelsOperatorStatus": DuskyObjectModelsOperatorStatus,
"DuskyObjectModelsPluginSpec": DuskyObjectModelsPluginSpec,
"DuskyObjectModelsReplicaStatus": DuskyObjectModelsReplicaStatus,
"DuskyObjectModelsResourceRequirements": DuskyObjectModelsResourceRequirements,
"DuskyObjectModelsRestoreStatus": DuskyObjectModelsRestoreStatus,
"DuskyObjectModelsRetentionSpec": DuskyObjectModelsRetentionSpec,
"DuskyObjectModelsRole": DuskyObjectModelsRole,
"DuskyObjectModelsScaleSpec": DuskyObjectModelsScaleSpec,
"DuskyObjectModelsSchedulingOptions": DuskyObjectModelsSchedulingOptions,
"DuskyObjectModelsSchedulingSpec": DuskyObjectModelsSchedulingSpec,
"DuskyObjectModelsSecuritySpec": DuskyObjectModelsSecuritySpec,
"DuskyObjectModelsServiceSpec": DuskyObjectModelsServiceSpec,
"DuskyObjectModelsStorageSpec": DuskyObjectModelsStorageSpec,
"DuskyObjectModelsTINASpec": DuskyObjectModelsTINASpec,
"DuskyObjectModelsUser": DuskyObjectModelsUser,
"IntstrIntOrString": IntstrIntOrString,
"LogsRequest": LogsRequest,
"V1AWSElasticBlockStoreVolumeSource": V1AWSElasticBlockStoreVolumeSource,
"V1Affinity": V1Affinity,
"V1AzureDiskVolumeSource": V1AzureDiskVolumeSource,
"V1AzureFileVolumeSource": V1AzureFileVolumeSource,
"V1CSIVolumeSource": V1CSIVolumeSource,
"V1Capabilities": V1Capabilities,
"V1CephFSVolumeSource": V1CephFSVolumeSource,
"V1CinderVolumeSource": V1CinderVolumeSource,
"V1ConfigMapEnvSource": V1ConfigMapEnvSource,
"V1ConfigMapKeySelector": V1ConfigMapKeySelector,
"V1ConfigMapProjection": V1ConfigMapProjection,
"V1ConfigMapVolumeSource": V1ConfigMapVolumeSource,
"V1Container": V1Container,
"V1ContainerPort": V1ContainerPort,
"V1ContainerState": V1ContainerState,
"V1ContainerStateRunning": V1ContainerStateRunning,
"V1ContainerStateTerminated": V1ContainerStateTerminated,
"V1ContainerStateWaiting": V1ContainerStateWaiting,
"V1ContainerStatus": V1ContainerStatus,
"V1DownwardAPIProjection": V1DownwardAPIProjection,
"V1DownwardAPIVolumeFile": V1DownwardAPIVolumeFile,
"V1DownwardAPIVolumeSource": V1DownwardAPIVolumeSource,
"V1EmptyDirVolumeSource": V1EmptyDirVolumeSource,
"V1EnvFromSource": V1EnvFromSource,
"V1EnvVar": V1EnvVar,
"V1EnvVarSource": V1EnvVarSource,
"V1EphemeralContainer": V1EphemeralContainer,
"V1ExecAction": V1ExecAction,
"V1FCVolumeSource": V1FCVolumeSource,
"V1FlexVolumeSource": V1FlexVolumeSource,
"V1FlockerVolumeSource": V1FlockerVolumeSource,
"V1GCEPersistentDiskVolumeSource": V1GCEPersistentDiskVolumeSource,
"V1GitRepoVolumeSource": V1GitRepoVolumeSource,
"V1GlusterfsVolumeSource": V1GlusterfsVolumeSource,
"V1HTTPGetAction": V1HTTPGetAction,
"V1HTTPHeader": V1HTTPHeader,
"V1Handler": V1Handler,
"V1HostAlias": V1HostAlias,
"V1HostPathVolumeSource": V1HostPathVolumeSource,
"V1ISCSIVolumeSource": V1ISCSIVolumeSource,
"V1KeyToPath": V1KeyToPath,
"V1LabelSelector": V1LabelSelector,
"V1LabelSelectorRequirement": V1LabelSelectorRequirement,
"V1Lifecycle": V1Lifecycle,
"V1ListMeta": V1ListMeta,
"V1LocalObjectReference": V1LocalObjectReference,
"V1ManagedFieldsEntry": V1ManagedFieldsEntry,
"V1NFSVolumeSource": V1NFSVolumeSource,
"V1NodeAffinity": V1NodeAffinity,
"V1NodeSelector": V1NodeSelector,
"V1NodeSelectorRequirement": V1NodeSelectorRequirement,
"V1NodeSelectorTerm": V1NodeSelectorTerm,
"V1ObjectFieldSelector": V1ObjectFieldSelector,
"V1ObjectMeta": V1ObjectMeta,
"V1OwnerReference": V1OwnerReference,
"V1PersistentVolumeClaimVolumeSource": V1PersistentVolumeClaimVolumeSource,
"V1PhotonPersistentDiskVolumeSource": V1PhotonPersistentDiskVolumeSource,
"V1Pod": V1Pod,
"V1PodAffinity": V1PodAffinity,
"V1PodAffinityTerm": V1PodAffinityTerm,
"V1PodAntiAffinity": V1PodAntiAffinity,
"V1PodCondition": V1PodCondition,
"V1PodDNSConfig": V1PodDNSConfig,
"V1PodDNSConfigOption": V1PodDNSConfigOption,
"V1PodIP": V1PodIP,
"V1PodReadinessGate": V1PodReadinessGate,
"V1PodSecurityContext": V1PodSecurityContext,
"V1PodSpec": V1PodSpec,
"V1PodStatus": V1PodStatus,
"V1PortworxVolumeSource": V1PortworxVolumeSource,
"V1PreferredSchedulingTerm": V1PreferredSchedulingTerm,
"V1Probe": V1Probe,
"V1ProjectedVolumeSource": V1ProjectedVolumeSource,
"V1QuobyteVolumeSource": V1QuobyteVolumeSource,
"V1RBDVolumeSource": V1RBDVolumeSource,
"V1ResourceFieldSelector": V1ResourceFieldSelector,
"V1ResourceRequirements": V1ResourceRequirements,
"V1SELinuxOptions": V1SELinuxOptions,
"V1ScaleIOVolumeSource": V1ScaleIOVolumeSource,
"V1SecretEnvSource": V1SecretEnvSource,
"V1SecretKeySelector": V1SecretKeySelector,
"V1SecretProjection": V1SecretProjection,
"V1SecretVolumeSource": V1SecretVolumeSource,
"V1SecurityContext": V1SecurityContext,
"V1ServiceAccountTokenProjection": V1ServiceAccountTokenProjection,
"V1Status": V1Status,
"V1StatusCause": V1StatusCause,
"V1StatusDetails": V1StatusDetails,
"V1StorageOSVolumeSource": V1StorageOSVolumeSource,
"V1Sysctl": V1Sysctl,
"V1TCPSocketAction": V1TCPSocketAction,
"V1Toleration": V1Toleration,
"V1TopologySpreadConstraint": V1TopologySpreadConstraint,
"V1Volume": V1Volume,
"V1VolumeDevice": V1VolumeDevice,
"V1VolumeMount": V1VolumeMount,
"V1VolumeProjection": V1VolumeProjection,
"V1VsphereVirtualDiskVolumeSource": V1VsphereVirtualDiskVolumeSource,
"V1WeightedPodAffinityTerm": V1WeightedPodAffinityTerm,
"V1WindowsSecurityContextOptions": V1WindowsSecurityContextOptions,
}
export class ObjectSerializer {

View File

@@ -0,0 +1,48 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1AWSElasticBlockStoreVolumeSource {
'fsType'?: string;
'partition'?: number | null;
'readOnly'?: boolean | null;
'volumeID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "partition",
"baseName": "partition",
"type": "number"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "volumeID",
"baseName": "volumeID",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1AWSElasticBlockStoreVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,45 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1NodeAffinity } from './v1NodeAffinity';
import { V1PodAffinity } from './v1PodAffinity';
import { V1PodAntiAffinity } from './v1PodAntiAffinity';
export class V1Affinity {
'nodeAffinity'?: V1NodeAffinity;
'podAffinity'?: V1PodAffinity;
'podAntiAffinity'?: V1PodAntiAffinity;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "nodeAffinity",
"baseName": "nodeAffinity",
"type": "V1NodeAffinity"
},
{
"name": "podAffinity",
"baseName": "podAffinity",
"type": "V1PodAffinity"
},
{
"name": "podAntiAffinity",
"baseName": "podAntiAffinity",
"type": "V1PodAntiAffinity"
} ];
static getAttributeTypeMap() {
return V1Affinity.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1AzureDiskVolumeSource {
'cachingMode'?: string;
'diskName'?: string;
'diskURI'?: string;
'fsType'?: string;
'kind'?: string;
'readOnly'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "cachingMode",
"baseName": "cachingMode",
"type": "string"
},
{
"name": "diskName",
"baseName": "diskName",
"type": "string"
},
{
"name": "diskURI",
"baseName": "diskURI",
"type": "string"
},
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1AzureDiskVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1AzureFileVolumeSource {
'readOnly'?: boolean | null;
'secretName'?: string;
'shareName'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretName",
"baseName": "secretName",
"type": "string"
},
{
"name": "shareName",
"baseName": "shareName",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1AzureFileVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,55 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1CSIVolumeSource {
'driver'?: string;
'fsType'?: string;
'nodePublishSecretRef'?: V1LocalObjectReference;
'readOnly'?: boolean | null;
'volumeAttributes'?: { [key: string]: string; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "driver",
"baseName": "driver",
"type": "string"
},
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "nodePublishSecretRef",
"baseName": "nodePublishSecretRef",
"type": "V1LocalObjectReference"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "volumeAttributes",
"baseName": "volumeAttributes",
"type": "{ [key: string]: string; }"
} ];
static getAttributeTypeMap() {
return V1CSIVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1Capabilities {
'add'?: Array<string>;
'drop'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "add",
"baseName": "add",
"type": "Array<string>"
},
{
"name": "drop",
"baseName": "drop",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1Capabilities.attributeTypeMap;
}
}

View File

@@ -0,0 +1,61 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1CephFSVolumeSource {
'monitors'?: Array<string>;
'path'?: string;
'readOnly'?: boolean | null;
'secretFile'?: string;
'secretRef'?: V1LocalObjectReference;
'user'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "monitors",
"baseName": "monitors",
"type": "Array<string>"
},
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretFile",
"baseName": "secretFile",
"type": "string"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1LocalObjectReference"
},
{
"name": "user",
"baseName": "user",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1CephFSVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,49 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1CinderVolumeSource {
'fsType'?: string;
'readOnly'?: boolean | null;
'secretRef'?: V1LocalObjectReference;
'volumeID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1LocalObjectReference"
},
{
"name": "volumeID",
"baseName": "volumeID",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1CinderVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ConfigMapEnvSource {
'name'?: string;
'optional'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "optional",
"baseName": "optional",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1ConfigMapEnvSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ConfigMapKeySelector {
'key'?: string;
'name'?: string;
'optional'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "optional",
"baseName": "optional",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1ConfigMapKeySelector.attributeTypeMap;
}
}

View File

@@ -0,0 +1,43 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1KeyToPath } from './v1KeyToPath';
export class V1ConfigMapProjection {
'items'?: Array<V1KeyToPath>;
'name'?: string;
'optional'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "items",
"baseName": "items",
"type": "Array<V1KeyToPath>"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "optional",
"baseName": "optional",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1ConfigMapProjection.attributeTypeMap;
}
}

View File

@@ -0,0 +1,49 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1KeyToPath } from './v1KeyToPath';
export class V1ConfigMapVolumeSource {
'defaultMode'?: number | null;
'items'?: Array<V1KeyToPath>;
'name'?: string;
'optional'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "defaultMode",
"baseName": "defaultMode",
"type": "number"
},
{
"name": "items",
"baseName": "items",
"type": "Array<V1KeyToPath>"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "optional",
"baseName": "optional",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1ConfigMapVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,165 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ContainerPort } from './v1ContainerPort';
import { V1EnvFromSource } from './v1EnvFromSource';
import { V1EnvVar } from './v1EnvVar';
import { V1Lifecycle } from './v1Lifecycle';
import { V1Probe } from './v1Probe';
import { V1ResourceRequirements } from './v1ResourceRequirements';
import { V1SecurityContext } from './v1SecurityContext';
import { V1VolumeDevice } from './v1VolumeDevice';
import { V1VolumeMount } from './v1VolumeMount';
export class V1Container {
'args'?: Array<string>;
'command'?: Array<string>;
'env'?: Array<V1EnvVar>;
'envFrom'?: Array<V1EnvFromSource>;
'image'?: string;
'imagePullPolicy'?: string;
'lifecycle'?: V1Lifecycle;
'livenessProbe'?: V1Probe;
'name'?: string;
'ports'?: Array<V1ContainerPort>;
'readinessProbe'?: V1Probe;
'resources'?: V1ResourceRequirements;
'securityContext'?: V1SecurityContext;
'startupProbe'?: V1Probe;
'stdin'?: boolean | null;
'stdinOnce'?: boolean | null;
'terminationMessagePath'?: string;
'terminationMessagePolicy'?: string;
'tty'?: boolean | null;
'volumeDevices'?: Array<V1VolumeDevice>;
'volumeMounts'?: Array<V1VolumeMount>;
'workingDir'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "args",
"baseName": "args",
"type": "Array<string>"
},
{
"name": "command",
"baseName": "command",
"type": "Array<string>"
},
{
"name": "env",
"baseName": "env",
"type": "Array<V1EnvVar>"
},
{
"name": "envFrom",
"baseName": "envFrom",
"type": "Array<V1EnvFromSource>"
},
{
"name": "image",
"baseName": "image",
"type": "string"
},
{
"name": "imagePullPolicy",
"baseName": "imagePullPolicy",
"type": "string"
},
{
"name": "lifecycle",
"baseName": "lifecycle",
"type": "V1Lifecycle"
},
{
"name": "livenessProbe",
"baseName": "livenessProbe",
"type": "V1Probe"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "ports",
"baseName": "ports",
"type": "Array<V1ContainerPort>"
},
{
"name": "readinessProbe",
"baseName": "readinessProbe",
"type": "V1Probe"
},
{
"name": "resources",
"baseName": "resources",
"type": "V1ResourceRequirements"
},
{
"name": "securityContext",
"baseName": "securityContext",
"type": "V1SecurityContext"
},
{
"name": "startupProbe",
"baseName": "startupProbe",
"type": "V1Probe"
},
{
"name": "stdin",
"baseName": "stdin",
"type": "boolean"
},
{
"name": "stdinOnce",
"baseName": "stdinOnce",
"type": "boolean"
},
{
"name": "terminationMessagePath",
"baseName": "terminationMessagePath",
"type": "string"
},
{
"name": "terminationMessagePolicy",
"baseName": "terminationMessagePolicy",
"type": "string"
},
{
"name": "tty",
"baseName": "tty",
"type": "boolean"
},
{
"name": "volumeDevices",
"baseName": "volumeDevices",
"type": "Array<V1VolumeDevice>"
},
{
"name": "volumeMounts",
"baseName": "volumeMounts",
"type": "Array<V1VolumeMount>"
},
{
"name": "workingDir",
"baseName": "workingDir",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1Container.attributeTypeMap;
}
}

View File

@@ -0,0 +1,54 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ContainerPort {
'containerPort'?: number;
'hostIP'?: string;
'hostPort'?: number | null;
'name'?: string;
'protocol'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "containerPort",
"baseName": "containerPort",
"type": "number"
},
{
"name": "hostIP",
"baseName": "hostIP",
"type": "string"
},
{
"name": "hostPort",
"baseName": "hostPort",
"type": "number"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "protocol",
"baseName": "protocol",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ContainerPort.attributeTypeMap;
}
}

View File

@@ -0,0 +1,45 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ContainerStateRunning } from './v1ContainerStateRunning';
import { V1ContainerStateTerminated } from './v1ContainerStateTerminated';
import { V1ContainerStateWaiting } from './v1ContainerStateWaiting';
export class V1ContainerState {
'running'?: V1ContainerStateRunning;
'terminated'?: V1ContainerStateTerminated;
'waiting'?: V1ContainerStateWaiting;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "running",
"baseName": "running",
"type": "V1ContainerStateRunning"
},
{
"name": "terminated",
"baseName": "terminated",
"type": "V1ContainerStateTerminated"
},
{
"name": "waiting",
"baseName": "waiting",
"type": "V1ContainerStateWaiting"
} ];
static getAttributeTypeMap() {
return V1ContainerState.attributeTypeMap;
}
}

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ContainerStateRunning {
'startedAt'?: Date | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "startedAt",
"baseName": "startedAt",
"type": "Date"
} ];
static getAttributeTypeMap() {
return V1ContainerStateRunning.attributeTypeMap;
}
}

View File

@@ -0,0 +1,66 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ContainerStateTerminated {
'containerID'?: string;
'exitCode'?: number;
'finishedAt'?: Date | null;
'message'?: string;
'reason'?: string;
'signal'?: number | null;
'startedAt'?: Date | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "containerID",
"baseName": "containerID",
"type": "string"
},
{
"name": "exitCode",
"baseName": "exitCode",
"type": "number"
},
{
"name": "finishedAt",
"baseName": "finishedAt",
"type": "Date"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "string"
},
{
"name": "signal",
"baseName": "signal",
"type": "number"
},
{
"name": "startedAt",
"baseName": "startedAt",
"type": "Date"
} ];
static getAttributeTypeMap() {
return V1ContainerStateTerminated.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ContainerStateWaiting {
'message'?: string;
'reason'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ContainerStateWaiting.attributeTypeMap;
}
}

View File

@@ -0,0 +1,79 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ContainerState } from './v1ContainerState';
export class V1ContainerStatus {
'containerID'?: string;
'image'?: string;
'imageID'?: string;
'lastState'?: V1ContainerState;
'name'?: string;
'ready'?: boolean;
'restartCount'?: number;
'started'?: boolean | null;
'state'?: V1ContainerState;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "containerID",
"baseName": "containerID",
"type": "string"
},
{
"name": "image",
"baseName": "image",
"type": "string"
},
{
"name": "imageID",
"baseName": "imageID",
"type": "string"
},
{
"name": "lastState",
"baseName": "lastState",
"type": "V1ContainerState"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "ready",
"baseName": "ready",
"type": "boolean"
},
{
"name": "restartCount",
"baseName": "restartCount",
"type": "number"
},
{
"name": "started",
"baseName": "started",
"type": "boolean"
},
{
"name": "state",
"baseName": "state",
"type": "V1ContainerState"
} ];
static getAttributeTypeMap() {
return V1ContainerStatus.attributeTypeMap;
}
}

View File

@@ -0,0 +1,31 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1DownwardAPIVolumeFile } from './v1DownwardAPIVolumeFile';
export class V1DownwardAPIProjection {
'items'?: Array<V1DownwardAPIVolumeFile>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "items",
"baseName": "items",
"type": "Array<V1DownwardAPIVolumeFile>"
} ];
static getAttributeTypeMap() {
return V1DownwardAPIProjection.attributeTypeMap;
}
}

View File

@@ -0,0 +1,50 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ObjectFieldSelector } from './v1ObjectFieldSelector';
import { V1ResourceFieldSelector } from './v1ResourceFieldSelector';
export class V1DownwardAPIVolumeFile {
'fieldRef'?: V1ObjectFieldSelector;
'mode'?: number | null;
'path'?: string;
'resourceFieldRef'?: V1ResourceFieldSelector;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fieldRef",
"baseName": "fieldRef",
"type": "V1ObjectFieldSelector"
},
{
"name": "mode",
"baseName": "mode",
"type": "number"
},
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "resourceFieldRef",
"baseName": "resourceFieldRef",
"type": "V1ResourceFieldSelector"
} ];
static getAttributeTypeMap() {
return V1DownwardAPIVolumeFile.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1DownwardAPIVolumeFile } from './v1DownwardAPIVolumeFile';
export class V1DownwardAPIVolumeSource {
'defaultMode'?: number | null;
'items'?: Array<V1DownwardAPIVolumeFile>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "defaultMode",
"baseName": "defaultMode",
"type": "number"
},
{
"name": "items",
"baseName": "items",
"type": "Array<V1DownwardAPIVolumeFile>"
} ];
static getAttributeTypeMap() {
return V1DownwardAPIVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1EmptyDirVolumeSource {
'medium'?: string;
'sizeLimit'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "medium",
"baseName": "medium",
"type": "string"
},
{
"name": "sizeLimit",
"baseName": "sizeLimit",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1EmptyDirVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,44 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ConfigMapEnvSource } from './v1ConfigMapEnvSource';
import { V1SecretEnvSource } from './v1SecretEnvSource';
export class V1EnvFromSource {
'configMapRef'?: V1ConfigMapEnvSource;
'prefix'?: string;
'secretRef'?: V1SecretEnvSource;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "configMapRef",
"baseName": "configMapRef",
"type": "V1ConfigMapEnvSource"
},
{
"name": "prefix",
"baseName": "prefix",
"type": "string"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1SecretEnvSource"
} ];
static getAttributeTypeMap() {
return V1EnvFromSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,43 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1EnvVarSource } from './v1EnvVarSource';
export class V1EnvVar {
'name'?: string;
'value'?: string;
'valueFrom'?: V1EnvVarSource;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "string"
},
{
"name": "valueFrom",
"baseName": "valueFrom",
"type": "V1EnvVarSource"
} ];
static getAttributeTypeMap() {
return V1EnvVar.attributeTypeMap;
}
}

View File

@@ -0,0 +1,52 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ConfigMapKeySelector } from './v1ConfigMapKeySelector';
import { V1ObjectFieldSelector } from './v1ObjectFieldSelector';
import { V1ResourceFieldSelector } from './v1ResourceFieldSelector';
import { V1SecretKeySelector } from './v1SecretKeySelector';
export class V1EnvVarSource {
'configMapKeyRef'?: V1ConfigMapKeySelector;
'fieldRef'?: V1ObjectFieldSelector;
'resourceFieldRef'?: V1ResourceFieldSelector;
'secretKeyRef'?: V1SecretKeySelector;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "configMapKeyRef",
"baseName": "configMapKeyRef",
"type": "V1ConfigMapKeySelector"
},
{
"name": "fieldRef",
"baseName": "fieldRef",
"type": "V1ObjectFieldSelector"
},
{
"name": "resourceFieldRef",
"baseName": "resourceFieldRef",
"type": "V1ResourceFieldSelector"
},
{
"name": "secretKeyRef",
"baseName": "secretKeyRef",
"type": "V1SecretKeySelector"
} ];
static getAttributeTypeMap() {
return V1EnvVarSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,171 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ContainerPort } from './v1ContainerPort';
import { V1EnvFromSource } from './v1EnvFromSource';
import { V1EnvVar } from './v1EnvVar';
import { V1Lifecycle } from './v1Lifecycle';
import { V1Probe } from './v1Probe';
import { V1ResourceRequirements } from './v1ResourceRequirements';
import { V1SecurityContext } from './v1SecurityContext';
import { V1VolumeDevice } from './v1VolumeDevice';
import { V1VolumeMount } from './v1VolumeMount';
export class V1EphemeralContainer {
'args'?: Array<string>;
'command'?: Array<string>;
'env'?: Array<V1EnvVar>;
'envFrom'?: Array<V1EnvFromSource>;
'image'?: string;
'imagePullPolicy'?: string;
'lifecycle'?: V1Lifecycle;
'livenessProbe'?: V1Probe;
'name'?: string;
'ports'?: Array<V1ContainerPort>;
'readinessProbe'?: V1Probe;
'resources'?: V1ResourceRequirements;
'securityContext'?: V1SecurityContext;
'startupProbe'?: V1Probe;
'stdin'?: boolean | null;
'stdinOnce'?: boolean | null;
'targetContainerName'?: string;
'terminationMessagePath'?: string;
'terminationMessagePolicy'?: string;
'tty'?: boolean | null;
'volumeDevices'?: Array<V1VolumeDevice>;
'volumeMounts'?: Array<V1VolumeMount>;
'workingDir'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "args",
"baseName": "args",
"type": "Array<string>"
},
{
"name": "command",
"baseName": "command",
"type": "Array<string>"
},
{
"name": "env",
"baseName": "env",
"type": "Array<V1EnvVar>"
},
{
"name": "envFrom",
"baseName": "envFrom",
"type": "Array<V1EnvFromSource>"
},
{
"name": "image",
"baseName": "image",
"type": "string"
},
{
"name": "imagePullPolicy",
"baseName": "imagePullPolicy",
"type": "string"
},
{
"name": "lifecycle",
"baseName": "lifecycle",
"type": "V1Lifecycle"
},
{
"name": "livenessProbe",
"baseName": "livenessProbe",
"type": "V1Probe"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "ports",
"baseName": "ports",
"type": "Array<V1ContainerPort>"
},
{
"name": "readinessProbe",
"baseName": "readinessProbe",
"type": "V1Probe"
},
{
"name": "resources",
"baseName": "resources",
"type": "V1ResourceRequirements"
},
{
"name": "securityContext",
"baseName": "securityContext",
"type": "V1SecurityContext"
},
{
"name": "startupProbe",
"baseName": "startupProbe",
"type": "V1Probe"
},
{
"name": "stdin",
"baseName": "stdin",
"type": "boolean"
},
{
"name": "stdinOnce",
"baseName": "stdinOnce",
"type": "boolean"
},
{
"name": "targetContainerName",
"baseName": "targetContainerName",
"type": "string"
},
{
"name": "terminationMessagePath",
"baseName": "terminationMessagePath",
"type": "string"
},
{
"name": "terminationMessagePolicy",
"baseName": "terminationMessagePolicy",
"type": "string"
},
{
"name": "tty",
"baseName": "tty",
"type": "boolean"
},
{
"name": "volumeDevices",
"baseName": "volumeDevices",
"type": "Array<V1VolumeDevice>"
},
{
"name": "volumeMounts",
"baseName": "volumeMounts",
"type": "Array<V1VolumeMount>"
},
{
"name": "workingDir",
"baseName": "workingDir",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1EphemeralContainer.attributeTypeMap;
}
}

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ExecAction {
'command'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "command",
"baseName": "command",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1ExecAction.attributeTypeMap;
}
}

View File

@@ -0,0 +1,54 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1FCVolumeSource {
'fsType'?: string;
'lun'?: number | null;
'readOnly'?: boolean | null;
'targetWWNs'?: Array<string>;
'wwids'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "lun",
"baseName": "lun",
"type": "number"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "targetWWNs",
"baseName": "targetWWNs",
"type": "Array<string>"
},
{
"name": "wwids",
"baseName": "wwids",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1FCVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,55 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1FlexVolumeSource {
'driver'?: string;
'fsType'?: string;
'options'?: { [key: string]: string; };
'readOnly'?: boolean | null;
'secretRef'?: V1LocalObjectReference;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "driver",
"baseName": "driver",
"type": "string"
},
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "options",
"baseName": "options",
"type": "{ [key: string]: string; }"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1LocalObjectReference"
} ];
static getAttributeTypeMap() {
return V1FlexVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1FlockerVolumeSource {
'datasetName'?: string;
'datasetUUID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "datasetName",
"baseName": "datasetName",
"type": "string"
},
{
"name": "datasetUUID",
"baseName": "datasetUUID",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1FlockerVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,48 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1GCEPersistentDiskVolumeSource {
'fsType'?: string;
'partition'?: number | null;
'pdName'?: string;
'readOnly'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "partition",
"baseName": "partition",
"type": "number"
},
{
"name": "pdName",
"baseName": "pdName",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1GCEPersistentDiskVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1GitRepoVolumeSource {
'directory'?: string;
'repository'?: string;
'revision'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "directory",
"baseName": "directory",
"type": "string"
},
{
"name": "repository",
"baseName": "repository",
"type": "string"
},
{
"name": "revision",
"baseName": "revision",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1GitRepoVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1GlusterfsVolumeSource {
'endpoints'?: string;
'path'?: string;
'readOnly'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "endpoints",
"baseName": "endpoints",
"type": "string"
},
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1GlusterfsVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,56 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { IntstrIntOrString } from './intstrIntOrString';
import { V1HTTPHeader } from './v1HTTPHeader';
export class V1HTTPGetAction {
'host'?: string;
'httpHeaders'?: Array<V1HTTPHeader>;
'path'?: string;
'port'?: IntstrIntOrString;
'scheme'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "host",
"baseName": "host",
"type": "string"
},
{
"name": "httpHeaders",
"baseName": "httpHeaders",
"type": "Array<V1HTTPHeader>"
},
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "port",
"baseName": "port",
"type": "IntstrIntOrString"
},
{
"name": "scheme",
"baseName": "scheme",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1HTTPGetAction.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1HTTPHeader {
'name'?: string;
'value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1HTTPHeader.attributeTypeMap;
}
}

View File

@@ -0,0 +1,45 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ExecAction } from './v1ExecAction';
import { V1HTTPGetAction } from './v1HTTPGetAction';
import { V1TCPSocketAction } from './v1TCPSocketAction';
export class V1Handler {
'exec'?: V1ExecAction;
'httpGet'?: V1HTTPGetAction;
'tcpSocket'?: V1TCPSocketAction;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "exec",
"baseName": "exec",
"type": "V1ExecAction"
},
{
"name": "httpGet",
"baseName": "httpGet",
"type": "V1HTTPGetAction"
},
{
"name": "tcpSocket",
"baseName": "tcpSocket",
"type": "V1TCPSocketAction"
} ];
static getAttributeTypeMap() {
return V1Handler.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1HostAlias {
'hostnames'?: Array<string>;
'ip'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "hostnames",
"baseName": "hostnames",
"type": "Array<string>"
},
{
"name": "ip",
"baseName": "ip",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1HostAlias.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1HostPathVolumeSource {
'path'?: string;
'type'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1HostPathVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,91 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1ISCSIVolumeSource {
'chapAuthDiscovery'?: boolean | null;
'chapAuthSession'?: boolean | null;
'fsType'?: string;
'initiatorName'?: string;
'iqn'?: string;
'iscsiInterface'?: string;
'lun'?: number;
'portals'?: Array<string>;
'readOnly'?: boolean | null;
'secretRef'?: V1LocalObjectReference;
'targetPortal'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "chapAuthDiscovery",
"baseName": "chapAuthDiscovery",
"type": "boolean"
},
{
"name": "chapAuthSession",
"baseName": "chapAuthSession",
"type": "boolean"
},
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "initiatorName",
"baseName": "initiatorName",
"type": "string"
},
{
"name": "iqn",
"baseName": "iqn",
"type": "string"
},
{
"name": "iscsiInterface",
"baseName": "iscsiInterface",
"type": "string"
},
{
"name": "lun",
"baseName": "lun",
"type": "number"
},
{
"name": "portals",
"baseName": "portals",
"type": "Array<string>"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1LocalObjectReference"
},
{
"name": "targetPortal",
"baseName": "targetPortal",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ISCSIVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1KeyToPath {
'key'?: string;
'mode'?: number | null;
'path'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "mode",
"baseName": "mode",
"type": "number"
},
{
"name": "path",
"baseName": "path",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1KeyToPath.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LabelSelectorRequirement } from './v1LabelSelectorRequirement';
export class V1LabelSelector {
'matchExpressions'?: Array<V1LabelSelectorRequirement>;
'matchLabels'?: { [key: string]: string; };
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "matchExpressions",
"baseName": "matchExpressions",
"type": "Array<V1LabelSelectorRequirement>"
},
{
"name": "matchLabels",
"baseName": "matchLabels",
"type": "{ [key: string]: string; }"
} ];
static getAttributeTypeMap() {
return V1LabelSelector.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1LabelSelectorRequirement {
'key'?: string;
'operator'?: string;
'values'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "operator",
"baseName": "operator",
"type": "string"
},
{
"name": "values",
"baseName": "values",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1LabelSelectorRequirement.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1Handler } from './v1Handler';
export class V1Lifecycle {
'postStart'?: V1Handler;
'preStop'?: V1Handler;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "postStart",
"baseName": "postStart",
"type": "V1Handler"
},
{
"name": "preStop",
"baseName": "preStop",
"type": "V1Handler"
} ];
static getAttributeTypeMap() {
return V1Lifecycle.attributeTypeMap;
}
}

View File

@@ -13,6 +13,7 @@
export class V1ListMeta {
'_continue'?: string;
'remainingItemCount'?: number | null;
'resourceVersion'?: string;
'selfLink'?: string;
@@ -24,6 +25,11 @@ export class V1ListMeta {
"baseName": "continue",
"type": "string"
},
{
"name": "remainingItemCount",
"baseName": "remainingItemCount",
"type": "number"
},
{
"name": "resourceVersion",
"baseName": "resourceVersion",

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1LocalObjectReference {
'name'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1LocalObjectReference.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ManagedFieldsEntry {
'apiVersion'?: string;
'fieldsType'?: string;
'fieldsV1'?: object;
'manager'?: string;
'operation'?: string;
'time'?: Date | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "fieldsType",
"baseName": "fieldsType",
"type": "string"
},
{
"name": "fieldsV1",
"baseName": "fieldsV1",
"type": "object"
},
{
"name": "manager",
"baseName": "manager",
"type": "string"
},
{
"name": "operation",
"baseName": "operation",
"type": "string"
},
{
"name": "time",
"baseName": "time",
"type": "Date"
} ];
static getAttributeTypeMap() {
return V1ManagedFieldsEntry.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1NFSVolumeSource {
'path'?: string;
'readOnly'?: boolean | null;
'server'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "path",
"baseName": "path",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "server",
"baseName": "server",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1NFSVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,38 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1NodeSelector } from './v1NodeSelector';
import { V1PreferredSchedulingTerm } from './v1PreferredSchedulingTerm';
export class V1NodeAffinity {
'preferredDuringSchedulingIgnoredDuringExecution'?: Array<V1PreferredSchedulingTerm>;
'requiredDuringSchedulingIgnoredDuringExecution'?: V1NodeSelector;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "preferredDuringSchedulingIgnoredDuringExecution",
"baseName": "preferredDuringSchedulingIgnoredDuringExecution",
"type": "Array<V1PreferredSchedulingTerm>"
},
{
"name": "requiredDuringSchedulingIgnoredDuringExecution",
"baseName": "requiredDuringSchedulingIgnoredDuringExecution",
"type": "V1NodeSelector"
} ];
static getAttributeTypeMap() {
return V1NodeAffinity.attributeTypeMap;
}
}

View File

@@ -0,0 +1,31 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1NodeSelectorTerm } from './v1NodeSelectorTerm';
export class V1NodeSelector {
'nodeSelectorTerms'?: Array<V1NodeSelectorTerm>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "nodeSelectorTerms",
"baseName": "nodeSelectorTerms",
"type": "Array<V1NodeSelectorTerm>"
} ];
static getAttributeTypeMap() {
return V1NodeSelector.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1NodeSelectorRequirement {
'key'?: string;
'operator'?: string;
'values'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "key",
"baseName": "key",
"type": "string"
},
{
"name": "operator",
"baseName": "operator",
"type": "string"
},
{
"name": "values",
"baseName": "values",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1NodeSelectorRequirement.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1NodeSelectorRequirement } from './v1NodeSelectorRequirement';
export class V1NodeSelectorTerm {
'matchExpressions'?: Array<V1NodeSelectorRequirement>;
'matchFields'?: Array<V1NodeSelectorRequirement>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "matchExpressions",
"baseName": "matchExpressions",
"type": "Array<V1NodeSelectorRequirement>"
},
{
"name": "matchFields",
"baseName": "matchFields",
"type": "Array<V1NodeSelectorRequirement>"
} ];
static getAttributeTypeMap() {
return V1NodeSelectorTerm.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1ObjectFieldSelector {
'apiVersion'?: string;
'fieldPath'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "fieldPath",
"baseName": "fieldPath",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1ObjectFieldSelector.attributeTypeMap;
}
}

View File

@@ -10,21 +10,26 @@
* Do not edit the class manually.
*/
import { V1ManagedFieldsEntry } from './v1ManagedFieldsEntry';
import { V1OwnerReference } from './v1OwnerReference';
export class DuskyObjectModelsObjectMeta {
export class V1ObjectMeta {
'annotations'?: { [key: string]: string; };
'clusterName'?: string;
'creationTimestamp'?: Date | null;
'deletionGracePeriodSeconds'?: number | null;
'deletionTimestamp'?: Date | null;
'finalizers'?: Array<object>;
'finalizers'?: Array<string>;
'generateName'?: string;
'generation'?: number | null;
'labels'?: { [key: string]: string; };
'managedFields'?: Array<V1ManagedFieldsEntry>;
'name'?: string;
'namespace'?: string;
'ownerReferences'?: Array<object>;
'ownerReferences'?: Array<V1OwnerReference>;
'resourceVersion'?: string;
'selfLink'?: string;
'uid'?: string | null;
'uid'?: string;
static discriminator: string | undefined = undefined;
@@ -34,11 +39,21 @@ export class DuskyObjectModelsObjectMeta {
"baseName": "annotations",
"type": "{ [key: string]: string; }"
},
{
"name": "clusterName",
"baseName": "clusterName",
"type": "string"
},
{
"name": "creationTimestamp",
"baseName": "creationTimestamp",
"type": "Date"
},
{
"name": "deletionGracePeriodSeconds",
"baseName": "deletionGracePeriodSeconds",
"type": "number"
},
{
"name": "deletionTimestamp",
"baseName": "deletionTimestamp",
@@ -47,7 +62,7 @@ export class DuskyObjectModelsObjectMeta {
{
"name": "finalizers",
"baseName": "finalizers",
"type": "Array<object>"
"type": "Array<string>"
},
{
"name": "generateName",
@@ -64,6 +79,11 @@ export class DuskyObjectModelsObjectMeta {
"baseName": "labels",
"type": "{ [key: string]: string; }"
},
{
"name": "managedFields",
"baseName": "managedFields",
"type": "Array<V1ManagedFieldsEntry>"
},
{
"name": "name",
"baseName": "name",
@@ -77,7 +97,7 @@ export class DuskyObjectModelsObjectMeta {
{
"name": "ownerReferences",
"baseName": "ownerReferences",
"type": "Array<object>"
"type": "Array<V1OwnerReference>"
},
{
"name": "resourceVersion",
@@ -96,7 +116,7 @@ export class DuskyObjectModelsObjectMeta {
} ];
static getAttributeTypeMap() {
return DuskyObjectModelsObjectMeta.attributeTypeMap;
return V1ObjectMeta.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1OwnerReference {
'apiVersion'?: string;
'blockOwnerDeletion'?: boolean | null;
'controller'?: boolean | null;
'kind'?: string;
'name'?: string;
'uid'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "blockOwnerDeletion",
"baseName": "blockOwnerDeletion",
"type": "boolean"
},
{
"name": "controller",
"baseName": "controller",
"type": "boolean"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "uid",
"baseName": "uid",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1OwnerReference.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PersistentVolumeClaimVolumeSource {
'claimName'?: string;
'readOnly'?: boolean | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "claimName",
"baseName": "claimName",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
} ];
static getAttributeTypeMap() {
return V1PersistentVolumeClaimVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PhotonPersistentDiskVolumeSource {
'fsType'?: string;
'pdID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "pdID",
"baseName": "pdID",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PhotonPersistentDiskVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,57 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ObjectMeta } from './v1ObjectMeta';
import { V1PodSpec } from './v1PodSpec';
import { V1PodStatus } from './v1PodStatus';
export class V1Pod {
'apiVersion'?: string;
'kind'?: string;
'metadata'?: V1ObjectMeta;
'spec'?: V1PodSpec;
'status'?: V1PodStatus;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiVersion",
"baseName": "apiVersion",
"type": "string"
},
{
"name": "kind",
"baseName": "kind",
"type": "string"
},
{
"name": "metadata",
"baseName": "metadata",
"type": "V1ObjectMeta"
},
{
"name": "spec",
"baseName": "spec",
"type": "V1PodSpec"
},
{
"name": "status",
"baseName": "status",
"type": "V1PodStatus"
} ];
static getAttributeTypeMap() {
return V1Pod.attributeTypeMap;
}
}

View File

@@ -0,0 +1,38 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1PodAffinityTerm } from './v1PodAffinityTerm';
import { V1WeightedPodAffinityTerm } from './v1WeightedPodAffinityTerm';
export class V1PodAffinity {
'preferredDuringSchedulingIgnoredDuringExecution'?: Array<V1WeightedPodAffinityTerm>;
'requiredDuringSchedulingIgnoredDuringExecution'?: Array<V1PodAffinityTerm>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "preferredDuringSchedulingIgnoredDuringExecution",
"baseName": "preferredDuringSchedulingIgnoredDuringExecution",
"type": "Array<V1WeightedPodAffinityTerm>"
},
{
"name": "requiredDuringSchedulingIgnoredDuringExecution",
"baseName": "requiredDuringSchedulingIgnoredDuringExecution",
"type": "Array<V1PodAffinityTerm>"
} ];
static getAttributeTypeMap() {
return V1PodAffinity.attributeTypeMap;
}
}

View File

@@ -0,0 +1,43 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LabelSelector } from './v1LabelSelector';
export class V1PodAffinityTerm {
'labelSelector'?: V1LabelSelector;
'namespaces'?: Array<string>;
'topologyKey'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "labelSelector",
"baseName": "labelSelector",
"type": "V1LabelSelector"
},
{
"name": "namespaces",
"baseName": "namespaces",
"type": "Array<string>"
},
{
"name": "topologyKey",
"baseName": "topologyKey",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PodAffinityTerm.attributeTypeMap;
}
}

View File

@@ -0,0 +1,38 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1PodAffinityTerm } from './v1PodAffinityTerm';
import { V1WeightedPodAffinityTerm } from './v1WeightedPodAffinityTerm';
export class V1PodAntiAffinity {
'preferredDuringSchedulingIgnoredDuringExecution'?: Array<V1WeightedPodAffinityTerm>;
'requiredDuringSchedulingIgnoredDuringExecution'?: Array<V1PodAffinityTerm>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "preferredDuringSchedulingIgnoredDuringExecution",
"baseName": "preferredDuringSchedulingIgnoredDuringExecution",
"type": "Array<V1WeightedPodAffinityTerm>"
},
{
"name": "requiredDuringSchedulingIgnoredDuringExecution",
"baseName": "requiredDuringSchedulingIgnoredDuringExecution",
"type": "Array<V1PodAffinityTerm>"
} ];
static getAttributeTypeMap() {
return V1PodAntiAffinity.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PodCondition {
'lastProbeTime'?: Date | null;
'lastTransitionTime'?: Date | null;
'message'?: string;
'reason'?: string;
'status'?: string;
'type'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "lastProbeTime",
"baseName": "lastProbeTime",
"type": "Date"
},
{
"name": "lastTransitionTime",
"baseName": "lastTransitionTime",
"type": "Date"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "string"
},
{
"name": "status",
"baseName": "status",
"type": "string"
},
{
"name": "type",
"baseName": "type",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PodCondition.attributeTypeMap;
}
}

View File

@@ -0,0 +1,43 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1PodDNSConfigOption } from './v1PodDNSConfigOption';
export class V1PodDNSConfig {
'nameservers'?: Array<string>;
'options'?: Array<V1PodDNSConfigOption>;
'searches'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "nameservers",
"baseName": "nameservers",
"type": "Array<string>"
},
{
"name": "options",
"baseName": "options",
"type": "Array<V1PodDNSConfigOption>"
},
{
"name": "searches",
"baseName": "searches",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1PodDNSConfig.attributeTypeMap;
}
}

View File

@@ -0,0 +1,36 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PodDNSConfigOption {
'name'?: string;
'value'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "name",
"baseName": "name",
"type": "string"
},
{
"name": "value",
"baseName": "value",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PodDNSConfigOption.attributeTypeMap;
}
}

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PodIP {
'ip'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "ip",
"baseName": "ip",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PodIP.attributeTypeMap;
}
}

View File

@@ -0,0 +1,30 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PodReadinessGate {
'conditionType'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "conditionType",
"baseName": "conditionType",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PodReadinessGate.attributeTypeMap;
}
}

View File

@@ -0,0 +1,75 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1SELinuxOptions } from './v1SELinuxOptions';
import { V1Sysctl } from './v1Sysctl';
import { V1WindowsSecurityContextOptions } from './v1WindowsSecurityContextOptions';
export class V1PodSecurityContext {
'fsGroup'?: number | null;
'runAsGroup'?: number | null;
'runAsNonRoot'?: boolean | null;
'runAsUser'?: number | null;
'seLinuxOptions'?: V1SELinuxOptions;
'supplementalGroups'?: Array<number>;
'sysctls'?: Array<V1Sysctl>;
'windowsOptions'?: V1WindowsSecurityContextOptions;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsGroup",
"baseName": "fsGroup",
"type": "number"
},
{
"name": "runAsGroup",
"baseName": "runAsGroup",
"type": "number"
},
{
"name": "runAsNonRoot",
"baseName": "runAsNonRoot",
"type": "boolean"
},
{
"name": "runAsUser",
"baseName": "runAsUser",
"type": "number"
},
{
"name": "seLinuxOptions",
"baseName": "seLinuxOptions",
"type": "V1SELinuxOptions"
},
{
"name": "supplementalGroups",
"baseName": "supplementalGroups",
"type": "Array<number>"
},
{
"name": "sysctls",
"baseName": "sysctls",
"type": "Array<V1Sysctl>"
},
{
"name": "windowsOptions",
"baseName": "windowsOptions",
"type": "V1WindowsSecurityContextOptions"
} ];
static getAttributeTypeMap() {
return V1PodSecurityContext.attributeTypeMap;
}
}

View File

@@ -0,0 +1,239 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1Affinity } from './v1Affinity';
import { V1Container } from './v1Container';
import { V1EphemeralContainer } from './v1EphemeralContainer';
import { V1HostAlias } from './v1HostAlias';
import { V1LocalObjectReference } from './v1LocalObjectReference';
import { V1PodDNSConfig } from './v1PodDNSConfig';
import { V1PodReadinessGate } from './v1PodReadinessGate';
import { V1PodSecurityContext } from './v1PodSecurityContext';
import { V1Toleration } from './v1Toleration';
import { V1TopologySpreadConstraint } from './v1TopologySpreadConstraint';
import { V1Volume } from './v1Volume';
export class V1PodSpec {
'activeDeadlineSeconds'?: number | null;
'affinity'?: V1Affinity;
'automountServiceAccountToken'?: boolean | null;
'containers'?: Array<V1Container>;
'dnsConfig'?: V1PodDNSConfig;
'dnsPolicy'?: string;
'enableServiceLinks'?: boolean | null;
'ephemeralContainers'?: Array<V1EphemeralContainer>;
'hostAliases'?: Array<V1HostAlias>;
'hostIPC'?: boolean | null;
'hostNetwork'?: boolean | null;
'hostPID'?: boolean | null;
'hostname'?: string;
'imagePullSecrets'?: Array<V1LocalObjectReference>;
'initContainers'?: Array<V1Container>;
'nodeName'?: string;
'nodeSelector'?: { [key: string]: string; };
'overhead'?: { [key: string]: string; };
'preemptionPolicy'?: string;
'priority'?: number | null;
'priorityClassName'?: string;
'readinessGates'?: Array<V1PodReadinessGate>;
'restartPolicy'?: string;
'runtimeClassName'?: string;
'schedulerName'?: string;
'securityContext'?: V1PodSecurityContext;
'serviceAccount'?: string;
'serviceAccountName'?: string;
'shareProcessNamespace'?: boolean | null;
'subdomain'?: string;
'terminationGracePeriodSeconds'?: number | null;
'tolerations'?: Array<V1Toleration>;
'topologySpreadConstraints'?: Array<V1TopologySpreadConstraint>;
'volumes'?: Array<V1Volume>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "activeDeadlineSeconds",
"baseName": "activeDeadlineSeconds",
"type": "number"
},
{
"name": "affinity",
"baseName": "affinity",
"type": "V1Affinity"
},
{
"name": "automountServiceAccountToken",
"baseName": "automountServiceAccountToken",
"type": "boolean"
},
{
"name": "containers",
"baseName": "containers",
"type": "Array<V1Container>"
},
{
"name": "dnsConfig",
"baseName": "dnsConfig",
"type": "V1PodDNSConfig"
},
{
"name": "dnsPolicy",
"baseName": "dnsPolicy",
"type": "string"
},
{
"name": "enableServiceLinks",
"baseName": "enableServiceLinks",
"type": "boolean"
},
{
"name": "ephemeralContainers",
"baseName": "ephemeralContainers",
"type": "Array<V1EphemeralContainer>"
},
{
"name": "hostAliases",
"baseName": "hostAliases",
"type": "Array<V1HostAlias>"
},
{
"name": "hostIPC",
"baseName": "hostIPC",
"type": "boolean"
},
{
"name": "hostNetwork",
"baseName": "hostNetwork",
"type": "boolean"
},
{
"name": "hostPID",
"baseName": "hostPID",
"type": "boolean"
},
{
"name": "hostname",
"baseName": "hostname",
"type": "string"
},
{
"name": "imagePullSecrets",
"baseName": "imagePullSecrets",
"type": "Array<V1LocalObjectReference>"
},
{
"name": "initContainers",
"baseName": "initContainers",
"type": "Array<V1Container>"
},
{
"name": "nodeName",
"baseName": "nodeName",
"type": "string"
},
{
"name": "nodeSelector",
"baseName": "nodeSelector",
"type": "{ [key: string]: string; }"
},
{
"name": "overhead",
"baseName": "overhead",
"type": "{ [key: string]: string; }"
},
{
"name": "preemptionPolicy",
"baseName": "preemptionPolicy",
"type": "string"
},
{
"name": "priority",
"baseName": "priority",
"type": "number"
},
{
"name": "priorityClassName",
"baseName": "priorityClassName",
"type": "string"
},
{
"name": "readinessGates",
"baseName": "readinessGates",
"type": "Array<V1PodReadinessGate>"
},
{
"name": "restartPolicy",
"baseName": "restartPolicy",
"type": "string"
},
{
"name": "runtimeClassName",
"baseName": "runtimeClassName",
"type": "string"
},
{
"name": "schedulerName",
"baseName": "schedulerName",
"type": "string"
},
{
"name": "securityContext",
"baseName": "securityContext",
"type": "V1PodSecurityContext"
},
{
"name": "serviceAccount",
"baseName": "serviceAccount",
"type": "string"
},
{
"name": "serviceAccountName",
"baseName": "serviceAccountName",
"type": "string"
},
{
"name": "shareProcessNamespace",
"baseName": "shareProcessNamespace",
"type": "boolean"
},
{
"name": "subdomain",
"baseName": "subdomain",
"type": "string"
},
{
"name": "terminationGracePeriodSeconds",
"baseName": "terminationGracePeriodSeconds",
"type": "number"
},
{
"name": "tolerations",
"baseName": "tolerations",
"type": "Array<V1Toleration>"
},
{
"name": "topologySpreadConstraints",
"baseName": "topologySpreadConstraints",
"type": "Array<V1TopologySpreadConstraint>"
},
{
"name": "volumes",
"baseName": "volumes",
"type": "Array<V1Volume>"
} ];
static getAttributeTypeMap() {
return V1PodSpec.attributeTypeMap;
}
}

View File

@@ -0,0 +1,105 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ContainerStatus } from './v1ContainerStatus';
import { V1PodCondition } from './v1PodCondition';
import { V1PodIP } from './v1PodIP';
export class V1PodStatus {
'conditions'?: Array<V1PodCondition>;
'containerStatuses'?: Array<V1ContainerStatus>;
'ephemeralContainerStatuses'?: Array<V1ContainerStatus>;
'hostIP'?: string;
'initContainerStatuses'?: Array<V1ContainerStatus>;
'message'?: string;
'nominatedNodeName'?: string;
'phase'?: string;
'podIP'?: string;
'podIPs'?: Array<V1PodIP>;
'qosClass'?: string;
'reason'?: string;
'startTime'?: Date | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "conditions",
"baseName": "conditions",
"type": "Array<V1PodCondition>"
},
{
"name": "containerStatuses",
"baseName": "containerStatuses",
"type": "Array<V1ContainerStatus>"
},
{
"name": "ephemeralContainerStatuses",
"baseName": "ephemeralContainerStatuses",
"type": "Array<V1ContainerStatus>"
},
{
"name": "hostIP",
"baseName": "hostIP",
"type": "string"
},
{
"name": "initContainerStatuses",
"baseName": "initContainerStatuses",
"type": "Array<V1ContainerStatus>"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "nominatedNodeName",
"baseName": "nominatedNodeName",
"type": "string"
},
{
"name": "phase",
"baseName": "phase",
"type": "string"
},
{
"name": "podIP",
"baseName": "podIP",
"type": "string"
},
{
"name": "podIPs",
"baseName": "podIPs",
"type": "Array<V1PodIP>"
},
{
"name": "qosClass",
"baseName": "qosClass",
"type": "string"
},
{
"name": "reason",
"baseName": "reason",
"type": "string"
},
{
"name": "startTime",
"baseName": "startTime",
"type": "Date"
} ];
static getAttributeTypeMap() {
return V1PodStatus.attributeTypeMap;
}
}

View File

@@ -0,0 +1,42 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1PortworxVolumeSource {
'fsType'?: string;
'readOnly'?: boolean | null;
'volumeID'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "volumeID",
"baseName": "volumeID",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1PortworxVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1NodeSelectorTerm } from './v1NodeSelectorTerm';
export class V1PreferredSchedulingTerm {
'preference'?: V1NodeSelectorTerm;
'weight'?: number;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "preference",
"baseName": "preference",
"type": "V1NodeSelectorTerm"
},
{
"name": "weight",
"baseName": "weight",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1PreferredSchedulingTerm.attributeTypeMap;
}
}

View File

@@ -0,0 +1,75 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ExecAction } from './v1ExecAction';
import { V1HTTPGetAction } from './v1HTTPGetAction';
import { V1TCPSocketAction } from './v1TCPSocketAction';
export class V1Probe {
'exec'?: V1ExecAction;
'failureThreshold'?: number | null;
'httpGet'?: V1HTTPGetAction;
'initialDelaySeconds'?: number | null;
'periodSeconds'?: number | null;
'successThreshold'?: number | null;
'tcpSocket'?: V1TCPSocketAction;
'timeoutSeconds'?: number | null;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "exec",
"baseName": "exec",
"type": "V1ExecAction"
},
{
"name": "failureThreshold",
"baseName": "failureThreshold",
"type": "number"
},
{
"name": "httpGet",
"baseName": "httpGet",
"type": "V1HTTPGetAction"
},
{
"name": "initialDelaySeconds",
"baseName": "initialDelaySeconds",
"type": "number"
},
{
"name": "periodSeconds",
"baseName": "periodSeconds",
"type": "number"
},
{
"name": "successThreshold",
"baseName": "successThreshold",
"type": "number"
},
{
"name": "tcpSocket",
"baseName": "tcpSocket",
"type": "V1TCPSocketAction"
},
{
"name": "timeoutSeconds",
"baseName": "timeoutSeconds",
"type": "number"
} ];
static getAttributeTypeMap() {
return V1Probe.attributeTypeMap;
}
}

View File

@@ -0,0 +1,37 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1VolumeProjection } from './v1VolumeProjection';
export class V1ProjectedVolumeSource {
'defaultMode'?: number | null;
'sources'?: Array<V1VolumeProjection>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "defaultMode",
"baseName": "defaultMode",
"type": "number"
},
{
"name": "sources",
"baseName": "sources",
"type": "Array<V1VolumeProjection>"
} ];
static getAttributeTypeMap() {
return V1ProjectedVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,60 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export class V1QuobyteVolumeSource {
'group'?: string;
'readOnly'?: boolean | null;
'registry'?: string;
'tenant'?: string;
'user'?: string;
'volume'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "group",
"baseName": "group",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "registry",
"baseName": "registry",
"type": "string"
},
{
"name": "tenant",
"baseName": "tenant",
"type": "string"
},
{
"name": "user",
"baseName": "user",
"type": "string"
},
{
"name": "volume",
"baseName": "volume",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1QuobyteVolumeSource.attributeTypeMap;
}
}

View File

@@ -0,0 +1,73 @@
/**
* Dusky API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LocalObjectReference } from './v1LocalObjectReference';
export class V1RBDVolumeSource {
'fsType'?: string;
'image'?: string;
'keyring'?: string;
'monitors'?: Array<string>;
'pool'?: string;
'readOnly'?: boolean | null;
'secretRef'?: V1LocalObjectReference;
'user'?: string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "fsType",
"baseName": "fsType",
"type": "string"
},
{
"name": "image",
"baseName": "image",
"type": "string"
},
{
"name": "keyring",
"baseName": "keyring",
"type": "string"
},
{
"name": "monitors",
"baseName": "monitors",
"type": "Array<string>"
},
{
"name": "pool",
"baseName": "pool",
"type": "string"
},
{
"name": "readOnly",
"baseName": "readOnly",
"type": "boolean"
},
{
"name": "secretRef",
"baseName": "secretRef",
"type": "V1LocalObjectReference"
},
{
"name": "user",
"baseName": "user",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1RBDVolumeSource.attributeTypeMap;
}
}

Some files were not shown because too many files have changed in this diff Show More