mocks

package
v1.0.0-beta.70 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceMetadataMgr

type NamespaceMetadataMgr struct {
	mock.Mock
}

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 (*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

type NamespaceMetadataMgr_GetNamespaceMetadata_Call struct {
	*mock.Call
}

NamespaceMetadataMgr_GetNamespaceMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNamespaceMetadata'

func (*NamespaceMetadataMgr_GetNamespaceMetadata_Call) Return

func (*NamespaceMetadataMgr_GetNamespaceMetadata_Call) Run

func (*NamespaceMetadataMgr_GetNamespaceMetadata_Call) RunAndReturn

type NamespaceMetadataMgr_RefreshNamespaceAccounts_Call

type NamespaceMetadataMgr_RefreshNamespaceAccounts_Call struct {
	*mock.Call
}

NamespaceMetadataMgr_RefreshNamespaceAccounts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RefreshNamespaceAccounts'

func (*NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Return

func (*NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) Run

func (*NamespaceMetadataMgr_RefreshNamespaceAccounts_Call) RunAndReturn

type NamespaceMetadataMgr_UpdateNamespaceMetadata_Call

type NamespaceMetadataMgr_UpdateNamespaceMetadata_Call struct {
	*mock.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 (*NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) Run

func (*NamespaceMetadataMgr_UpdateNamespaceMetadata_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL