Sen descrición

Guillaume Tardif 4dbb0df34c Merge pull request #83 from docker/azure-login %!s(int64=5) %!d(string=hai) anos
.github 7b26e8e836 Faster build %!s(int64=5) %!d(string=hai) anos
azure 7cf2309ca6 Separate azure login bits in LocalServer + Helper (mocked part) %!s(int64=5) %!d(string=hai) anos
backend 1e19d977e0 Initial functional login command : added Cloud API with generic Login() %!s(int64=5) %!d(string=hai) anos
cli 7edc6659a2 Add unit tests for login process %!s(int64=5) %!d(string=hai) anos
client 7edc6659a2 Add unit tests for login process %!s(int64=5) %!d(string=hai) anos
compose 14fb12c8c8 Let `make protos` affect host files %!s(int64=5) %!d(string=hai) anos
containers 14fb12c8c8 Let `make protos` affect host files %!s(int64=5) %!d(string=hai) anos
context 7edc6659a2 Add unit tests for login process %!s(int64=5) %!d(string=hai) anos
docs 44712ab3c4 Move CLI UX docs into folder %!s(int64=5) %!d(string=hai) anos
errdefs 69f10fe80c Extract interface / types to allow unit tests / mock %!s(int64=5) %!d(string=hai) anos
example 7edc6659a2 Add unit tests for login process %!s(int64=5) %!d(string=hai) anos
moby 7edc6659a2 Add unit tests for login process %!s(int64=5) %!d(string=hai) anos
multierror 6486f199e2 Add multierror %!s(int64=5) %!d(string=hai) anos
server 40fa78ac5d Add rm command %!s(int64=5) %!d(string=hai) anos
tests cc23137945 Merge pull request #82 from chris-crone/context-use %!s(int64=5) %!d(string=hai) anos
.dockerignore cbfcd5cf64 Add dockerignore %!s(int64=5) %!d(string=hai) anos
.gitignore fcc7582826 Remove non-project path %!s(int64=5) %!d(string=hai) anos
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock %!s(int64=5) %!d(string=hai) anos
Dockerfile a506b7f4e9 Fix `make protos` %!s(int64=5) %!d(string=hai) anos
Makefile 14fb12c8c8 Let `make protos` affect host files %!s(int64=5) %!d(string=hai) anos
README.md f71ef61fef Remove unused setup-dev.sh, add protoc to the readme %!s(int64=5) %!d(string=hai) anos
builder.Makefile 7b26e8e836 Faster build %!s(int64=5) %!d(string=hai) anos
go.mod 1e19d977e0 Initial functional login command : added Cloud API with generic Login() %!s(int64=5) %!d(string=hai) anos
go.sum 69f10fe80c Extract interface / types to allow unit tests / mock %!s(int64=5) %!d(string=hai) anos

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.