Documentation
¶
Index ¶
- type MockDataClassificationInterface
- func (_m *MockDataClassificationInterface) CreateCatalogConfig(ctx context.Context, request dataclassification.CreateCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
- func (_m *MockDataClassificationInterface) DeleteCatalogConfig(ctx context.Context, request dataclassification.DeleteCatalogConfigRequest) error
- func (_m *MockDataClassificationInterface) EXPECT() *MockDataClassificationInterface_Expecter
- func (_m *MockDataClassificationInterface) GetCatalogConfig(ctx context.Context, request dataclassification.GetCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
- func (_m *MockDataClassificationInterface) UpdateCatalogConfig(ctx context.Context, request dataclassification.UpdateCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
- type MockDataClassificationInterface_CreateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_CreateCatalogConfig_Call) Return(_a0 *dataclassification.CatalogConfig, _a1 error) *MockDataClassificationInterface_CreateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_CreateCatalogConfig_Call) Run(...) *MockDataClassificationInterface_CreateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_CreateCatalogConfig_Call) RunAndReturn(...) *MockDataClassificationInterface_CreateCatalogConfig_Call
- type MockDataClassificationInterface_DeleteCatalogConfig_Call
- func (_c *MockDataClassificationInterface_DeleteCatalogConfig_Call) Return(_a0 error) *MockDataClassificationInterface_DeleteCatalogConfig_Call
- func (_c *MockDataClassificationInterface_DeleteCatalogConfig_Call) Run(...) *MockDataClassificationInterface_DeleteCatalogConfig_Call
- func (_c *MockDataClassificationInterface_DeleteCatalogConfig_Call) RunAndReturn(run func(context.Context, dataclassification.DeleteCatalogConfigRequest) error) *MockDataClassificationInterface_DeleteCatalogConfig_Call
- type MockDataClassificationInterface_Expecter
- func (_e *MockDataClassificationInterface_Expecter) CreateCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_CreateCatalogConfig_Call
- func (_e *MockDataClassificationInterface_Expecter) DeleteCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_DeleteCatalogConfig_Call
- func (_e *MockDataClassificationInterface_Expecter) GetCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_GetCatalogConfig_Call
- func (_e *MockDataClassificationInterface_Expecter) UpdateCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_UpdateCatalogConfig_Call
- type MockDataClassificationInterface_GetCatalogConfig_Call
- func (_c *MockDataClassificationInterface_GetCatalogConfig_Call) Return(_a0 *dataclassification.CatalogConfig, _a1 error) *MockDataClassificationInterface_GetCatalogConfig_Call
- func (_c *MockDataClassificationInterface_GetCatalogConfig_Call) Run(...) *MockDataClassificationInterface_GetCatalogConfig_Call
- func (_c *MockDataClassificationInterface_GetCatalogConfig_Call) RunAndReturn(...) *MockDataClassificationInterface_GetCatalogConfig_Call
- type MockDataClassificationInterface_UpdateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_UpdateCatalogConfig_Call) Return(_a0 *dataclassification.CatalogConfig, _a1 error) *MockDataClassificationInterface_UpdateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_UpdateCatalogConfig_Call) Run(...) *MockDataClassificationInterface_UpdateCatalogConfig_Call
- func (_c *MockDataClassificationInterface_UpdateCatalogConfig_Call) RunAndReturn(...) *MockDataClassificationInterface_UpdateCatalogConfig_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataClassificationInterface ¶
MockDataClassificationInterface is an autogenerated mock type for the DataClassificationInterface type
func NewMockDataClassificationInterface ¶
func NewMockDataClassificationInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MockDataClassificationInterface
NewMockDataClassificationInterface creates a new instance of MockDataClassificationInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDataClassificationInterface) CreateCatalogConfig ¶
func (_m *MockDataClassificationInterface) CreateCatalogConfig(ctx context.Context, request dataclassification.CreateCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
CreateCatalogConfig provides a mock function with given fields: ctx, request
func (*MockDataClassificationInterface) DeleteCatalogConfig ¶
func (_m *MockDataClassificationInterface) DeleteCatalogConfig(ctx context.Context, request dataclassification.DeleteCatalogConfigRequest) error
DeleteCatalogConfig provides a mock function with given fields: ctx, request
func (*MockDataClassificationInterface) EXPECT ¶
func (_m *MockDataClassificationInterface) EXPECT() *MockDataClassificationInterface_Expecter
func (*MockDataClassificationInterface) GetCatalogConfig ¶
func (_m *MockDataClassificationInterface) GetCatalogConfig(ctx context.Context, request dataclassification.GetCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
GetCatalogConfig provides a mock function with given fields: ctx, request
func (*MockDataClassificationInterface) UpdateCatalogConfig ¶
func (_m *MockDataClassificationInterface) UpdateCatalogConfig(ctx context.Context, request dataclassification.UpdateCatalogConfigRequest) (*dataclassification.CatalogConfig, error)
UpdateCatalogConfig provides a mock function with given fields: ctx, request
type MockDataClassificationInterface_CreateCatalogConfig_Call ¶
MockDataClassificationInterface_CreateCatalogConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCatalogConfig'
func (*MockDataClassificationInterface_CreateCatalogConfig_Call) Run ¶
func (_c *MockDataClassificationInterface_CreateCatalogConfig_Call) Run(run func(ctx context.Context, request dataclassification.CreateCatalogConfigRequest)) *MockDataClassificationInterface_CreateCatalogConfig_Call
func (*MockDataClassificationInterface_CreateCatalogConfig_Call) RunAndReturn ¶
type MockDataClassificationInterface_DeleteCatalogConfig_Call ¶
MockDataClassificationInterface_DeleteCatalogConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCatalogConfig'
func (*MockDataClassificationInterface_DeleteCatalogConfig_Call) Run ¶
func (_c *MockDataClassificationInterface_DeleteCatalogConfig_Call) Run(run func(ctx context.Context, request dataclassification.DeleteCatalogConfigRequest)) *MockDataClassificationInterface_DeleteCatalogConfig_Call
func (*MockDataClassificationInterface_DeleteCatalogConfig_Call) RunAndReturn ¶
type MockDataClassificationInterface_Expecter ¶
type MockDataClassificationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDataClassificationInterface_Expecter) CreateCatalogConfig ¶
func (_e *MockDataClassificationInterface_Expecter) CreateCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_CreateCatalogConfig_Call
CreateCatalogConfig is a helper method to define mock.On call
- ctx context.Context
- request dataclassification.CreateCatalogConfigRequest
func (*MockDataClassificationInterface_Expecter) DeleteCatalogConfig ¶
func (_e *MockDataClassificationInterface_Expecter) DeleteCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_DeleteCatalogConfig_Call
DeleteCatalogConfig is a helper method to define mock.On call
- ctx context.Context
- request dataclassification.DeleteCatalogConfigRequest
func (*MockDataClassificationInterface_Expecter) GetCatalogConfig ¶
func (_e *MockDataClassificationInterface_Expecter) GetCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_GetCatalogConfig_Call
GetCatalogConfig is a helper method to define mock.On call
- ctx context.Context
- request dataclassification.GetCatalogConfigRequest
func (*MockDataClassificationInterface_Expecter) UpdateCatalogConfig ¶
func (_e *MockDataClassificationInterface_Expecter) UpdateCatalogConfig(ctx interface{}, request interface{}) *MockDataClassificationInterface_UpdateCatalogConfig_Call
UpdateCatalogConfig is a helper method to define mock.On call
- ctx context.Context
- request dataclassification.UpdateCatalogConfigRequest
type MockDataClassificationInterface_GetCatalogConfig_Call ¶
MockDataClassificationInterface_GetCatalogConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCatalogConfig'
func (*MockDataClassificationInterface_GetCatalogConfig_Call) Run ¶
func (_c *MockDataClassificationInterface_GetCatalogConfig_Call) Run(run func(ctx context.Context, request dataclassification.GetCatalogConfigRequest)) *MockDataClassificationInterface_GetCatalogConfig_Call
func (*MockDataClassificationInterface_GetCatalogConfig_Call) RunAndReturn ¶
type MockDataClassificationInterface_UpdateCatalogConfig_Call ¶
MockDataClassificationInterface_UpdateCatalogConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCatalogConfig'
func (*MockDataClassificationInterface_UpdateCatalogConfig_Call) Run ¶
func (_c *MockDataClassificationInterface_UpdateCatalogConfig_Call) Run(run func(ctx context.Context, request dataclassification.UpdateCatalogConfigRequest)) *MockDataClassificationInterface_UpdateCatalogConfig_Call