我正在尝试从 k8s 命名空间中删除 configmap .. 我使用以下命令创建了 configmap
kubectl -n namespacename create -f configmap.yaml
检查 k8s 备忘单https://kubernetes.io/docs/reference/kubectl/cheatsheet/我没有找到任何相关的东西.. 请建议如何做到这一点?
我正在尝试使用Firestore Firebase 和TypeScript实现存储库模式。
代码:
import { firestore } from "firebase-admin";
import { ISearchCriteria } from './ISearchCriteria'
//export class selectQuery<T> {
// constructor(private query: firestore.Query<T>) { }
//}
export class DBContext {
static current: DBContext = new DBContext();
private db: firestore.Firestore;
private constructor() {
this.db = firestore();
}
collection(collectionName: string): firestore.CollectionReference<firestore.DocumentData> {
return this.db.collection(collectionName);
}
public async where<T extends object>(collectionName: string, searchCriteria: ISearchCriteria[]): Promise<T[]> {
var snapShot = this.collection(collectionName);
for (var i = 0; i < searchCriteria.length; i++) { …Run Code Online (Sandbox Code Playgroud) 取决于Microsoft文档:
Kestrel可以单独使用,也可以与反向代理服务器(例如IIS,Nginx或Apache)一起使用。反向代理服务器从Internet接收HTTP请求,并在进行一些初步处理后将其转发给Kestrel。
没有Kestrel或自定义服务器实现,就无法使用IIS,Nginx和Apache。ASP.NET Core旨在在其自己的进程中运行,以便它可以跨平台一致地运行。
但是当我运行Visual Studio 2017时,总是运行IIS Express。因此,如果可能的话,如何单独依靠茶est取决于MS文档。
.net ×1
.net-core ×1
asp.net ×1
asp.net-core ×1
configmap ×1
firebase ×1
kubectl ×1
kubernetes ×1
typescript ×1