Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockNamespaceServiceClient
- func (m *MockNamespaceServiceClient) CreateExportSink(ctx context.Context, in *namespaceservice.CreateExportSinkRequest, ...) (*namespaceservice.CreateExportSinkResponse, error)
- func (m *MockNamespaceServiceClient) CreateNamespace(ctx context.Context, in *namespaceservice.CreateNamespaceRequest, ...) (*namespaceservice.CreateNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) DeleteExportSink(ctx context.Context, in *namespaceservice.DeleteExportSinkRequest, ...) (*namespaceservice.DeleteExportSinkResponse, error)
- func (m *MockNamespaceServiceClient) DeleteNamespace(ctx context.Context, in *namespaceservice.DeleteNamespaceRequest, ...) (*namespaceservice.DeleteNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) EXPECT() *MockNamespaceServiceClientMockRecorder
- func (m *MockNamespaceServiceClient) FailoverNamespace(ctx context.Context, in *namespaceservice.FailoverNamespaceRequest, ...) (*namespaceservice.FailoverNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) GetExportSink(ctx context.Context, in *namespaceservice.GetExportSinkRequest, ...) (*namespaceservice.GetExportSinkResponse, error)
- func (m *MockNamespaceServiceClient) GetExportSinks(ctx context.Context, in *namespaceservice.GetExportSinksRequest, ...) (*namespaceservice.GetExportSinksResponse, error)
- func (m *MockNamespaceServiceClient) GetNamespace(ctx context.Context, in *namespaceservice.GetNamespaceRequest, ...) (*namespaceservice.GetNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) GetNamespaces(ctx context.Context, in *namespaceservice.GetNamespacesRequest, ...) (*namespaceservice.GetNamespacesResponse, error)
- func (m *MockNamespaceServiceClient) GetReplicationStatus(ctx context.Context, in *namespaceservice.GetReplicationStatusRequest, ...) (*namespaceservice.GetReplicationStatusResponse, error)
- func (m *MockNamespaceServiceClient) GlobalizeNamespace(ctx context.Context, in *namespaceservice.GlobalizeNamespaceRequest, ...) (*namespaceservice.GlobalizeNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) ListExportSinks(ctx context.Context, in *namespaceservice.ListExportSinksRequest, ...) (*namespaceservice.ListExportSinksResponse, error)
- func (m *MockNamespaceServiceClient) ListFailoverHistoryByNamespace(ctx context.Context, ...) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) ListNamespaces(ctx context.Context, in *namespaceservice.ListNamespacesRequest, ...) (*namespaceservice.ListNamespacesResponse, error)
- func (m *MockNamespaceServiceClient) ListReplicaStatus(ctx context.Context, in *namespaceservice.ListReplicaStatusRequest, ...) (*namespaceservice.ListReplicaStatusResponse, error)
- func (m *MockNamespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *namespaceservice.RenameCustomSearchAttributeRequest, ...) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
- func (m *MockNamespaceServiceClient) UpdateExportSink(ctx context.Context, in *namespaceservice.UpdateExportSinkRequest, ...) (*namespaceservice.UpdateExportSinkResponse, error)
- func (m *MockNamespaceServiceClient) UpdateNamespace(ctx context.Context, in *namespaceservice.UpdateNamespaceRequest, ...) (*namespaceservice.UpdateNamespaceResponse, error)
- func (m *MockNamespaceServiceClient) ValidateExportSink(ctx context.Context, in *namespaceservice.ValidateExportSinkRequest, ...) (*namespaceservice.ValidateExportSinkResponse, error)
- func (m *MockNamespaceServiceClient) ValidateGlobalizeNamespace(ctx context.Context, in *namespaceservice.ValidateGlobalizeNamespaceRequest, ...) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error)
- type MockNamespaceServiceClientMockRecorder
- func (mr *MockNamespaceServiceClientMockRecorder) CreateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) CreateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) DeleteExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) DeleteNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) FailoverNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetExportSinks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GetReplicationStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) GlobalizeNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ListExportSinks(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ListFailoverHistoryByNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ListNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ListReplicaStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) UpdateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) UpdateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ValidateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockNamespaceServiceClientMockRecorder) ValidateGlobalizeNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockNamespaceServiceServer
- func (m *MockNamespaceServiceServer) CreateExportSink(arg0 context.Context, arg1 *namespaceservice.CreateExportSinkRequest) (*namespaceservice.CreateExportSinkResponse, error)
- func (m *MockNamespaceServiceServer) CreateNamespace(arg0 context.Context, arg1 *namespaceservice.CreateNamespaceRequest) (*namespaceservice.CreateNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) DeleteExportSink(arg0 context.Context, arg1 *namespaceservice.DeleteExportSinkRequest) (*namespaceservice.DeleteExportSinkResponse, error)
- func (m *MockNamespaceServiceServer) DeleteNamespace(arg0 context.Context, arg1 *namespaceservice.DeleteNamespaceRequest) (*namespaceservice.DeleteNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) EXPECT() *MockNamespaceServiceServerMockRecorder
- func (m *MockNamespaceServiceServer) FailoverNamespace(arg0 context.Context, arg1 *namespaceservice.FailoverNamespaceRequest) (*namespaceservice.FailoverNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) GetExportSink(arg0 context.Context, arg1 *namespaceservice.GetExportSinkRequest) (*namespaceservice.GetExportSinkResponse, error)
- func (m *MockNamespaceServiceServer) GetExportSinks(arg0 context.Context, arg1 *namespaceservice.GetExportSinksRequest) (*namespaceservice.GetExportSinksResponse, error)
- func (m *MockNamespaceServiceServer) GetNamespace(arg0 context.Context, arg1 *namespaceservice.GetNamespaceRequest) (*namespaceservice.GetNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) GetNamespaces(arg0 context.Context, arg1 *namespaceservice.GetNamespacesRequest) (*namespaceservice.GetNamespacesResponse, error)
- func (m *MockNamespaceServiceServer) GetReplicationStatus(arg0 context.Context, arg1 *namespaceservice.GetReplicationStatusRequest) (*namespaceservice.GetReplicationStatusResponse, error)
- func (m *MockNamespaceServiceServer) GlobalizeNamespace(arg0 context.Context, arg1 *namespaceservice.GlobalizeNamespaceRequest) (*namespaceservice.GlobalizeNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) ListExportSinks(arg0 context.Context, arg1 *namespaceservice.ListExportSinksRequest) (*namespaceservice.ListExportSinksResponse, error)
- func (m *MockNamespaceServiceServer) ListFailoverHistoryByNamespace(arg0 context.Context, ...) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) ListNamespaces(arg0 context.Context, arg1 *namespaceservice.ListNamespacesRequest) (*namespaceservice.ListNamespacesResponse, error)
- func (m *MockNamespaceServiceServer) ListReplicaStatus(arg0 context.Context, arg1 *namespaceservice.ListReplicaStatusRequest) (*namespaceservice.ListReplicaStatusResponse, error)
- func (m *MockNamespaceServiceServer) RenameCustomSearchAttribute(arg0 context.Context, ...) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
- func (m *MockNamespaceServiceServer) UpdateExportSink(arg0 context.Context, arg1 *namespaceservice.UpdateExportSinkRequest) (*namespaceservice.UpdateExportSinkResponse, error)
- func (m *MockNamespaceServiceServer) UpdateNamespace(arg0 context.Context, arg1 *namespaceservice.UpdateNamespaceRequest) (*namespaceservice.UpdateNamespaceResponse, error)
- func (m *MockNamespaceServiceServer) ValidateExportSink(arg0 context.Context, arg1 *namespaceservice.ValidateExportSinkRequest) (*namespaceservice.ValidateExportSinkResponse, error)
- func (m *MockNamespaceServiceServer) ValidateGlobalizeNamespace(arg0 context.Context, arg1 *namespaceservice.ValidateGlobalizeNamespaceRequest) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error)
- type MockNamespaceServiceServerMockRecorder
- func (mr *MockNamespaceServiceServerMockRecorder) CreateExportSink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) CreateNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) DeleteExportSink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) DeleteNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) FailoverNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetExportSink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetExportSinks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetNamespaces(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GetReplicationStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) GlobalizeNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ListExportSinks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ListFailoverHistoryByNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ListNamespaces(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ListReplicaStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) UpdateExportSink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) UpdateNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ValidateExportSink(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNamespaceServiceServerMockRecorder) ValidateGlobalizeNamespace(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNamespaceServiceClient ¶
type MockNamespaceServiceClient struct {
// contains filtered or unexported fields
}
MockNamespaceServiceClient is a mock of NamespaceServiceClient interface.
func NewMockNamespaceServiceClient ¶
func NewMockNamespaceServiceClient(ctrl *gomock.Controller) *MockNamespaceServiceClient
NewMockNamespaceServiceClient creates a new mock instance.
func (*MockNamespaceServiceClient) CreateExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) CreateExportSink(ctx context.Context, in *namespaceservice.CreateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.CreateExportSinkResponse, error)
CreateExportSink mocks base method.
func (*MockNamespaceServiceClient) CreateNamespace ¶
func (m *MockNamespaceServiceClient) CreateNamespace(ctx context.Context, in *namespaceservice.CreateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.CreateNamespaceResponse, error)
CreateNamespace mocks base method.
func (*MockNamespaceServiceClient) DeleteExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) DeleteExportSink(ctx context.Context, in *namespaceservice.DeleteExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.DeleteExportSinkResponse, error)
DeleteExportSink mocks base method.
func (*MockNamespaceServiceClient) DeleteNamespace ¶ added in v0.5.0
func (m *MockNamespaceServiceClient) DeleteNamespace(ctx context.Context, in *namespaceservice.DeleteNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.DeleteNamespaceResponse, error)
DeleteNamespace mocks base method.
func (*MockNamespaceServiceClient) EXPECT ¶
func (m *MockNamespaceServiceClient) EXPECT() *MockNamespaceServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceServiceClient) FailoverNamespace ¶ added in v0.16.0
func (m *MockNamespaceServiceClient) FailoverNamespace(ctx context.Context, in *namespaceservice.FailoverNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.FailoverNamespaceResponse, error)
FailoverNamespace mocks base method.
func (*MockNamespaceServiceClient) GetExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) GetExportSink(ctx context.Context, in *namespaceservice.GetExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.GetExportSinkResponse, error)
GetExportSink mocks base method.
func (*MockNamespaceServiceClient) GetExportSinks ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) GetExportSinks(ctx context.Context, in *namespaceservice.GetExportSinksRequest, opts ...grpc.CallOption) (*namespaceservice.GetExportSinksResponse, error)
GetExportSinks mocks base method.
func (*MockNamespaceServiceClient) GetNamespace ¶
func (m *MockNamespaceServiceClient) GetNamespace(ctx context.Context, in *namespaceservice.GetNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.GetNamespaceResponse, error)
GetNamespace mocks base method.
func (*MockNamespaceServiceClient) GetNamespaces ¶
func (m *MockNamespaceServiceClient) GetNamespaces(ctx context.Context, in *namespaceservice.GetNamespacesRequest, opts ...grpc.CallOption) (*namespaceservice.GetNamespacesResponse, error)
GetNamespaces mocks base method.
func (*MockNamespaceServiceClient) GetReplicationStatus ¶ added in v0.20.0
func (m *MockNamespaceServiceClient) GetReplicationStatus(ctx context.Context, in *namespaceservice.GetReplicationStatusRequest, opts ...grpc.CallOption) (*namespaceservice.GetReplicationStatusResponse, error)
GetReplicationStatus mocks base method.
func (*MockNamespaceServiceClient) GlobalizeNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceClient) GlobalizeNamespace(ctx context.Context, in *namespaceservice.GlobalizeNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.GlobalizeNamespaceResponse, error)
GlobalizeNamespace mocks base method.
func (*MockNamespaceServiceClient) ListExportSinks ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) ListExportSinks(ctx context.Context, in *namespaceservice.ListExportSinksRequest, opts ...grpc.CallOption) (*namespaceservice.ListExportSinksResponse, error)
ListExportSinks mocks base method.
func (*MockNamespaceServiceClient) ListFailoverHistoryByNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceClient) ListFailoverHistoryByNamespace(ctx context.Context, in *namespaceservice.ListFailoverHistoryByNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error)
ListFailoverHistoryByNamespace mocks base method.
func (*MockNamespaceServiceClient) ListNamespaces ¶
func (m *MockNamespaceServiceClient) ListNamespaces(ctx context.Context, in *namespaceservice.ListNamespacesRequest, opts ...grpc.CallOption) (*namespaceservice.ListNamespacesResponse, error)
ListNamespaces mocks base method.
func (*MockNamespaceServiceClient) ListReplicaStatus ¶ added in v0.20.0
func (m *MockNamespaceServiceClient) ListReplicaStatus(ctx context.Context, in *namespaceservice.ListReplicaStatusRequest, opts ...grpc.CallOption) (*namespaceservice.ListReplicaStatusResponse, error)
ListReplicaStatus mocks base method.
func (*MockNamespaceServiceClient) RenameCustomSearchAttribute ¶
func (m *MockNamespaceServiceClient) RenameCustomSearchAttribute(ctx context.Context, in *namespaceservice.RenameCustomSearchAttributeRequest, opts ...grpc.CallOption) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
RenameCustomSearchAttribute mocks base method.
func (*MockNamespaceServiceClient) UpdateExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceClient) UpdateExportSink(ctx context.Context, in *namespaceservice.UpdateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.UpdateExportSinkResponse, error)
UpdateExportSink mocks base method.
func (*MockNamespaceServiceClient) UpdateNamespace ¶
func (m *MockNamespaceServiceClient) UpdateNamespace(ctx context.Context, in *namespaceservice.UpdateNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.UpdateNamespaceResponse, error)
UpdateNamespace mocks base method.
func (*MockNamespaceServiceClient) ValidateExportSink ¶ added in v0.14.3
func (m *MockNamespaceServiceClient) ValidateExportSink(ctx context.Context, in *namespaceservice.ValidateExportSinkRequest, opts ...grpc.CallOption) (*namespaceservice.ValidateExportSinkResponse, error)
ValidateExportSink mocks base method.
func (*MockNamespaceServiceClient) ValidateGlobalizeNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceClient) ValidateGlobalizeNamespace(ctx context.Context, in *namespaceservice.ValidateGlobalizeNamespaceRequest, opts ...grpc.CallOption) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error)
ValidateGlobalizeNamespace mocks base method.
type MockNamespaceServiceClientMockRecorder ¶
type MockNamespaceServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceServiceClientMockRecorder is the mock recorder for MockNamespaceServiceClient.
func (*MockNamespaceServiceClientMockRecorder) CreateExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) CreateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateExportSink indicates an expected call of CreateExportSink.
func (*MockNamespaceServiceClientMockRecorder) CreateNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) CreateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockNamespaceServiceClientMockRecorder) DeleteExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) DeleteExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteExportSink indicates an expected call of DeleteExportSink.
func (*MockNamespaceServiceClientMockRecorder) DeleteNamespace ¶ added in v0.5.0
func (mr *MockNamespaceServiceClientMockRecorder) DeleteNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace.
func (*MockNamespaceServiceClientMockRecorder) FailoverNamespace ¶ added in v0.16.0
func (mr *MockNamespaceServiceClientMockRecorder) FailoverNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
FailoverNamespace indicates an expected call of FailoverNamespace.
func (*MockNamespaceServiceClientMockRecorder) GetExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) GetExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetExportSink indicates an expected call of GetExportSink.
func (*MockNamespaceServiceClientMockRecorder) GetExportSinks ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) GetExportSinks(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetExportSinks indicates an expected call of GetExportSinks.
func (*MockNamespaceServiceClientMockRecorder) GetNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) GetNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockNamespaceServiceClientMockRecorder) GetNamespaces ¶
func (mr *MockNamespaceServiceClientMockRecorder) GetNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetNamespaces indicates an expected call of GetNamespaces.
func (*MockNamespaceServiceClientMockRecorder) GetReplicationStatus ¶ added in v0.20.0
func (mr *MockNamespaceServiceClientMockRecorder) GetReplicationStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetReplicationStatus indicates an expected call of GetReplicationStatus.
func (*MockNamespaceServiceClientMockRecorder) GlobalizeNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceClientMockRecorder) GlobalizeNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
GlobalizeNamespace indicates an expected call of GlobalizeNamespace.
func (*MockNamespaceServiceClientMockRecorder) ListExportSinks ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) ListExportSinks(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListExportSinks indicates an expected call of ListExportSinks.
func (*MockNamespaceServiceClientMockRecorder) ListFailoverHistoryByNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceClientMockRecorder) ListFailoverHistoryByNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListFailoverHistoryByNamespace indicates an expected call of ListFailoverHistoryByNamespace.
func (*MockNamespaceServiceClientMockRecorder) ListNamespaces ¶
func (mr *MockNamespaceServiceClientMockRecorder) ListNamespaces(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockNamespaceServiceClientMockRecorder) ListReplicaStatus ¶ added in v0.20.0
func (mr *MockNamespaceServiceClientMockRecorder) ListReplicaStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListReplicaStatus indicates an expected call of ListReplicaStatus.
func (*MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute ¶
func (mr *MockNamespaceServiceClientMockRecorder) RenameCustomSearchAttribute(ctx, in interface{}, opts ...interface{}) *gomock.Call
RenameCustomSearchAttribute indicates an expected call of RenameCustomSearchAttribute.
func (*MockNamespaceServiceClientMockRecorder) UpdateExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceClientMockRecorder) UpdateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateExportSink indicates an expected call of UpdateExportSink.
func (*MockNamespaceServiceClientMockRecorder) UpdateNamespace ¶
func (mr *MockNamespaceServiceClientMockRecorder) UpdateNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateNamespace indicates an expected call of UpdateNamespace.
func (*MockNamespaceServiceClientMockRecorder) ValidateExportSink ¶ added in v0.14.3
func (mr *MockNamespaceServiceClientMockRecorder) ValidateExportSink(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateExportSink indicates an expected call of ValidateExportSink.
func (*MockNamespaceServiceClientMockRecorder) ValidateGlobalizeNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceClientMockRecorder) ValidateGlobalizeNamespace(ctx, in interface{}, opts ...interface{}) *gomock.Call
ValidateGlobalizeNamespace indicates an expected call of ValidateGlobalizeNamespace.
type MockNamespaceServiceServer ¶
type MockNamespaceServiceServer struct {
// contains filtered or unexported fields
}
MockNamespaceServiceServer is a mock of NamespaceServiceServer interface.
func NewMockNamespaceServiceServer ¶
func NewMockNamespaceServiceServer(ctrl *gomock.Controller) *MockNamespaceServiceServer
NewMockNamespaceServiceServer creates a new mock instance.
func (*MockNamespaceServiceServer) CreateExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) CreateExportSink(arg0 context.Context, arg1 *namespaceservice.CreateExportSinkRequest) (*namespaceservice.CreateExportSinkResponse, error)
CreateExportSink mocks base method.
func (*MockNamespaceServiceServer) CreateNamespace ¶
func (m *MockNamespaceServiceServer) CreateNamespace(arg0 context.Context, arg1 *namespaceservice.CreateNamespaceRequest) (*namespaceservice.CreateNamespaceResponse, error)
CreateNamespace mocks base method.
func (*MockNamespaceServiceServer) DeleteExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) DeleteExportSink(arg0 context.Context, arg1 *namespaceservice.DeleteExportSinkRequest) (*namespaceservice.DeleteExportSinkResponse, error)
DeleteExportSink mocks base method.
func (*MockNamespaceServiceServer) DeleteNamespace ¶ added in v0.5.0
func (m *MockNamespaceServiceServer) DeleteNamespace(arg0 context.Context, arg1 *namespaceservice.DeleteNamespaceRequest) (*namespaceservice.DeleteNamespaceResponse, error)
DeleteNamespace mocks base method.
func (*MockNamespaceServiceServer) EXPECT ¶
func (m *MockNamespaceServiceServer) EXPECT() *MockNamespaceServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNamespaceServiceServer) FailoverNamespace ¶ added in v0.16.0
func (m *MockNamespaceServiceServer) FailoverNamespace(arg0 context.Context, arg1 *namespaceservice.FailoverNamespaceRequest) (*namespaceservice.FailoverNamespaceResponse, error)
FailoverNamespace mocks base method.
func (*MockNamespaceServiceServer) GetExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) GetExportSink(arg0 context.Context, arg1 *namespaceservice.GetExportSinkRequest) (*namespaceservice.GetExportSinkResponse, error)
GetExportSink mocks base method.
func (*MockNamespaceServiceServer) GetExportSinks ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) GetExportSinks(arg0 context.Context, arg1 *namespaceservice.GetExportSinksRequest) (*namespaceservice.GetExportSinksResponse, error)
GetExportSinks mocks base method.
func (*MockNamespaceServiceServer) GetNamespace ¶
func (m *MockNamespaceServiceServer) GetNamespace(arg0 context.Context, arg1 *namespaceservice.GetNamespaceRequest) (*namespaceservice.GetNamespaceResponse, error)
GetNamespace mocks base method.
func (*MockNamespaceServiceServer) GetNamespaces ¶
func (m *MockNamespaceServiceServer) GetNamespaces(arg0 context.Context, arg1 *namespaceservice.GetNamespacesRequest) (*namespaceservice.GetNamespacesResponse, error)
GetNamespaces mocks base method.
func (*MockNamespaceServiceServer) GetReplicationStatus ¶ added in v0.20.0
func (m *MockNamespaceServiceServer) GetReplicationStatus(arg0 context.Context, arg1 *namespaceservice.GetReplicationStatusRequest) (*namespaceservice.GetReplicationStatusResponse, error)
GetReplicationStatus mocks base method.
func (*MockNamespaceServiceServer) GlobalizeNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceServer) GlobalizeNamespace(arg0 context.Context, arg1 *namespaceservice.GlobalizeNamespaceRequest) (*namespaceservice.GlobalizeNamespaceResponse, error)
GlobalizeNamespace mocks base method.
func (*MockNamespaceServiceServer) ListExportSinks ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) ListExportSinks(arg0 context.Context, arg1 *namespaceservice.ListExportSinksRequest) (*namespaceservice.ListExportSinksResponse, error)
ListExportSinks mocks base method.
func (*MockNamespaceServiceServer) ListFailoverHistoryByNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceServer) ListFailoverHistoryByNamespace(arg0 context.Context, arg1 *namespaceservice.ListFailoverHistoryByNamespaceRequest) (*namespaceservice.ListFailoverHistoryByNamespaceResponse, error)
ListFailoverHistoryByNamespace mocks base method.
func (*MockNamespaceServiceServer) ListNamespaces ¶
func (m *MockNamespaceServiceServer) ListNamespaces(arg0 context.Context, arg1 *namespaceservice.ListNamespacesRequest) (*namespaceservice.ListNamespacesResponse, error)
ListNamespaces mocks base method.
func (*MockNamespaceServiceServer) ListReplicaStatus ¶ added in v0.20.0
func (m *MockNamespaceServiceServer) ListReplicaStatus(arg0 context.Context, arg1 *namespaceservice.ListReplicaStatusRequest) (*namespaceservice.ListReplicaStatusResponse, error)
ListReplicaStatus mocks base method.
func (*MockNamespaceServiceServer) RenameCustomSearchAttribute ¶
func (m *MockNamespaceServiceServer) RenameCustomSearchAttribute(arg0 context.Context, arg1 *namespaceservice.RenameCustomSearchAttributeRequest) (*namespaceservice.RenameCustomSearchAttributeResponse, error)
RenameCustomSearchAttribute mocks base method.
func (*MockNamespaceServiceServer) UpdateExportSink ¶ added in v0.8.0
func (m *MockNamespaceServiceServer) UpdateExportSink(arg0 context.Context, arg1 *namespaceservice.UpdateExportSinkRequest) (*namespaceservice.UpdateExportSinkResponse, error)
UpdateExportSink mocks base method.
func (*MockNamespaceServiceServer) UpdateNamespace ¶
func (m *MockNamespaceServiceServer) UpdateNamespace(arg0 context.Context, arg1 *namespaceservice.UpdateNamespaceRequest) (*namespaceservice.UpdateNamespaceResponse, error)
UpdateNamespace mocks base method.
func (*MockNamespaceServiceServer) ValidateExportSink ¶ added in v0.14.3
func (m *MockNamespaceServiceServer) ValidateExportSink(arg0 context.Context, arg1 *namespaceservice.ValidateExportSinkRequest) (*namespaceservice.ValidateExportSinkResponse, error)
ValidateExportSink mocks base method.
func (*MockNamespaceServiceServer) ValidateGlobalizeNamespace ¶ added in v0.20.0
func (m *MockNamespaceServiceServer) ValidateGlobalizeNamespace(arg0 context.Context, arg1 *namespaceservice.ValidateGlobalizeNamespaceRequest) (*namespaceservice.ValidateGlobalizeNamespaceResponse, error)
ValidateGlobalizeNamespace mocks base method.
type MockNamespaceServiceServerMockRecorder ¶
type MockNamespaceServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockNamespaceServiceServerMockRecorder is the mock recorder for MockNamespaceServiceServer.
func (*MockNamespaceServiceServerMockRecorder) CreateExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) CreateExportSink(arg0, arg1 interface{}) *gomock.Call
CreateExportSink indicates an expected call of CreateExportSink.
func (*MockNamespaceServiceServerMockRecorder) CreateNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) CreateNamespace(arg0, arg1 interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockNamespaceServiceServerMockRecorder) DeleteExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) DeleteExportSink(arg0, arg1 interface{}) *gomock.Call
DeleteExportSink indicates an expected call of DeleteExportSink.
func (*MockNamespaceServiceServerMockRecorder) DeleteNamespace ¶ added in v0.5.0
func (mr *MockNamespaceServiceServerMockRecorder) DeleteNamespace(arg0, arg1 interface{}) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace.
func (*MockNamespaceServiceServerMockRecorder) FailoverNamespace ¶ added in v0.16.0
func (mr *MockNamespaceServiceServerMockRecorder) FailoverNamespace(arg0, arg1 interface{}) *gomock.Call
FailoverNamespace indicates an expected call of FailoverNamespace.
func (*MockNamespaceServiceServerMockRecorder) GetExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) GetExportSink(arg0, arg1 interface{}) *gomock.Call
GetExportSink indicates an expected call of GetExportSink.
func (*MockNamespaceServiceServerMockRecorder) GetExportSinks ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) GetExportSinks(arg0, arg1 interface{}) *gomock.Call
GetExportSinks indicates an expected call of GetExportSinks.
func (*MockNamespaceServiceServerMockRecorder) GetNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockNamespaceServiceServerMockRecorder) GetNamespaces ¶
func (mr *MockNamespaceServiceServerMockRecorder) GetNamespaces(arg0, arg1 interface{}) *gomock.Call
GetNamespaces indicates an expected call of GetNamespaces.
func (*MockNamespaceServiceServerMockRecorder) GetReplicationStatus ¶ added in v0.20.0
func (mr *MockNamespaceServiceServerMockRecorder) GetReplicationStatus(arg0, arg1 interface{}) *gomock.Call
GetReplicationStatus indicates an expected call of GetReplicationStatus.
func (*MockNamespaceServiceServerMockRecorder) GlobalizeNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceServerMockRecorder) GlobalizeNamespace(arg0, arg1 interface{}) *gomock.Call
GlobalizeNamespace indicates an expected call of GlobalizeNamespace.
func (*MockNamespaceServiceServerMockRecorder) ListExportSinks ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) ListExportSinks(arg0, arg1 interface{}) *gomock.Call
ListExportSinks indicates an expected call of ListExportSinks.
func (*MockNamespaceServiceServerMockRecorder) ListFailoverHistoryByNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceServerMockRecorder) ListFailoverHistoryByNamespace(arg0, arg1 interface{}) *gomock.Call
ListFailoverHistoryByNamespace indicates an expected call of ListFailoverHistoryByNamespace.
func (*MockNamespaceServiceServerMockRecorder) ListNamespaces ¶
func (mr *MockNamespaceServiceServerMockRecorder) ListNamespaces(arg0, arg1 interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockNamespaceServiceServerMockRecorder) ListReplicaStatus ¶ added in v0.20.0
func (mr *MockNamespaceServiceServerMockRecorder) ListReplicaStatus(arg0, arg1 interface{}) *gomock.Call
ListReplicaStatus indicates an expected call of ListReplicaStatus.
func (*MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute ¶
func (mr *MockNamespaceServiceServerMockRecorder) RenameCustomSearchAttribute(arg0, arg1 interface{}) *gomock.Call
RenameCustomSearchAttribute indicates an expected call of RenameCustomSearchAttribute.
func (*MockNamespaceServiceServerMockRecorder) UpdateExportSink ¶ added in v0.8.0
func (mr *MockNamespaceServiceServerMockRecorder) UpdateExportSink(arg0, arg1 interface{}) *gomock.Call
UpdateExportSink indicates an expected call of UpdateExportSink.
func (*MockNamespaceServiceServerMockRecorder) UpdateNamespace ¶
func (mr *MockNamespaceServiceServerMockRecorder) UpdateNamespace(arg0, arg1 interface{}) *gomock.Call
UpdateNamespace indicates an expected call of UpdateNamespace.
func (*MockNamespaceServiceServerMockRecorder) ValidateExportSink ¶ added in v0.14.3
func (mr *MockNamespaceServiceServerMockRecorder) ValidateExportSink(arg0, arg1 interface{}) *gomock.Call
ValidateExportSink indicates an expected call of ValidateExportSink.
func (*MockNamespaceServiceServerMockRecorder) ValidateGlobalizeNamespace ¶ added in v0.20.0
func (mr *MockNamespaceServiceServerMockRecorder) ValidateGlobalizeNamespace(arg0, arg1 interface{}) *gomock.Call
ValidateGlobalizeNamespace indicates an expected call of ValidateGlobalizeNamespace.