Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredhubClient
- func (fake *FakeCredhubClient) AddPermission(credName string, actor string, ops []string) (*permissions.Permission, error)
- func (fake *FakeCredhubClient) AddPermissionArgsForCall(i int) (string, string, []string)
- func (fake *FakeCredhubClient) AddPermissionCallCount() int
- func (fake *FakeCredhubClient) AddPermissionReturns(result1 *permissions.Permission, result2 error)
- func (fake *FakeCredhubClient) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
- func (fake *FakeCredhubClient) Delete(name string) error
- func (fake *FakeCredhubClient) DeleteArgsForCall(i int) string
- func (fake *FakeCredhubClient) DeleteCallCount() int
- func (fake *FakeCredhubClient) DeleteReturns(result1 error)
- func (fake *FakeCredhubClient) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeCredhubClient) FindByPartialName(partialName string) (credentials.FindResults, error)
- func (fake *FakeCredhubClient) FindByPartialNameArgsForCall(i int) string
- func (fake *FakeCredhubClient) FindByPartialNameCallCount() int
- func (fake *FakeCredhubClient) FindByPartialNameReturns(result1 credentials.FindResults, result2 error)
- func (fake *FakeCredhubClient) FindByPartialNameReturnsOnCall(i int, result1 credentials.FindResults, result2 error)
- func (fake *FakeCredhubClient) GetById(id string) (credentials.Credential, error)
- func (fake *FakeCredhubClient) GetByIdArgsForCall(i int) string
- func (fake *FakeCredhubClient) GetByIdCallCount() int
- func (fake *FakeCredhubClient) GetByIdReturns(result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) GetByIdReturnsOnCall(i int, result1 credentials.Credential, result2 error)
- func (fake *FakeCredhubClient) GetLatestVersion(name string) (credentials.Credential, error)
- func (fake *FakeCredhubClient) GetLatestVersionArgsForCall(i int) string
- func (fake *FakeCredhubClient) GetLatestVersionCallCount() int
- 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(name string, value values.JSON) (credentials.JSON, error)
- func (fake *FakeCredhubClient) SetJSONArgsForCall(i int) (string, values.JSON)
- func (fake *FakeCredhubClient) SetJSONCallCount() int
- func (fake *FakeCredhubClient) SetJSONReturns(result1 credentials.JSON, result2 error)
- func (fake *FakeCredhubClient) SetJSONReturnsOnCall(i int, result1 credentials.JSON, result2 error)
- func (fake *FakeCredhubClient) SetValue(name string, value values.Value) (credentials.Value, error)
- func (fake *FakeCredhubClient) SetValueArgsForCall(i int) (string, values.Value)
- func (fake *FakeCredhubClient) SetValueCallCount() int
- 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 { GetByIdStub func(id string) (credentials.Credential, error) GetLatestVersionStub func(name string) (credentials.Credential, error) FindByPartialNameStub func(partialName string) (credentials.FindResults, error) SetJSONStub func(name string, value values.JSON) (credentials.JSON, error) SetValueStub func(name string, value values.Value) (credentials.Value, error) AddPermissionStub func(credName string, actor string, ops []string) (*permissions.Permission, error) DeleteStub func(name string) error // contains filtered or unexported fields }
func (*FakeCredhubClient) AddPermission ¶ added in v0.24.0
func (fake *FakeCredhubClient) AddPermission(credName string, actor string, ops []string) (*permissions.Permission, error)
func (*FakeCredhubClient) AddPermissionArgsForCall ¶ added in v0.24.0
func (fake *FakeCredhubClient) AddPermissionArgsForCall(i int) (string, string, []string)
func (*FakeCredhubClient) AddPermissionCallCount ¶ added in v0.24.0
func (fake *FakeCredhubClient) AddPermissionCallCount() int
func (*FakeCredhubClient) AddPermissionReturns ¶ added in v0.24.0
func (fake *FakeCredhubClient) AddPermissionReturns(result1 *permissions.Permission, result2 error)
func (*FakeCredhubClient) AddPermissionReturnsOnCall ¶ added in v0.24.0
func (fake *FakeCredhubClient) AddPermissionReturnsOnCall(i int, result1 *permissions.Permission, result2 error)
func (*FakeCredhubClient) Delete ¶
func (fake *FakeCredhubClient) Delete(name string) error
func (*FakeCredhubClient) DeleteArgsForCall ¶
func (fake *FakeCredhubClient) DeleteArgsForCall(i int) string
func (*FakeCredhubClient) DeleteCallCount ¶
func (fake *FakeCredhubClient) DeleteCallCount() int
func (*FakeCredhubClient) DeleteReturns ¶
func (fake *FakeCredhubClient) DeleteReturns(result1 error)
func (*FakeCredhubClient) DeleteReturnsOnCall ¶
func (fake *FakeCredhubClient) DeleteReturnsOnCall(i int, result1 error)
func (*FakeCredhubClient) FindByPartialName ¶ added in v0.23.0
func (fake *FakeCredhubClient) FindByPartialName(partialName string) (credentials.FindResults, error)
func (*FakeCredhubClient) FindByPartialNameArgsForCall ¶ added in v0.23.0
func (fake *FakeCredhubClient) FindByPartialNameArgsForCall(i int) string
func (*FakeCredhubClient) FindByPartialNameCallCount ¶ added in v0.23.0
func (fake *FakeCredhubClient) FindByPartialNameCallCount() int
func (*FakeCredhubClient) FindByPartialNameReturns ¶ added in v0.23.0
func (fake *FakeCredhubClient) FindByPartialNameReturns(result1 credentials.FindResults, result2 error)
func (*FakeCredhubClient) FindByPartialNameReturnsOnCall ¶ added in v0.23.0
func (fake *FakeCredhubClient) FindByPartialNameReturnsOnCall(i int, result1 credentials.FindResults, result2 error)
func (*FakeCredhubClient) GetById ¶
func (fake *FakeCredhubClient) GetById(id string) (credentials.Credential, error)
func (*FakeCredhubClient) GetByIdArgsForCall ¶
func (fake *FakeCredhubClient) GetByIdArgsForCall(i int) string
func (*FakeCredhubClient) GetByIdCallCount ¶
func (fake *FakeCredhubClient) GetByIdCallCount() int
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(name string) (credentials.Credential, error)
func (*FakeCredhubClient) GetLatestVersionArgsForCall ¶
func (fake *FakeCredhubClient) GetLatestVersionArgsForCall(i int) string
func (*FakeCredhubClient) GetLatestVersionCallCount ¶
func (fake *FakeCredhubClient) GetLatestVersionCallCount() int
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(name string, value values.JSON) (credentials.JSON, error)
func (*FakeCredhubClient) SetJSONArgsForCall ¶
func (fake *FakeCredhubClient) SetJSONArgsForCall(i int) (string, values.JSON)
func (*FakeCredhubClient) SetJSONCallCount ¶
func (fake *FakeCredhubClient) SetJSONCallCount() int
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(name string, value values.Value) (credentials.Value, error)
func (*FakeCredhubClient) SetValueArgsForCall ¶
func (fake *FakeCredhubClient) SetValueArgsForCall(i int) (string, values.Value)
func (*FakeCredhubClient) SetValueCallCount ¶
func (fake *FakeCredhubClient) SetValueCallCount() int
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.