chore: remove some duplication and add a first few tests

This commit is contained in:
2022-09-30 22:07:56 +02:00
parent e124a2ed6b
commit 762fa4f747
8 changed files with 542 additions and 70 deletions
+3
View File
@@ -5,6 +5,8 @@ go 1.19
require (
github.com/alecthomas/kong v0.6.1
github.com/apex/log v1.9.0
github.com/stretchr/testify v1.7.2
gitlab.com/unboundsoftware/apex-mocks v0.2.0
k8s.io/apimachinery v0.25.2
k8s.io/client-go v0.25.2
)
@@ -30,6 +32,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect