There is no need to use `assert.Implements` since we can express this check during compile time. Go will eliminate `_` variables and any accompanying allocations during dead-code elimination phase. This commit also removes: tok := new(v1alpha1.ClusterConfig).Token() assert.Implements(t, (*config.Token)(nil), tok) Code since it doesn't check anything - v1alpha1.ClusterConfig.Token() already returns a config.Token interface. Also - run `go work sync` and `go mod tidy`. Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
60 lines
2.4 KiB
Modula-2
60 lines
2.4 KiB
Modula-2
module github.com/talos-systems/talos/pkg/machinery
|
|
|
|
go 1.19
|
|
|
|
// forked go-yaml that introduces RawYAML interface, which can be used to populate YAML fields using bytes
|
|
// which are then encoded as a valid YAML blocks with proper indentiation
|
|
replace gopkg.in/yaml.v3 => github.com/unix4ever/yaml v0.0.0-20220527175918-f17b0f05cf2c
|
|
|
|
require (
|
|
github.com/containerd/go-cni v1.1.7
|
|
github.com/cosi-project/runtime v0.2.0-alpha.0
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/evanphx/json-patch v5.6.0+incompatible
|
|
github.com/ghodss/yaml v1.0.0
|
|
github.com/hashicorp/go-multierror v1.1.1
|
|
github.com/jsimonetti/rtnetlink v1.2.2
|
|
github.com/mdlayher/ethtool v0.0.0-20220830195143-0e16326d06d1
|
|
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
|
|
github.com/siderolabs/crypto v0.4.0
|
|
github.com/siderolabs/go-pointer v1.0.0
|
|
github.com/siderolabs/protoenc v0.1.6
|
|
github.com/stretchr/testify v1.8.0
|
|
github.com/talos-systems/go-blockdevice v0.3.4
|
|
github.com/talos-systems/go-debug v0.2.1
|
|
github.com/talos-systems/net v0.3.2
|
|
go4.org/netipx v0.0.0-20220812043211-3cc044ffd68d
|
|
google.golang.org/genproto v0.0.0-20220909194730-69f6226f97e5
|
|
google.golang.org/grpc v1.49.0
|
|
google.golang.org/protobuf v1.28.1
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/containernetworking/cni v1.1.2 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/gertd/go-pluralize v0.2.1 // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
|
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.2 // indirect
|
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
|
github.com/josharian/native v1.0.0 // indirect
|
|
github.com/mdlayher/genetlink v1.2.0 // indirect
|
|
github.com/mdlayher/netlink v1.6.0 // indirect
|
|
github.com/mdlayher/socket v0.2.3 // indirect
|
|
github.com/onsi/ginkgo/v2 v2.1.4 // indirect
|
|
github.com/onsi/gomega v1.19.0 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/ryanuber/go-glob v1.0.0 // indirect
|
|
go.uber.org/atomic v1.10.0 // indirect
|
|
go.uber.org/multierr v1.8.0 // indirect
|
|
go.uber.org/zap v1.23.0 // indirect
|
|
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
|
|
golang.org/x/sync v0.0.0-20220907140024-f12130a52804 // indirect
|
|
golang.org/x/sys v0.0.0-20220909162455-aba9fc2a8ff2 // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|