Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: vcluster + sleep #431

Open
wants to merge 39 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7ce2536
feat: add sleep mode
Dec 7, 2021
9ff7641
feat: add dialog
Dec 10, 2021
373463c
fix: change sleepStatus field
Dec 13, 2021
1386956
WIP: AccountCluster
Dec 23, 2021
82bb011
WIP: VCluster
Dec 23, 2021
d11bab1
Merge remote-tracking branch 'origin/dev' into feat/VCluster
Dec 23, 2021
0cfaa2a
WIP: vCluster
Dec 23, 2021
0639b6b
WIP: VCluster
Dec 23, 2021
0320df5
WIP: VCluster
Dec 27, 2021
55341c9
WIP: vcluster
Dec 27, 2021
211c84c
WIP: vcluster
Dec 27, 2021
f439103
WIP: vcluster
Dec 27, 2021
12089ca
WIP: vcluster
Dec 27, 2021
40a4627
WIP: vcluster
Dec 28, 2021
1218ec6
WIP: vcluster
Dec 28, 2021
6b03e37
WIP: vcluster
Dec 28, 2021
f0243e2
Merge remote-tracking branch 'origin/dev' into feat/VCluster-optimese
Jan 6, 2022
3f9dc3d
WIP
Jan 6, 2022
e4384f3
WIP
Jan 6, 2022
d84bf0c
Merge remote-tracking branch 'origin/dev' into feat/VCluster-optimese
Jan 6, 2022
d19eb2e
fix: change sleep mode
Jan 7, 2022
6590135
fix: change sleep
Jan 7, 2022
1e50d45
fix: del log
Jan 7, 2022
c45f87d
fix: vcluster no sleep mode
Jan 7, 2022
da38b7a
fix: vcluster
Jan 7, 2022
b810184
WIP
zhangjian10 Jan 8, 2022
67a480c
WIP: vcluster
Jan 10, 2022
c28149c
Merge remote-tracking branch 'origin/dev' into feat/vcluster-sleep
Jan 13, 2022
e0db7a6
Merge remote-tracking branch 'origin/dev' into feat/vcluster-sleep
Jan 13, 2022
a695721
chore: update version
Jan 13, 2022
be4e15d
Build(deps): Bump follow-redirects from 1.13.0 to 1.14.7
dependabot[bot] Jan 15, 2022
fb4281a
WIP
Jan 16, 2022
f2aa546
WIP
Jan 17, 2022
902cd5f
WIP: vcluster
Jan 17, 2022
0604dbf
Merge pull request #435 from nocalhost/dependabot/npm_and_yarn/follow…
Jan 17, 2022
b0c5cec
Merge remote-tracking branch 'origin/dev' into feat/vcluster-sleep
Jan 17, 2022
737c4fe
fix: del log
Jan 18, 2022
d965014
Merge pull request #439 from nocalhost/hotfix/del-log
Jan 18, 2022
24ec486
Merge branch 'main' into feat/vcluster-sleep
Feb 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon/namespace_sleep.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon/vcluster_active.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/icon/vcluster_warning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 23 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nocalhost",
"version": "0.6.9",
"version": "v0.6.13",
"displayName": "Nocalhost",
"description": "Makes developing with Kubernetes feel like on local. IDE tool for cloud-native development",
"license": "Apache-2.0",
Expand Down Expand Up @@ -36,7 +36,7 @@
"main": "./dist/extension.js",
"nhctl": {
"serverVersion": "0.4.7",
"version": "0.6.1"
"version": "0.6.13"
},
"contributes": {
"configuration": [
Expand Down Expand Up @@ -230,9 +230,19 @@
"when": "viewItem =~ /^workload-(deployment|statefulSet|job|daemonSet|cronjob|pod|crd-resources)-dev-(?!vpn_)/i",
"group": "2"
},
{
"command": "Nocalhost.wakeUp",
"when": "viewItem =~ /^devspace-server-sleeping(?!-vcluster)/i",
"group": "navigation"
},
{
"command": "Nocalhost.forceSleep",
"when": "viewItem =~ /^devspace-server-unsleeping(?!-vcluster)/i",
"group": "navigation"
},
{
"command": "Nocalhost.resetDevspace",
"when": "viewItem =~ /^devspace-server/i",
"when": "viewItem =~ /^devspace-server(?<!-vcluster)$/i",
"group": "navigation"
},
{
Expand Down Expand Up @@ -475,6 +485,14 @@
"command": "Nocalhost.resetDevspace",
"title": "%Reset%"
},
{
"command": "Nocalhost.wakeUp",
"title": "%wakeUp%"
},
{
"command": "Nocalhost.forceSleep",
"title": "%forceSleep%"
},
{
"command": "Nocalhost.exec",
"title": "%Terminal%"
Expand Down Expand Up @@ -719,5 +737,6 @@
"vscode-nls": "^5.0.0",
"yaml": "^1.10.0"
},
"publisher": "nocalhost"
"publisher": "nocalhost",
"autoUpdate": false
}
5 changes: 3 additions & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@
"viewDevConfig": "View Dev Configs",
"resetPod": "Reset Pod",
"startCopyDevMode": "Start DevMode(Duplicate)",

"switchAssociate": "Switch This Service as Current Service",
"disassociateAssociate": "Disassociate from Current Directory",
"overrideRemoteChang": "Override Remote Changing According to Local Files",
"resumeSync": "Resume File Sync",

"startProxyMode": "Start ProxyMode(Beta)",
"resumeProxyMode": "Resume ProxyMode",
"endProxyMode": "Stop ProxyMode"
"endProxyMode": "Stop ProxyMode",
"forceSleep": "Sleep",
"wakeUp": "Wakeup"
}
Loading