|
| 1 | +// Copyright 2015-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"). You may |
| 4 | +// not use this file except in compliance with the License. A copy of the |
| 5 | +// License is located at |
| 6 | +// |
| 7 | +// http://aws.amazon.com/apache2.0/ |
| 8 | +// |
| 9 | +// or in the "license" file accompanying this file. This file is distributed |
| 10 | +// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
| 11 | +// express or implied. See the License for the specific language governing |
| 12 | +// permissions and limitations under the License. |
| 13 | + |
| 14 | +// Automatically generated by MockGen. DO NOT EDIT! |
| 15 | +// Source: github.com/aws/amazon-ecs-cli/ecs-cli/modules/clients/aws/ssm (interfaces: Client) |
| 16 | + |
| 17 | +package mock_ssm |
| 18 | + |
| 19 | +import ( |
| 20 | + ssm "github.com/aws/amazon-ecs-cli/ecs-cli/modules/clients/aws/ssm" |
| 21 | + gomock "github.com/golang/mock/gomock" |
| 22 | +) |
| 23 | + |
| 24 | +// Mock of Client interface |
| 25 | +type MockClient struct { |
| 26 | + ctrl *gomock.Controller |
| 27 | + recorder *_MockClientRecorder |
| 28 | +} |
| 29 | + |
| 30 | +// Recorder for MockClient (not exported) |
| 31 | +type _MockClientRecorder struct { |
| 32 | + mock *MockClient |
| 33 | +} |
| 34 | + |
| 35 | +func NewMockClient(ctrl *gomock.Controller) *MockClient { |
| 36 | + mock := &MockClient{ctrl: ctrl} |
| 37 | + mock.recorder = &_MockClientRecorder{mock} |
| 38 | + return mock |
| 39 | +} |
| 40 | + |
| 41 | +func (_m *MockClient) EXPECT() *_MockClientRecorder { |
| 42 | + return _m.recorder |
| 43 | +} |
| 44 | + |
| 45 | +func (_m *MockClient) GetRecommendedECSLinuxAMI() (*ssm.AMIMetadata, error) { |
| 46 | + ret := _m.ctrl.Call(_m, "GetRecommendedECSLinuxAMI") |
| 47 | + ret0, _ := ret[0].(*ssm.AMIMetadata) |
| 48 | + ret1, _ := ret[1].(error) |
| 49 | + return ret0, ret1 |
| 50 | +} |
| 51 | + |
| 52 | +func (_mr *_MockClientRecorder) GetRecommendedECSLinuxAMI() *gomock.Call { |
| 53 | + return _mr.mock.ctrl.RecordCall(_mr.mock, "GetRecommendedECSLinuxAMI") |
| 54 | +} |
0 commit comments