Documentation ¶
Index ¶
- type NamespaceMetadataMgr
- func (_m *NamespaceMetadataMgr) EXPECT() *NamespaceMetadataMgr_Expecter
- func (_m *NamespaceMetadataMgr) GetNamespaceMetadata(ctx context.Context, namespaceId string) *metadata.NamespaceMetadata
- func (_m *NamespaceMetadataMgr) RefreshNamespaceAccounts(ctx context.Context) error
- func (_m *NamespaceMetadataMgr) UpdateNamespaceMetadata(ctx context.Context, meta metadata.NamespaceMetadata) error
- type NamespaceMetadataMgr_Expecter
- func (_e *NamespaceMetadataMgr_Expecter) GetNamespaceMetadata(ctx interface{}, namespaceId interface{}) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
- func (_e *NamespaceMetadataMgr_Expecter) RefreshNamespaceAccounts(ctx interface{}) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
- func (_e *NamespaceMetadataMgr_Expecter) UpdateNamespaceMetadata(ctx interface{}, meta interface{}) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
- type NamespaceMetadataMgr_GetNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_GetNamespaceMetadata_Call) Return(_a0 *metadata.NamespaceMetadata) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_GetNamespaceMetadata_Call) Run(run func(ctx context.Context, namespaceId string)) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_GetNamespaceMetadata_Call) RunAndReturn(run func(context.Context, string) *metadata.NamespaceMetadata) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
- type NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
- func (_c *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Return(_a0 error) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
- func (_c *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Run(run func(ctx context.Context)) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
- func (_c *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) RunAndReturn(run func(context.Context) error) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
- type NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Return(_a0 error) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Run(run func(ctx context.Context, meta metadata.NamespaceMetadata)) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
- func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) RunAndReturn(run func(context.Context, metadata.NamespaceMetadata) error) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceMetadataMgr ¶
NamespaceMetadataMgr is an autogenerated mock type for the NamespaceMetadataMgr type
func NewNamespaceMetadataMgr ¶
func NewNamespaceMetadataMgr(t mockConstructorTestingTNewNamespaceMetadataMgr) *NamespaceMetadataMgr
NewNamespaceMetadataMgr creates a new instance of NamespaceMetadataMgr. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*NamespaceMetadataMgr) EXPECT ¶
func (_m *NamespaceMetadataMgr) EXPECT() *NamespaceMetadataMgr_Expecter
func (*NamespaceMetadataMgr) GetNamespaceMetadata ¶
func (_m *NamespaceMetadataMgr) GetNamespaceMetadata(ctx context.Context, namespaceId string) *metadata.NamespaceMetadata
GetNamespaceMetadata provides a mock function with given fields: ctx, namespaceId
func (*NamespaceMetadataMgr) RefreshNamespaceAccounts ¶
func (_m *NamespaceMetadataMgr) RefreshNamespaceAccounts(ctx context.Context) error
RefreshNamespaceAccounts provides a mock function with given fields: ctx
func (*NamespaceMetadataMgr) UpdateNamespaceMetadata ¶
func (_m *NamespaceMetadataMgr) UpdateNamespaceMetadata(ctx context.Context, meta metadata.NamespaceMetadata) error
UpdateNamespaceMetadata provides a mock function with given fields: ctx, meta
type NamespaceMetadataMgr_Expecter ¶
type NamespaceMetadataMgr_Expecter struct {
// contains filtered or unexported fields
}
func (*NamespaceMetadataMgr_Expecter) GetNamespaceMetadata ¶
func (_e *NamespaceMetadataMgr_Expecter) GetNamespaceMetadata(ctx interface{}, namespaceId interface{}) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
GetNamespaceMetadata is a helper method to define mock.On call
- ctx context.Context
- namespaceId string
func (*NamespaceMetadataMgr_Expecter) RefreshNamespaceAccounts ¶
func (_e *NamespaceMetadataMgr_Expecter) RefreshNamespaceAccounts(ctx interface{}) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
RefreshNamespaceAccounts is a helper method to define mock.On call
- ctx context.Context
func (*NamespaceMetadataMgr_Expecter) UpdateNamespaceMetadata ¶
func (_e *NamespaceMetadataMgr_Expecter) UpdateNamespaceMetadata(ctx interface{}, meta interface{}) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
UpdateNamespaceMetadata is a helper method to define mock.On call
- ctx context.Context
- meta metadata.NamespaceMetadata
type NamespaceMetadataMgr_GetNamespaceMetadata_Call ¶
NamespaceMetadataMgr_GetNamespaceMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespaceMetadata'
func (*NamespaceMetadataMgr_GetNamespaceMetadata_Call) Run ¶
func (_c *NamespaceMetadataMgr_GetNamespaceMetadata_Call) Run(run func(ctx context.Context, namespaceId string)) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
func (*NamespaceMetadataMgr_GetNamespaceMetadata_Call) RunAndReturn ¶
func (_c *NamespaceMetadataMgr_GetNamespaceMetadata_Call) RunAndReturn(run func(context.Context, string) *metadata.NamespaceMetadata) *NamespaceMetadataMgr_GetNamespaceMetadata_Call
type NamespaceMetadataMgr_RefreshNamespaceAccounts_Call ¶
NamespaceMetadataMgr_RefreshNamespaceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshNamespaceAccounts'
func (*NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Run ¶
func (_c *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Run(run func(ctx context.Context)) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
func (*NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) RunAndReturn ¶
func (_c *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) RunAndReturn(run func(context.Context) error) *NamespaceMetadataMgr_RefreshNamespaceAccounts_Call
type NamespaceMetadataMgr_UpdateNamespaceMetadata_Call ¶
NamespaceMetadataMgr_UpdateNamespaceMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateNamespaceMetadata'
func (*NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Return ¶
func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Return(_a0 error) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
func (*NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Run ¶
func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Run(run func(ctx context.Context, meta metadata.NamespaceMetadata)) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call
func (*NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) RunAndReturn ¶
func (_c *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) RunAndReturn(run func(context.Context, metadata.NamespaceMetadata) error) *NamespaceMetadataMgr_UpdateNamespaceMetadata_Call