工厂方法模式
摘要:# 2. 简单工厂 ## 2.1 概述 指在不指定具体产品类的情况下,为相互关联的产品簇或产品集(Families of Products)提供创建接口,并向客户端隐藏具体产品创建的细节或表示的对象。 ## 2.2 代码示例 - 对`deployment`,`daemonset`,`stateful
阅读全文
posted @ 2023-07-11 00:07
posted @ 2023-07-11 00:07
posted @ 2023-07-06 14:06