Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
凌波微步_大先生
dashboard
提交
0e7ee820
D
dashboard
项目概览
凌波微步_大先生
/
dashboard
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dashboard
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0e7ee820
编写于
3月 24, 2016
作者:
B
bryk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Reformat code on new formatter release
上级
cbbe42a4
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
27 addition
and
49 deletion
+27
-49
build/cluster.js
build/cluster.js
+2
-3
build/dependencies.js
build/dependencies.js
+4
-5
build/gocommand.js
build/gocommand.js
+10
-13
src/app/frontend/deploy/deploy_controller.js
src/app/frontend/deploy/deploy_controller.js
+1
-3
src/app/frontend/deploy/deployfromfile_controller.js
src/app/frontend/deploy/deployfromfile_controller.js
+1
-3
src/app/frontend/deploy/deployfromsettings_controller.js
src/app/frontend/deploy/deployfromsettings_controller.js
+1
-3
src/app/frontend/index_route.js
src/app/frontend/index_route.js
+1
-3
src/app/frontend/replicationcontrollerdetail/replicationcontrollerinfo_controller.js
...ncontrollerdetail/replicationcontrollerinfo_controller.js
+1
-3
src/test/frontend/deploy/createsecret_controller_test.js
src/test/frontend/deploy/createsecret_controller_test.js
+3
-4
src/test/frontend/deploy/deploy_controller_test.js
src/test/frontend/deploy/deploy_controller_test.js
+1
-3
src/test/frontend/replicationcontrollerdetail/replicationcontrollerinfo_controller_test.js
...rollerdetail/replicationcontrollerinfo_controller_test.js
+1
-3
src/test/frontend/replicationcontrollerlist/replicationcontrollerlistcontainer_test.js
...controllerlist/replicationcontrollerlistcontainer_test.js
+1
-3
未找到文件。
build/cluster.js
浏览文件 @
0e7ee820
...
...
@@ -141,9 +141,8 @@ gulp.task('wait-for-cluster', function(doneFn) {
function
isRunning
()
{
if
(
counter
%
10
===
0
)
{
gulpUtil
.
log
(
gulpUtil
.
colors
.
magenta
(
`Waiting for a Kubernetes cluster at
${
conf
.
backend
.
apiServerHost
}
...`
));
gulpUtil
.
log
(
gulpUtil
.
colors
.
magenta
(
`Waiting for a Kubernetes cluster at
${
conf
.
backend
.
apiServerHost
}
...`
));
}
counter
+=
1
;
...
...
build/dependencies.js
浏览文件 @
0e7ee820
...
...
@@ -89,11 +89,10 @@ function checkDependencies(packageManager) {
.
join
(
''
);
if
(
dependenciesStr
.
length
!==
0
)
{
gulputil
.
log
(
gulputil
.
colors
.
yellow
(
`Dependencies needed to update:\n
${
dependenciesStr
}
\n`
+
`Run: 'gulp update-
${
packageManager
}
-dependencies', then '
${
packageManager
}
install' to update`
+
'
dependencies.
\n
'
));
gulputil
.
log
(
gulputil
.
colors
.
yellow
(
`Dependencies needed to update:\n
${
dependenciesStr
}
\n`
+
`Run: 'gulp update-
${
packageManager
}
-dependencies', then '
${
packageManager
}
install' to update`
+
'
dependencies.
\n
'
));
}
cb
();
...
...
build/gocommand.js
浏览文件 @
0e7ee820
...
...
@@ -73,10 +73,9 @@ function checkGo() {
},
function
(
error
,
stdout
,
stderror
)
{
if
(
error
||
stderror
||
!
stdout
)
{
deferred
.
reject
(
new
Error
(
'
Go is not on the path. Please pass the PATH variable when you run
'
+
'
the gulp task with "PATH=$PATH" or install go if you have not yet.
'
));
deferred
.
reject
(
new
Error
(
'
Go is not on the path. Please pass the PATH variable when you run
'
+
'
the gulp task with "PATH=$PATH" or install go if you have not yet.
'
));
return
;
}
deferred
.
resolve
();
...
...
@@ -106,11 +105,10 @@ function checkGoVersion() {
currentGoVersion
=
`
${
currentGoVersion
}
.0`
;
}
if
(
semver
.
lt
(
currentGoVersion
,
minGoVersion
))
{
deferred
.
reject
(
new
Error
(
`The current go version '
${
currentGoVersion
}
' is older than `
+
`the minimum required version '
${
minGoVersion
}
'. `
+
`Please upgrade your go version!`
));
deferred
.
reject
(
new
Error
(
`The current go version '
${
currentGoVersion
}
' is older than `
+
`the minimum required version '
${
minGoVersion
}
'. `
+
`Please upgrade your go version!`
));
return
;
}
deferred
.
resolve
();
...
...
@@ -131,10 +129,9 @@ function checkGodep() {
},
function
(
error
,
stdout
,
stderror
)
{
if
(
error
||
stderror
||
!
stdout
)
{
deferred
.
reject
(
new
Error
(
'
Godep is not on the path.
'
+
'
Please run "npm install" in the base directory of the project.
'
));
deferred
.
reject
(
new
Error
(
'
Godep is not on the path.
'
+
'
Please run "npm install" in the base directory of the project.
'
));
return
;
}
deferred
.
resolve
();
...
...
src/app/frontend/deploy/deploy_controller.js
浏览文件 @
0e7ee820
...
...
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import
{
stateName
as
replicationcontrollers
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollers
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
/**
* Controller for the deploy view.
...
...
src/app/frontend/deploy/deployfromfile_controller.js
浏览文件 @
0e7ee820
...
...
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import
{
stateName
as
replicationcontrollerliststate
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollerliststate
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
/**
* Controller for the deploy from file directive.
...
...
src/app/frontend/deploy/deployfromsettings_controller.js
浏览文件 @
0e7ee820
...
...
@@ -15,9 +15,7 @@
import
showNamespaceDialog
from
'
./createnamespace_dialog
'
;
import
showCreateSecretDialog
from
'
./createsecret_dialog
'
;
import
DeployLabel
from
'
./deploylabel
'
;
import
{
stateName
as
replicationcontrollerliststate
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollerliststate
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
uniqueNameValidationKey
}
from
'
./uniquename_directive
'
;
import
DockerImageReference
from
'
../common/docker/dockerimagereference
'
;
...
...
src/app/frontend/index_route.js
浏览文件 @
0e7ee820
...
...
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import
{
stateUrl
as
replicationControllerStateUrl
,
}
from
'
./replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateUrl
as
replicationControllerStateUrl
}
from
'
./replicationcontrollerlist/replicationcontrollerlist_state
'
;
/**
* Global route configuration for the application.
...
...
src/app/frontend/replicationcontrollerdetail/replicationcontrollerinfo_controller.js
浏览文件 @
0e7ee820
...
...
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import
{
stateName
as
replicationcontrollers
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollers
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
/**
* Controller for the replication controller info directive.
...
...
src/test/frontend/deploy/createsecret_controller_test.js
浏览文件 @
0e7ee820
...
...
@@ -67,10 +67,9 @@ describe('Create-Secret dialog', () => {
let
rule
=
ctrl
.
dataPattern
;
// then the following data should be accepted
expect
(
(
`eyAiaHR0cHM6Ly9pbmRleC5kb2NrZXIuaW8`
+
`vdjEvIjogeyAiYXV0aCI6ICJabUZyWlhCaG`
+
`MzTjNiM0prTVRJSyIsICJlbWFpbCI6`
+
`ICJqZG9lQGV4YW1wbGUuY29tIiB9IH0K`
)
.
match
(
rule
))
expect
((
`eyAiaHR0cHM6Ly9pbmRleC5kb2NrZXIuaW8`
+
`vdjEvIjogeyAiYXV0aCI6ICJabUZyWlhCaG`
+
`MzTjNiM0prTVRJSyIsICJlbWFpbCI6`
+
`ICJqZG9lQGV4YW1wbGUuY29tIiB9IH0K`
)
.
match
(
rule
))
.
toBeDefined
();
});
...
...
src/test/frontend/deploy/deploy_controller_test.js
浏览文件 @
0e7ee820
...
...
@@ -15,9 +15,7 @@
import
DeployController
from
'
deploy/deploy_controller
'
;
import
DeployFromSettingController
from
'
deploy/deployfromsettings_controller
'
;
import
deployModule
from
'
deploy/deploy_module
'
;
import
{
stateName
as
replicationcontrollers
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollers
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
describe
(
'
Deploy controller
'
,
()
=>
{
/** @type {!DeployController} */
...
...
src/test/frontend/replicationcontrollerdetail/replicationcontrollerinfo_controller_test.js
浏览文件 @
0e7ee820
...
...
@@ -14,9 +14,7 @@
import
ReplicationControllerInfoController
from
'
replicationcontrollerdetail/replicationcontrollerinfo_controller
'
;
import
replicationControllerDetailModule
from
'
replicationcontrollerdetail/replicationcontrollerdetail_module
'
;
import
{
stateName
as
replicationcontrollers
,
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
import
{
stateName
as
replicationcontrollers
}
from
'
replicationcontrollerlist/replicationcontrollerlist_state
'
;
describe
(
'
Replication Controller Detail controller
'
,
()
=>
{
/**
...
...
src/test/frontend/replicationcontrollerlist/replicationcontrollerlistcontainer_test.js
浏览文件 @
0e7ee820
...
...
@@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import
{
binarySearchOptimalHeight
,
}
from
'
replicationcontrollerlist/replicationcontrollerlistcontainer
'
;
import
{
binarySearchOptimalHeight
}
from
'
replicationcontrollerlist/replicationcontrollerlistcontainer
'
;
describe
(
'
Replication controller list container
'
,
()
=>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录