-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into specs/vs-code-insiders
- Loading branch information
Showing
4 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Open a path in VS Code (Insiders) | ||
command: "code-insiders {{path}}" | ||
tags: ["code-insiders"] | ||
description: This workflow opens the current or the specified folder in VS Code. | ||
arguments: | ||
- name: path | ||
description: The file or directory for VS Code to open. The default is the current directory. | ||
default_value: "." | ||
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line | ||
author: pan93412 | ||
author_url: "https://github.com/pan93412" | ||
shells: [] |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Open a path in VS Code | ||
command: "code {{path}}" | ||
tags: ["code"] | ||
description: This workflow opens the current or the specified folder in VS Code. | ||
arguments: | ||
- name: path | ||
description: The file or directory where VS Code opens. The default is the current directory. | ||
default_value: "." | ||
source_url: https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line | ||
author: pan93412 | ||
author_url: "https://github.com/pan93412" | ||
shells: [] |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: List all Kubernetes pods by app label | ||
command: > | ||
kubectl get pods -l app={{app}} -o jsonpath='{range .items[*]}{"\n"}{range .spec.containers[*]}{.name}{"\t"}{.image}{"\n"}{end}{end}' | sort | uniq | ||
tags: | ||
- kubernetes | ||
description: Lists the images of pods fetched by app label | ||
arguments: | ||
- name: app | ||
description: The value of the app label | ||
default_value: ~ | ||
source_url: "https://kubernetes.io/docs/reference/kubectl/jsonpath/" | ||
author: pkaramol | ||
author_url: "https://www.linkedin.com/in/pkaramol/" | ||
shells: [] |
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