Documentation ¶
Overview ¶
Package mock_references is a generated GoMock package.
Index ¶
- type MockResolver
- func (m *MockResolver) EXPECT() *MockResolverMockRecorder
- func (m *MockResolver) ResolveMeshReference(ctx context.Context, ref v1beta2.MeshReference) (*v1beta2.Mesh, error)
- func (m *MockResolver) ResolveVirtualGatewayReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualGatewayReference) (*v1beta2.VirtualGateway, error)
- func (m *MockResolver) ResolveVirtualNodeReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualNodeReference) (*v1beta2.VirtualNode, error)
- func (m *MockResolver) ResolveVirtualRouterReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualRouterReference) (*v1beta2.VirtualRouter, error)
- func (m *MockResolver) ResolveVirtualServiceReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualServiceReference) (*v1beta2.VirtualService, error)
- type MockResolverMockRecorder
- func (mr *MockResolverMockRecorder) ResolveMeshReference(ctx, ref interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) ResolveVirtualGatewayReference(ctx, obj, ref interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) ResolveVirtualNodeReference(ctx, obj, ref interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) ResolveVirtualRouterReference(ctx, obj, ref interface{}) *gomock.Call
- func (mr *MockResolverMockRecorder) ResolveVirtualServiceReference(ctx, obj, ref interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResolver ¶
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) ResolveMeshReference ¶
func (m *MockResolver) ResolveMeshReference(ctx context.Context, ref v1beta2.MeshReference) (*v1beta2.Mesh, error)
ResolveMeshReference mocks base method
func (*MockResolver) ResolveVirtualGatewayReference ¶
func (m *MockResolver) ResolveVirtualGatewayReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualGatewayReference) (*v1beta2.VirtualGateway, error)
ResolveVirtualGatewayReference mocks base method
func (*MockResolver) ResolveVirtualNodeReference ¶
func (m *MockResolver) ResolveVirtualNodeReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualNodeReference) (*v1beta2.VirtualNode, error)
ResolveVirtualNodeReference mocks base method
func (*MockResolver) ResolveVirtualRouterReference ¶
func (m *MockResolver) ResolveVirtualRouterReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualRouterReference) (*v1beta2.VirtualRouter, error)
ResolveVirtualRouterReference mocks base method
func (*MockResolver) ResolveVirtualServiceReference ¶
func (m *MockResolver) ResolveVirtualServiceReference(ctx context.Context, obj v1.Object, ref v1beta2.VirtualServiceReference) (*v1beta2.VirtualService, error)
ResolveVirtualServiceReference mocks base method
type MockResolverMockRecorder ¶
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) ResolveMeshReference ¶
func (mr *MockResolverMockRecorder) ResolveMeshReference(ctx, ref interface{}) *gomock.Call
ResolveMeshReference indicates an expected call of ResolveMeshReference
func (*MockResolverMockRecorder) ResolveVirtualGatewayReference ¶
func (mr *MockResolverMockRecorder) ResolveVirtualGatewayReference(ctx, obj, ref interface{}) *gomock.Call
ResolveVirtualGatewayReference indicates an expected call of ResolveVirtualGatewayReference
func (*MockResolverMockRecorder) ResolveVirtualNodeReference ¶
func (mr *MockResolverMockRecorder) ResolveVirtualNodeReference(ctx, obj, ref interface{}) *gomock.Call
ResolveVirtualNodeReference indicates an expected call of ResolveVirtualNodeReference
func (*MockResolverMockRecorder) ResolveVirtualRouterReference ¶
func (mr *MockResolverMockRecorder) ResolveVirtualRouterReference(ctx, obj, ref interface{}) *gomock.Call
ResolveVirtualRouterReference indicates an expected call of ResolveVirtualRouterReference
func (*MockResolverMockRecorder) ResolveVirtualServiceReference ¶
func (mr *MockResolverMockRecorder) ResolveVirtualServiceReference(ctx, obj, ref interface{}) *gomock.Call
ResolveVirtualServiceReference indicates an expected call of ResolveVirtualServiceReference