Documentation ¶
Overview ¶
Package mock_translation is a generated GoMock package.
Index ¶
- type MockDependencyFactory
- func (m *MockDependencyFactory) EXPECT() *MockDependencyFactoryMockRecorder
- func (m *MockDependencyFactory) MakeMeshTranslator(ctx context.Context) mesh.Translator
- func (m *MockDependencyFactory) MakeTrafficTargetTranslator(ctx context.Context) traffictarget.Translator
- func (m *MockDependencyFactory) MakeWorkloadTranslator(ctx context.Context, in input.Snapshot) workload.Translator
- type MockDependencyFactoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDependencyFactory ¶
type MockDependencyFactory struct {
// contains filtered or unexported fields
}
MockDependencyFactory is a mock of DependencyFactory interface
func NewMockDependencyFactory ¶
func NewMockDependencyFactory(ctrl *gomock.Controller) *MockDependencyFactory
NewMockDependencyFactory creates a new mock instance
func (*MockDependencyFactory) EXPECT ¶
func (m *MockDependencyFactory) EXPECT() *MockDependencyFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDependencyFactory) MakeMeshTranslator ¶
func (m *MockDependencyFactory) MakeMeshTranslator(ctx context.Context) mesh.Translator
MakeMeshTranslator mocks base method
func (*MockDependencyFactory) MakeTrafficTargetTranslator ¶
func (m *MockDependencyFactory) MakeTrafficTargetTranslator(ctx context.Context) traffictarget.Translator
MakeTrafficTargetTranslator mocks base method
func (*MockDependencyFactory) MakeWorkloadTranslator ¶
func (m *MockDependencyFactory) MakeWorkloadTranslator(ctx context.Context, in input.Snapshot) workload.Translator
MakeWorkloadTranslator mocks base method
type MockDependencyFactoryMockRecorder ¶
type MockDependencyFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockDependencyFactoryMockRecorder is the mock recorder for MockDependencyFactory
func (*MockDependencyFactoryMockRecorder) MakeMeshTranslator ¶
func (mr *MockDependencyFactoryMockRecorder) MakeMeshTranslator(ctx interface{}) *gomock.Call
MakeMeshTranslator indicates an expected call of MakeMeshTranslator
func (*MockDependencyFactoryMockRecorder) MakeTrafficTargetTranslator ¶
func (mr *MockDependencyFactoryMockRecorder) MakeTrafficTargetTranslator(ctx interface{}) *gomock.Call
MakeTrafficTargetTranslator indicates an expected call of MakeTrafficTargetTranslator
func (*MockDependencyFactoryMockRecorder) MakeWorkloadTranslator ¶
func (mr *MockDependencyFactoryMockRecorder) MakeWorkloadTranslator(ctx, in interface{}) *gomock.Call
MakeWorkloadTranslator indicates an expected call of MakeWorkloadTranslator