Documentation ¶
Overview ¶
Package operatorservicemock is a generated GoMock package.
Index ¶
- type MockOperatorServiceClient
- func (m *MockOperatorServiceClient) AddOrUpdateRemoteCluster(arg0 context.Context, arg1 *operatorservice.AddOrUpdateRemoteClusterRequest, ...) (*operatorservice.AddOrUpdateRemoteClusterResponse, error)
- func (m *MockOperatorServiceClient) AddSearchAttributes(arg0 context.Context, arg1 *operatorservice.AddSearchAttributesRequest, ...) (*operatorservice.AddSearchAttributesResponse, error)
- func (m *MockOperatorServiceClient) CreateNexusEndpoint(arg0 context.Context, arg1 *operatorservice.CreateNexusEndpointRequest, ...) (*operatorservice.CreateNexusEndpointResponse, error)
- func (m *MockOperatorServiceClient) DeleteNamespace(arg0 context.Context, arg1 *operatorservice.DeleteNamespaceRequest, ...) (*operatorservice.DeleteNamespaceResponse, error)
- func (m *MockOperatorServiceClient) DeleteNexusEndpoint(arg0 context.Context, arg1 *operatorservice.DeleteNexusEndpointRequest, ...) (*operatorservice.DeleteNexusEndpointResponse, error)
- func (m *MockOperatorServiceClient) EXPECT() *MockOperatorServiceClientMockRecorder
- func (m *MockOperatorServiceClient) GetNexusEndpoint(arg0 context.Context, arg1 *operatorservice.GetNexusEndpointRequest, ...) (*operatorservice.GetNexusEndpointResponse, error)
- func (m *MockOperatorServiceClient) ListClusters(arg0 context.Context, arg1 *operatorservice.ListClustersRequest, ...) (*operatorservice.ListClustersResponse, error)
- func (m *MockOperatorServiceClient) ListNexusEndpoints(arg0 context.Context, arg1 *operatorservice.ListNexusEndpointsRequest, ...) (*operatorservice.ListNexusEndpointsResponse, error)
- func (m *MockOperatorServiceClient) ListSearchAttributes(arg0 context.Context, arg1 *operatorservice.ListSearchAttributesRequest, ...) (*operatorservice.ListSearchAttributesResponse, error)
- func (m *MockOperatorServiceClient) RemoveRemoteCluster(arg0 context.Context, arg1 *operatorservice.RemoveRemoteClusterRequest, ...) (*operatorservice.RemoveRemoteClusterResponse, error)
- func (m *MockOperatorServiceClient) RemoveSearchAttributes(arg0 context.Context, arg1 *operatorservice.RemoveSearchAttributesRequest, ...) (*operatorservice.RemoveSearchAttributesResponse, error)
- func (m *MockOperatorServiceClient) UpdateNexusEndpoint(arg0 context.Context, arg1 *operatorservice.UpdateNexusEndpointRequest, ...) (*operatorservice.UpdateNexusEndpointResponse, error)
- type MockOperatorServiceClientMockRecorder
- func (mr *MockOperatorServiceClientMockRecorder) AddOrUpdateRemoteCluster(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) AddSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) CreateNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) DeleteNamespace(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) DeleteNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) GetNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) ListClusters(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) ListNexusEndpoints(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) ListSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) RemoveRemoteCluster(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) RemoveSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockOperatorServiceClientMockRecorder) UpdateNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOperatorServiceClient ¶
type MockOperatorServiceClient struct {
// contains filtered or unexported fields
}
MockOperatorServiceClient is a mock of OperatorServiceClient interface.
func NewMockOperatorServiceClient ¶
func NewMockOperatorServiceClient(ctrl *gomock.Controller) *MockOperatorServiceClient
NewMockOperatorServiceClient creates a new mock instance.
func (*MockOperatorServiceClient) AddOrUpdateRemoteCluster ¶
func (m *MockOperatorServiceClient) AddOrUpdateRemoteCluster(arg0 context.Context, arg1 *operatorservice.AddOrUpdateRemoteClusterRequest, arg2 ...grpc.CallOption) (*operatorservice.AddOrUpdateRemoteClusterResponse, error)
AddOrUpdateRemoteCluster mocks base method.
func (*MockOperatorServiceClient) AddSearchAttributes ¶
func (m *MockOperatorServiceClient) AddSearchAttributes(arg0 context.Context, arg1 *operatorservice.AddSearchAttributesRequest, arg2 ...grpc.CallOption) (*operatorservice.AddSearchAttributesResponse, error)
AddSearchAttributes mocks base method.
func (*MockOperatorServiceClient) CreateNexusEndpoint ¶
func (m *MockOperatorServiceClient) CreateNexusEndpoint(arg0 context.Context, arg1 *operatorservice.CreateNexusEndpointRequest, arg2 ...grpc.CallOption) (*operatorservice.CreateNexusEndpointResponse, error)
CreateNexusEndpoint mocks base method.
func (*MockOperatorServiceClient) DeleteNamespace ¶
func (m *MockOperatorServiceClient) DeleteNamespace(arg0 context.Context, arg1 *operatorservice.DeleteNamespaceRequest, arg2 ...grpc.CallOption) (*operatorservice.DeleteNamespaceResponse, error)
DeleteNamespace mocks base method.
func (*MockOperatorServiceClient) DeleteNexusEndpoint ¶
func (m *MockOperatorServiceClient) DeleteNexusEndpoint(arg0 context.Context, arg1 *operatorservice.DeleteNexusEndpointRequest, arg2 ...grpc.CallOption) (*operatorservice.DeleteNexusEndpointResponse, error)
DeleteNexusEndpoint mocks base method.
func (*MockOperatorServiceClient) EXPECT ¶
func (m *MockOperatorServiceClient) EXPECT() *MockOperatorServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOperatorServiceClient) GetNexusEndpoint ¶
func (m *MockOperatorServiceClient) GetNexusEndpoint(arg0 context.Context, arg1 *operatorservice.GetNexusEndpointRequest, arg2 ...grpc.CallOption) (*operatorservice.GetNexusEndpointResponse, error)
GetNexusEndpoint mocks base method.
func (*MockOperatorServiceClient) ListClusters ¶
func (m *MockOperatorServiceClient) ListClusters(arg0 context.Context, arg1 *operatorservice.ListClustersRequest, arg2 ...grpc.CallOption) (*operatorservice.ListClustersResponse, error)
ListClusters mocks base method.
func (*MockOperatorServiceClient) ListNexusEndpoints ¶
func (m *MockOperatorServiceClient) ListNexusEndpoints(arg0 context.Context, arg1 *operatorservice.ListNexusEndpointsRequest, arg2 ...grpc.CallOption) (*operatorservice.ListNexusEndpointsResponse, error)
ListNexusEndpoints mocks base method.
func (*MockOperatorServiceClient) ListSearchAttributes ¶
func (m *MockOperatorServiceClient) ListSearchAttributes(arg0 context.Context, arg1 *operatorservice.ListSearchAttributesRequest, arg2 ...grpc.CallOption) (*operatorservice.ListSearchAttributesResponse, error)
ListSearchAttributes mocks base method.
func (*MockOperatorServiceClient) RemoveRemoteCluster ¶
func (m *MockOperatorServiceClient) RemoveRemoteCluster(arg0 context.Context, arg1 *operatorservice.RemoveRemoteClusterRequest, arg2 ...grpc.CallOption) (*operatorservice.RemoveRemoteClusterResponse, error)
RemoveRemoteCluster mocks base method.
func (*MockOperatorServiceClient) RemoveSearchAttributes ¶
func (m *MockOperatorServiceClient) RemoveSearchAttributes(arg0 context.Context, arg1 *operatorservice.RemoveSearchAttributesRequest, arg2 ...grpc.CallOption) (*operatorservice.RemoveSearchAttributesResponse, error)
RemoveSearchAttributes mocks base method.
func (*MockOperatorServiceClient) UpdateNexusEndpoint ¶
func (m *MockOperatorServiceClient) UpdateNexusEndpoint(arg0 context.Context, arg1 *operatorservice.UpdateNexusEndpointRequest, arg2 ...grpc.CallOption) (*operatorservice.UpdateNexusEndpointResponse, error)
UpdateNexusEndpoint mocks base method.
type MockOperatorServiceClientMockRecorder ¶
type MockOperatorServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockOperatorServiceClientMockRecorder is the mock recorder for MockOperatorServiceClient.
func (*MockOperatorServiceClientMockRecorder) AddOrUpdateRemoteCluster ¶
func (mr *MockOperatorServiceClientMockRecorder) AddOrUpdateRemoteCluster(arg0, arg1 any, arg2 ...any) *gomock.Call
AddOrUpdateRemoteCluster indicates an expected call of AddOrUpdateRemoteCluster.
func (*MockOperatorServiceClientMockRecorder) AddSearchAttributes ¶
func (mr *MockOperatorServiceClientMockRecorder) AddSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
AddSearchAttributes indicates an expected call of AddSearchAttributes.
func (*MockOperatorServiceClientMockRecorder) CreateNexusEndpoint ¶
func (mr *MockOperatorServiceClientMockRecorder) CreateNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
CreateNexusEndpoint indicates an expected call of CreateNexusEndpoint.
func (*MockOperatorServiceClientMockRecorder) DeleteNamespace ¶
func (mr *MockOperatorServiceClientMockRecorder) DeleteNamespace(arg0, arg1 any, arg2 ...any) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace.
func (*MockOperatorServiceClientMockRecorder) DeleteNexusEndpoint ¶
func (mr *MockOperatorServiceClientMockRecorder) DeleteNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
DeleteNexusEndpoint indicates an expected call of DeleteNexusEndpoint.
func (*MockOperatorServiceClientMockRecorder) GetNexusEndpoint ¶
func (mr *MockOperatorServiceClientMockRecorder) GetNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
GetNexusEndpoint indicates an expected call of GetNexusEndpoint.
func (*MockOperatorServiceClientMockRecorder) ListClusters ¶
func (mr *MockOperatorServiceClientMockRecorder) ListClusters(arg0, arg1 any, arg2 ...any) *gomock.Call
ListClusters indicates an expected call of ListClusters.
func (*MockOperatorServiceClientMockRecorder) ListNexusEndpoints ¶
func (mr *MockOperatorServiceClientMockRecorder) ListNexusEndpoints(arg0, arg1 any, arg2 ...any) *gomock.Call
ListNexusEndpoints indicates an expected call of ListNexusEndpoints.
func (*MockOperatorServiceClientMockRecorder) ListSearchAttributes ¶
func (mr *MockOperatorServiceClientMockRecorder) ListSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
ListSearchAttributes indicates an expected call of ListSearchAttributes.
func (*MockOperatorServiceClientMockRecorder) RemoveRemoteCluster ¶
func (mr *MockOperatorServiceClientMockRecorder) RemoveRemoteCluster(arg0, arg1 any, arg2 ...any) *gomock.Call
RemoveRemoteCluster indicates an expected call of RemoveRemoteCluster.
func (*MockOperatorServiceClientMockRecorder) RemoveSearchAttributes ¶
func (mr *MockOperatorServiceClientMockRecorder) RemoveSearchAttributes(arg0, arg1 any, arg2 ...any) *gomock.Call
RemoveSearchAttributes indicates an expected call of RemoveSearchAttributes.
func (*MockOperatorServiceClientMockRecorder) UpdateNexusEndpoint ¶
func (mr *MockOperatorServiceClientMockRecorder) UpdateNexusEndpoint(arg0, arg1 any, arg2 ...any) *gomock.Call
UpdateNexusEndpoint indicates an expected call of UpdateNexusEndpoint.