mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 23:39:41 +02:00
34 lines
613 B
TypeScript
34 lines
613 B
TypeScript
|
import uuidv4 from 'uuid/v4';
|
||
|
|
||
|
import { StorageClass } from '../storage-class/StorageClass';
|
||
|
|
||
|
export class PersistentVolumeClaim {
|
||
|
Id: string = uuidv4();
|
||
|
|
||
|
Name: string = '';
|
||
|
|
||
|
PreviousName: string = '';
|
||
|
|
||
|
Namespace: string = '';
|
||
|
|
||
|
Storage: number = 0;
|
||
|
|
||
|
storageClass?: StorageClass; // KubernetesStorageClass
|
||
|
|
||
|
CreationDate: string = '';
|
||
|
|
||
|
ApplicationOwner: string = '';
|
||
|
|
||
|
AccessModes: Array<unknown> = [];
|
||
|
|
||
|
ApplicationName: string = '';
|
||
|
|
||
|
/**
|
||
|
* used for Application creation from `ApplicationFormValues`
|
||
|
* not used from API conversion
|
||
|
*/
|
||
|
MountPath: string = '';
|
||
|
|
||
|
Yaml: string = '';
|
||
|
}
|