Documentation
¶
Overview ¶
Package mock_platform is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) BuildTaskNetworkConfiguration(arg0 string, arg1 *ecsacs.Task) (*tasknetworkconfig.TaskNetworkConfig, error)
- func (m *MockAPI) ConfigureAppMesh(arg0 context.Context, arg1 string, arg2 *appmesh.AppMesh) error
- func (m *MockAPI) ConfigureInterface(arg0 context.Context, arg1 string, arg2 *networkinterface.NetworkInterface, ...) error
- func (m *MockAPI) ConfigureServiceConnect(arg0 context.Context, arg1 string, arg2 *networkinterface.NetworkInterface, ...) error
- func (m *MockAPI) CreateDNSConfig(arg0 string, arg1 *tasknetworkconfig.NetworkNamespace) error
- func (m *MockAPI) CreateNetNS(arg0 string) error
- func (m *MockAPI) DeleteDNSConfig(arg0 string) error
- func (m *MockAPI) DeleteNetNS(arg0 string) error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) GetNetNSPath(arg0 string) string
- func (m *MockAPI) HandleHostMode() error
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) BuildTaskNetworkConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ConfigureAppMesh(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ConfigureInterface(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) ConfigureServiceConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateDNSConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) CreateNetNS(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteDNSConfig(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) DeleteNetNS(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) GetNetNSPath(arg0 interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) HandleHostMode() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) BuildTaskNetworkConfiguration ¶
func (m *MockAPI) BuildTaskNetworkConfiguration(arg0 string, arg1 *ecsacs.Task) (*tasknetworkconfig.TaskNetworkConfig, error)
BuildTaskNetworkConfiguration mocks base method.
func (*MockAPI) ConfigureAppMesh ¶
ConfigureAppMesh mocks base method.
func (*MockAPI) ConfigureInterface ¶
func (m *MockAPI) ConfigureInterface(arg0 context.Context, arg1 string, arg2 *networkinterface.NetworkInterface, arg3 data.NetworkDataClient) error
ConfigureInterface mocks base method.
func (*MockAPI) ConfigureServiceConnect ¶
func (m *MockAPI) ConfigureServiceConnect(arg0 context.Context, arg1 string, arg2 *networkinterface.NetworkInterface, arg3 *serviceconnect.ServiceConnectConfig) error
ConfigureServiceConnect mocks base method.
func (*MockAPI) CreateDNSConfig ¶
func (m *MockAPI) CreateDNSConfig(arg0 string, arg1 *tasknetworkconfig.NetworkNamespace) error
CreateDNSConfig mocks base method.
func (*MockAPI) CreateNetNS ¶
CreateNetNS mocks base method.
func (*MockAPI) DeleteDNSConfig ¶
DeleteDNSConfig mocks base method.
func (*MockAPI) DeleteNetNS ¶
DeleteNetNS mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) GetNetNSPath ¶
GetNetNSPath mocks base method.
func (*MockAPI) HandleHostMode ¶
HandleHostMode mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) BuildTaskNetworkConfiguration ¶
func (mr *MockAPIMockRecorder) BuildTaskNetworkConfiguration(arg0, arg1 interface{}) *gomock.Call
BuildTaskNetworkConfiguration indicates an expected call of BuildTaskNetworkConfiguration.
func (*MockAPIMockRecorder) ConfigureAppMesh ¶
func (mr *MockAPIMockRecorder) ConfigureAppMesh(arg0, arg1, arg2 interface{}) *gomock.Call
ConfigureAppMesh indicates an expected call of ConfigureAppMesh.
func (*MockAPIMockRecorder) ConfigureInterface ¶
func (mr *MockAPIMockRecorder) ConfigureInterface(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ConfigureInterface indicates an expected call of ConfigureInterface.
func (*MockAPIMockRecorder) ConfigureServiceConnect ¶
func (mr *MockAPIMockRecorder) ConfigureServiceConnect(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ConfigureServiceConnect indicates an expected call of ConfigureServiceConnect.
func (*MockAPIMockRecorder) CreateDNSConfig ¶
func (mr *MockAPIMockRecorder) CreateDNSConfig(arg0, arg1 interface{}) *gomock.Call
CreateDNSConfig indicates an expected call of CreateDNSConfig.
func (*MockAPIMockRecorder) CreateNetNS ¶
func (mr *MockAPIMockRecorder) CreateNetNS(arg0 interface{}) *gomock.Call
CreateNetNS indicates an expected call of CreateNetNS.
func (*MockAPIMockRecorder) DeleteDNSConfig ¶
func (mr *MockAPIMockRecorder) DeleteDNSConfig(arg0 interface{}) *gomock.Call
DeleteDNSConfig indicates an expected call of DeleteDNSConfig.
func (*MockAPIMockRecorder) DeleteNetNS ¶
func (mr *MockAPIMockRecorder) DeleteNetNS(arg0 interface{}) *gomock.Call
DeleteNetNS indicates an expected call of DeleteNetNS.
func (*MockAPIMockRecorder) GetNetNSPath ¶
func (mr *MockAPIMockRecorder) GetNetNSPath(arg0 interface{}) *gomock.Call
GetNetNSPath indicates an expected call of GetNetNSPath.
func (*MockAPIMockRecorder) HandleHostMode ¶
func (mr *MockAPIMockRecorder) HandleHostMode() *gomock.Call
HandleHostMode indicates an expected call of HandleHostMode.