Commit Graph

83 Commits

Author SHA1 Message Date
Juan Carlos Mejías Rodríguez
1efa02abf3 Add username and password to PortainerClient.AuthenticateUser() 2019-08-26 09:11:17 -04:00
Juan Carlos Mejías Rodríguez
22dc5e5d75 Rename PortainerClient.Auth() to AuthenticateUser() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
d17b9eb9f5 Add options object for PortainerClient.StackUpdate() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
17b941d108 Add options object for PortainerClient.StackCreateCompose() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
768410ce20 Add options object for PortainerClient.StackCreateSwarm() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
26a3efdd3a Add options object for PortainerClient.StackList() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
f38481b008 Rename PortainerClient.GetStatus() to Status() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
636757e289 Rename PortainerClient.GetStackFileContent() to StackFileInspect() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
0b946ac0ec Rename PortainerClient.DeleteStack() to StackDelete() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
ea63f26ee0 Rename PortainerClient.UpdateStack() to StackUpdate() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
00b7daae73 Rename PortainerClient.CreateSwarmStack() to StackCreateSwarm() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
87ba553153 Rename PortainerClient.GetStacks() to StackList() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
623788b624 Rename PortainerClient.GetEndpointGroups() to EndpointGroupList() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
0adb18bc8a Rename PortainerClient.GetEndpoints() to EndpointList() 2019-08-26 09:10:28 -04:00
Juan Carlos Mejías Rodríguez
53b13b1c76 Rename PortainerClient.Authenticate() to Auth() 2019-08-26 09:10:28 -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
be51da44bf Rename some identifiers to pass go-lint 2019-08-23 12:35:01 -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
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
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
5b4f344247 Change endpoint selection strategy from ID to Name 2019-08-15 23:01:11 -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
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
9551afd432 Integrate --format flag docs helper with commands 2019-08-10 16:51:36 -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
79acf44225 Add config list --format documentation 2019-08-09 19:32:36 -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
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
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
Juan Carlos Mejías Rodríguez
00f4a206e4 Simplify table output column header names 2019-08-09 14:21:11 -04:00
Juan Carlos Mejías Rodríguez
1ab1333540 Add command to list endpoint groups 2019-08-09 13:29:16 -04:00
Juan Carlos Mejías Rodríguez
bf7fd60550 Remove swarm IDs from output 2019-08-09 12:55:03 -04:00
Juan Carlos Mejías Rodríguez
51ce690e1f Remove entry point and project path from stack list command output columns 2019-08-09 12:51:58 -04:00
Juan Carlos Mejías Rodríguez
cf9ecabc7a Replace "cluster" with "swarm" in log messages 2019-08-09 11:48:41 -04:00