ContainerSpec constructor
ContainerSpec({
- String? command,
- required String image,
- List<
EnvironmentVariable> ? environment, - List<
String> ? secrets, - String? pullSecret,
- ContainerMountSpec? storage,
- ServiceApiKeySpec? apiKey,
- bool? onDemand,
- bool? writableRootFs,
Implementation
ContainerSpec({
this.command,
required this.image,
List<EnvironmentVariable>? environment,
List<String>? secrets,
this.pullSecret,
this.storage,
this.apiKey,
this.onDemand,
this.writableRootFs,
}) : environment = environment ?? [],
secrets = secrets ?? [];