roxxers
d5b893d9de
style: rm unneeded type assertions
2021-08-12 14:56:06 +01:00
d1admin
cbe74b24c4
fix: support different type of registry response
2021-08-10 13:16:41 +02:00
d1admin
83671f42a2
feat: recipe sync
2021-08-10 12:55:23 +02:00
d1admin
7ad812ad98
refactor: migrate JSON function to new package
...
We now use it to help read remote docker registries also.
2021-08-09 16:16:33 +02:00
d1admin
11ef64ead3
WIP: abra recipe upgrade on the way
2021-08-06 15:40:23 +02:00
roxxers
239c925d66
WIP: foundations for app deploy
2021-08-03 08:49:16 +01:00
roxxers
bb1eb372ef
refactor: stack func to client, mv app to new file
...
Stack interaction is now under client.
App types and functions moved from env to app under config
2021-08-02 05:51:58 +01:00
d1admin
42968fb8e1
feat: finally implement app new command
2021-07-31 15:50:04 +02:00
d1admin
5771f6c158
WIP another pass on the app new command
2021-07-30 22:55:00 +02:00
roxxers
dfc91a86a1
feat: WIP server rm command
2021-07-22 17:38:44 +01:00
roxxers
dd86ec4ca8
refactor: client pkg with new context interaction
2021-07-22 15:31:43 +01:00
roxxers
fc7dade6f8
feat: server add command
...
Interacts with and stores infomaton in the docker store at ~/.docker
Equivalent to docker context add
2021-07-22 12:48:14 +01:00
roxxers
5e94050865
refactor: forgot there is a function in docker src
2021-07-22 10:19:05 +01:00
roxxers
fe86b50ee3
refactor: actual context getting
2021-07-22 09:51:27 +01:00
roxxers
29971c36a0
refactor: moved all fatal errors to logrus
...
This will allow us to test commands that would normally exit
2021-07-21 09:04:34 +01:00
roxxers
37c06c82bf
feat: added error to GetContextEndpoint
...
this ill make the progam not fail if there is a non-docker swarm context
2021-07-18 06:34:22 +01:00
roxxers
a2bb0ed027
test: added the first test
...
I am not very good at unit testing but we need to start writing them
2021-07-18 06:31:09 +01:00
roxxers
38f610bdec
feat: abra server ls
...
WE DID IT! The first actual command to be ported.
Code is still a mess in terms of UX but its a milestone!
2021-07-18 04:21:26 +01:00
roxxers
5e1b076bf9
feat: very basic context management
...
Taken from this gist by github.com/agbaraka
https://gist.github.com/agbaraka/654a218f8ea13b3da8a47d47595f5d05
There is no in-built way of dealing with contexts using the golang sdk.
This means we have to make our own Dial helper borrowing from Docker CLI
This means all Docker API calls are made within the ssh connection
This uses `docker system dial-stdio`
2021-07-16 09:32:24 +01:00