|
|
@@ -6,11 +6,12 @@ package amazon
|
|
|
|
|
|
import (
|
|
|
context "context"
|
|
|
+ reflect "reflect"
|
|
|
+
|
|
|
cloudformation "github.com/aws/aws-sdk-go/service/cloudformation"
|
|
|
cloudformation0 "github.com/awslabs/goformation/v4/cloudformation"
|
|
|
docker "github.com/docker/ecs-plugin/pkg/docker"
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
|
- reflect "reflect"
|
|
|
)
|
|
|
|
|
|
// MockAPI is a mock of API interface
|
|
|
@@ -324,3 +325,27 @@ func (mr *MockAPIMockRecorder) WaitStackComplete(arg0, arg1, arg2 interface{}) *
|
|
|
mr.mock.ctrl.T.Helper()
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WaitStackComplete", reflect.TypeOf((*MockAPI)(nil).WaitStackComplete), arg0, arg1, arg2)
|
|
|
}
|
|
|
+
|
|
|
+// LoadBalancerExists mocks base method
|
|
|
+func (m *MockAPI) LoadBalancerExists(arg0 context.Context, arg1 string) (bool, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "LoadBalancerExists", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(bool)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+// LoadBalancerExists indicates an expected call of VpcExists
|
|
|
+func (mr *MockAPIMockRecorder) LoadBalancerExists(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerExists", reflect.TypeOf((*MockAPI)(nil).LoadBalancerExists), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
+// GetLoadBalancerARN mocks base method
|
|
|
+func (m *MockAPI) GetLoadBalancerARN(arg0 context.Context, arg1 string) (string, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "GetLoadBalancerARN", arg0)
|
|
|
+ ret0, _ := ret[0].(string)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|