File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
src/main/java/eu/openanalytics/shinyproxy Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 27
27
import eu .openanalytics .containerproxy .model .runtime .runtimevalues .RuntimeValue ;
28
28
import eu .openanalytics .containerproxy .model .spec .AccessControl ;
29
29
import eu .openanalytics .containerproxy .model .spec .ContainerSpec ;
30
+ import eu .openanalytics .containerproxy .model .spec .DockerDeviceRequest ;
30
31
import eu .openanalytics .containerproxy .model .spec .DockerSwarmSecret ;
31
32
import eu .openanalytics .containerproxy .model .spec .ISpecExtension ;
32
33
import eu .openanalytics .containerproxy .model .spec .Parameters ;
@@ -573,6 +574,29 @@ public void setResourceName(SpelField.String resourceName) {
573
574
containerSpec .resourceName (resourceName );
574
575
}
575
576
577
+ public void setDockerRuntime (SpelField .String runtime ) {
578
+ containerSpec .dockerRuntime (runtime );
579
+ }
580
+
581
+ public SpelField .String getDockerRuntime () {
582
+ return containerSpec .build ().getDockerRuntime ();
583
+ }
584
+
585
+ public void setDockerDeviceRequests (List <DockerDeviceRequest > dockerDeviceRequests ) {
586
+ containerSpec .dockerDeviceRequests (dockerDeviceRequests );
587
+ }
588
+
589
+ public List <DockerDeviceRequest > getDockerDeviceRequests () {
590
+ return containerSpec .build ().getDockerDeviceRequests ();
591
+ }
592
+
593
+ public void setDockerUser (SpelField .String user ) {
594
+ containerSpec .dockerUser (user );
595
+ }
596
+
597
+ public SpelField .String getDockerUser () {
598
+ return containerSpec .build ().getDockerUser ();
599
+ }
576
600
577
601
public ProxySpec getProxySpec () {
578
602
additionalPortMappings .add (defaultPortMapping .build ());
You can’t perform that action at this time.
0 commit comments