Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
123be72
prestep install docker
May 21, 2018
d94991e
wired mqtt topsics to docker methods
May 21, 2018
07c3dd5
fix subscription correct topic bug for containers
May 22, 2018
22450d7
implemented first version of container start/stop
May 23, 2018
8250323
added dpkg --configure -a command before installing networkmanager to…
May 23, 2018
acf15db
finalyzed container start stop and run
May 23, 2018
58f8247
refactored docker client and created remove container with image prune
May 24, 2018
14b78e3
added container remove
May 24, 2018
4177484
moved setup of dependencies in a single goroutine to avoid apt-lock
May 25, 2018
2e8dfe4
refactored ContainersActionEvent function and added cosmetics and com…
May 25, 2018
886d9ef
updates README.md
May 25, 2018
90da78e
cosmetics
Jun 20, 2018
53c4fe5
added a emulation script for deploying dev versions of the connection…
Jun 25, 2018
200554a
added installer helper script
Jun 25, 2018
36258a1
implements separate steps for device registration to support autoprov…
Jun 26, 2018
7c20ca1
added sample script for registering a device emulating provisioning
Jun 26, 2018
4311ff3
implements backend emulation scripts for provisioning of colfax machine
Jun 26, 2018
025a093
added release script
Jun 26, 2018
c5305d2
fixes classic install bug due to config passed by value
Jul 10, 2018
15ad458
implements install for raspbian and proper output print at the end of…
Jul 16, 2018
82e003b
added advanced docker options to runParams struct
Jul 17, 2018
f23562d
added support for all optionals in docker create container api
Jul 17, 2018
4e26c09
aded container log related messages for debugging
Jul 17, 2018
c078961
cleanup of script folder
Aug 17, 2018
f265c8b
baseline for testing
Aug 20, 2018
31e036b
created test baseline for connector with vagrant and Makefile
Aug 21, 2018
37b8f8d
created few simple integration tests
Aug 21, 2018
b884e38
added working mqtt test snippet
Aug 22, 2018
e448d74
set test framework for handlers containers
Aug 22, 2018
4b5cf19
test refining and testing the testing implementing container run with…
Aug 24, 2018
4fef763
added testing discplaimer to README.md
Oct 2, 2018
f4acf57
added .idea folder to gitignore
Oct 2, 2018
6ab355c
add docker login to test user and pass
Oct 3, 2018
199dc05
linting adjustments
Oct 3, 2018
bf6440d
added vendoring config for dep
Oct 4, 2018
0ce4029
add vendoring
Oct 4, 2018
7e45705
update Gopkg files to align docker dependencies with prometeus depend…
Oct 4, 2018
2cfe987
dep ensure dependencies
Oct 4, 2018
014b1bd
implements registry auth mgmt and password save using docker/cli pack…
Oct 5, 2018
84fda7f
removed unused background/userAsDaemon option
Oct 5, 2018
452a727
support docker ps for a single container via filtering
Oct 5, 2018
0276b86
implements container rename
Oct 5, 2018
f760a59
add linting config for golangci-linter tool
Oct 8, 2018
b3b8110
added testify, replaced asserts
Oct 8, 2018
85378d1
updated README
Oct 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
certificate*
arduino-connector
arduino-connector.cfg
arduino-connector.cfg
arduino-connector-arm
.idea
51 changes: 51 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
linters-settings:
govet:
check-shadowing: true
golint:
min-confidence: 0
gocyclo:
min-complexity: 13 # Should be 10 but was brought to 13 to speed up the development
maligned:
suggest-new: true
dupl:
threshold: 100
goconst:
min-len: 2
min-occurrences: 2

misspell:
locale: US

lll:
# max line length, lines longer will be reported. Default is 120.
# '\t' is counted as 1 character by default, and can be changed with the tab-width option
line-length: 130

# options for analysis running
run:
# skipping all non-tested file, re-enable linting check along to test coverage on files
skip-dirs:
- auth
- extra
- updater

skip-files:
- handlers_apt_packages.go
- handlers_apt_repositories.go
# - handlers_containers.go
- handlers_containers_test.go
- handlers.go
- handlers_stats.go
- handlers_update.go
- heartbeat.go
# - install.go
# - main.go
- status.go
- utils.go
- validate.go

linters:
enable-all: true
disable:
- prealloc
- dupl
Loading