Commit Graph

19 Commits

Author SHA1 Message Date
Peter Rifel 690f2e3605
Add keypair tag and ID support to cloudmock 2020-07-28 13:35:09 -05:00
Peter Rifel b1e7704d09
Use "lt-" IDs for launch templates and add tagging support 2020-07-08 08:53:01 -05:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Rohith 6c3a125f9e - adding the ec2 mock methods for launch templates .. gosh 2019-02-05 12:22:57 +00:00
Justin Santa Barbara 0234285826 Stub out EC2 & IAM interfaces
This auto implements the new methods (they panic if called).  Technique
borrowed from mockelb (thanks @vainu-arto ).

Assuming this approach works, we can get rid of the annoying
unimplemented.go files.
2018-06-03 22:08:41 -07:00
Justin Santa Barbara afa0577749 Check tags in lifecycle tests
We want to make sure that everything owned is tagged as such, and that
some shared resources (in particular subnets) are tagged as such.
2018-03-25 15:55:44 -04:00
Justin Santa Barbara 1edd7d49fa Add deletion to lifecycle test 2018-03-24 16:30:40 -04:00
Justin Santa Barbara a46d981d81 More mocks - for shared VPC 2018-03-15 20:11:54 -04:00
Justin Santa Barbara ab7439b360 More mocks - sufficient for privatecalico to roundtrip 2018-03-11 23:12:22 -04:00
Justin Santa Barbara 85b972bc28 Fill out cloudmock to do a basic lifecycle test 2018-03-11 17:04:30 -04:00
Peter Rifel 3da1bdc069 Don't report an InternetGateway rename when using shared IGWs
Adds test to confirm fixed behavior
2017-12-06 16:36:35 -08:00
Justin Santa Barbara a7f82a6380 Fix shared subnet/vpc tags
* Stop setting the Name tag on a shared subnet/vpc

* Stop setting the legacy KubernetesCluster tag on a shared subnet/vpc
that is new enough (>=1.6); we rely on the shared tags instead

* Set tags on shared subnets; i.e. we _do_ set the shared tag on a
shared subnet; that is important for ELBs

* Set tags on shared VPCs; i.e. we _do_ set the shared tag on a shared
VPC; that is not used but consistent with subnets.

* Add tests for shared subnet
2017-10-23 11:30:25 -04:00
Justin Santa Barbara fec89f0f33 Skip DNS precreate on CF; a few test fixes 2017-02-17 11:04:39 -05:00
Justin Santa Barbara 68baecafb6 Simple test for securitygroups task 2016-12-18 16:06:34 -05:00
Justin Santa Barbara eeca9cfbc3 mockec2: first step towards volume support
Just stubs DescribeVolumes call
2016-12-17 23:17:16 -05:00
Justin Santa Barbara ee24ca1acc Add mock ec2 images API 2016-12-11 17:11:10 -05:00
Justin Santa Barbara f4092d0113 First test of a fi.Task 2016-12-08 13:17:38 -05:00
chrislovecnm 3f29bc982e updating header 2016-11-30 22:46:33 -07:00
Justin Santa Barbara 6ec5da2827 Add unit test for deleting untagged route table 2016-10-18 22:16:05 -04:00