diff --git a/go.mod b/go.mod index 607417fa..617a3d3d 100644 --- a/go.mod +++ b/go.mod @@ -9,8 +9,8 @@ require ( github.com/gorilla/websocket v1.5.1 github.com/matryer/moq v0.3.4 github.com/pkg/errors v0.9.1 - github.com/rancher/lasso v0.0.0-20240424194130-d87ec407d941 - github.com/rancher/wrangler/v2 v2.2.0-rc6 + github.com/rancher/lasso v0.0.0-20240430201833-6f3def65ffc5 + github.com/rancher/wrangler/v3 v3.0.0-rc2 github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.9.0 golang.org/x/sync v0.7.0 diff --git a/go.sum b/go.sum index e21ea623..9e584b7f 100644 --- a/go.sum +++ b/go.sum @@ -88,10 +88,10 @@ github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdO github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= -github.com/rancher/lasso v0.0.0-20240424194130-d87ec407d941 h1:1SvuoeyfANRvKVJUSzHWa1P781iuH8ktUjW9cPOxAAk= -github.com/rancher/lasso v0.0.0-20240424194130-d87ec407d941/go.mod h1:pYKOe2r/5O0w3ypoc7xHQF8LvWCp5PsNRea1Jpq3vBU= -github.com/rancher/wrangler/v2 v2.2.0-rc6 h1:jMsuOVl7nBuQ5QJqdNkR2yHEf1+rYiyd1gN+mQzIcag= -github.com/rancher/wrangler/v2 v2.2.0-rc6/go.mod h1:rFxhBR+PpC1MuJli+JeMpxoGxfV7XdFWtpdLC8s+oWQ= +github.com/rancher/lasso v0.0.0-20240430201833-6f3def65ffc5 h1:6K4RhfmCy7uxaw9OzCljNLfFcgD/q7SeF+/2gCQ3Tvw= +github.com/rancher/lasso v0.0.0-20240430201833-6f3def65ffc5/go.mod h1:7WkdfPEvWAdnHVioMUkhpZkshJzjDY62ocHVhcbw89M= +github.com/rancher/wrangler/v3 v3.0.0-rc2 h1:XGSPPp6GXELqlLvwJp5MsdqyCPu6SCA4UKJ7rQJzE40= +github.com/rancher/wrangler/v3 v3.0.0-rc2/go.mod h1:f54hh7gFkwwbjsieT2b63FowzTU8FvrBonPe//0CIXo= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= diff --git a/pkg/kwrapper/k8s/config.go b/pkg/kwrapper/k8s/config.go index 1762e948..537e56fd 100644 --- a/pkg/kwrapper/k8s/config.go +++ b/pkg/kwrapper/k8s/config.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/rancher/wrangler/v2/pkg/kubeconfig" + "github.com/rancher/wrangler/v3/pkg/kubeconfig" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" ) diff --git a/restwatch/rest.go b/restwatch/rest.go index 7be66d03..5dea7e38 100644 --- a/restwatch/rest.go +++ b/restwatch/rest.go @@ -3,7 +3,7 @@ package restwatch import ( "time" - "github.com/rancher/wrangler/v2/pkg/ratelimit" + "github.com/rancher/wrangler/v3/pkg/ratelimit" "k8s.io/client-go/rest" ) diff --git a/types/mapper/selflink.go b/types/mapper/selflink.go index 95c13b20..794af57f 100644 --- a/types/mapper/selflink.go +++ b/types/mapper/selflink.go @@ -4,7 +4,7 @@ import ( "strings" "github.com/rancher/norman/types" - "github.com/rancher/wrangler/v2/pkg/name" + "github.com/rancher/wrangler/v3/pkg/name" ) type SelfLink struct { diff --git a/types/schemas.go b/types/schemas.go index 723f4a20..30819bba 100644 --- a/types/schemas.go +++ b/types/schemas.go @@ -9,7 +9,7 @@ import ( "github.com/rancher/norman/types/convert" "github.com/rancher/norman/types/definition" - "github.com/rancher/wrangler/v2/pkg/name" + "github.com/rancher/wrangler/v3/pkg/name" ) type SchemaCollection struct { diff --git a/urlbuilder/url.go b/urlbuilder/url.go index 774a4c7d..f3fa7b08 100644 --- a/urlbuilder/url.go +++ b/urlbuilder/url.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/rancher/norman/types" - "github.com/rancher/wrangler/v2/pkg/name" + "github.com/rancher/wrangler/v3/pkg/name" ) const (