Fix some misspells in file

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
zhoulin xie 2019-03-01 15:13:30 +08:00
parent 4cb49e5388
commit 33b7c41f8b
4 changed files with 8 additions and 8 deletions

View File

@ -65,7 +65,7 @@ These Basic Configuration must be set. Otherwise you can't deploy Harbor on Kube
path: /data/registry path: /data/registry
``` ```
For more infomation about storage solution, Please check [Kubernetes Document](http://kubernetes.io/docs/user-guide/persistent-volumes/) For more information about storage solution, Please check [Kubernetes Document](http://kubernetes.io/docs/user-guide/persistent-volumes/)
Then you can generate ConfigMap files by : Then you can generate ConfigMap files by :
@ -94,7 +94,7 @@ You can find all configs of Harbor in `make/kubernetes/templates/`. There are sp
- `jobservice.cm.yaml`: ENV and web config of jobservice - `jobservice.cm.yaml`: ENV and web config of jobservice
- `mysql.cm.yaml`: Root password of MySQL - `mysql.cm.yaml`: Root password of MySQL
- `ingress.yaml`: Https certification and ingress config. If you are fimiliar with ingress, you can modify it. - `ingress.yaml`: Https certification and ingress config. If you are familiar with ingress, you can modify it.
- `registry.cm.yaml`: Token service certification and registry config - `registry.cm.yaml`: Token service certification and registry config
Registry use filesystem to store data of images. You can find it like: Registry use filesystem to store data of images. You can find it like:
@ -108,7 +108,7 @@ You can find all configs of Harbor in `make/kubernetes/templates/`. There are sp
- `ui.cm.yaml`: Token service private key, ENV and web config of ui. - `ui.cm.yaml`: Token service private key, ENV and web config of ui.
- `adminserver.cm.yaml`: Initial values of configuration attributes of Harbor. - `adminserver.cm.yaml`: Initial values of configuration attributes of Harbor.
`ui`, `jobservice` and `adminserver` are powered by beego. If you are fimiliar with beego, you can modify configs in `ui.cm.yaml`, `jobservice.cm.yaml` and `adminserver.cm.yaml`. `ui`, `jobservice` and `adminserver` are powered by beego. If you are familiar with beego, you can modify configs in `ui.cm.yaml`, `jobservice.cm.yaml` and `adminserver.cm.yaml`.
### Running ### Running

View File

@ -156,7 +156,7 @@ paths:
description: Unexpected internal errors. description: Unexpected internal errors.
'/projects/{project_id}': '/projects/{project_id}':
get: get:
summary: Return specific project detail infomation summary: Return specific project detail information
description: | description: |
This endpoint returns specific project information by project ID. This endpoint returns specific project information by project ID.
parameters: parameters:
@ -707,7 +707,7 @@ paths:
get: get:
summary: Get current user info. summary: Get current user info.
description: | description: |
This endpoint is to get the current user infomation. This endpoint is to get the current user information.
tags: tags:
- Products - Products
responses: responses:

View File

@ -23,7 +23,7 @@ import { RequestQueryParams } from "./RequestQueryParams";
*/ */
export abstract class ProjectService { export abstract class ProjectService {
/** /**
* Get Infomations of a specific Project. * Get Informations of a specific Project.
* *
* @abstract * @abstract
* ** deprecated param {string|number} [projectId] * ** deprecated param {string|number} [projectId]

View File

@ -46,7 +46,7 @@ class TestProjects(unittest.TestCase):
3. Add user(UA) as a member of project(PA) with project-admin role; 3. Add user(UA) as a member of project(PA) with project-admin role;
4. Get private project of user(UA), user(UA) can see only one private project which is project(PA); 4. Get private project of user(UA), user(UA) can see only one private project which is project(PA);
5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA); 5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA);
6. Send scan image command and get tag(TA) infomation to check scan result, it should be finished; 6. Send scan image command and get tag(TA) information to check scan result, it should be finished;
Tear down: Tear down:
1. Delete repository(RA) by user(UA); 1. Delete repository(RA) by user(UA);
2. Delete project(PA); 2. Delete project(PA);
@ -78,7 +78,7 @@ class TestProjects(unittest.TestCase):
#5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA); #5. Create a new repository(RA) and tag(TA) in project(PA) by user(UA);
TestProjects.repo_name, tag = push_image_to_project(project_scan_image_name, harbor_server, user_scan_image_name, user_001_password, image, src_tag) TestProjects.repo_name, tag = push_image_to_project(project_scan_image_name, harbor_server, user_scan_image_name, user_001_password, image, src_tag)
#6. Send scan image command and get tag(TA) infomation to check scan result, it should be finished; #6. Send scan image command and get tag(TA) information to check scan result, it should be finished;
self.repo.scan_image(TestProjects.repo_name, tag, **TestProjects.USER_SCAN_IMAGE_CLIENT) self.repo.scan_image(TestProjects.repo_name, tag, **TestProjects.USER_SCAN_IMAGE_CLIENT)
self.repo.check_image_scan_result(TestProjects.repo_name, tag, expected_scan_status = "finished", **TestProjects.USER_SCAN_IMAGE_CLIENT) self.repo.check_image_scan_result(TestProjects.repo_name, tag, expected_scan_status = "finished", **TestProjects.USER_SCAN_IMAGE_CLIENT)