Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeMetadataRetriever
- func (fake *FakeMetadataRetriever) GetBuildMetadata(arg1 string, arg2 string, arg3 authn.Keychain) (*cnb.BuildMetadata, error)
- func (fake *FakeMetadataRetriever) GetBuildMetadataArgsForCall(i int) (string, string, authn.Keychain)
- func (fake *FakeMetadataRetriever) GetBuildMetadataCallCount() int
- func (fake *FakeMetadataRetriever) GetBuildMetadataCalls(stub func(string, string, authn.Keychain) (*cnb.BuildMetadata, error))
- func (fake *FakeMetadataRetriever) GetBuildMetadataReturns(result1 *cnb.BuildMetadata, result2 error)
- func (fake *FakeMetadataRetriever) GetBuildMetadataReturnsOnCall(i int, result1 *cnb.BuildMetadata, result2 error)
- func (fake *FakeMetadataRetriever) Invocations() map[string][][]interface{}
- type FakeSLSAAttester
- func (fake *FakeSLSAAttester) AttestBuild(arg1 *v1alpha2.Build, arg2 *cnb.BuildMetadata, arg3 *v1.Pod, ...) (in_toto.Statement, error)
- func (fake *FakeSLSAAttester) AttestBuildArgsForCall(i int) (*v1alpha2.Build, *cnb.BuildMetadata, *v1.Pod, authn.Keychain, slsa.BuilderID, ...)
- func (fake *FakeSLSAAttester) AttestBuildCallCount() int
- func (fake *FakeSLSAAttester) AttestBuildCalls(...)
- func (fake *FakeSLSAAttester) AttestBuildReturns(result1 in_toto.Statement, result2 error)
- func (fake *FakeSLSAAttester) AttestBuildReturnsOnCall(i int, result1 in_toto.Statement, result2 error)
- func (fake *FakeSLSAAttester) Invocations() map[string][][]interface{}
- func (fake *FakeSLSAAttester) Sign(arg1 context.Context, arg2 in_toto.Statement, arg3 ...dsse.Signer) ([]byte, error)
- func (fake *FakeSLSAAttester) SignArgsForCall(i int) (context.Context, in_toto.Statement, []dsse.Signer)
- func (fake *FakeSLSAAttester) SignCallCount() int
- func (fake *FakeSLSAAttester) SignCalls(stub func(context.Context, in_toto.Statement, ...dsse.Signer) ([]byte, error))
- func (fake *FakeSLSAAttester) SignReturns(result1 []byte, result2 error)
- func (fake *FakeSLSAAttester) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeSLSAAttester) Write(arg1 context.Context, arg2 string, arg3 []byte, arg4 authn.Keychain) (v1a.Image, string, error)
- func (fake *FakeSLSAAttester) WriteArgsForCall(i int) (context.Context, string, []byte, authn.Keychain)
- func (fake *FakeSLSAAttester) WriteCallCount() int
- func (fake *FakeSLSAAttester) WriteCalls(...)
- func (fake *FakeSLSAAttester) WriteReturns(result1 v1a.Image, result2 string, result3 error)
- func (fake *FakeSLSAAttester) WriteReturnsOnCall(i int, result1 v1a.Image, result2 string, result3 error)
- type FakeSecretFetcher
- func (fake *FakeSecretFetcher) Invocations() map[string][][]interface{}
- func (fake *FakeSecretFetcher) SecretsForServiceAccount(arg1 context.Context, arg2 string, arg3 string) ([]*v1.Secret, error)
- func (fake *FakeSecretFetcher) SecretsForServiceAccountArgsForCall(i int) (context.Context, string, string)
- func (fake *FakeSecretFetcher) SecretsForServiceAccountCallCount() int
- func (fake *FakeSecretFetcher) SecretsForServiceAccountCalls(stub func(context.Context, string, string) ([]*v1.Secret, error))
- func (fake *FakeSecretFetcher) SecretsForServiceAccountReturns(result1 []*v1.Secret, result2 error)
- func (fake *FakeSecretFetcher) SecretsForServiceAccountReturnsOnCall(i int, result1 []*v1.Secret, result2 error)
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccount(arg1 context.Context) ([]*v1.Secret, error)
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountArgsForCall(i int) context.Context
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountCallCount() int
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountCalls(stub func(context.Context) ([]*v1.Secret, error))
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountReturns(result1 []*v1.Secret, result2 error)
- func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountReturnsOnCall(i int, result1 []*v1.Secret, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMetadataRetriever ¶
type FakeMetadataRetriever struct { GetBuildMetadataStub func(string, string, authn.Keychain) (*cnb.BuildMetadata, error) // contains filtered or unexported fields }
func (*FakeMetadataRetriever) GetBuildMetadata ¶
func (fake *FakeMetadataRetriever) GetBuildMetadata(arg1 string, arg2 string, arg3 authn.Keychain) (*cnb.BuildMetadata, error)
func (*FakeMetadataRetriever) GetBuildMetadataArgsForCall ¶
func (*FakeMetadataRetriever) GetBuildMetadataCallCount ¶
func (fake *FakeMetadataRetriever) GetBuildMetadataCallCount() int
func (*FakeMetadataRetriever) GetBuildMetadataCalls ¶
func (fake *FakeMetadataRetriever) GetBuildMetadataCalls(stub func(string, string, authn.Keychain) (*cnb.BuildMetadata, error))
func (*FakeMetadataRetriever) GetBuildMetadataReturns ¶
func (fake *FakeMetadataRetriever) GetBuildMetadataReturns(result1 *cnb.BuildMetadata, result2 error)
func (*FakeMetadataRetriever) GetBuildMetadataReturnsOnCall ¶
func (fake *FakeMetadataRetriever) GetBuildMetadataReturnsOnCall(i int, result1 *cnb.BuildMetadata, result2 error)
func (*FakeMetadataRetriever) Invocations ¶
func (fake *FakeMetadataRetriever) Invocations() map[string][][]interface{}
type FakeSLSAAttester ¶ added in v0.13.0
type FakeSLSAAttester struct { AttestBuildStub func(*v1alpha2.Build, *cnb.BuildMetadata, *v1.Pod, authn.Keychain, slsa.BuilderID, ...slsa.BuilderDependencyFn) (in_toto.Statement, error) SignStub func(context.Context, in_toto.Statement, ...dsse.Signer) ([]byte, error) WriteStub func(context.Context, string, []byte, authn.Keychain) (v1a.Image, string, error) // contains filtered or unexported fields }
func (*FakeSLSAAttester) AttestBuild ¶ added in v0.13.0
func (*FakeSLSAAttester) AttestBuildArgsForCall ¶ added in v0.13.0
func (fake *FakeSLSAAttester) AttestBuildArgsForCall(i int) (*v1alpha2.Build, *cnb.BuildMetadata, *v1.Pod, authn.Keychain, slsa.BuilderID, []slsa.BuilderDependencyFn)
func (*FakeSLSAAttester) AttestBuildCallCount ¶ added in v0.13.0
func (fake *FakeSLSAAttester) AttestBuildCallCount() int
func (*FakeSLSAAttester) AttestBuildCalls ¶ added in v0.13.0
func (*FakeSLSAAttester) AttestBuildReturns ¶ added in v0.13.0
func (fake *FakeSLSAAttester) AttestBuildReturns(result1 in_toto.Statement, result2 error)
func (*FakeSLSAAttester) AttestBuildReturnsOnCall ¶ added in v0.13.0
func (fake *FakeSLSAAttester) AttestBuildReturnsOnCall(i int, result1 in_toto.Statement, result2 error)
func (*FakeSLSAAttester) Invocations ¶ added in v0.13.0
func (fake *FakeSLSAAttester) Invocations() map[string][][]interface{}
func (*FakeSLSAAttester) SignArgsForCall ¶ added in v0.13.0
func (*FakeSLSAAttester) SignCallCount ¶ added in v0.13.0
func (fake *FakeSLSAAttester) SignCallCount() int
func (*FakeSLSAAttester) SignReturns ¶ added in v0.13.0
func (fake *FakeSLSAAttester) SignReturns(result1 []byte, result2 error)
func (*FakeSLSAAttester) SignReturnsOnCall ¶ added in v0.13.0
func (fake *FakeSLSAAttester) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeSLSAAttester) WriteArgsForCall ¶ added in v0.13.0
func (*FakeSLSAAttester) WriteCallCount ¶ added in v0.13.0
func (fake *FakeSLSAAttester) WriteCallCount() int
func (*FakeSLSAAttester) WriteCalls ¶ added in v0.13.0
func (*FakeSLSAAttester) WriteReturns ¶ added in v0.13.0
func (fake *FakeSLSAAttester) WriteReturns(result1 v1a.Image, result2 string, result3 error)
func (*FakeSLSAAttester) WriteReturnsOnCall ¶ added in v0.13.0
type FakeSecretFetcher ¶ added in v0.13.0
type FakeSecretFetcher struct { SecretsForServiceAccountStub func(context.Context, string, string) ([]*v1.Secret, error) SecretsForSystemServiceAccountStub func(context.Context) ([]*v1.Secret, error) // contains filtered or unexported fields }
func (*FakeSecretFetcher) Invocations ¶ added in v0.13.0
func (fake *FakeSecretFetcher) Invocations() map[string][][]interface{}
func (*FakeSecretFetcher) SecretsForServiceAccount ¶ added in v0.13.0
func (*FakeSecretFetcher) SecretsForServiceAccountArgsForCall ¶ added in v0.13.0
func (*FakeSecretFetcher) SecretsForServiceAccountCallCount ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForServiceAccountCallCount() int
func (*FakeSecretFetcher) SecretsForServiceAccountCalls ¶ added in v0.13.0
func (*FakeSecretFetcher) SecretsForServiceAccountReturns ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForServiceAccountReturns(result1 []*v1.Secret, result2 error)
func (*FakeSecretFetcher) SecretsForServiceAccountReturnsOnCall ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForServiceAccountReturnsOnCall(i int, result1 []*v1.Secret, result2 error)
func (*FakeSecretFetcher) SecretsForSystemServiceAccount ¶ added in v0.13.0
func (*FakeSecretFetcher) SecretsForSystemServiceAccountArgsForCall ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountArgsForCall(i int) context.Context
func (*FakeSecretFetcher) SecretsForSystemServiceAccountCallCount ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountCallCount() int
func (*FakeSecretFetcher) SecretsForSystemServiceAccountCalls ¶ added in v0.13.0
func (*FakeSecretFetcher) SecretsForSystemServiceAccountReturns ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountReturns(result1 []*v1.Secret, result2 error)
func (*FakeSecretFetcher) SecretsForSystemServiceAccountReturnsOnCall ¶ added in v0.13.0
func (fake *FakeSecretFetcher) SecretsForSystemServiceAccountReturnsOnCall(i int, result1 []*v1.Secret, result2 error)
Click to show internal directories.
Click to hide internal directories.