mocks

package
v0.0.0-...-aa01f2f Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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 Authenticator

type Authenticator struct {
	mock.Mock
}

Authenticator is an autogenerated mock type for the Authenticator type

func NewAuthenticator

func NewAuthenticator(t interface {
	mock.TestingT
	Cleanup(func())
}) *Authenticator

NewAuthenticator creates a new instance of Authenticator. 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 (*Authenticator) Authenticate

func (_m *Authenticator) Authenticate(_a0 context.Context) (string, error)

Authenticate provides a mock function with given fields: _a0

func (*Authenticator) AuthenticateCertificate

func (_m *Authenticator) AuthenticateCertificate(_a0 context.Context) (string, string, error)

AuthenticateCertificate provides a mock function with given fields: _a0

func (*Authenticator) AuthenticateToken

func (_m *Authenticator) AuthenticateToken(_a0 context.Context) (string, error)

AuthenticateToken provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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