V2 podman system service

* Added support for system service
* Enabled linting on the varlinkapi source, needed to support V2
  service command
* Added support for PODMAN_SOCKET

Skip linting deprecated code

Rather than introduce bugs by correcting deprecated code, linting the
code is being skipped. Code that is being ported into V2 is being
checked.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
Jhon Honce
2020-04-02 15:58:23 -07:00
parent b4840ec0d3
commit e0847f5457
37 changed files with 503 additions and 180 deletions

View File

@ -1,10 +1,5 @@
---
run:
build-tags:
- apparmor
- seccomp
- selinux
- ABISupport
concurrency: 6
deadline: 5m
skip-dirs-use-default: true
@ -12,6 +7,8 @@ run:
- contrib
- dependencies
- test
- pkg/varlink
- pkg/varlinkapi
skip-files:
- iopodman.go
- swagger.go
@ -31,3 +28,7 @@ linters:
- misspell
- prealloc
- unparam
linters-settings:
errcheck:
check-blank: false
ignore: encoding/json:^Unmarshal,fmt:.*