import BaseData from "./base"; export interface VolumeData extends BaseData { name: string; mountPath: string; } export interface GetOrCreateVolumeRequest { name: string; } export interface GetOrCreateVolumeResponse { ok: boolean; volume?: VolumeData; error?: string; } export interface VolumeGateway { id?: string; mountPath: string; config?: VolumeConfigGateway; } export interface CloudBucketConfig { readOnly?: boolean; forcePathStyle?: boolean; accessKey?: string; secretKey?: string; endpoint?: string; region?: string; } export interface VolumeConfigGateway { bucketName?: string; accessKey?: string; secretKey?: string; endpointUrl?: string; region?: string; readOnly?: boolean; forcePathStyle?: boolean; }