Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AddToFrameworkScheme function for the test framework #393

Merged
merged 9 commits into from
Aug 13, 2018

Conversation

AlexNPavel
Copy link
Contributor

@AlexNPavel AlexNPavel commented Aug 9, 2018

This PR adds a function that allows user to register their custom resources with the test framework's dynamic client and use the dynamic client directly with their custom resources.

Part of issue #387.

@AlexNPavel
Copy link
Contributor Author

I just removed all the functions that are now unnecessary due to the dynamic client.

@hasbro17
Copy link
Contributor

LGTM
defer to @fanminshi

"testing"
"time"

operator "github.com/operator-framework/operator-sdk/test/test-framework/pkg/apis/cache/v1alpha1"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

group all "github.com/operator-framework/operator-sdk/* together. So no new line here.

framework "github.com/operator-framework/operator-sdk/pkg/test"
"github.com/operator-framework/operator-sdk/pkg/util/e2eutil"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line between line 26 and 27

@fanminshi
Copy link
Contributor

lgtm after nits

@AlexNPavel AlexNPavel merged commit 62df821 into operator-framework:master Aug 13, 2018
@AlexNPavel AlexNPavel deleted the test-scheme branch August 13, 2018 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants