|
|
@@ -6,12 +6,13 @@ package ecs
|
|
|
|
|
|
import (
|
|
|
context "context"
|
|
|
+ reflect "reflect"
|
|
|
+
|
|
|
cloudformation "github.com/aws/aws-sdk-go/service/cloudformation"
|
|
|
ecs "github.com/aws/aws-sdk-go/service/ecs"
|
|
|
compose "github.com/docker/compose-cli/api/compose"
|
|
|
secrets "github.com/docker/compose-cli/api/secrets"
|
|
|
gomock "github.com/golang/mock/gomock"
|
|
|
- reflect "reflect"
|
|
|
)
|
|
|
|
|
|
// MockAPI is a mock of API interface
|
|
|
@@ -453,6 +454,21 @@ func (mr *MockAPIMockRecorder) InspectSecret(arg0, arg1 interface{}) *gomock.Cal
|
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InspectSecret", reflect.TypeOf((*MockAPI)(nil).InspectSecret), arg0, arg1)
|
|
|
}
|
|
|
|
|
|
+// IsPublicSubnet mocks base method
|
|
|
+func (m *MockAPI) IsPublicSubnet(ctx context.Context, arg0 string, arg1 string) (bool, error) {
|
|
|
+ m.ctrl.T.Helper()
|
|
|
+ ret := m.ctrl.Call(m, "IsPublicSubnet", arg0, arg1)
|
|
|
+ ret0, _ := ret[0].(bool)
|
|
|
+ ret1, _ := ret[1].(error)
|
|
|
+ return ret0, ret1
|
|
|
+}
|
|
|
+
|
|
|
+// IsPublicSubnet indicates an expected call of IsPublicSubnet
|
|
|
+func (mr *MockAPIMockRecorder) IsPublicSubnet(arg0, arg1 interface{}) *gomock.Call {
|
|
|
+ mr.mock.ctrl.T.Helper()
|
|
|
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsPublicSubnet", reflect.TypeOf((*MockAPI)(nil).IsPublicSubnet), arg0, arg1)
|
|
|
+}
|
|
|
+
|
|
|
// ListFileSystems mocks base method
|
|
|
func (m *MockAPI) ListFileSystems(arg0 context.Context, arg1 map[string]string) ([]awsResource, error) {
|
|
|
m.ctrl.T.Helper()
|