Container constructor
Container({
- List<
String> ? args, - List<
String> ? command, - List<
EnvVar> ? env, - List<
EnvFromSource> ? envFrom, - String? image,
- String? imagePullPolicy,
- Probe? livenessProbe,
- String? name,
- List<
ContainerPort> ? ports, - Probe? readinessProbe,
- ResourceRequirements? resources,
- SecurityContext? securityContext,
- Probe? startupProbe,
- String? terminationMessagePath,
- String? terminationMessagePolicy,
- List<
VolumeMount> ? volumeMounts, - String? workingDir,
Implementation
Container({
this.args,
this.command,
this.env,
this.envFrom,
this.image,
this.imagePullPolicy,
this.livenessProbe,
this.name,
this.ports,
this.readinessProbe,
this.resources,
this.securityContext,
this.startupProbe,
this.terminationMessagePath,
this.terminationMessagePolicy,
this.volumeMounts,
this.workingDir,
});