feat(frontend): created `IEditServiceForm` interface

pull/75/head
Samuel Rowe 3 years ago
parent eb3e67d9e5
commit 6c51e65d3e

@ -352,3 +352,26 @@ export interface IGeneratePayload {
volumes: Record<string, Partial<IVolumeTopLevel>>; volumes: Record<string, Partial<IVolumeTopLevel>>;
}; };
} }
export interface IEditServiceForm {
serviceName: string;
containerName: string;
ports: {
hostPort: string;
containerPort: string;
protocol: "tcp" | "udp";
}[];
environmentVariables: {
key: string;
value: string;
}[];
volumes: {
name: string;
containerPath: string;
accessMode: string;
}[];
labels: {
key: string;
value: string;
}[];
}

Loading…
Cancel
Save