Skip to content

External Network: gateway tunnel wireguard #11230

External Network: gateway tunnel wireguard

External Network: gateway tunnel wireguard #11230

Triggered via pull request October 2, 2023 15:13
Status Failure
Total duration 2m 9s
Artifacts

lint.yml

on: pull_request
Lint golang files
1m 55s
Lint golang files
Enforce go.mod tidiness
26s
Enforce go.mod tidiness
Lint bash files
10s
Lint bash files
Lint markdown files
26s
Lint markdown files
Lint documentation files
24s
Lint documentation files
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Lint golang files: pkg/gateway/tunnel/wireguard/tunnel-controller.go#L42
importShadow: shadow of imported from 'golang.zx2c4.com/wireguard/wgctrl' package 'wgctrl' (gocritic)
Lint golang files: pkg/gateway/tunnel/wireguard/wireguard.go#L39
var `wgcl` is unused (unused)
Lint golang files: cmd/gateway/tunnel/wireguard/main.go#L138
unnecessary trailing newline (whitespace)
Lint golang files
issues found
Lint golang files: pkg/consts/externalnetwork.go#L18
exported: comment on exported const WgServerNameLabel should be of the form "WgServerNameLabel ..." (revive)
Lint golang files: pkg/gateway/tunnel/wireguard/labels.go#L17
exported: exported type WireguardLabels should have comment or be unexported (revive)
Lint golang files: pkg/gateway/tunnel/wireguard/flags.go#L22
exported: exported type FlagName should have comment or be unexported (revive)
Lint golang files: cmd/gateway/tunnel/wireguard/main.go#L15
package-comments: should have a package comment (revive)