Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move TestResource into an internal package (#174)
These are fake k8s resources used for testing reconciler-runtime and not part of reconciler-runtime's test support. Signed-off-by: Scott Andrews <andrewssc@vmware.com>
- Loading branch information
Showing
7 changed files
with
109 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
Copyright 2019 VMware, Inc. | ||
SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package factories | ||
|
||
import ( | ||
"github.com/vmware-labs/reconciler-runtime/testing/factories" | ||
) | ||
|
||
type ConditionFactory = factories.ConditionFactory | ||
type ObjectMeta = factories.ObjectMeta | ||
type PodTemplateSpec = factories.PodTemplateSpec | ||
|
||
var Condition = factories.Condition | ||
var ObjectMetaFactory = factories.ObjectMetaFactory | ||
var PodTemplateSpecFactory = factories.PodTemplateSpecFactory | ||
var ConfigMap = factories.ConfigMap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
testing/zz_generated.deepcopy.go → internal/resources/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.