我想知道我需要在2013年使用哪种鼻子版本?
我想知道鼻子的未来是什么:nose1还是nose2?
我在nose1 github上看到比nose2 github存储库更多的活动.
几个月来,我总是尝试使用nose2,但我发现我一个人,每个人都在我周围使用nose1.
你对nose2有何评论?
最诚挚的问候,
Stéphane
如何在不创建的情况下从目录生成ConfigMap?
如果我使用:
$ kubectl create configmap my-config --from-file=configuration/ -o yaml
apiVersion: v1
data:
...
Run Code Online (Sandbox Code Playgroud)
显示ConfigMap yaml输出,但是my-config在当前Kubernetes项目上下文中创建.
我想只生成ConfigMap文件,有可能吗?有kubectl create"干"模式吗?
最诚挚的问候,
Stéphane
我有这个代码(http://jsfiddle.net/stephane_klein/gyHmS/2/):
App = Ember.Application.create({});
App.Item = Ember.Object.extend({
title: null,
parent: null
});
App.MyList = Ember.Object.extend({
title: null,
content: [],
changed: function() {
console.log('here');
}.observes('content')
});
App.list = App.MyList.create({
title: "foobar",
content: [
App.Item.create({
item: "item1"
}),
App.Item.create({
item: "item2"
})
]
});
console.log(App.list.content);
App.list.content.pushObject(
App.Item.create({
item: "item3"
})
);
console.log(App.list.content);
Run Code Online (Sandbox Code Playgroud)
为什么"console.log('here')"从未被调用过?
我想在App.Iy中插入App.Item时设置App.Item.parent.我不知道如何观察App.MyList.content字段.
谢谢你的帮助.
最好的问候,Stephane