Commit Graph

  • cdc54111a1 Add flexibility to Portainer client creation Juan Carlos Mejías Rodríguez 2019-08-02 18:20:18 -04:00
  • a0d75c8df9 Rename client to cachedClient Juan Carlos Mejías Rodríguez 2019-08-02 16:32:26 -04:00
  • 64619fc90f Remove error return from Client.Clone() Juan Carlos Mejías Rodríguez 2019-08-02 16:22:58 -04:00
  • 0d42ed73c6 Enhance Portainer URL parsing in Client Juan Carlos Mejías Rodríguez 2019-08-02 16:09:54 -04:00
  • 00439cc1c1 Delay new auth token retrieval until it is really necessary Juan Carlos Mejías Rodríguez 2019-08-02 14:21:50 -04:00
  • 04a05fad86 Move clientConfig declaration to the top Juan Carlos Mejías Rodríguez 2019-08-02 13:26:51 -04:00
  • 8d0fb72034 Fix PortainerClient.Authenticate usage of viper Juan Carlos Mejías Rodríguez 2019-08-02 13:24:49 -04:00
  • 064e7789fb Add comments to Client Juan Carlos Mejías Rodríguez 2019-08-02 13:21:29 -04:00
  • 5dc5f43763 Remove unused CheckResponseForErrors error handling helper Juan Carlos Mejías Rodríguez 2019-08-02 13:14:23 -04:00
  • 93f08172ac Rename Client.DoJson to doJson Juan Carlos Mejías Rodríguez 2019-08-02 13:12:25 -04:00
  • 70621c750c Move URL handling logic (calls to DoJson) into Client Juan Carlos Mejías Rodríguez 2019-08-02 13:10:59 -04:00
  • 7f048def9c Remove old unused connection and authentication code Juan Carlos Mejías Rodríguez 2019-08-02 12:05:14 -04:00
  • fa666db1b8 Replace manual request creation and marshaling with new client Juan Carlos Mejías Rodríguez 2019-08-02 12:03:43 -04:00
  • 1b1c2bc1d1 Encapsulate network communication into a Client struct Juan Carlos Mejías Rodríguez 2019-08-01 22:48:38 -04:00
  • a22aaa20f5 Format code Juan Carlos Mejías Rodríguez 2019-07-24 18:23:44 -04:00
  • d770da7414 Enhance error printing Juan Carlos Mejías Rodríguez 2019-07-23 22:43:23 -04:00
  • 6200b6c667 Add login command to log in to a Portainer instance Juan Carlos Mejías Rodríguez 2019-07-23 22:12:45 -04:00
  • 53d26a8ac3 Split config setting and getting into separate functions Juan Carlos Mejías Rodríguez 2019-07-23 21:59:08 -04:00
  • 143215b39f Add --auth-token global flag to set the auth flag to be used with potainer Juan Carlos Mejías Rodríguez 2019-07-23 20:47:14 -04:00
  • 35a0d089cb Add shorthands for --url, --user, --password and --insecure flags Juan Carlos Mejías Rodríguez 2019-07-23 20:42:23 -04:00
  • 44319f3655 Change --prune flag shorthand to -r Juan Carlos Mejías Rodríguez 2019-07-23 20:40:51 -04:00
  • 3d475143c1 Add --keys flag to config list command to show only config keys Juan Carlos Mejías Rodríguez 2019-07-23 20:34:22 -04:00
  • 1ca444a79d Move config listing to new command config list Juan Carlos Mejías Rodríguez 2019-07-23 20:02:58 -04:00
  • 5d723af9fd Move AuthenticateUserRequest and AuthenticateUserResponse to types.go Juan Carlos Mejías Rodríguez 2019-07-23 18:17:25 -04:00
  • 5664faf2dd Add --list flag to config command to list all available configuration keys Juan Carlos Mejías Rodríguez 2019-07-23 14:43:32 -04:00
  • 0723ae0eb8 Add config command to get and set configuration options Juan Carlos Mejías Rodríguez 2019-07-23 09:46:14 -04:00
  • 56d6e1102d Move variable with program name to the top in version.go Juan Carlos Mejías Rodríguez 2019-07-23 07:10:34 -04:00
  • fd8b64768c Update Changelog Juan Carlos Mejías Rodríguez 2019-07-22 09:00:57 -04:00
  • 74ec8c1d22 Add #Contributing section to readme Juan Carlos Mejías Rodríguez 2019-07-22 01:18:54 -04:00
  • 7877eec67d Add dash separator to version suffix Juan Carlos Mejías Rodríguez 2019-07-21 22:50:55 -04:00
  • 1b27073491 Add final period to Overview sentence in Readme Juan Carlos Mejías Rodríguez 2019-07-22 01:10:10 -04:00
  • 6d6928203c Fix debug mode environment variable name in readme Juan Carlos Mejías Rodríguez 2019-07-21 23:12:11 -04:00
  • c18ee4ae1b Add Docker images documentation 0.x Juan Carlos Mejías Rodríguez 2019-06-10 01:31:34 -04:00
  • acba31c9b0 Fix typo in supported API version's documentation Juan Carlos Mejías Rodríguez 2019-06-10 01:04:20 -04:00
  • c5b1dfaa82 Rewrite project in Go Juan Carlos Mejías Rodríguez 2019-07-20 22:00:04 -04:00
  • 3326a0fdda Add Docker images documentation Juan Carlos Mejías Rodríguez 2019-06-10 01:31:34 -04:00
  • 72aba24865 Fix typo in supported API version's documentation Juan Carlos Mejías Rodríguez 2019-06-10 01:04:20 -04:00
  • 74d35b765e Update changelog v0.1.1 0.1.1 Juan Carlos Mejías Rodríguez 2019-06-05 11:01:01 -07:00
  • e9caa803b6 Merge pull request #14 from tortuetorche/patch-2 Juan Carlos Mejías Rodríguez 2019-06-05 10:50:32 -07:00
  • e386126466 Use the realpath of the env file to be able to source it Tortue Torche 2019-05-29 10:25:33 +02:00
  • 0828e59bc7 Fix environment variables who contains spaces in their value Tortue Torche 2019-05-29 09:57:10 +02:00
  • 79d3b5e775 Add changelog v0.1.0 0.1.0 –Juan Carlos Mejías Rodríguez 2019-05-24 04:09:04 -07:00
  • d90eb42ab5 Merge pull request #8 from tortuetorche/patch-1 Juan Carlos Mejías Rodríguez 2019-05-10 20:42:30 -07:00
  • a692212a9f Add Dockerfile ENV for stack environment variables Juan Carlos Mejías Rodríguez 2019-05-10 20:39:15 -07:00
  • a47e653fae Add documentation for stack environment variables Juan Carlos Mejías Rodríguez 2019-05-10 20:32:32 -07:00
  • b0b59385f1 Make new_stack_envvars local Juan Carlos Mejías Rodríguez 2019-05-10 20:02:07 -07:00
  • 7c5e9e9b57 Add custom stack environment variables Tortue Torche 2019-05-10 16:33:49 +02:00
  • e446fb6b1c Fix relative links in docs Juan Carlos Mejías Rodríguez 2018-12-29 10:44:59 -08:00
  • 41fb0f2256 Change Docker entrypoint to /usr/local/bin/psu Juan Carlos Mejías Rodríguez 2018-11-26 19:24:14 -05:00
  • 14c0e97d85 Add "How to install" section to docs Juan Carlos Mejías Rodríguez 2018-11-26 14:40:50 -05:00
  • 8a8020d013 Quote usages of $@ Juan Carlos Mejías Rodríguez 2018-11-26 00:39:43 -05:00
  • 09500d1697 Fix Dockerfile envvar declaration Juan Carlos Mejías Rodríguez 2018-11-26 00:20:04 -05:00
  • 3d8748d26c Move check_for_errors calls before echo_debug calls Juan Carlos Mejías Rodríguez 2018-11-26 00:00:59 -05:00
  • 3864db4c2a Separate local variables declaration and assignment for command substitutions Juan Carlos Mejías Rodríguez 2018-11-25 23:57:19 -05:00
  • 52379ef2f2 Add colored output Juan Carlos Mejías Rodríguez 2018-11-25 23:43:10 -05:00
  • 49cc138a14 Replace && with newlines Juan Carlos Mejías Rodríguez 2018-11-25 22:46:08 -05:00
  • d821155f6b Enhance main function comments Juan Carlos Mejías Rodríguez 2018-11-25 22:23:34 -05:00
  • ad040ff9a3 Move initial globals setting to a function Juan Carlos Mejías Rodríguez 2018-11-25 22:15:47 -05:00
  • 79f461535d Update function comments Juan Carlos Mejías Rodríguez 2018-11-25 22:11:03 -05:00
  • 4ca1ab72c6 Rename err function to echo_error Juan Carlos Mejías Rodríguez 2018-11-25 22:06:03 -05:00
  • 76caefc30b Add strict mode value to initial debug echoes Juan Carlos Mejías Rodríguez 2018-11-25 22:02:56 -05:00
  • e224207e31 Change some global variables to local Juan Carlos Mejías Rodríguez 2018-11-25 21:58:57 -05:00
  • 45c6f1101d Update strict mode docs Juan Carlos Mejías Rodríguez 2018-11-25 21:19:56 -05:00
  • bf089d1bfd Fix broken markdown link in readme Juan Carlos Mejías Rodríguez 2018-11-25 21:18:12 -05:00
  • a8d57bf268 Remove space between function names and parethesis Juan Carlos Mejías Rodríguez 2018-11-25 13:57:29 -05:00
  • 7715832325 Add main function Juan Carlos Mejías Rodríguez 2018-11-25 13:54:51 -05:00
  • 2be6d03efd Add unexpected options handling Juan Carlos Mejías Rodríguez 2018-11-25 13:43:09 -05:00
  • fe9e73c41e Improve code comments Juan Carlos Mejías Rodríguez 2018-11-25 13:29:47 -05:00
  • c82b81b313 Add function to print error messages to stderr Juan Carlos Mejías Rodríguez 2018-11-25 13:15:25 -05:00
  • 14039d9fe4 Redirected error messages to stderr Juan Carlos Mejías Rodríguez 2018-11-25 13:09:06 -05:00
  • 96ef7b19fa Add verbose mode docs Juan Carlos Mejías Rodríguez 2018-11-25 12:48:57 -05:00
  • 64012237e7 Update debug mode docs Juan Carlos Mejías Rodríguez 2018-11-25 12:43:12 -05:00
  • f2b1a4bd15 Add strict mode Juan Carlos Mejías Rodríguez 2018-11-25 12:41:02 -05:00
  • 291ef0c616 Remove error exit when undeploying unexistent stak Juan Carlos Mejías Rodríguez 2018-11-25 12:16:38 -05:00
  • 9433d019f1 Remove "Done"s messages Juan Carlos Mejías Rodríguez 2018-11-25 11:22:27 -05:00
  • b44d6b1899 Add some comments and echoes Juan Carlos Mejías Rodríguez 2018-11-25 11:21:46 -05:00
  • 44c56fa43a Replace STACK_YAML_PATH with DOCKER_COMPOSE_FILE Juan Carlos Mejías Rodríguez 2018-11-25 11:04:12 -05:00
  • b87976549c Replace STACK_NAME with PORTAINER_STACK_NAME Juan Carlos Mejías Rodríguez 2018-11-25 10:56:39 -05:00
  • a34b8cdca0 Move action check earlier Juan Carlos Mejías Rodríguez 2018-11-25 10:39:18 -05:00
  • 5ea07b9f60 Add some comments Juan Carlos Mejías Rodríguez 2018-11-25 10:16:26 -05:00
  • 280f4d792c Remove default user, password and url from Dockerfile envvars Juan Carlos Mejías Rodríguez 2018-11-24 21:42:24 -05:00
  • 5788f13d4b Add missing envvars in Dockerfile Juan Carlos Mejías Rodríguez 2018-11-24 21:41:26 -05:00
  • f1afff6b01 Update readme Juan Carlos Mejías Rodríguez 2018-11-24 21:03:23 -05:00
  • 677df92bba Update docs for ACTION and -a in readme Juan Carlos Mejías Rodríguez 2018-11-24 20:51:16 -05:00
  • d24e356663 Fix script file name in Dockerfile Juan Carlos Mejías Rodríguez 2018-11-24 18:34:40 -05:00
  • 215e907b56 Fix Dockerfile script COPY Juan Carlos Mejías Rodríguez 2018-11-24 18:12:30 -05:00
  • 70a99d263b Fix typo Juan Carlos Mejías Rodríguez 2018-11-24 15:54:10 -05:00
  • e873d4a9d8 Add debug mode Juan Carlos Mejías Rodríguez 2018-11-24 15:09:14 -05:00
  • de4150afa6 Add verbose mode Juan Carlos Mejías Rodríguez 2018-11-24 14:29:10 -05:00
  • 56328eff6c Fix variable substitution Juan Carlos Mejías Rodríguez 2018-11-24 14:26:54 -05:00
  • a35594a668 Update readme with envvars and flags documentation Juan Carlos Mejías Rodríguez 2018-11-24 14:12:47 -05:00
  • ba37e1be6c Merge deploy and undeploy scripts into psu script Juan Carlos Mejías Rodríguez 2018-11-24 13:36:38 -05:00
  • 3fe1ead303 Add flag options to deployment script with getopts Juan Carlos Mejías Rodríguez 2018-11-24 13:00:15 -05:00
  • fe85cc731f Added better error handling with more expresive messages Juan Carlos Mejías Rodríguez 2018-11-23 15:33:34 -05:00
  • f8d35507e6 Remove file extension from scripts Juan Carlos Mejías Rodríguez 2018-11-21 16:34:49 -05:00
  • 8893ced8d8 Fix chmod command in Dockerfile Juan Carlos Mejías Rodríguez 2018-11-21 16:32:05 -05:00
  • ea555d5301 Moved scripts to /usr/local/bin in Dockerfile Juan Carlos Mejías Rodríguez 2018-11-21 16:12:26 -05:00
  • 3940cc4687 Add gettext utils Juan Carlos Mejías Rodríguez 2018-11-21 15:50:21 -05:00
  • 91055ab7dd Add supported Portainer API section to readme Juan Carlos Mejías Rodríguez 2018-11-21 15:37:05 -05:00
  • c14b86dfa3 Add license section to readme Juan Carlos Mejías Rodríguez 2018-11-21 15:33:32 -05:00