Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2020fengziyang
kubesphere
提交
dbc33fe5
K
kubesphere
项目概览
2020fengziyang
/
kubesphere
与 Fork 源项目一致
Fork自
KubeSphere / kubesphere
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kubesphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
dbc33fe5
编写于
8月 05, 2020
作者:
Z
zryfish
提交者:
GitHub
8月 05, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add license header (#2761)
Signed-off-by:
N
Jeff
<
zw0948@gmail.com
>
上级
719c687f
变更
181
展开全部
隐藏空白更改
内联
并排
Showing
181 changed file
with
2896 addition
and
0 deletion
+2896
-0
cmd/controller-manager/app/helper.go
cmd/controller-manager/app/helper.go
+16
-0
cmd/controller-manager/app/options/options.go
cmd/controller-manager/app/options/options.go
+16
-0
cmd/controller-manager/controller-manager.go
cmd/controller-manager/controller-manager.go
+16
-0
cmd/ks-apiserver/app/options/options.go
cmd/ks-apiserver/app/options/options.go
+16
-0
cmd/ks-apiserver/app/options/validation.go
cmd/ks-apiserver/app/options/validation.go
+16
-0
pkg/api/events/v1alpha1/types.go
pkg/api/events/v1alpha1/types.go
+16
-0
pkg/api/logging/v1alpha2/types.go
pkg/api/logging/v1alpha2/types.go
+16
-0
pkg/apis/addtoscheme_types_v1beta1.go
pkg/apis/addtoscheme_types_v1beta1.go
+16
-0
pkg/apis/cluster/group.go
pkg/apis/cluster/group.go
+16
-0
pkg/apis/cluster/v1alpha1/cluster_types.go
pkg/apis/cluster/v1alpha1/cluster_types.go
+16
-0
pkg/apis/cluster/v1alpha1/doc.go
pkg/apis/cluster/v1alpha1/doc.go
+16
-0
pkg/apis/cluster/v1alpha1/register.go
pkg/apis/cluster/v1alpha1/register.go
+16
-0
pkg/apis/network/crdinstall/install.go
pkg/apis/network/crdinstall/install.go
+16
-0
pkg/apis/servicemesh/crdinstall/install.go
pkg/apis/servicemesh/crdinstall/install.go
+16
-0
pkg/apis/types/group.go
pkg/apis/types/group.go
+16
-0
pkg/apis/types/v1beta1/federatedapplication_types.go
pkg/apis/types/v1beta1/federatedapplication_types.go
+16
-0
pkg/apis/types/v1beta1/federatedclusterrole_types.go
pkg/apis/types/v1beta1/federatedclusterrole_types.go
+16
-0
pkg/apis/types/v1beta1/federatedclusterrolebinding_types.go
pkg/apis/types/v1beta1/federatedclusterrolebinding_types.go
+16
-0
pkg/apis/types/v1beta1/federatedconfigmap_types.go
pkg/apis/types/v1beta1/federatedconfigmap_types.go
+16
-0
pkg/apis/types/v1beta1/federateddeployment_types.go
pkg/apis/types/v1beta1/federateddeployment_types.go
+16
-0
pkg/apis/types/v1beta1/federatedingress_types.go
pkg/apis/types/v1beta1/federatedingress_types.go
+16
-0
pkg/apis/types/v1beta1/federatedjob_types.go
pkg/apis/types/v1beta1/federatedjob_types.go
+16
-0
pkg/apis/types/v1beta1/federatedlimitrange_types.go
pkg/apis/types/v1beta1/federatedlimitrange_types.go
+16
-0
pkg/apis/types/v1beta1/federatednamespace_types.go
pkg/apis/types/v1beta1/federatednamespace_types.go
+16
-0
pkg/apis/types/v1beta1/federatedpersistentvolumeclaim_types.go
...pis/types/v1beta1/federatedpersistentvolumeclaim_types.go
+16
-0
pkg/apis/types/v1beta1/federatedresourcequota_types.go
pkg/apis/types/v1beta1/federatedresourcequota_types.go
+16
-0
pkg/apis/types/v1beta1/federatedsecret_types.go
pkg/apis/types/v1beta1/federatedsecret_types.go
+16
-0
pkg/apis/types/v1beta1/federatedservice_types.go
pkg/apis/types/v1beta1/federatedservice_types.go
+16
-0
pkg/apis/types/v1beta1/federatedstatefulset_types.go
pkg/apis/types/v1beta1/federatedstatefulset_types.go
+16
-0
pkg/apis/types/v1beta1/federateduser_types.go
pkg/apis/types/v1beta1/federateduser_types.go
+16
-0
pkg/apis/types/v1beta1/federatedworkspace_types.go
pkg/apis/types/v1beta1/federatedworkspace_types.go
+16
-0
pkg/apiserver/auditing/backend.go
pkg/apiserver/auditing/backend.go
+16
-0
pkg/apiserver/auditing/types.go
pkg/apiserver/auditing/types.go
+16
-0
pkg/apiserver/auditing/types_test.go
pkg/apiserver/auditing/types_test.go
+16
-0
pkg/apiserver/auditing/v1alpha1/event.go
pkg/apiserver/auditing/v1alpha1/event.go
+16
-0
pkg/apiserver/dispatch/dispatch_test.go
pkg/apiserver/dispatch/dispatch_test.go
+16
-0
pkg/apiserver/filters/auditing.go
pkg/apiserver/filters/auditing.go
+16
-0
pkg/controller/application/application_controller.go
pkg/controller/application/application_controller.go
+16
-0
pkg/controller/application/application_controller_test.go
pkg/controller/application/application_controller_test.go
+16
-0
pkg/controller/cluster/cluster_controller.go
pkg/controller/cluster/cluster_controller.go
+16
-0
pkg/controller/cluster/cluster_controller_test.go
pkg/controller/cluster/cluster_controller_test.go
+16
-0
pkg/controller/cluster/helper.go
pkg/controller/cluster/helper.go
+16
-0
pkg/controller/cluster/join.go
pkg/controller/cluster/join.go
+16
-0
pkg/controller/cluster/unjoin.go
pkg/controller/cluster/unjoin.go
+16
-0
pkg/controller/cluster/util.go
pkg/controller/cluster/util.go
+16
-0
pkg/controller/destinationrule/destinationrule_controller.go
pkg/controller/destinationrule/destinationrule_controller.go
+16
-0
pkg/controller/destinationrule/destinationrule_controller_test.go
...roller/destinationrule/destinationrule_controller_test.go
+16
-0
pkg/controller/devopscredential/devopscredential_controller.go
...ontroller/devopscredential/devopscredential_controller.go
+16
-0
pkg/controller/devopscredential/devopscredential_controller_test.go
...ller/devopscredential/devopscredential_controller_test.go
+16
-0
pkg/controller/devopsproject/devopsproject_controller.go
pkg/controller/devopsproject/devopsproject_controller.go
+16
-0
pkg/controller/devopsproject/devopsproject_controller_test.go
...controller/devopsproject/devopsproject_controller_test.go
+16
-0
pkg/controller/network/doc.go
pkg/controller/network/doc.go
+16
-0
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_controller.go
...ler/network/nsnetworkpolicy/nsnetworkpolicy_controller.go
+16
-0
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_suite_test.go
...ler/network/nsnetworkpolicy/nsnetworkpolicy_suite_test.go
+16
-0
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_test.go
...ontroller/network/nsnetworkpolicy/nsnetworkpolicy_test.go
+16
-0
pkg/controller/network/nsnetworkpolicy/webhook.go
pkg/controller/network/nsnetworkpolicy/webhook.go
+16
-0
pkg/controller/network/provider/fake_ns.go
pkg/controller/network/provider/fake_ns.go
+16
-0
pkg/controller/network/provider/namespace_np.go
pkg/controller/network/provider/namespace_np.go
+16
-0
pkg/controller/network/provider/ns_k8s.go
pkg/controller/network/provider/ns_k8s.go
+16
-0
pkg/controller/network/types.go
pkg/controller/network/types.go
+16
-0
pkg/controller/pipeline/pipeline_controller.go
pkg/controller/pipeline/pipeline_controller.go
+16
-0
pkg/controller/pipeline/pipeline_controller_test.go
pkg/controller/pipeline/pipeline_controller_test.go
+16
-0
pkg/controller/s2ibinary/s2ibinary_controller.go
pkg/controller/s2ibinary/s2ibinary_controller.go
+16
-0
pkg/controller/s2ibinary/s2ibinary_controller_test.go
pkg/controller/s2ibinary/s2ibinary_controller_test.go
+16
-0
pkg/controller/s2irun/s2irun_controller.go
pkg/controller/s2irun/s2irun_controller.go
+16
-0
pkg/controller/s2irun/s2irun_controller_test.go
pkg/controller/s2irun/s2irun_controller_test.go
+16
-0
pkg/controller/virtualservice/util/util.go
pkg/controller/virtualservice/util/util.go
+16
-0
pkg/controller/virtualservice/virtualservice_controller.go
pkg/controller/virtualservice/virtualservice_controller.go
+16
-0
pkg/controller/virtualservice/virtualservice_controller_test.go
...ntroller/virtualservice/virtualservice_controller_test.go
+16
-0
pkg/informers/null_informers.go
pkg/informers/null_informers.go
+16
-0
pkg/kapis/alerting/v1/register.go
pkg/kapis/alerting/v1/register.go
+16
-0
pkg/kapis/cluster/v1alpha1/handler.go
pkg/kapis/cluster/v1alpha1/handler.go
+16
-0
pkg/kapis/cluster/v1alpha1/handler_test.go
pkg/kapis/cluster/v1alpha1/handler_test.go
+16
-0
pkg/kapis/cluster/v1alpha1/register.go
pkg/kapis/cluster/v1alpha1/register.go
+16
-0
pkg/kapis/generic/generic.go
pkg/kapis/generic/generic.go
+16
-0
pkg/kapis/generic/generic_test.go
pkg/kapis/generic/generic_test.go
+16
-0
pkg/kapis/iam/v1alpha2/handler.go
pkg/kapis/iam/v1alpha2/handler.go
+16
-0
pkg/kapis/monitoring/v1alpha3/helper.go
pkg/kapis/monitoring/v1alpha3/helper.go
+16
-0
pkg/kapis/monitoring/v1alpha3/helper_test.go
pkg/kapis/monitoring/v1alpha3/helper_test.go
+16
-0
pkg/kapis/network/v1alpha2/handler.go
pkg/kapis/network/v1alpha2/handler.go
+16
-0
pkg/kapis/notification/v1/register.go
pkg/kapis/notification/v1/register.go
+16
-0
pkg/kapis/operations/v1alpha2/handler.go
pkg/kapis/operations/v1alpha2/handler.go
+16
-0
pkg/kapis/resources/v1alpha2/handler.go
pkg/kapis/resources/v1alpha2/handler.go
+16
-0
pkg/kapis/resources/v1alpha3/handler.go
pkg/kapis/resources/v1alpha3/handler.go
+16
-0
pkg/kapis/resources/v1alpha3/handler_test.go
pkg/kapis/resources/v1alpha3/handler_test.go
+16
-0
pkg/kapis/servicemesh/metrics/install/install.go
pkg/kapis/servicemesh/metrics/install/install.go
+16
-0
pkg/kapis/servicemesh/metrics/v1alpha2/handler.go
pkg/kapis/servicemesh/metrics/v1alpha2/handler.go
+16
-0
pkg/kapis/servicemesh/metrics/v1alpha2/register.go
pkg/kapis/servicemesh/metrics/v1alpha2/register.go
+16
-0
pkg/kapis/servicemesh/metrics/v1alpha2/swagger-doc.go
pkg/kapis/servicemesh/metrics/v1alpha2/swagger-doc.go
+16
-0
pkg/kapis/tenant/v1alpha2/handler.go
pkg/kapis/tenant/v1alpha2/handler.go
+16
-0
pkg/kapis/terminal/v1alpha2/handler.go
pkg/kapis/terminal/v1alpha2/handler.go
+16
-0
pkg/kapis/version/register.go
pkg/kapis/version/register.go
+16
-0
pkg/models/components/components_test.go
pkg/models/components/components_test.go
+16
-0
pkg/models/events/events.go
pkg/models/events/events.go
+16
-0
pkg/models/logging/logging.go
pkg/models/logging/logging.go
+16
-0
pkg/models/monitoring/expressions/prometheus.go
pkg/models/monitoring/expressions/prometheus.go
+16
-0
pkg/models/monitoring/expressions/prometheus_test.go
pkg/models/monitoring/expressions/prometheus_test.go
+16
-0
pkg/models/monitoring/expressions/registry.go
pkg/models/monitoring/expressions/registry.go
+16
-0
pkg/models/monitoring/named_metrics.go
pkg/models/monitoring/named_metrics.go
+16
-0
pkg/models/monitoring/sort_page_test.go
pkg/models/monitoring/sort_page_test.go
+16
-0
pkg/models/monitoring/types.go
pkg/models/monitoring/types.go
+16
-0
pkg/models/registries/blob.go
pkg/models/registries/blob.go
+16
-0
pkg/models/registries/image.go
pkg/models/registries/image.go
+16
-0
pkg/models/registries/image_test.go
pkg/models/registries/image_test.go
+16
-0
pkg/models/registries/image_type.go
pkg/models/registries/image_type.go
+16
-0
pkg/models/registries/manifest.go
pkg/models/registries/manifest.go
+16
-0
pkg/models/registries/manifest_test.go
pkg/models/registries/manifest_test.go
+16
-0
pkg/models/registries/registry_client.go
pkg/models/registries/registry_client.go
+16
-0
pkg/models/registries/registry_client_test.go
pkg/models/registries/registry_client_test.go
+16
-0
pkg/models/registries/token.go
pkg/models/registries/token.go
+16
-0
pkg/models/registries/token_test.go
pkg/models/registries/token_test.go
+16
-0
pkg/models/resources/v1alpha2/interface.go
pkg/models/resources/v1alpha2/interface.go
+16
-0
pkg/models/resources/v1alpha3/federateddeployment/federateddeployments.go
...rces/v1alpha3/federateddeployment/federateddeployments.go
+16
-0
pkg/models/resources/v1alpha3/federatedservice/federatedservices.go
.../resources/v1alpha3/federatedservice/federatedservices.go
+16
-0
pkg/models/resources/v1alpha3/interface.go
pkg/models/resources/v1alpha3/interface.go
+16
-0
pkg/simple/client/alerting/options.go
pkg/simple/client/alerting/options.go
+16
-0
pkg/simple/client/db/db.go
pkg/simple/client/db/db.go
+16
-0
pkg/simple/client/devops/build.go
pkg/simple/client/devops/build.go
+16
-0
pkg/simple/client/devops/credential.go
pkg/simple/client/devops/credential.go
+16
-0
pkg/simple/client/devops/fake/fakedevops.go
pkg/simple/client/devops/fake/fakedevops.go
+16
-0
pkg/simple/client/devops/interface.go
pkg/simple/client/devops/interface.go
+16
-0
pkg/simple/client/devops/jenkins/constants.go
pkg/simple/client/devops/jenkins/constants.go
+16
-0
pkg/simple/client/devops/jenkins/credential_test.go
pkg/simple/client/devops/jenkins/credential_test.go
+16
-0
pkg/simple/client/devops/jenkins/devops_test.go
pkg/simple/client/devops/jenkins/devops_test.go
+16
-0
pkg/simple/client/devops/jenkins/options.go
pkg/simple/client/devops/jenkins/options.go
+16
-0
pkg/simple/client/devops/jenkins/pipeline.go
pkg/simple/client/devops/jenkins/pipeline.go
+16
-0
pkg/simple/client/devops/jenkins/pipeline_internal.go
pkg/simple/client/devops/jenkins/pipeline_internal.go
+16
-0
pkg/simple/client/devops/jenkins/pipeline_internal_test.go
pkg/simple/client/devops/jenkins/pipeline_internal_test.go
+16
-0
pkg/simple/client/devops/jenkins/project.go
pkg/simple/client/devops/jenkins/project.go
+16
-0
pkg/simple/client/devops/jenkins/project_pipeline.go
pkg/simple/client/devops/jenkins/project_pipeline.go
+16
-0
pkg/simple/client/devops/jenkins/pure_request.go
pkg/simple/client/devops/jenkins/pure_request.go
+16
-0
pkg/simple/client/devops/jenkins/role.go
pkg/simple/client/devops/jenkins/role.go
+16
-0
pkg/simple/client/devops/pipeline.go
pkg/simple/client/devops/pipeline.go
+16
-0
pkg/simple/client/devops/project.go
pkg/simple/client/devops/project.go
+16
-0
pkg/simple/client/devops/project_pipeline.go
pkg/simple/client/devops/project_pipeline.go
+16
-0
pkg/simple/client/events/elasticsearch/clients.go
pkg/simple/client/events/elasticsearch/clients.go
+16
-0
pkg/simple/client/events/elasticsearch/elasticsearch.go
pkg/simple/client/events/elasticsearch/elasticsearch.go
+16
-0
pkg/simple/client/events/elasticsearch/elasticsearch_test.go
pkg/simple/client/events/elasticsearch/elasticsearch_test.go
+16
-0
pkg/simple/client/events/elasticsearch/options.go
pkg/simple/client/events/elasticsearch/options.go
+16
-0
pkg/simple/client/events/interface.go
pkg/simple/client/events/interface.go
+16
-0
pkg/simple/client/k8s/fake_client.go
pkg/simple/client/k8s/fake_client.go
+16
-0
pkg/simple/client/k8s/kubernetes.go
pkg/simple/client/k8s/kubernetes.go
+16
-0
pkg/simple/client/k8s/null_client.go
pkg/simple/client/k8s/null_client.go
+16
-0
pkg/simple/client/k8s/options.go
pkg/simple/client/k8s/options.go
+16
-0
pkg/simple/client/logging/elasticsearch/api_body.go
pkg/simple/client/logging/elasticsearch/api_body.go
+16
-0
pkg/simple/client/logging/elasticsearch/api_body_test.go
pkg/simple/client/logging/elasticsearch/api_body_test.go
+16
-0
pkg/simple/client/logging/elasticsearch/api_body_types.go
pkg/simple/client/logging/elasticsearch/api_body_types.go
+16
-0
pkg/simple/client/logging/elasticsearch/elasticsearch.go
pkg/simple/client/logging/elasticsearch/elasticsearch.go
+16
-0
pkg/simple/client/logging/elasticsearch/elasticsearch_test.go
...simple/client/logging/elasticsearch/elasticsearch_test.go
+16
-0
pkg/simple/client/logging/elasticsearch/options.go
pkg/simple/client/logging/elasticsearch/options.go
+16
-0
pkg/simple/client/logging/elasticsearch/versions/v5/v5.go
pkg/simple/client/logging/elasticsearch/versions/v5/v5.go
+16
-0
pkg/simple/client/logging/elasticsearch/versions/v6/v6.go
pkg/simple/client/logging/elasticsearch/versions/v6/v6.go
+16
-0
pkg/simple/client/logging/elasticsearch/versions/v7/v7.go
pkg/simple/client/logging/elasticsearch/versions/v7/v7.go
+16
-0
pkg/simple/client/logging/interface.go
pkg/simple/client/logging/interface.go
+16
-0
pkg/simple/client/monitoring/interface.go
pkg/simple/client/monitoring/interface.go
+16
-0
pkg/simple/client/monitoring/prometheus/prometheus.go
pkg/simple/client/monitoring/prometheus/prometheus.go
+16
-0
pkg/simple/client/monitoring/prometheus/prometheus_options.go
...simple/client/monitoring/prometheus/prometheus_options.go
+16
-0
pkg/simple/client/monitoring/prometheus/prometheus_test.go
pkg/simple/client/monitoring/prometheus/prometheus_test.go
+16
-0
pkg/simple/client/monitoring/prometheus/promql_test.go
pkg/simple/client/monitoring/prometheus/promql_test.go
+16
-0
pkg/simple/client/monitoring/prometheus/testdata/promqls.go
pkg/simple/client/monitoring/prometheus/testdata/promqls.go
+16
-0
pkg/simple/client/monitoring/query_options.go
pkg/simple/client/monitoring/query_options.go
+16
-0
pkg/simple/client/monitoring/types.go
pkg/simple/client/monitoring/types.go
+16
-0
pkg/simple/client/multicluster/options.go
pkg/simple/client/multicluster/options.go
+16
-0
pkg/simple/client/mysql/options.go
pkg/simple/client/mysql/options.go
+16
-0
pkg/simple/client/network/options.go
pkg/simple/client/network/options.go
+16
-0
pkg/simple/client/notification/options.go
pkg/simple/client/notification/options.go
+16
-0
pkg/simple/client/openpitrix/mock.go
pkg/simple/client/openpitrix/mock.go
+16
-0
pkg/simple/client/openpitrix/options.go
pkg/simple/client/openpitrix/options.go
+16
-0
pkg/simple/client/s3/fake/fakes3.go
pkg/simple/client/s3/fake/fakes3.go
+16
-0
pkg/simple/client/s3/fake/fakes3_test.go
pkg/simple/client/s3/fake/fakes3_test.go
+16
-0
pkg/simple/client/s3/interface.go
pkg/simple/client/s3/interface.go
+16
-0
pkg/simple/client/s3/options.go
pkg/simple/client/s3/options.go
+16
-0
pkg/simple/client/s3/s3.go
pkg/simple/client/s3/s3.go
+16
-0
pkg/simple/client/servicemesh/options.go
pkg/simple/client/servicemesh/options.go
+16
-0
pkg/simple/client/sonarqube/interface.go
pkg/simple/client/sonarqube/interface.go
+16
-0
pkg/simple/client/sonarqube/options.go
pkg/simple/client/sonarqube/options.go
+16
-0
pkg/simple/client/sonarqube/sonarqube.go
pkg/simple/client/sonarqube/sonarqube.go
+16
-0
pkg/utils/esutil/esutil.go
pkg/utils/esutil/esutil.go
+16
-0
pkg/utils/esutil/esutil_test.go
pkg/utils/esutil/esutil_test.go
+16
-0
test/e2e/e2e_suite_test.go
test/e2e/e2e_suite_test.go
+16
-0
test/e2e/e2e_test.go
test/e2e/e2e_test.go
+16
-0
未找到文件。
cmd/controller-manager/app/helper.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
app
import
(
...
...
cmd/controller-manager/app/options/options.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
options
import
(
...
...
cmd/controller-manager/controller-manager.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
main
import
(
...
...
cmd/ks-apiserver/app/options/options.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
options
import
(
...
...
cmd/ks-apiserver/app/options/validation.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
options
// Validate validates server run options, to find
...
...
pkg/api/events/v1alpha1/types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/api/logging/v1alpha2/types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/apis/addtoscheme_types_v1beta1.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
apis
import
(
...
...
pkg/apis/cluster/group.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
pkg/apis/cluster/v1alpha1/cluster_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/apis/cluster/v1alpha1/doc.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package v1alpha1 contains API Schema definitions for the tower v1alpha1 API group
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package,register
...
...
pkg/apis/cluster/v1alpha1/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/*
Licensed under the Apache License, Version 2.0 (the "License");
...
...
pkg/apis/network/crdinstall/install.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
crdinstall
import
(
...
...
pkg/apis/servicemesh/crdinstall/install.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
crdinstall
import
(
...
...
pkg/apis/types/group.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
types
pkg/apis/types/v1beta1/federatedapplication_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedclusterrole_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedclusterrolebinding_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedconfigmap_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federateddeployment_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedingress_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedjob_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedlimitrange_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatednamespace_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedpersistentvolumeclaim_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedresourcequota_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedsecret_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedservice_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedstatefulset_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federateduser_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apis/types/v1beta1/federatedworkspace_types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1beta1
import
(
...
...
pkg/apiserver/auditing/backend.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
auditing
import
(
...
...
pkg/apiserver/auditing/types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
auditing
import
(
...
...
pkg/apiserver/auditing/types_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
auditing
import
(
...
...
pkg/apiserver/auditing/v1alpha1/event.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/apiserver/dispatch/dispatch_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
dispatch
pkg/apiserver/filters/auditing.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
filters
import
(
...
...
pkg/controller/application/application_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
application
import
(
...
...
pkg/controller/application/application_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
application
pkg/controller/cluster/cluster_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
import
(
...
...
pkg/controller/cluster/cluster_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
pkg/controller/cluster/helper.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
import
(
...
...
pkg/controller/cluster/join.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
import
(
...
...
pkg/controller/cluster/unjoin.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
import
(
...
...
pkg/controller/cluster/util.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
cluster
import
(
...
...
pkg/controller/destinationrule/destinationrule_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
destinationrule
import
(
...
...
pkg/controller/destinationrule/destinationrule_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
destinationrule
import
(
...
...
pkg/controller/devopscredential/devopscredential_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
devopscredential
import
(
...
...
pkg/controller/devopscredential/devopscredential_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
devopscredential
import
(
...
...
pkg/controller/devopsproject/devopsproject_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
devopsproject
import
(
...
...
pkg/controller/devopsproject/devopsproject_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
devopsproject
import
(
...
...
pkg/controller/network/doc.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// +kubebuilder:rbac:groups=network.kubesphere.io,resources=namespacenetworkpolicies,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=tenant.kubesphere.io,resources=workspaces,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups:core,resource=namespaces,verbs=get;list;watch;create;update;patch
...
...
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
nsnetworkpolicy
import
(
...
...
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_suite_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
nsnetworkpolicy
import
(
...
...
pkg/controller/network/nsnetworkpolicy/nsnetworkpolicy_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
nsnetworkpolicy
import
(
...
...
pkg/controller/network/nsnetworkpolicy/webhook.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
nsnetworkpolicy
import
(
...
...
pkg/controller/network/provider/fake_ns.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
provider
import
(
...
...
pkg/controller/network/provider/namespace_np.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
provider
import
netv1
"k8s.io/api/networking/v1"
...
...
pkg/controller/network/provider/ns_k8s.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
provider
import
(
...
...
pkg/controller/network/types.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
network
const
(
...
...
pkg/controller/pipeline/pipeline_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
pipeline
import
(
...
...
pkg/controller/pipeline/pipeline_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
pipeline
import
(
...
...
pkg/controller/s2ibinary/s2ibinary_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
s2ibinary
import
(
...
...
pkg/controller/s2ibinary/s2ibinary_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
s2ibinary
import
(
...
...
pkg/controller/s2irun/s2irun_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
s2irun
import
(
...
...
pkg/controller/s2irun/s2irun_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
s2irun
import
(
...
...
pkg/controller/virtualservice/util/util.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
util
import
(
...
...
pkg/controller/virtualservice/virtualservice_controller.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
virtualservice
import
(
...
...
pkg/controller/virtualservice/virtualservice_controller_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
virtualservice
import
(
...
...
pkg/informers/null_informers.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
informers
import
(
...
...
pkg/kapis/alerting/v1/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1
import
(
...
...
pkg/kapis/cluster/v1alpha1/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/kapis/cluster/v1alpha1/handler_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/kapis/cluster/v1alpha1/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha1
import
(
...
...
pkg/kapis/generic/generic.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
generic
import
(
...
...
pkg/kapis/generic/generic_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
generic
import
(
...
...
pkg/kapis/iam/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/monitoring/v1alpha3/helper.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha3
import
(
...
...
pkg/kapis/monitoring/v1alpha3/helper_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha3
import
(
...
...
pkg/kapis/network/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/notification/v1/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1
import
(
...
...
pkg/kapis/operations/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/resources/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/resources/v1alpha3/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha3
import
(
...
...
pkg/kapis/resources/v1alpha3/handler_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha3
import
(
...
...
pkg/kapis/servicemesh/metrics/install/install.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
install
import
(
...
...
pkg/kapis/servicemesh/metrics/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/servicemesh/metrics/v1alpha2/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/servicemesh/metrics/v1alpha2/swagger-doc.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/tenant/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/terminal/v1alpha2/handler.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
v1alpha2
import
(
...
...
pkg/kapis/version/register.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
version
import
(
...
...
pkg/models/components/components_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
components
import
(
...
...
pkg/models/events/events.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
events
import
(
...
...
pkg/models/logging/logging.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
logging
import
(
...
...
pkg/models/monitoring/expressions/prometheus.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
expressions
import
(
...
...
pkg/models/monitoring/expressions/prometheus_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
expressions
import
(
...
...
pkg/models/monitoring/expressions/registry.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
expressions
type
labelReplaceFn
func
(
expr
,
ns
string
)
(
string
,
error
)
...
...
pkg/models/monitoring/named_metrics.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
monitoring
const
(
...
...
pkg/models/monitoring/sort_page_test.go
浏览文件 @
dbc33fe5
/*
Copyright 2020 KubeSphere Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package
monitoring
import
(
...
...
pkg/models/monitoring/types.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/blob.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/image.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/image_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/image_type.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/manifest.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/manifest_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/registry_client.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/registry_client_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/token.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/registries/token_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/resources/v1alpha2/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/resources/v1alpha3/federateddeployment/federateddeployments.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/resources/v1alpha3/federatedservice/federatedservices.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/models/resources/v1alpha3/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/alerting/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/db/db.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/build.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/credential.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/fake/fakedevops.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/constants.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/credential_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/devops_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/pipeline.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/pipeline_internal.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/pipeline_internal_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/project.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/project_pipeline.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/pure_request.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/jenkins/role.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/pipeline.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/project.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/devops/project_pipeline.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/events/elasticsearch/clients.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/events/elasticsearch/elasticsearch.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/events/elasticsearch/elasticsearch_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/events/elasticsearch/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/events/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/k8s/fake_client.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/k8s/kubernetes.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/k8s/null_client.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/k8s/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/api_body.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/api_body_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/api_body_types.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/elasticsearch.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/elasticsearch_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/versions/v5/v5.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/versions/v6/v6.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/elasticsearch/versions/v7/v7.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/logging/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/prometheus/prometheus.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/prometheus/prometheus_options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/prometheus/prometheus_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/prometheus/promql_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/prometheus/testdata/promqls.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/query_options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/monitoring/types.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/multicluster/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/mysql/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/network/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/notification/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/openpitrix/mock.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/openpitrix/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/s3/fake/fakes3.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/s3/fake/fakes3_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/s3/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/s3/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/s3/s3.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/servicemesh/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/sonarqube/interface.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/sonarqube/options.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/simple/client/sonarqube/sonarqube.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/utils/esutil/esutil.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
pkg/utils/esutil/esutil_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
test/e2e/e2e_suite_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
test/e2e/e2e_test.go
浏览文件 @
dbc33fe5
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录