Commit Graph

10 Commits

Author SHA1 Message Date
Juan Carlos Mejías Rodríguez
a0d75c8df9 Rename client to cachedClient 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
64619fc90f Remove error return from Client.Clone() 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
0d42ed73c6 Enhance Portainer URL parsing in Client 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
00439cc1c1 Delay new auth token retrieval until it is really necessary 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
04a05fad86 Move clientConfig declaration to the top 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
8d0fb72034 Fix PortainerClient.Authenticate usage of viper 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
064e7789fb Add comments to Client 2019-08-08 11:56:07 -04:00
Juan Carlos Mejías Rodríguez
93f08172ac Rename Client.DoJson to doJson 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
1b1c2bc1d1 Encapsulate network communication into a Client struct 2019-08-08 11:56:07 -04:00