@kubernetes/client-node
Version:
NodeJS client for kubernetes
76 lines (75 loc) • 2.81 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* 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 '../models/V1LocalObjectReference.js';
/**
* Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
*/
export declare class V1ISCSIVolumeSource {
/**
* chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
*/
'chapAuthDiscovery'?: boolean;
/**
* chapAuthSession defines whether support iSCSI Session CHAP authentication
*/
'chapAuthSession'?: boolean;
/**
* fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi
*/
'fsType'?: string;
/**
* initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
*/
'initiatorName'?: string;
/**
* iqn is the target iSCSI Qualified Name.
*/
'iqn': string;
/**
* iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to \'default\' (tcp).
*/
'iscsiInterface'?: string;
/**
* lun represents iSCSI Target Lun number.
*/
'lun': number;
/**
* portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
*/
'portals'?: Array<string>;
/**
* readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
*/
'readOnly'?: boolean;
'secretRef'?: V1LocalObjectReference;
/**
* targetPortal is iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
*/
'targetPortal': string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}