mock_refreshable

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_refreshable is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthorizer

type MockAuthorizer struct {
	// contains filtered or unexported fields
}

MockAuthorizer is a mock of Authorizer interface.

func NewMockAuthorizer

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance.

func (*MockAuthorizer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockAuthorizer) OAuthToken

func (m *MockAuthorizer) OAuthToken() string

OAuthToken mocks base method.

func (*MockAuthorizer) RefreshWithContext

func (m *MockAuthorizer) RefreshWithContext(arg0 context.Context, arg1 *logrus.Entry) (bool, error)

RefreshWithContext mocks base method.

func (*MockAuthorizer) WithAuthorization

func (m *MockAuthorizer) WithAuthorization() autorest.PrepareDecorator

WithAuthorization mocks base method.

type MockAuthorizerMockRecorder

type MockAuthorizerMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

func (*MockAuthorizerMockRecorder) OAuthToken

func (mr *MockAuthorizerMockRecorder) OAuthToken() *gomock.Call

OAuthToken indicates an expected call of OAuthToken.

func (*MockAuthorizerMockRecorder) RefreshWithContext

func (mr *MockAuthorizerMockRecorder) RefreshWithContext(arg0, arg1 interface{}) *gomock.Call

RefreshWithContext indicates an expected call of RefreshWithContext.

func (*MockAuthorizerMockRecorder) WithAuthorization

func (mr *MockAuthorizerMockRecorder) WithAuthorization() *gomock.Call

WithAuthorization indicates an expected call of WithAuthorization.

Jump to

Keyboard shortcuts

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