File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
2323
2424 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2525
26+ "github.com/validator-labs/validator/pkg/plugins"
2627 "github.com/validator-labs/validator/pkg/validationrule"
2728
2829 "github.com/validator-labs/validator-plugin-aws/pkg/constants"
@@ -55,6 +56,8 @@ type AwsValidatorSpec struct {
5556 TagRules []TagRule `json:"tagRules,omitempty" yaml:"tagRules,omitempty"`
5657}
5758
59+ var _ plugins.PluginSpec = (* AwsValidatorSpec )(nil )
60+
5861// PluginCode returns the network validator's plugin code.
5962func (s AwsValidatorSpec ) PluginCode () string {
6063 return constants .PluginCode
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require (
1818 github.com/onsi/ginkgo/v2 v2.20.1
1919 github.com/onsi/gomega v1.34.1
2020 github.com/pkg/errors v0.9.1
21- github.com/validator-labs/validator v0.1.7
21+ github.com/validator-labs/validator v0.1.8
2222 golang.org/x/exp v0.0.0-20240822175202-778ce7bba035
2323 k8s.io/api v0.31.0
2424 k8s.io/apimachinery v0.31.0
Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
206206github.com/stretchr/testify v1.8.1 /go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4 =
207207github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg =
208208github.com/stretchr/testify v1.9.0 /go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY =
209- github.com/validator-labs/validator v0.1.7 h1:x1iBKoecChM52G7bbacMsdIQYvB84C65DRIex8TG6vQ =
210- github.com/validator-labs/validator v0.1.7 /go.mod h1:ssEvc9ws3kwWJ2VpIsOtgm7WmA6bdux2kkuIHbgT6oU =
209+ github.com/validator-labs/validator v0.1.8 h1:4PRcnQ92Knao7V0hm704DYQMi0+nNjbS/PgMRCDH2iU =
210+ github.com/validator-labs/validator v0.1.8 /go.mod h1:+8vtI1GlihPKm0Jp61D50KPgkJkFmLZNc5fqh415DuQ =
211211github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM =
212212github.com/x448/float16 v0.8.4 /go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg =
213213github.com/yuin/goldmark v1.1.27 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
You can’t perform that action at this time.
0 commit comments