本文整理了Java中com.github.dockerjava.api.model.Version.getArch()
方法的一些代码示例,展示了Version.getArch()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getArch()
方法的具体详情如下:
包路径:com.github.dockerjava.api.model.Version
类名称:Version
方法名:getArch
暂无
代码示例来源:origin: arquillian/arquillian-cube
private void configureDockerExecutor() {
when(version.getVersion()).thenReturn("1.1.0");
when(version.getOperatingSystem()).thenReturn("linux");
when(version.getKernelVersion()).thenReturn("3.1.0");
when(version.getApiVersion()).thenReturn("1.12");
when(version.getArch()).thenReturn("x86");
when(dockerClientExecutor.dockerHostVersion()).thenReturn(version);
}
代码示例来源:origin: arquillian/arquillian-cube
private ReportBuilder createDockerInfoGroup(DockerClientExecutor executor) {
Version version = executor.dockerHostVersion();
final ReportBuilder reportBuilder = Reporter.createReport(DOCKER_HOST_INFORMATION)
.addKeyValueEntry(DOCKER_VERSION, version.getVersion())
.addKeyValueEntry(DOCKER_OS, version.getOperatingSystem())
.addKeyValueEntry(DOCKER_KERNEL, version.getKernelVersion())
.addKeyValueEntry(DOCKER_API_VERSION, version.getApiVersion())
.addKeyValueEntry(DOCKER_ARCH, version.getArch());
return reportBuilder;
}
内容来源于网络,如有侵权,请联系作者删除!