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
|
cf9ecabc7a
|
Replace "cluster" with "swarm" in log messages
|
2019-08-09 11:48:41 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
2dc134e45d
|
Add endpoint to stack removal related logs
|
2019-08-09 11:47:32 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
ab7bc222aa
|
Fix double stack retrieval while removing stack
|
2019-08-09 11:45:51 -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
|
5506b625b4
|
Remove ShortCommit from goreleaser snapshots archive name
|
2019-08-09 11:15:15 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
dd8e928698
|
Update version string building
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
a6a4a70996
|
Use + as a build metadata separator in version
Follows SemVer
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
ea30e28261
|
Move version setting to goreleaser
|
2019-08-09 01:42:13 -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
|
e7a48ccc3e
|
Rename client to portainerClient in stack remove command to avoid collision with package name
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
2b2327939a
|
Change base docker image to alpine:3
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
d9e548f9dc
|
Remove goreleaser snapshot name template
I prefer the default "SNAPSHOT-{{.ShortCommit}}"
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
d0956a1281
|
Update goreleaser project name
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
e4fc69c8b8
|
Add goreleaser config for GitHub releases
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
84fb17f6ea
|
Prevent goreleaser from publishing docker images for pre-releases
|
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
|
3bb570b9ef
|
Add go module config
|
2019-08-09 01:42:13 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
6171228435
|
Fix typo in "Unknown configuration key" error
|
2019-08-08 15:47:23 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
1425d5b31f
|
Add Go Report Card badge
|
2019-08-08 15:45:49 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
0f0eaa7c3f
|
Add tests for client.NewClient()
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
a7bfa6e0b0
|
Add tests for Client.Authenticate()
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
fe469e1154
|
Split common error printing into "Error" and message with details
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
042fde2c79
|
Add --endpoint flag to remove command
|
2019-08-08 11:56:07 -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
|
0c3e255bf2
|
Fix Client interface's functions comments
|
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
|
7589f97105
|
Move util.NewTabWriter to common.NewTabWriter
|
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
|
d058337412
|
Move PrintDebugRequest() and PrintDebugResponse() logic to client hooks declaration
|
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
|
356979a7a4
|
Move util.CheckError to common.CheckError
|
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 |
|
Juan Carlos Mejías Rodríguez
|
a3b58499b8
|
Add interface for Portainer client
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
4f3892368e
|
Move deactivation of token usage for authentication into Authenticate()
|
2019-08-08 11:56:07 -04:00 |
|
Juan Carlos Mejías Rodríguez
|
cdc54111a1
|
Add flexibility to Portainer client creation
|
2019-08-08 11:56:07 -04:00 |
|
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
|
5dc5f43763
|
Remove unused CheckResponseForErrors error handling helper
It's logic is now implemented into the Client
|
2019-08-08 11:56:07 -04:00 |
|