Commit Graph

20 Commits

Author SHA1 Message Date
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
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
bf7fd60550 Remove swarm IDs from output 2019-08-09 12:55:03 -04:00
Juan Carlos Mejías Rodríguez
cf9ecabc7a Replace "cluster" with "swarm" in log messages 2019-08-09 11:48:41 -04:00
Juan Carlos Mejías Rodríguez
d4956584a1 Add log message after stack deployment or removal 2019-08-09 11:38:59 -04:00
Juan Carlos Mejías Rodríguez
535eada8ab Guess endpoint ID if not set when deploying or removing stacks 2019-08-09 01:42:13 -04:00
Juan Carlos Mejías Rodríguez
d458e5d379 Replace calls to viper.GetUint32() with viper.GetInt32()
Viper doesn't have uint support until v1.4.0
2019-08-09 01:42:13 -04:00
Juan Carlos Mejías Rodríguez
ba9f9b8725 Add extra logging when getting stack by name 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
b3f1989a25 Fix inconsistencies with EndpointID and SwarmID filtering 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
c4e2f0145f Enhance flag descriptions 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
faf021e863 Replace debug and verbose modes with logging levels 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
1830fea7b7 Move PrintVerbose() calls in client to it's callers 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
356979a7a4 Move util.CheckError to common.CheckError 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
9c79379191 Split common package into common, client, and util packages 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
70621c750c Move URL handling logic (calls to DoJson) into Client 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
fa666db1b8 Replace manual request creation and marshaling with new client 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
d770da7414 Enhance error printing 2019-07-23 22:44:29 -04:00
Juan Carlos Mejías Rodríguez
44319f3655 Change --prune flag shorthand to -r 2019-07-23 21:27:38 -04:00
Juan Carlos Mejías Rodríguez
c5b1dfaa82 Rewrite project in Go 2019-07-21 18:49:28 -04:00