feat(frontend): created `IPAMConfig` interface

pull/81/head
Samuel Rowe 3 years ago
parent c6f76fa7f3
commit a3e958b529

@ -82,6 +82,13 @@ export interface IVolumeTopLevel {
name: string; name: string;
} }
export interface IPAMConfig {
subnet?: string;
ip_range?: string;
gateway?: string;
aux_addresses?: Record<string, string>;
}
export interface INetworkTopLevel { export interface INetworkTopLevel {
driver: string; driver: string;
driver_opts: KeyValPair; driver_opts: KeyValPair;
@ -89,12 +96,7 @@ export interface INetworkTopLevel {
enable_ipv6: boolean; enable_ipv6: boolean;
ipam?: { ipam?: {
driver?: string; driver?: string;
config?: { config?: IPAMConfig[];
subnet?: string;
ip_range?: string;
gateway?: string;
aux_addresses?: Record<string, string>;
}[];
options?: Record<string, string>; options?: Record<string, string>;
}; };
internal: boolean; internal: boolean;

Loading…
Cancel
Save