credhub_fakes

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 5 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 FakeCredhub

type FakeCredhub struct {
	SetJSONStub func(name string, value values.JSON) (credentials.JSON, error)

	GetLatestJSONStub func(name string) (credentials.JSON, error)

	SetValueStub func(name string, value values.Value) (credentials.Value, error)

	GetLatestValueStub func(name string) (credentials.Value, error)

	FindByPathStub func(path string) (credentials.FindResults, error)

	DeleteStub func(name string) error
	// contains filtered or unexported fields
}

func (*FakeCredhub) Delete

func (fake *FakeCredhub) Delete(name string) error

func (*FakeCredhub) DeleteArgsForCall

func (fake *FakeCredhub) DeleteArgsForCall(i int) string

func (*FakeCredhub) DeleteCallCount

func (fake *FakeCredhub) DeleteCallCount() int

func (*FakeCredhub) DeleteReturns

func (fake *FakeCredhub) DeleteReturns(result1 error)

func (*FakeCredhub) DeleteReturnsOnCall

func (fake *FakeCredhub) DeleteReturnsOnCall(i int, result1 error)

func (*FakeCredhub) FindByPath

func (fake *FakeCredhub) FindByPath(path string) (credentials.FindResults, error)

func (*FakeCredhub) FindByPathArgsForCall

func (fake *FakeCredhub) FindByPathArgsForCall(i int) string

func (*FakeCredhub) FindByPathCallCount

func (fake *FakeCredhub) FindByPathCallCount() int

func (*FakeCredhub) FindByPathReturns

func (fake *FakeCredhub) FindByPathReturns(result1 credentials.FindResults, result2 error)

func (*FakeCredhub) FindByPathReturnsOnCall

func (fake *FakeCredhub) FindByPathReturnsOnCall(i int, result1 credentials.FindResults, result2 error)

func (*FakeCredhub) GetLatestJSON

func (fake *FakeCredhub) GetLatestJSON(name string) (credentials.JSON, error)

func (*FakeCredhub) GetLatestJSONArgsForCall

func (fake *FakeCredhub) GetLatestJSONArgsForCall(i int) string

func (*FakeCredhub) GetLatestJSONCallCount

func (fake *FakeCredhub) GetLatestJSONCallCount() int

func (*FakeCredhub) GetLatestJSONReturns

func (fake *FakeCredhub) GetLatestJSONReturns(result1 credentials.JSON, result2 error)

func (*FakeCredhub) GetLatestJSONReturnsOnCall

func (fake *FakeCredhub) GetLatestJSONReturnsOnCall(i int, result1 credentials.JSON, result2 error)

func (*FakeCredhub) GetLatestValue

func (fake *FakeCredhub) GetLatestValue(name string) (credentials.Value, error)

func (*FakeCredhub) GetLatestValueArgsForCall

func (fake *FakeCredhub) GetLatestValueArgsForCall(i int) string

func (*FakeCredhub) GetLatestValueCallCount

func (fake *FakeCredhub) GetLatestValueCallCount() int

func (*FakeCredhub) GetLatestValueReturns

func (fake *FakeCredhub) GetLatestValueReturns(result1 credentials.Value, result2 error)

func (*FakeCredhub) GetLatestValueReturnsOnCall

func (fake *FakeCredhub) GetLatestValueReturnsOnCall(i int, result1 credentials.Value, result2 error)

func (*FakeCredhub) Invocations

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

func (*FakeCredhub) SetJSON

func (fake *FakeCredhub) SetJSON(name string, value values.JSON) (credentials.JSON, error)

func (*FakeCredhub) SetJSONArgsForCall

func (fake *FakeCredhub) SetJSONArgsForCall(i int) (string, values.JSON)

func (*FakeCredhub) SetJSONCallCount

func (fake *FakeCredhub) SetJSONCallCount() int

func (*FakeCredhub) SetJSONReturns

func (fake *FakeCredhub) SetJSONReturns(result1 credentials.JSON, result2 error)

func (*FakeCredhub) SetJSONReturnsOnCall

func (fake *FakeCredhub) SetJSONReturnsOnCall(i int, result1 credentials.JSON, result2 error)

func (*FakeCredhub) SetValue

func (fake *FakeCredhub) SetValue(name string, value values.Value) (credentials.Value, error)

func (*FakeCredhub) SetValueArgsForCall

func (fake *FakeCredhub) SetValueArgsForCall(i int) (string, values.Value)

func (*FakeCredhub) SetValueCallCount

func (fake *FakeCredhub) SetValueCallCount() int

func (*FakeCredhub) SetValueReturns

func (fake *FakeCredhub) SetValueReturns(result1 credentials.Value, result2 error)

func (*FakeCredhub) SetValueReturnsOnCall

func (fake *FakeCredhub) SetValueReturnsOnCall(i int, result1 credentials.Value, result2 error)

type FakeCredhubAuth

type FakeCredhubAuth struct {
	UaaClientCredentialsStub func(clientId, clientSecret string) auth.Builder
	// contains filtered or unexported fields
}

func (*FakeCredhubAuth) Invocations

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

func (*FakeCredhubAuth) UaaClientCredentials

func (fake *FakeCredhubAuth) UaaClientCredentials(clientId string, clientSecret string) auth.Builder

func (*FakeCredhubAuth) UaaClientCredentialsArgsForCall

func (fake *FakeCredhubAuth) UaaClientCredentialsArgsForCall(i int) (string, string)

func (*FakeCredhubAuth) UaaClientCredentialsCallCount

func (fake *FakeCredhubAuth) UaaClientCredentialsCallCount() int

func (*FakeCredhubAuth) UaaClientCredentialsReturns

func (fake *FakeCredhubAuth) UaaClientCredentialsReturns(result1 auth.Builder)

func (*FakeCredhubAuth) UaaClientCredentialsReturnsOnCall

func (fake *FakeCredhubAuth) UaaClientCredentialsReturnsOnCall(i int, result1 auth.Builder)

Jump to

Keyboard shortcuts

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