Commit Graph

225 Commits

Author SHA1 Message Date
Juan Carlos Mejías Rodríguez
7fb7710c55 Remove condition of requestBody being not nil to set user agent 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
a8bed6a7cc Rename request and reponse to requestBody and responseBody 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
19f58c4e1f Move Content-Type header setting to doJSON() in Portainer client 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
14043a8bf8 Refactor auth token setting in Portainer client 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
2cc0faa625 Add unit tests for portainerClientImpl.do() 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
f82f116e1b Change GetTranslatedStackType to use StackType instead of Stack 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
c0cc50c81a Add unit test for client/portainerTypes.go 2019-08-25 00:14:53 -04:00
Juan Carlos Mejías Rodríguez
3194260c05 Remove else statement with single return sentence 2019-08-23 13:14:49 -04:00
Juan Carlos Mejías Rodríguez
161fc48b5a Add comments to exported types to pass go-lint 2019-08-23 13:12:53 -04:00
Juan Carlos Mejías Rodríguez
be51da44bf Rename some identifiers to pass go-lint 2019-08-23 12:35:01 -04:00
Juan Carlos Mejías Rodríguez
c6b7c2ce25 Update stack deploy output example in the Readme
"endpoint" field contains endpoint name now, not endpoint id.
2019-08-23 11:21:21 -04:00
Juan Carlos Mejías Rodríguez
e1b4a6f436 Move "getting endpoint info..." debug message out of common.GetEndpointSwarmClusterId() 2019-08-23 11:19:42 -04:00
Juan Carlos Mejías Rodríguez
0be0262fcb Add support for Azure and Edge Agent endpoint types 2019-08-17 19:13:13 -04:00
Juan Carlos Mejías Rodríguez
3c409ca3f3 Update usage section in commands to use <> for args 2019-08-17 17:20:31 -04:00
Juan Carlos Mejías Rodríguez
b1d9b4b857 Fix command examples indentation 2019-08-17 17:18:44 -04:00
Juan Carlos Mejías Rodríguez
ba0071a73a Update completion command documentation 2019-08-17 17:10:48 -04:00
Juan Carlos Mejías Rodríguez
6939361670 Add endpoint group inspect command to inspect an endpoint group 2019-08-17 17:03:07 -04:00
Juan Carlos Mejías Rodríguez
b4f6dd7476 Add function to get endpoint group by name 2019-08-17 16:37:41 -04:00
Juan Carlos Mejías Rodríguez
d2030e6bfb Add endpoint inspect command to inspect an endpoint 2019-08-17 16:29:39 -04:00
Juan Carlos Mejías Rodríguez
6782318c60 Add stack inspect command to inspect a stack 2019-08-17 16:27:59 -04:00
Juan Carlos Mejías Rodríguez
d2e1327407 Add exit statuses section to Readme 2019-08-17 16:09:02 -04:00
Juan Carlos Mejías Rodríguez
3915fa6b92 Add json format to logs 2019-08-17 16:08:57 -04:00
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