Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredhubClient
- func (fake *FakeCredhubClient) AddPermissions(credName string, perms []permissions.Permission) ([]permissions.Permission, error)
- func (fake *FakeCredhubClient) AddPermissionsArgsForCall(i int) (string, []permissions.Permission)
- func (fake *FakeCredhubClient) AddPermissionsCallCount() int
- func (fake *FakeCredhubClient) AddPermissionsReturns(result1 []permissions.Permission, result2 error)
- func (fake *FakeCredhubClient) AddPermissionsReturnsOnCall(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, overwrite credhubcredhub_cli.Mode) (credentials.JSON, error)
- func (fake *FakeCredhubClient) SetJSONArgsForCall(i int) (string, values.JSON, credhubcredhub_cli.Mode)
- 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, overwrite credhubcredhub_cli.Mode) (credentials.Value, error)
- func (fake *FakeCredhubClient) SetValueArgsForCall(i int) (string, values.Value, credhubcredhub_cli.Mode)
- 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, overwrite credhubcredhub_cli.Mode) (credentials.JSON, error) SetValueStub func(name string, value values.Value, overwrite credhubcredhub_cli.Mode) (credentials.Value, error) AddPermissionsStub func(credName string, perms []permissions.Permission) ([]permissions.Permission, error) DeleteStub func(name string) error // contains filtered or unexported fields }
func (*FakeCredhubClient) AddPermissions ¶
func (fake *FakeCredhubClient) AddPermissions(credName string, perms []permissions.Permission) ([]permissions.Permission, error)
func (*FakeCredhubClient) AddPermissionsArgsForCall ¶
func (fake *FakeCredhubClient) AddPermissionsArgsForCall(i int) (string, []permissions.Permission)
func (*FakeCredhubClient) AddPermissionsCallCount ¶
func (fake *FakeCredhubClient) AddPermissionsCallCount() int
func (*FakeCredhubClient) AddPermissionsReturns ¶
func (fake *FakeCredhubClient) AddPermissionsReturns(result1 []permissions.Permission, result2 error)
func (*FakeCredhubClient) AddPermissionsReturnsOnCall ¶
func (fake *FakeCredhubClient) AddPermissionsReturnsOnCall(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, overwrite credhubcredhub_cli.Mode) (credentials.JSON, error)
func (*FakeCredhubClient) SetJSONArgsForCall ¶
func (fake *FakeCredhubClient) SetJSONArgsForCall(i int) (string, values.JSON, credhubcredhub_cli.Mode)
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, overwrite credhubcredhub_cli.Mode) (credentials.Value, error)
func (*FakeCredhubClient) SetValueArgsForCall ¶
func (fake *FakeCredhubClient) SetValueArgsForCall(i int) (string, values.Value, credhubcredhub_cli.Mode)
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.