Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crystal-construct/roundup
Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.
https://github.com/crystal-construct/roundup
Last synced: 3 months ago
JSON representation
Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.
- Host: GitHub
- URL: https://github.com/crystal-construct/roundup
- Owner: crystal-construct
- License: mit
- Created: 2017-06-26T23:03:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-28T21:57:08.000Z (over 7 years ago)
- Last Synced: 2024-07-31T07:15:36.067Z (6 months ago)
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rancher - Roundup - Query rancher-metadata by label, and return the first, or all of the values (Rancher 1.0 / Community projects 1.0)
README
# roundup
Query rancher-metadata by label, and return the first, or all of the values as a single value, csv, or a list.Usage:
```
roundup [options] {hosts|stacks|services|containers} predicate value-name
```
Example:
Fetch first container name that has the label "arangodb_cluster_name" with the value "cluster1":
```
roundup -first containers arangodb_cluster_name=cluster1 name
```
Options:
```
-csv Return as comma separated values
-first Select first entry only
-hostname The hostname for the rancher metadata service (defaults to rancher-metadata)
```