-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: default resource pod logs error
- Loading branch information
Showing
8 changed files
with
41 additions
and
54 deletions.
There are no files selected for viewing
22 changes: 16 additions & 6 deletions
22
src/main/java/dev/nocalhost/plugin/intellij/commands/data/KubeResourceType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
package dev.nocalhost.plugin.intellij.commands.data; | ||
|
||
public enum KubeResourceType { | ||
Deployment, | ||
Daemonset, | ||
Statefulset, | ||
Job, | ||
CronJobs, | ||
Pod; | ||
Deployment("Deployment"), | ||
Daemonset("Daemonset"), | ||
Statefulset("Statefulset"), | ||
Job("Job"), | ||
CronJobs("CronJobs"), | ||
Pod("Pod"); | ||
|
||
private final String val; | ||
|
||
KubeResourceType(String val) { | ||
this.val = val; | ||
} | ||
|
||
public String getVal() { | ||
return val; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters