Commit Graph

203 Commits

Author SHA1 Message Date
Juan Carlos Mejías Rodríguez
3dec0205a6 Remove copyright header from cmd/endpointList.go 2019-08-17 12:36:05 -04:00
Juan Carlos Mejías Rodríguez
d921dd0ba6 Add issue templates 2019-08-17 02:05:37 -04:00
Juan Carlos Mejías Rodríguez
115754a061 Fix 0.1.1 release url 2019-08-17 01:42:31 -04:00
Juan Carlos Mejías Rodríguez
999f1f5c4e Update installation section in Readme 2019-08-17 01:15:54 -04:00
Juan Carlos Mejías Rodríguez
eeba5efe58 Add Go and Bash versions distinction in Readme 2019-08-17 01:14:02 -04:00
Juan Carlos Mejías Rodríguez
9b0dd79146 Update changelog 2019-08-17 00:45:29 -04:00
Juan Carlos Mejías Rodríguez
f2b30892ac Add extended contributing guidelines and code of conduct 2019-08-16 14:23:24 -04:00
Juan Carlos Mejías Rodríguez
cd88b9f99c Add table of contents to Readme 2019-08-16 13:58:43 -04:00
Juan Carlos Mejías Rodríguez
22d0d2a2c1 Remove verbose and debug mode sections from Readme 2019-08-16 13:41:58 -04:00
Juan Carlos Mejías Rodríguez
e7076a80c4 Add debug level section to the Readme 2019-08-16 13:41:23 -04:00
Juan Carlos Mejías Rodríguez
d8f7995146 Update stack environment variables section in Readme 2019-08-16 13:37:16 -04:00
Juan Carlos Mejías Rodríguez
927a39d1c5 Update configuration section in the Readme 2019-08-16 12:53:10 -04:00
Juan Carlos Mejías Rodríguez
7184f77424 Update flags explanation in Readme 2019-08-16 12:53:10 -04:00
Juan Carlos Mejías Rodríguez
bfeabe2736 Update usage examples in the Readme 2019-08-16 12:53:10 -04:00
Juan Carlos Mejías Rodríguez
60485e8439 Tidy up go modules 2019-08-16 12:53:10 -04:00
Juan Carlos Mejías Rodríguez
ceeaa473e9 Update Portainer API compatibility to 1.22.0 2019-08-16 12:53:10 -04:00
Juan Carlos Mejías Rodríguez
e26baf7335 Merge branch 'endpoints-by-name' 2019-08-15 23:02:04 -04:00
Juan Carlos Mejías Rodríguez
5b4f344247 Change endpoint selection strategy from ID to Name 2019-08-15 23:01:11 -04:00
Juan Carlos Mejías Rodríguez
6c4ecb1c90 Add functions to get endpoint from list by name and by id 2019-08-15 22:40:56 -04:00
Juan Carlos Mejías Rodríguez
a6f4f88fd2 Add function to get endpoint by its name 2019-08-15 20:51:36 -04:00
Juan Carlos Mejías Rodríguez
d28a78cf28 Enhance error handling 2019-08-15 20:51:17 -04:00
Juan Carlos Mejías Rodríguez
0dcc12dad0
Add Circle CI build status badge to README 2019-08-15 18:34:20 +02:00
Juan Carlos Mejías Rodríguez
04ccf6add9
Add tag filter to all steps in ci workflow 2019-08-15 18:22:23 +02:00
Juan Carlos Mejías Rodríguez
859d11937e
Add CI (#25)
Add Circle CI config file and update goreleaser config file
2019-08-15 11:45:49 -04:00
Juan Carlos Mejías Rodríguez
91ff8211ab Fix base Docker image to alpine:3.10 2019-08-14 02:01:03 -04:00
Juan Carlos Mejías Rodríguez
52b11947e7 Add JSON output format 2019-08-14 01:55:39 -04:00
Juan Carlos Mejías Rodríguez
0cdaf49425 Mover version-related code to the version package 2019-08-13 23:33:49 -04:00
Juan Carlos Mejías Rodríguez
50d246ecf7 Lowercase error messages 2019-08-10 18:28:00 -04:00
Juan Carlos Mejías Rodríguez
3d6d151d6d Remove auto-generated comment 2019-08-10 18:24:25 -04:00
Juan Carlos Mejías Rodríguez
fb5bb20627 Update usage examples in commands with --format flag 2019-08-10 17:23:38 -04:00
Juan Carlos Mejías Rodríguez
933f73896b Merge branch 'enhaced-format-help' 2019-08-10 17:23:30 -04:00
Juan Carlos Mejías Rodríguez
4db5265dc6 Merge branch 'portainer-structs' 2019-08-10 17:22:48 -04:00
Juan Carlos Mejías Rodríguez
9551afd432 Integrate --format flag docs helper with commands 2019-08-10 16:51:36 -04:00
Juan Carlos Mejías Rodríguez
65c7b6cafc Add helper to generate docs for --format flags 2019-08-10 16:49:37 -04:00
Juan Carlos Mejías Rodríguez
0b887b414b Replace Portainer struct copies with original ones wherever possible 2019-08-10 12:14:55 -04:00
Juan Carlos Mejías Rodríguez
bffadc245c Replace fixed docker image name with CI_REGISTRY_IMAGE envvar
This makes it easier to change the Docker registry
it is published to
2019-08-09 22:41:07 -04:00
Juan Carlos Mejías Rodríguez
79acf44225 Add config list --format documentation 2019-08-09 19:32:36 -04:00
Juan Carlos Mejías Rodríguez
579025f8de Merge branch 'more-flexible-configs' 2019-08-09 19:14:11 -04:00
Juan Carlos Mejías Rodríguez
49367f2a11 Split config setting and getting in two new commands config set and config get 2019-08-09 19:11:14 -04:00
Juan Carlos Mejías Rodríguez
648cd6651a Add more fields, default table format and --format custom format flag to config list command 2019-08-09 19:00:49 -04:00
Juan Carlos Mejías Rodríguez
feae59a058 Remove config list --keys flag 2019-08-09 15:43:45 -04:00
Juan Carlos Mejías Rodríguez
3f788efff5 Remove commit hash uppercase in version and User-Agent strings 2019-08-09 15:17:55 -04:00
Juan Carlos Mejías Rodríguez
cf823f9dcf Add custom User-Agent to API requests 2019-08-09 15:16:12 -04:00
Juan Carlos Mejías Rodríguez
4c2d66e7b4 Add suggestions to FatalLevel log messages 2019-08-09 14:57:35 -04:00
Juan Carlos Mejías Rodríguez
1f78446a6f Change "unknown log level" ErrorLevel message to WarningLevel with implications 2019-08-09 14:53:20 -04:00
Juan Carlos Mejías Rodríguez
12b89062c7 Add implications to WarningLevel log messages 2019-08-09 14:51:25 -04:00
Juan Carlos Mejías Rodríguez
105178c07c Update required flag stack-file not set log message
Now it looks more like default "required flag" errors
2019-08-09 14:44:32 -04:00
Juan Carlos Mejías Rodríguez
245b84d0b4 Remove error checking helper in util/errors.go
It was previously moved to common/errors.go
2019-08-09 14:25:43 -04:00
Juan Carlos Mejías Rodríguez
2e74ac508b Fix Dockerfile environment variables 2019-08-09 14:21:11 -04:00
Juan Carlos Mejías Rodríguez
14ab4f65f9 Remove -q, --quiet flag from stack list command
The same result can be achieved with --format flag,
which provides greater flexibility:

./psu stack ls --format "{{ .Name }}"
2019-08-09 14:21:11 -04:00