-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- new function `kube refine` - define the required information in `$env.KUBERNETES_REFINE`, `kube refine` will collect information according to its definition - definitions in `status` and `cluster_status` are runtime information and will not be collected. They are used in the `kg` command to display status - normalize the output of the `kg`, `kgp`, `kgs` command using `krefine` - rename `kcconf` to `kccc` (kubectl change context clone) - a new module, `refine.nu`, declaratively extracts data from complex structures. - `container-list` additionally displays the cmd field of the image --------- Co-authored-by: nash <[email protected]>
- Loading branch information
Showing
20 changed files
with
1,808 additions
and
1,276 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,30 @@ | ||
export def "bud img" [] { | ||
buildah images | ||
| from ssv -a | ||
| rename repo tag id created size | ||
| upsert size { |i| $i.size | into filesize } | ||
} | ||
|
||
export def "bud ls" [] { | ||
buildah list | ||
| from ssv -a | ||
| rename id builder image-id image container | ||
} | ||
|
||
export def "bud ps" [] { | ||
buildah ps | ||
| from ssv -a | ||
| rename id builder image-id image container | ||
} | ||
|
||
def "nu-complete bud ps" [] { | ||
bud ps | ||
| select 'CONTAINER ID' "CONTAINER NAME" | ||
| rename value description | ||
} | ||
|
||
export def "bud rm" [ | ||
id: string@"nu-complete bud ps" | ||
] { | ||
buildah rm $id | ||
} |
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
Oops, something went wrong.