mocks

package
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Strategy

type Strategy struct {
	mock.Mock
}

Strategy is an autogenerated mock type for the Strategy type

func (*Strategy) AddAuthorization

func (_m *Strategy) AddAuthorization(r *http.Request, setter authorization.TransportSetter) apperrors.AppError

AddAuthorization provides a mock function with given fields: r, setter

func (*Strategy) Invalidate

func (_m *Strategy) Invalidate()

Invalidate provides a mock function with given fields:

type StrategyFactory

type StrategyFactory struct {
	mock.Mock
}

StrategyFactory is an autogenerated mock type for the StrategyFactory type

func (*StrategyFactory) Create

func (_m *StrategyFactory) Create(credentials *model.Credentials) authorization.Strategy

Create provides a mock function with given fields: credentials

Jump to

Keyboard shortcuts

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