Adds simple Exists implementation to machine actuator#67
Adds simple Exists implementation to machine actuator#67k8s-ci-robot merged 2 commits intokubernetes-sigs:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chuckha The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Should this be Running rather than running?
There was a problem hiding this comment.
yeah. actually i should probably use a constant assuming the ec2 sdk defines instance states as constants.
There was a problem hiding this comment.
Should there be a positive test case here as well?
There was a problem hiding this comment.
yeah, i think the pattern outlined in my other pr (#74) makes this a lot nicer
9396a44 to
4e99a30
Compare
|
Test deleted because the actuator test covered the test cases of the instance_test.go file. If we need to specifically test one piece of instance we can do that, but we should prefer the more integration style testing where we use the real actuator and the real service with a mocked out ec2. |
|
/retest |
1 similar comment
|
/retest |
There was a problem hiding this comment.
will convert to gomock later
02c4f85 to
3006bd9
Compare
|
/lgtm |
Remove the machine actuator test for now. Trying to test it will be possible, but it will be a *ton* of work and right now it's not worth the effort. Exports the ec2 service's EC2 field. Signed-off-by: Chuck Ha <chuck@heptio.com>
Signed-off-by: Chuck Ha <chuck@heptio.com>
|
/lgtm |
Migrate to CRDs - WIP
Signed-off-by: Chuck Ha chuck@heptio.com
I'm not sure if this makes sense to merge now, but it's a little bit of code/test implements a very basic existence check