authfakes

package
v1.7.2-pre Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 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 added in v1.5.0

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

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

func (*FakeAuthenticator) ClientCredentials added in v1.5.0

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

func (*FakeAuthenticator) ClientCredentialsCallCount added in v1.5.0

func (fake *FakeAuthenticator) ClientCredentialsCallCount() int

func (*FakeAuthenticator) ClientCredentialsCalls added in v1.5.0

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

func (*FakeAuthenticator) ClientCredentialsReturns added in v1.5.0

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

func (*FakeAuthenticator) ClientCredentialsReturnsOnCall added in v1.5.0

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

func (*FakeAuthenticator) Invocations added in v1.5.0

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

func (*FakeAuthenticator) PasswordCredentials added in v1.5.0

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

func (*FakeAuthenticator) PasswordCredentialsArgsForCall added in v1.5.0

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

func (*FakeAuthenticator) PasswordCredentialsCallCount added in v1.5.0

func (fake *FakeAuthenticator) PasswordCredentialsCallCount() int

func (*FakeAuthenticator) PasswordCredentialsCalls added in v1.5.0

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

func (*FakeAuthenticator) PasswordCredentialsReturns added in v1.5.0

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

func (*FakeAuthenticator) PasswordCredentialsReturnsOnCall added in v1.5.0

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 added in v1.5.0

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