mocks

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	mock.Mock
}

Method is an autogenerated mock type for the Method type

func (*Method) Login

func (_m *Method) Login(ctx context.Context, _a1 api.API) (auth.Token, error)

Login provides a mock function with given fields: ctx, _a1

type TokenManager

type TokenManager struct {
	mock.Mock
}

TokenManager is an autogenerated mock type for the TokenManager type

func (*TokenManager) GetToken

func (_m *TokenManager) GetToken() auth.Token

GetToken provides a mock function with given fields:

func (*TokenManager) SetToken

func (_m *TokenManager) SetToken(token auth.Token)

SetToken provides a mock function with given fields: token

Jump to

Keyboard shortcuts

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