-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to print metadata information
This adds an option to print out container metadata. In the case of CRI-O this can look like: ├── Metadata │ ├── Name: counters │ ├── Namespace: default │ └── Annotations │ ├── io.kubernetes.cri-o.ImageName: quay.io/adrianreber/counter:latest Currently this contains all annotations from the container. Signed-off-by: Adrian Reber <[email protected]>
- Loading branch information
1 parent
d2276c1
commit 29b6919
Showing
4 changed files
with
77 additions
and
3 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ var ( | |
SearchPattern string | ||
SearchRegexPattern string | ||
SearchContext int | ||
Metadata bool | ||
) |
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