1
0
mirror of https://github.com/rancher/norman.git synced 2025-04-27 19:15:07 +00:00

updated wrangler from v2 to v3

This commit is contained in:
vardhaman22 2024-06-04 15:32:09 +05:30
parent 27640a2bbc
commit a528269caf
7 changed files with 11 additions and 11 deletions

4
go.mod
View File

@ -9,8 +9,8 @@ require (
github.com/gorilla/websocket v1.5.1 github.com/gorilla/websocket v1.5.1
github.com/matryer/moq v0.3.4 github.com/matryer/moq v0.3.4
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
github.com/rancher/lasso v0.0.0-20240424194130-d87ec407d941 github.com/rancher/lasso v0.0.0-20240430201833-6f3def65ffc5
github.com/rancher/wrangler/v2 v2.2.0-rc6 github.com/rancher/wrangler/v3 v3.0.0-rc2
github.com/sirupsen/logrus v1.9.3 github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0 github.com/stretchr/testify v1.9.0
golang.org/x/sync v0.7.0 golang.org/x/sync v0.7.0

8
go.sum
View File

@ -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/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 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg=
github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= 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-20240430201833-6f3def65ffc5 h1:6K4RhfmCy7uxaw9OzCljNLfFcgD/q7SeF+/2gCQ3Tvw=
github.com/rancher/lasso v0.0.0-20240424194130-d87ec407d941/go.mod h1:pYKOe2r/5O0w3ypoc7xHQF8LvWCp5PsNRea1Jpq3vBU= github.com/rancher/lasso v0.0.0-20240430201833-6f3def65ffc5/go.mod h1:7WkdfPEvWAdnHVioMUkhpZkshJzjDY62ocHVhcbw89M=
github.com/rancher/wrangler/v2 v2.2.0-rc6 h1:jMsuOVl7nBuQ5QJqdNkR2yHEf1+rYiyd1gN+mQzIcag= github.com/rancher/wrangler/v3 v3.0.0-rc2 h1:XGSPPp6GXELqlLvwJp5MsdqyCPu6SCA4UKJ7rQJzE40=
github.com/rancher/wrangler/v2 v2.2.0-rc6/go.mod h1:rFxhBR+PpC1MuJli+JeMpxoGxfV7XdFWtpdLC8s+oWQ= 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 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/rancher/wrangler/v2/pkg/kubeconfig" "github.com/rancher/wrangler/v3/pkg/kubeconfig"
"k8s.io/client-go/rest" "k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd" "k8s.io/client-go/tools/clientcmd"
) )

View File

@ -3,7 +3,7 @@ package restwatch
import ( import (
"time" "time"
"github.com/rancher/wrangler/v2/pkg/ratelimit" "github.com/rancher/wrangler/v3/pkg/ratelimit"
"k8s.io/client-go/rest" "k8s.io/client-go/rest"
) )

View File

@ -4,7 +4,7 @@ import (
"strings" "strings"
"github.com/rancher/norman/types" "github.com/rancher/norman/types"
"github.com/rancher/wrangler/v2/pkg/name" "github.com/rancher/wrangler/v3/pkg/name"
) )
type SelfLink struct { type SelfLink struct {

View File

@ -9,7 +9,7 @@ import (
"github.com/rancher/norman/types/convert" "github.com/rancher/norman/types/convert"
"github.com/rancher/norman/types/definition" "github.com/rancher/norman/types/definition"
"github.com/rancher/wrangler/v2/pkg/name" "github.com/rancher/wrangler/v3/pkg/name"
) )
type SchemaCollection struct { type SchemaCollection struct {

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
"github.com/rancher/norman/types" "github.com/rancher/norman/types"
"github.com/rancher/wrangler/v2/pkg/name" "github.com/rancher/wrangler/v3/pkg/name"
) )
const ( const (