摘要:
上一篇文章中,我们其实介绍了 Kubernetes 的对象其实就是系统中持久化的实体,Kubernetes 用这些实体来表示集群中的状态,它们描述了集群中运行的容器化应用以及这些对象占用的资源和行为。 不过当我们想要了解 Kubernetes 的实现原理时,绕不开的其实就是 Kubernetes 中 阅读全文
posted @ 2020-01-05 18:54
ppjj
阅读(379)
评论(0)
推荐(0)
摘要:
This was how I solved mine after 'googling' around... This was how I solved mine after 'googling' around... Navigate to the directory your node was in 阅读全文
posted @ 2020-01-05 18:45
ppjj
阅读(4082)
评论(1)
推荐(0)
摘要:
前言 何为Retrofit? 借用官网的原话, Type-safe HTTP client for Android and Java by Square, Inc.适用于Android 和 Java 的类型安全的HTTP客户端,由Square提供的。(敲黑板) 由此我们可以得知,Retrofit是一 阅读全文
posted @ 2020-01-05 18:36
ppjj
阅读(6233)
评论(0)
推荐(0)
摘要:
一、内置Servlet容器 1.1 定制和修改Servlet容器配置 (1)在application.properties/yaml文件中修改。示例: server.port=8081 #项目路径 server.servlet.context-path=/dmf server.tomcat.uri- 阅读全文
posted @ 2020-01-05 18:26
ppjj
阅读(620)
评论(0)
推荐(0)
摘要:
最近接手公司前端外包出去的的项目,然后在npm run build的时候遇到了两个问题。 第一点是 A complete log of this run can be found in:npm ERR! C:\Users\90422\AppData\Roaming\npm-cache\_logs\2 阅读全文
posted @ 2020-01-05 18:09
ppjj
阅读(3991)
评论(0)
推荐(0)
摘要:
Mock方法内部new出来的对象 测试目标代码: 01 public class ClassUnderTest { 02 03 public boolean callInternalInstance(String path) { 04 05 File file = new File(path); 0 阅读全文
posted @ 2020-01-05 18:08
ppjj
阅读(5992)
评论(0)
推荐(0)
摘要:
要模拟的类: 使用PowerMock模拟: 阅读全文
posted @ 2020-01-05 18:02
ppjj
阅读(3031)
评论(0)
推荐(0)