Нема описа

Djordje Lukic 23d2eacf84 Merge pull request #97 from docker/feat-port-parsing пре 5 година
.github 693aa7b849 Remove golangci-lint action, use executable пре 5 година
azure 23d2eacf84 Merge pull request #97 from docker/feat-port-parsing пре 5 година
backend 1e19d977e0 Initial functional login command : added Cloud API with generic Login() пре 5 година
cli 23d2eacf84 Merge pull request #97 from docker/feat-port-parsing пре 5 година
client 7edc6659a2 Add unit tests for login process пре 5 година
compose 14fb12c8c8 Let `make protos` affect host files пре 5 година
containers 52f7902d40 Port parsing on the comand line пре 5 година
context 7edc6659a2 Add unit tests for login process пре 5 година
docs 44712ab3c4 Move CLI UX docs into folder пре 5 година
errdefs 69f10fe80c Extract interface / types to allow unit tests / mock пре 5 година
example 7edc6659a2 Add unit tests for login process пре 5 година
moby 23d2eacf84 Merge pull request #97 from docker/feat-port-parsing пре 5 година
multierror 6486f199e2 Add multierror пре 5 година
server 40fa78ac5d Add rm command пре 5 година
tests cc23137945 Merge pull request #82 from chris-crone/context-use пре 5 година
.dockerignore cbfcd5cf64 Add dockerignore пре 5 година
.gitignore fcc7582826 Remove non-project path пре 5 година
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock пре 5 година
Dockerfile 52f7902d40 Port parsing on the comand line пре 5 година
Makefile 14fb12c8c8 Let `make protos` affect host files пре 5 година
README.md f71ef61fef Remove unused setup-dev.sh, add protoc to the readme пре 5 година
builder.Makefile 7b26e8e836 Faster build пре 5 година
go.mod 23d2eacf84 Merge pull request #97 from docker/feat-port-parsing пре 5 година
go.sum 69f10fe80c Extract interface / types to allow unit tests / mock пре 5 година

README.md

Docker API

Actions Status

Dev Setup

The recommended way is to use the main Makefile that runs everything inside a container.

If you don't have or want to use Docker for building you need to make sure you have all the needed tools installed locally:

And then you can call the same make targets but you need to pass it the builder.Makefile (make -f builder.Makefile).

Building the project

$ make

If you make changes to the .proto files, make sure to make protos to generate go code.

Tests

To run unit tests:

make test

If you need to update a golden file simply do go test ./... -test.update-golden.