Aucune description

Djordje Lukic cf1be96833 Merge pull request #99 from docker/feat-stop il y a 5 ans
.github 693aa7b849 Remove golangci-lint action, use executable il y a 5 ans
azure a26dd81307 Add timeout as a parameter to the stop action il y a 5 ans
backend 1e19d977e0 Initial functional login command : added Cloud API with generic Login() il y a 5 ans
cli cf1be96833 Merge pull request #99 from docker/feat-stop il y a 5 ans
client 7edc6659a2 Add unit tests for login process il y a 5 ans
compose 14fb12c8c8 Let `make protos` affect host files il y a 5 ans
containers a26dd81307 Add timeout as a parameter to the stop action il y a 5 ans
context 7edc6659a2 Add unit tests for login process il y a 5 ans
docs 44712ab3c4 Move CLI UX docs into folder il y a 5 ans
errdefs a26dd81307 Add timeout as a parameter to the stop action il y a 5 ans
example a0dda2d094 Add tests for ps --all il y a 5 ans
moby a26dd81307 Add timeout as a parameter to the stop action il y a 5 ans
multierror 6486f199e2 Add multierror il y a 5 ans
server a26dd81307 Add timeout as a parameter to the stop action il y a 5 ans
tests cf1be96833 Merge pull request #99 from docker/feat-stop il y a 5 ans
.dockerignore cbfcd5cf64 Add dockerignore il y a 5 ans
.gitignore fcc7582826 Remove non-project path il y a 5 ans
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock il y a 5 ans
Dockerfile d8a38afecc Implement printing published ports il y a 5 ans
Makefile ee4ffcb5f4 Extend lint timeout il y a 5 ans
README.md f71ef61fef Remove unused setup-dev.sh, add protoc to the readme il y a 5 ans
builder.Makefile 7b26e8e836 Faster build il y a 5 ans
go.mod f118856076 Merge pull request #112 from rumpl/chore-clean-deps il y a 5 ans
go.sum b854cf2114 go mod tidy il y a 5 ans

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.