authfakes

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuthenticator

type FakeAuthenticator struct {
	ClientCredentialsStub func() (*auth.Token, error)

	PasswordCredentialsStub func(string, string) (*auth.Token, error)
	// contains filtered or unexported fields
}

func (*FakeAuthenticator) ClientCredentials

func (fake *FakeAuthenticator) ClientCredentials() (*auth.Token, error)

func (*FakeAuthenticator) ClientCredentialsCallCount

func (fake *FakeAuthenticator) ClientCredentialsCallCount() int

func (*FakeAuthenticator) ClientCredentialsCalls

func (fake *FakeAuthenticator) ClientCredentialsCalls(stub func() (*auth.Token, error))

func (*FakeAuthenticator) ClientCredentialsReturns

func (fake *FakeAuthenticator) ClientCredentialsReturns(result1 *auth.Token, result2 error)

func (*FakeAuthenticator) ClientCredentialsReturnsOnCall

func (fake *FakeAuthenticator) ClientCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)

func (*FakeAuthenticator) Invocations

func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}

func (*FakeAuthenticator) PasswordCredentials

func (fake *FakeAuthenticator) PasswordCredentials(arg1 string, arg2 string) (*auth.Token, error)

func (*FakeAuthenticator) PasswordCredentialsArgsForCall

func (fake *FakeAuthenticator) PasswordCredentialsArgsForCall(i int) (string, string)

func (*FakeAuthenticator) PasswordCredentialsCallCount

func (fake *FakeAuthenticator) PasswordCredentialsCallCount() int

func (*FakeAuthenticator) PasswordCredentialsCalls

func (fake *FakeAuthenticator) PasswordCredentialsCalls(stub func(string, string) (*auth.Token, error))

func (*FakeAuthenticator) PasswordCredentialsReturns

func (fake *FakeAuthenticator) PasswordCredentialsReturns(result1 *auth.Token, result2 error)

func (*FakeAuthenticator) PasswordCredentialsReturnsOnCall

func (fake *FakeAuthenticator) PasswordCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)

type FakeClient

type FakeClient struct {
	DoStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*FakeClient) Do

func (fake *FakeClient) Do(arg1 *http.Request) (*http.Response, error)

func (*FakeClient) DoArgsForCall

func (fake *FakeClient) DoArgsForCall(i int) *http.Request

func (*FakeClient) DoCallCount

func (fake *FakeClient) DoCallCount() int

func (*FakeClient) DoCalls

func (fake *FakeClient) DoCalls(stub func(*http.Request) (*http.Response, error))

func (*FakeClient) DoReturns

func (fake *FakeClient) DoReturns(result1 *http.Response, result2 error)

func (*FakeClient) DoReturnsOnCall

func (fake *FakeClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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