Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update gomod #58

Merged
merged 3 commits into from Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 26 additions & 27 deletions go.mod
@@ -1,47 +1,46 @@
module github.com/DelineaXPM/dsv-k8s-sidecar

go 1.18
go 1.21

require (
github.com/bitfield/script v0.21.4
github.com/dgrijalva/jwt-go/v4 v4.0.0-preview1
github.com/bitfield/script v0.22.0
github.com/ericchiang/k8s v1.2.0
github.com/golang-jwt/jwt/v5 v5.2.0
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.2.0
github.com/gorilla/mux v1.8.0
github.com/magefile/mage v1.14.0
github.com/pterm/pterm v0.12.58
github.com/sheldonhull/magetools v1.0.0
github.com/sirupsen/logrus v1.2.0
github.com/stretchr/testify v1.8.2
github.com/gorilla/mux v1.8.1
github.com/magefile/mage v1.15.0
github.com/pterm/pterm v0.12.75
github.com/sheldonhull/magetools v1.0.1
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
google.golang.org/grpc v1.16.0
)

require (
atomicgo.dev/cursor v0.1.1 // indirect
atomicgo.dev/schedule v0.1.0 // indirect
mvdan.cc/sh/v3 v3.7.0 // indirect
)

require (
atomicgo.dev/cursor v0.2.0 // indirect
atomicgo.dev/keyboard v0.2.9 // indirect
bitbucket.org/creachadair/shell v0.0.7 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/gookit/color v1.5.3 // indirect
github.com/itchyny/gojq v0.12.7 // indirect
github.com/itchyny/timefmt-go v0.1.3 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect
github.com/kr/pretty v0.2.1 // indirect
github.com/lithammer/fuzzysearch v1.1.5 // indirect
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/gookit/color v1.5.4 // indirect
github.com/itchyny/gojq v0.12.14 // indirect
github.com/itchyny/timefmt-go v0.1.5 // indirect
github.com/lithammer/fuzzysearch v1.1.8 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
github.com/ztrue/tracerr v0.3.0 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.17.0 // indirect; indirect // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
github.com/ztrue/tracerr v0.4.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect; indirect // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/term v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
162 changes: 94 additions & 68 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/auth/service.go
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/DelineaXPM/dsv-k8s-sidecar/pkg/pods"

"github.com/dgrijalva/jwt-go/v4"
"github.com/golang-jwt/jwt/v5"
"github.com/sirupsen/logrus"
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
Expand Down
54 changes: 41 additions & 13 deletions vendor/atomicgo.dev/cursor/.golangci.yml
Expand Up @@ -17,55 +17,83 @@ linters-settings:
- ptrToRefParam
- paramTypeCombine
- unnamedResult
misspell:
locale: US
linters:
disable-all: true
enable:
# default linters
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# additional linters
- asasalint
- asciicheck
- bidichk
- bodyclose
- containedctx
- contextcheck
- decorder
- dupl
- durationcheck
- errchkjson
- errname
- errorlint
- exhaustive
- gci
- gocognit
- exhaustruct
- exportloopref
- forcetypeassert
- gocheckcompilerdirectives
- gocritic
- godot
- godox
- goerr113
- gofmt
- goimports
- goprintffuncname
- misspell
- gosec
- gosmopolitan
- importas
- ireturn
- nakedret
- nestif
- nilerr
- nlreturn
- noctx
- nilnil
- prealloc
- predeclared
- revive
- rowserrcheck
- tagalign
- tenv
- thelper
- tparallel
- unconvert
- unparam
- usestdlibvars
- wastedassign
- whitespace
- wrapcheck
- wsl
- gocyclo
- misspell
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
include:
- EXC0012
- EXC0014
exclude-rules:
- path: _test\.go
linters:
- gocyclo
- errcheck
- dupl
- gosec
- gocritic
- wrapcheck
- goerr113
# https://github.com/go-critic/go-critic/issues/926
- linters:
- gocritic
text: "unnecessaryDefer:"
- linters:
- gocritic
text: "preferDecodeRune:"
service:
golangci-lint-version: 1.39.x # use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.53.x