mocks

package
v0.15.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend added in v0.15.1

type Backend struct {
	mock.Mock
}

Backend is an autogenerated mock type for the Backend type

func NewBackend added in v0.15.1

func NewBackend(t mockConstructorTestingTNewBackend) *Backend

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

func (*Backend) AuthUser added in v0.15.1

func (_m *Backend) AuthUser(username string, password string) bool

AuthUser provides a mock function with given fields: username, password

func (*Backend) LookupUser added in v0.15.1

func (_m *Backend) LookupUser(username string) (*osauth.User, error)

LookupUser provides a mock function with given fields: username

Jump to

Keyboard shortcuts

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