mocks

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 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 UserConverter

type UserConverter struct {
	mock.Mock
}

UserConverter is an autogenerated mock type for the UserConverter type

func NewUserConverter

func NewUserConverter(t mockConstructorTestingTNewUserConverter) *UserConverter

NewUserConverter creates a new instance of UserConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*UserConverter) UserIDToUserName

func (_m *UserConverter) UserIDToUserName(ctx context.Context, userid *userv1beta1.UserId) (string, error)

UserIDToUserName provides a mock function with given fields: ctx, userid

func (*UserConverter) UserNameToUserID

func (_m *UserConverter) UserNameToUserID(ctx context.Context, username string) (*userv1beta1.UserId, error)

UserNameToUserID provides a mock function with given fields: ctx, username

Jump to

Keyboard shortcuts

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