Juan Carlos Mejías Rodríguez
|
ca14cf6f5e
|
Add function to portainer client to get users list
|
2019-11-26 23:27:15 -05:00 |
|
Juan Carlos Mejías Rodríguez
|
1674d1879c
|
Add function to portainer client to get current user name
|
2019-11-26 23:27:15 -05:00 |
|
Juan Carlos Mejías Rodríguez
|
16517713ac
|
Move response errors checking from portainerClientImp.do() to doJSON()
|
2019-09-01 23:56:55 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
2c04b82794
|
Merge branch 'master' into docker-proxy
|
2019-08-26 23:35:34 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
fa0071883d
|
Add tests for portainerClientImp.doJSON()
|
2019-08-26 09:11:17 -04:00 |
|
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
|
5d95af3681
|
Split Portainer client source file into several function-related ones
|
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
|
aa606782af
|
Rename PortainerClient.GetEndpointDockerInfo() to EndpointDockerInfo()
|
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
|
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
|
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
|
6c45c77466
|
Add function in Portainer client to proxy a request to Docker API
|
2019-08-23 03:02:55 -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
|
cf823f9dcf
|
Add custom User-Agent to API requests
|
2019-08-09 15:16:12 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
2261b4f6ac
|
Add GetEndpointGroups() function to client
|
2019-08-09 13:17:40 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
7fcdd73066
|
Move Portainer API URL parsing outside the client
|
2019-08-09 12:39:40 -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
|
b3f1989a25
|
Fix inconsistencies with EndpointID and SwarmID filtering
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
0c3e255bf2
|
Fix Client interface's functions comments
|
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
|
955a79de6f
|
Remove printing of token after authentication
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
5748d862bb
|
Move PrintDebugRequest() and PrintDebugResponse() calls in client to hooks
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
76d92c5885
|
Add "before request" and "after response" hooks to client
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
3989715b70
|
Change PortainerClientImp to unexported
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
27b418cb3c
|
Rename client.ClientConfig to client.Config
|
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 |
|