Skip to content

Commit

Permalink
fix: add test source scheme (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsukhin authored Jan 18, 2024
1 parent 4389d76 commit 2c37729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/clientset/versioned/fake/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package fake
import (
executorv1 "github.com/kubeshop/testkube-operator/api/executor/v1"
testsv3 "github.com/kubeshop/testkube-operator/api/tests/v3"
testsourcev1 "github.com/kubeshop/testkube-operator/api/testsource/v1"
testsuitev3 "github.com/kubeshop/testkube-operator/api/testsuite/v3"
testtriggersv1 "github.com/kubeshop/testkube-operator/api/testtriggers/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -36,6 +37,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{
testsuitev3.AddToScheme,
testsv3.AddToScheme,
executorv1.AddToScheme,
testsourcev1.AddToScheme,
}

// AddToScheme adds all types of this clientset into the given scheme. This allows composition
Expand Down
2 changes: 2 additions & 0 deletions pkg/clientset/versioned/scheme/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package scheme
import (
executorv1 "github.com/kubeshop/testkube-operator/api/executor/v1"
testsv3 "github.com/kubeshop/testkube-operator/api/tests/v3"
testsourcev1 "github.com/kubeshop/testkube-operator/api/testsource/v1"
testsuitev3 "github.com/kubeshop/testkube-operator/api/testsuite/v3"
testtriggersv1 "github.com/kubeshop/testkube-operator/api/testtriggers/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -36,6 +37,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{
testsuitev3.AddToScheme,
testsv3.AddToScheme,
executorv1.AddToScheme,
testsourcev1.AddToScheme,
}

// AddToScheme adds all types of this clientset into the given scheme. This allows composition
Expand Down

0 comments on commit 2c37729

Please sign in to comment.