-
Notifications
You must be signed in to change notification settings - Fork 83
Embed Applier interface in kubectlClient interface #145
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
Conversation
Welcome @darkowlzz! |
Hi @darkowlzz. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Rename Applier interface method from `Applyx` to `Apply` and embed the Applier interface in the `kubectlClient` interface.
1708200
to
baf9712
Compare
/lgtm |
/ok-to-test |
@darkowlzz |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
@@ -65,7 +65,7 @@ type Reconciler struct { | |||
} | |||
|
|||
type kubectlClient interface { | |||
Apply(ctx context.Context, namespace string, manifest string, validate bool, args ...string) error | |||
applier.Applier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems reasonable. I do wonder if there's any reason to keep the kubectlClient
interface, if we have the exported applier.Applier interface...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with your comment, we can use Applier
interface instead of kubectlClient
interface.
Thanks @darkowlzz /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: darkowlzz, justinsb The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Rename Applier interface method from
Applyx
toApply
and embedthe Applier interface in the
kubectlClient
interface.