Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredhubClient
- func (fake *FakeCredhubClient) AddPermission(arg1 string, arg2 string, arg3 []string) (*permissions.Permission, error)
- func (fake *FakeCredhubClient) AddPermissionArgsForCall(i int) (string, string, []string)
- func (fake *FakeCredhubClient) AddPermissionCallCount() int
- func (fake *FakeCredhubClient) AddPermissionCalls(stub func(string, string, []string) (*permissions.Permission, error))
- func (fake *FakeCredhubClient) AddPermissionReturns(result1 *permissions.Permission, result2 error)
- func (fake *FakeCredhubClient) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
- func (fake *FakeCredhubClient) Delete(arg1 string) error
- func (fake *FakeCredhubClient) DeleteArgsForCall(i int) string
- func (fake *FakeCredhubClient) DeleteCallCount() int
- func (fake *FakeCredhubClient) DeleteCalls(stub func(string) error)
- func (fake *FakeCredhubClient) DeleteReturns(result1 error)
- func (fake *FakeCredhubClient) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeCredhubClient) FindByPartialName(arg1 string) (credentials.FindResults, error)
- func (fake *FakeCredhubClient) FindByPartialNameArgsForCall(i int) string
- func (fake *FakeCredhubClient) FindByPartialNameCallCount() int
- func (fake *FakeCredhubClient) FindByPartialNameCalls(stub func(string) (credentials.FindResults, error))
- func (fake *FakeCredhubClient) FindByPartialNameReturns(result1 credentials.FindResults, result2 error)
- func (fake *FakeCredhubClient) FindByPartialNameReturnsOnCall(i int, result1 credentials.FindResults, result2 error)
- func (fake *FakeCredhubClient) GetById(arg1 string) (credentials.Credential, error)
- func (fake *FakeCredhubClient) GetByIdArgsForCall(i int) string
- func (fake *FakeCredhubClient) GetByIdCallCount() int
- func (fake *FakeCredhubClient) GetByIdCalls(stub func(string) (credentials.Credential, error))
- func (fake *FakeCredhubClient) GetByIdReturns(result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) GetByIdReturnsOnCall(i int, result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) GetLatestVersion(arg1 string) (credentials.Credential, error)
- func (fake *FakeCredhubClient) GetLatestVersionArgsForCall(i int) string
- func (fake *FakeCredhubClient) GetLatestVersionCallCount() int
- func (fake *FakeCredhubClient) GetLatestVersionCalls(stub func(string) (credentials.Credential, error))
- func (fake *FakeCredhubClient) GetLatestVersionReturns(result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) GetLatestVersionReturnsOnCall(i int, result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) Invocations() map[string][][]interface{}
- func (fake *FakeCredhubClient) SetJSON(arg1 string, arg2 values.JSON, arg3 ...credhuba.SetOption) (credentials.JSON, error)
- func (fake *FakeCredhubClient) SetJSONArgsForCall(i int) (string, values.JSON, []credhuba.SetOption)
- func (fake *FakeCredhubClient) SetJSONCallCount() int
- func (fake *FakeCredhubClient) SetJSONCalls(...)
- func (fake *FakeCredhubClient) SetJSONReturns(result1 credentials.JSON, result2 error)
- func (fake *FakeCredhubClient) SetJSONReturnsOnCall(i int, result1 credentials.JSON, result2 error)
- func (fake *FakeCredhubClient) SetValue(arg1 string, arg2 values.Value, arg3 ...credhuba.SetOption) (credentials.Value, error)
- func (fake *FakeCredhubClient) SetValueArgsForCall(i int) (string, values.Value, []credhuba.SetOption)
- func (fake *FakeCredhubClient) SetValueCallCount() int
- func (fake *FakeCredhubClient) SetValueCalls(...)
- func (fake *FakeCredhubClient) SetValueReturns(result1 credentials.Value, result2 error)
- func (fake *FakeCredhubClient) SetValueReturnsOnCall(i int, result1 credentials.Value, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCredhubClient ¶
type FakeCredhubClient struct { AddPermissionStub func(string, string, []string) (*permissions.Permission, error) DeleteStub func(string) error FindByPartialNameStub func(string) (credentials.FindResults, error) GetByIdStub func(string) (credentials.Credential, error) GetLatestVersionStub func(string) (credentials.Credential, error) SetJSONStub func(string, values.JSON, ...credhuba.SetOption) (credentials.JSON, error) SetValueStub func(string, values.Value, ...credhuba.SetOption) (credentials.Value, error) // contains filtered or unexported fields }
func (*FakeCredhubClient) AddPermission ¶
func (fake *FakeCredhubClient) AddPermission(arg1 string, arg2 string, arg3 []string) (*permissions.Permission, error)
func (*FakeCredhubClient) AddPermissionArgsForCall ¶
func (fake *FakeCredhubClient) AddPermissionArgsForCall(i int) (string, string, []string)
func (*FakeCredhubClient) AddPermissionCallCount ¶
func (fake *FakeCredhubClient) AddPermissionCallCount() int
func (*FakeCredhubClient) AddPermissionCalls ¶
func (fake *FakeCredhubClient) AddPermissionCalls(stub func(string, string, []string) (*permissions.Permission, error))
func (*FakeCredhubClient) AddPermissionReturns ¶
func (fake *FakeCredhubClient) AddPermissionReturns(result1 *permissions.Permission, result2 error)
func (*FakeCredhubClient) AddPermissionReturnsOnCall ¶
func (fake *FakeCredhubClient) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
func (*FakeCredhubClient) Delete ¶
func (fake *FakeCredhubClient) Delete(arg1 string) error
func (*FakeCredhubClient) DeleteArgsForCall ¶
func (fake *FakeCredhubClient) DeleteArgsForCall(i int) string
func (*FakeCredhubClient) DeleteCallCount ¶
func (fake *FakeCredhubClient) DeleteCallCount() int
func (*FakeCredhubClient) DeleteCalls ¶
func (fake *FakeCredhubClient) DeleteCalls(stub func(string) error)
func (*FakeCredhubClient) DeleteReturns ¶
func (fake *FakeCredhubClient) DeleteReturns(result1 error)
func (*FakeCredhubClient) DeleteReturnsOnCall ¶
func (fake *FakeCredhubClient) DeleteReturnsOnCall(i int, result1 error)
func (*FakeCredhubClient) FindByPartialName ¶
func (fake *FakeCredhubClient) FindByPartialName(arg1 string) (credentials.FindResults, error)
func (*FakeCredhubClient) FindByPartialNameArgsForCall ¶
func (fake *FakeCredhubClient) FindByPartialNameArgsForCall(i int) string
func (*FakeCredhubClient) FindByPartialNameCallCount ¶
func (fake *FakeCredhubClient) FindByPartialNameCallCount() int
func (*FakeCredhubClient) FindByPartialNameCalls ¶
func (fake *FakeCredhubClient) FindByPartialNameCalls(stub func(string) (credentials.FindResults, error))
func (*FakeCredhubClient) FindByPartialNameReturns ¶
func (fake *FakeCredhubClient) FindByPartialNameReturns(result1 credentials.FindResults, result2 error)
func (*FakeCredhubClient) FindByPartialNameReturnsOnCall ¶
func (fake *FakeCredhubClient) FindByPartialNameReturnsOnCall(i int, result1 credentials.FindResults, result2 error)
func (*FakeCredhubClient) GetById ¶
func (fake *FakeCredhubClient) GetById(arg1 string) (credentials.Credential, error)
func (*FakeCredhubClient) GetByIdArgsForCall ¶
func (fake *FakeCredhubClient) GetByIdArgsForCall(i int) string
func (*FakeCredhubClient) GetByIdCallCount ¶
func (fake *FakeCredhubClient) GetByIdCallCount() int
func (*FakeCredhubClient) GetByIdCalls ¶
func (fake *FakeCredhubClient) GetByIdCalls(stub func(string) (credentials.Credential, error))
func (*FakeCredhubClient) GetByIdReturns ¶
func (fake *FakeCredhubClient) GetByIdReturns(result1 credentials.Credential, result2 error)
func (*FakeCredhubClient) GetByIdReturnsOnCall ¶
func (fake *FakeCredhubClient) GetByIdReturnsOnCall(i int, result1 credentials.Credential, result2 error)
func (*FakeCredhubClient) GetLatestVersion ¶
func (fake *FakeCredhubClient) GetLatestVersion(arg1 string) (credentials.Credential, error)
func (*FakeCredhubClient) GetLatestVersionArgsForCall ¶
func (fake *FakeCredhubClient) GetLatestVersionArgsForCall(i int) string
func (*FakeCredhubClient) GetLatestVersionCallCount ¶
func (fake *FakeCredhubClient) GetLatestVersionCallCount() int
func (*FakeCredhubClient) GetLatestVersionCalls ¶
func (fake *FakeCredhubClient) GetLatestVersionCalls(stub func(string) (credentials.Credential, error))
func (*FakeCredhubClient) GetLatestVersionReturns ¶
func (fake *FakeCredhubClient) GetLatestVersionReturns(result1 credentials.Credential, result2 error)
func (*FakeCredhubClient) GetLatestVersionReturnsOnCall ¶
func (fake *FakeCredhubClient) GetLatestVersionReturnsOnCall(i int, result1 credentials.Credential, result2 error)
func (*FakeCredhubClient) Invocations ¶
func (fake *FakeCredhubClient) Invocations() map[string][][]interface{}
func (*FakeCredhubClient) SetJSON ¶
func (fake *FakeCredhubClient) SetJSON(arg1 string, arg2 values.JSON, arg3 ...credhuba.SetOption) (credentials.JSON, error)
func (*FakeCredhubClient) SetJSONArgsForCall ¶
func (*FakeCredhubClient) SetJSONCallCount ¶
func (fake *FakeCredhubClient) SetJSONCallCount() int
func (*FakeCredhubClient) SetJSONCalls ¶
func (fake *FakeCredhubClient) SetJSONCalls(stub func(string, values.JSON, ...credhuba.SetOption) (credentials.JSON, error))
func (*FakeCredhubClient) SetJSONReturns ¶
func (fake *FakeCredhubClient) SetJSONReturns(result1 credentials.JSON, result2 error)
func (*FakeCredhubClient) SetJSONReturnsOnCall ¶
func (fake *FakeCredhubClient) SetJSONReturnsOnCall(i int, result1 credentials.JSON, result2 error)
func (*FakeCredhubClient) SetValue ¶
func (fake *FakeCredhubClient) SetValue(arg1 string, arg2 values.Value, arg3 ...credhuba.SetOption) (credentials.Value, error)
func (*FakeCredhubClient) SetValueArgsForCall ¶
func (*FakeCredhubClient) SetValueCallCount ¶
func (fake *FakeCredhubClient) SetValueCallCount() int
func (*FakeCredhubClient) SetValueCalls ¶
func (fake *FakeCredhubClient) SetValueCalls(stub func(string, values.Value, ...credhuba.SetOption) (credentials.Value, error))
func (*FakeCredhubClient) SetValueReturns ¶
func (fake *FakeCredhubClient) SetValueReturns(result1 credentials.Value, result2 error)
func (*FakeCredhubClient) SetValueReturnsOnCall ¶
func (fake *FakeCredhubClient) SetValueReturnsOnCall(i int, result1 credentials.Value, result2 error)
Click to show internal directories.
Click to hide internal directories.