mocks

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthTokenLoader

type AuthTokenLoader struct {
	mock.Mock
}

AuthTokenLoader is an autogenerated mock type for the AuthTokenLoader type

func NewAuthTokenLoader

func NewAuthTokenLoader(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuthTokenLoader

NewAuthTokenLoader creates a new instance of AuthTokenLoader. 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 (*AuthTokenLoader) Load

func (_m *AuthTokenLoader) Load(path string) (string, error)

Load provides a mock function with given fields: path

func (*AuthTokenLoader) ReadEntityId

func (_m *AuthTokenLoader) ReadEntityId(path string) (string, error)

ReadEntityId provides a mock function with given fields: path

Jump to

Keyboard shortcuts

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