Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
KubeSphere
kubesphere
提交
ab7abe5e
K
kubesphere
项目概览
KubeSphere
/
kubesphere
通知
143
Star
32
Fork
5
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubesphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ab7abe5e
编写于
3月 23, 2021
作者:
Z
zackzhangkai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix import error
Signed-off-by:
N
zackzhangkai
<
zhangkaiamm@gmail.com
>
上级
6fbaedfa
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
64 addition
and
57 deletion
+64
-57
pkg/tools.go
pkg/tools.go
+1
-1
tools/tools.go
tools/tools.go
+1
-1
vendor/github.com/MakeNowJust/heredoc/README.md
vendor/github.com/MakeNowJust/heredoc/README.md
+53
-53
vendor/modules.txt
vendor/modules.txt
+9
-2
未找到文件。
pkg/tools.go
浏览文件 @
ab7abe5e
...
@@ -23,6 +23,6 @@ import (
...
@@ -23,6 +23,6 @@ import (
_
"k8s.io/code-generator/cmd/deepcopy-gen"
_
"k8s.io/code-generator/cmd/deepcopy-gen"
_
"k8s.io/code-generator/cmd/informer-gen"
_
"k8s.io/code-generator/cmd/informer-gen"
_
"k8s.io/code-generator/cmd/lister-gen"
_
"k8s.io/code-generator/cmd/lister-gen"
_
"k8s.io/kube-openapi/cmd/openapi-gen
/
"
_
"k8s.io/kube-openapi/cmd/openapi-gen"
_
"sigs.k8s.io/controller-tools/cmd/controller-gen"
_
"sigs.k8s.io/controller-tools/cmd/controller-gen"
)
)
tools/tools.go
浏览文件 @
ab7abe5e
...
@@ -23,5 +23,5 @@ import (
...
@@ -23,5 +23,5 @@ import (
_
"k8s.io/code-generator/cmd/deepcopy-gen"
_
"k8s.io/code-generator/cmd/deepcopy-gen"
_
"k8s.io/code-generator/cmd/informer-gen"
_
"k8s.io/code-generator/cmd/informer-gen"
_
"k8s.io/code-generator/cmd/lister-gen"
_
"k8s.io/code-generator/cmd/lister-gen"
_
"k8s.io/kube-openapi/cmd/openapi-gen
/
"
_
"k8s.io/kube-openapi/cmd/openapi-gen"
)
)
vendor/github.com/MakeNowJust/heredoc/README.md
浏览文件 @
ab7abe5e
# heredoc [![CircleCI](https://circleci.com/gh/MakeNowJust/heredoc.svg?style=svg)](https://circleci.com/gh/MakeNowJust/heredoc) [![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/MakeNowJust/heredoc)
# heredoc [![CircleCI](https://circleci.com/gh/MakeNowJust/heredoc.svg?style=svg)](https://circleci.com/gh/MakeNowJust/heredoc) [![Go Walker](http://gowalker.org/api/v1/badge)](https://gowalker.org/github.com/MakeNowJust/heredoc)
## About
## About
Package heredoc provides the here-document with keeping indent.
Package heredoc provides the here-document with keeping indent.
## Install
## Install
```
console
```
console
$
go get github.com/MakeNowJust/heredoc
$
go get github.com/MakeNowJust/heredoc
```
```
## Import
## Import
```
go
```
go
// usual
// usual
import
"github.com/MakeNowJust/heredoc"
import
"github.com/MakeNowJust/heredoc"
// shortcuts
// shortcuts
import
.
"github.com/MakeNowJust/heredoc/dot"
import
.
"github.com/MakeNowJust/heredoc/dot"
```
```
## Example
## Example
```
go
```
go
package
main
package
main
import
(
import
(
"fmt"
"fmt"
.
"github.com/MakeNowJust/heredoc/dot"
.
"github.com/MakeNowJust/heredoc/dot"
)
)
func
main
()
{
func
main
()
{
fmt
.
Println
(
D
(
`
fmt
.
Println
(
D
(
`
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna
sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, ...
aliqua. Ut enim ad minim veniam, ...
`
))
`
))
// Output:
// Output:
// Lorem ipsum dolor sit amet, consectetur adipisicing elit,
// Lorem ipsum dolor sit amet, consectetur adipisicing elit,
// sed do eiusmod tempor incididunt ut labore et dolore magna
// sed do eiusmod tempor incididunt ut labore et dolore magna
// aliqua. Ut enim ad minim veniam, ...
// aliqua. Ut enim ad minim veniam, ...
//
//
}
}
```
```
## API Document
## API Document
-
[
Go Walker - github.com/MakeNowJust/heredoc
](
https://gowalker.org/github.com/MakeNowJust/heredoc
)
-
[
Go Walker - github.com/MakeNowJust/heredoc
](
https://gowalker.org/github.com/MakeNowJust/heredoc
)
-
[
Go Walker - github.com/MakeNowJust/heredoc/dot
](
https://gowalker.org/github.com/MakeNowJust/heredoc/dot
)
-
[
Go Walker - github.com/MakeNowJust/heredoc/dot
](
https://gowalker.org/github.com/MakeNowJust/heredoc/dot
)
## License
## License
This software is released under the MIT License, see LICENSE.
This software is released under the MIT License, see LICENSE.
vendor/modules.txt
浏览文件 @
ab7abe5e
...
@@ -228,6 +228,8 @@ github.com/go-redis/redis/internal/hashtag
...
@@ -228,6 +228,8 @@ github.com/go-redis/redis/internal/hashtag
github.com/go-redis/redis/internal/pool
github.com/go-redis/redis/internal/pool
github.com/go-redis/redis/internal/proto
github.com/go-redis/redis/internal/proto
github.com/go-redis/redis/internal/util
github.com/go-redis/redis/internal/util
# github.com/go-resty/resty/v2 v2.5.0
github.com/go-resty/resty/v2
# github.com/go-sql-driver/mysql v1.5.0 => github.com/go-sql-driver/mysql v1.5.0
# github.com/go-sql-driver/mysql v1.5.0 => github.com/go-sql-driver/mysql v1.5.0
github.com/go-sql-driver/mysql
github.com/go-sql-driver/mysql
# github.com/go-stack/stack v1.8.0 => github.com/go-stack/stack v1.8.0
# github.com/go-stack/stack v1.8.0 => github.com/go-stack/stack v1.8.0
...
@@ -684,7 +686,7 @@ golang.org/x/crypto/ssh/terminal
...
@@ -684,7 +686,7 @@ golang.org/x/crypto/ssh/terminal
# golang.org/x/lint v0.0.0-20200302205851-738671d3881b => golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
# golang.org/x/lint v0.0.0-20200302205851-738671d3881b => golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f
golang.org/x/lint
golang.org/x/lint
golang.org/x/lint/golint
golang.org/x/lint/golint
# golang.org/x/net v0.0.0-2020
0707034311-ab3426394381
=> golang.org/x/net v0.0.0-20190620200207-3b0461eec859
# golang.org/x/net v0.0.0-2020
1224014010-6772e930b67b
=> golang.org/x/net v0.0.0-20190620200207-3b0461eec859
golang.org/x/net/context
golang.org/x/net/context
golang.org/x/net/context/ctxhttp
golang.org/x/net/context/ctxhttp
golang.org/x/net/html
golang.org/x/net/html
...
@@ -697,6 +699,7 @@ golang.org/x/net/idna
...
@@ -697,6 +699,7 @@ golang.org/x/net/idna
golang.org/x/net/internal/socks
golang.org/x/net/internal/socks
golang.org/x/net/internal/timeseries
golang.org/x/net/internal/timeseries
golang.org/x/net/proxy
golang.org/x/net/proxy
golang.org/x/net/publicsuffix
golang.org/x/net/trace
golang.org/x/net/trace
golang.org/x/net/websocket
golang.org/x/net/websocket
# golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d => golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
# golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d => golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
...
@@ -932,7 +935,9 @@ helm.sh/helm/v3/pkg/helmpath
...
@@ -932,7 +935,9 @@ helm.sh/helm/v3/pkg/helmpath
helm.sh/helm/v3/pkg/helmpath/xdg
helm.sh/helm/v3/pkg/helmpath/xdg
helm.sh/helm/v3/pkg/plugin
helm.sh/helm/v3/pkg/plugin
helm.sh/helm/v3/pkg/provenance
helm.sh/helm/v3/pkg/provenance
helm.sh/helm/v3/pkg/release
helm.sh/helm/v3/pkg/repo
helm.sh/helm/v3/pkg/repo
helm.sh/helm/v3/pkg/time
# honnef.co/go/tools v0.0.1-2020.1.3 => honnef.co/go/tools v0.0.1-2020.1.3
# honnef.co/go/tools v0.0.1-2020.1.3 => honnef.co/go/tools v0.0.1-2020.1.3
honnef.co/go/tools/arg
honnef.co/go/tools/arg
honnef.co/go/tools/cmd/staticcheck
honnef.co/go/tools/cmd/staticcheck
...
@@ -1533,7 +1538,7 @@ k8s.io/klog/klogr
...
@@ -1533,7 +1538,7 @@ k8s.io/klog/klogr
# k8s.io/klog/v2 v2.0.0 => k8s.io/klog/v2 v2.0.0
# k8s.io/klog/v2 v2.0.0 => k8s.io/klog/v2 v2.0.0
k8s.io/klog/v2
k8s.io/klog/v2
# k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6 => k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
# k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6 => k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
k8s.io/kube-openapi/cmd/openapi-gen
/
k8s.io/kube-openapi/cmd/openapi-gen
k8s.io/kube-openapi/cmd/openapi-gen/args
k8s.io/kube-openapi/cmd/openapi-gen/args
k8s.io/kube-openapi/pkg/builder
k8s.io/kube-openapi/pkg/builder
k8s.io/kube-openapi/pkg/common
k8s.io/kube-openapi/pkg/common
...
@@ -1578,6 +1583,8 @@ k8s.io/utils/trace
...
@@ -1578,6 +1583,8 @@ k8s.io/utils/trace
# kubesphere.io/client-go v0.0.0 => ./staging/src/kubesphere.io/client-go
# kubesphere.io/client-go v0.0.0 => ./staging/src/kubesphere.io/client-go
kubesphere.io/client-go/client
kubesphere.io/client-go/client
kubesphere.io/client-go/client/generic
kubesphere.io/client-go/client/generic
kubesphere.io/client-go/restclient
kubesphere.io/client-go/restclient/versioned/iam/v1alpha2
# kubesphere.io/monitoring-dashboard v0.1.2
# kubesphere.io/monitoring-dashboard v0.1.2
kubesphere.io/monitoring-dashboard/api/v1alpha1
kubesphere.io/monitoring-dashboard/api/v1alpha1
kubesphere.io/monitoring-dashboard/api/v1alpha1/panels
kubesphere.io/monitoring-dashboard/api/v1alpha1/panels
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录