Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeImpl
- func (fake *FakeImpl) Digest(arg1 string, arg2 ...crane.Option) (string, error)
- func (fake *FakeImpl) DigestArgsForCall(i int) (string, []crane.Option)
- func (fake *FakeImpl) DigestCallCount() int
- func (fake *FakeImpl) DigestCalls(stub func(string, ...crane.Option) (string, error))
- func (fake *FakeImpl) DigestReturns(result1 string, result2 error)
- func (fake *FakeImpl) DigestReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) EnvDefault(arg1 string, arg2 string) string
- func (fake *FakeImpl) EnvDefaultArgsForCall(i int) (string, string)
- func (fake *FakeImpl) EnvDefaultCallCount() int
- func (fake *FakeImpl) EnvDefaultCalls(stub func(string, string) string)
- func (fake *FakeImpl) EnvDefaultReturns(result1 string)
- func (fake *FakeImpl) EnvDefaultReturnsOnCall(i int, result1 string)
- func (fake *FakeImpl) FileExists(arg1 string) bool
- func (fake *FakeImpl) FileExistsArgsForCall(i int) string
- func (fake *FakeImpl) FileExistsCallCount() int
- func (fake *FakeImpl) FileExistsCalls(stub func(string) bool)
- func (fake *FakeImpl) FileExistsReturns(result1 bool)
- func (fake *FakeImpl) FileExistsReturnsOnCall(i int, result1 bool)
- func (fake *FakeImpl) FindTlogEntry(arg1 context.Context, arg2 *client.Rekor, arg3 string, arg4 []byte, ...) ([]models.LogEntryAnon, error)
- func (fake *FakeImpl) FindTlogEntryArgsForCall(i int) (context.Context, *client.Rekor, string, []byte, []byte)
- func (fake *FakeImpl) FindTlogEntryCallCount() int
- func (fake *FakeImpl) FindTlogEntryCalls(...)
- func (fake *FakeImpl) FindTlogEntryReturns(result1 []models.LogEntryAnon, result2 error)
- func (fake *FakeImpl) FindTlogEntryReturnsOnCall(i int, result1 []models.LogEntryAnon, result2 error)
- func (fake *FakeImpl) ImagesSigned(arg1 context.Context, arg2 *sign.Signer, arg3 ...string) (*sync.Map, error)
- func (fake *FakeImpl) ImagesSignedArgsForCall(i int) (context.Context, *sign.Signer, []string)
- func (fake *FakeImpl) ImagesSignedCallCount() int
- func (fake *FakeImpl) ImagesSignedCalls(stub func(context.Context, *sign.Signer, ...string) (*sync.Map, error))
- func (fake *FakeImpl) ImagesSignedReturns(result1 *sync.Map, result2 error)
- func (fake *FakeImpl) ImagesSignedReturnsOnCall(i int, result1 *sync.Map, result2 error)
- func (fake *FakeImpl) Invocations() map[string][][]interface{}
- func (fake *FakeImpl) NewRekorClient(arg1 string) (*client.Rekor, error)
- func (fake *FakeImpl) NewRekorClientArgsForCall(i int) string
- func (fake *FakeImpl) NewRekorClientCallCount() int
- func (fake *FakeImpl) NewRekorClientCalls(stub func(string) (*client.Rekor, error))
- func (fake *FakeImpl) NewRekorClientReturns(result1 *client.Rekor, result2 error)
- func (fake *FakeImpl) NewRekorClientReturnsOnCall(i int, result1 *client.Rekor, result2 error)
- func (fake *FakeImpl) NewWithContext(arg1 context.Context, arg2 name.Registry, arg3 authn.Authenticator, ...) (http.RoundTripper, error)
- func (fake *FakeImpl) NewWithContextArgsForCall(i int) (context.Context, name.Registry, authn.Authenticator, http.RoundTripper, ...)
- func (fake *FakeImpl) NewWithContextCallCount() int
- func (fake *FakeImpl) NewWithContextCalls(...)
- func (fake *FakeImpl) NewWithContextReturns(result1 http.RoundTripper, result2 error)
- func (fake *FakeImpl) NewWithContextReturnsOnCall(i int, result1 http.RoundTripper, result2 error)
- func (fake *FakeImpl) ParseReference(arg1 string, arg2 ...name.Option) (name.Reference, error)
- func (fake *FakeImpl) ParseReferenceArgsForCall(i int) (string, []name.Option)
- func (fake *FakeImpl) ParseReferenceCallCount() int
- func (fake *FakeImpl) ParseReferenceCalls(stub func(string, ...name.Option) (name.Reference, error))
- func (fake *FakeImpl) ParseReferenceReturns(result1 name.Reference, result2 error)
- func (fake *FakeImpl) ParseReferenceReturnsOnCall(i int, result1 name.Reference, result2 error)
- func (fake *FakeImpl) PayloadBytes(arg1 string) ([]byte, error)
- func (fake *FakeImpl) PayloadBytesArgsForCall(i int) string
- func (fake *FakeImpl) PayloadBytesCallCount() int
- func (fake *FakeImpl) PayloadBytesCalls(stub func(string) ([]byte, error))
- func (fake *FakeImpl) PayloadBytesReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) PayloadBytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) Setenv(arg1 string, arg2 string) error
- func (fake *FakeImpl) SetenvArgsForCall(i int) (string, string)
- func (fake *FakeImpl) SetenvCallCount() int
- func (fake *FakeImpl) SetenvCalls(stub func(string, string) error)
- func (fake *FakeImpl) SetenvReturns(result1 error)
- func (fake *FakeImpl) SetenvReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) SignFileInternal(arg1 options.RootOptions, arg2 options.KeyOpts, arg3 string, arg4 bool, ...) error
- func (fake *FakeImpl) SignFileInternalArgsForCall(i int) (options.RootOptions, options.KeyOpts, string, bool, string, string, bool)
- func (fake *FakeImpl) SignFileInternalCallCount() int
- func (fake *FakeImpl) SignFileInternalCalls(...)
- func (fake *FakeImpl) SignFileInternalReturns(result1 error)
- func (fake *FakeImpl) SignFileInternalReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) SignImageInternal(arg1 options.RootOptions, arg2 options.KeyOpts, arg3 options.SignOptions, ...) error
- func (fake *FakeImpl) SignImageInternalArgsForCall(i int) (options.RootOptions, options.KeyOpts, options.SignOptions, []string)
- func (fake *FakeImpl) SignImageInternalCallCount() int
- func (fake *FakeImpl) SignImageInternalCalls(...)
- func (fake *FakeImpl) SignImageInternalReturns(result1 error)
- func (fake *FakeImpl) SignImageInternalReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) TokenFromProviders(arg1 context.Context, arg2 *logrus.Logger) (string, error)
- func (fake *FakeImpl) TokenFromProvidersArgsForCall(i int) (context.Context, *logrus.Logger)
- func (fake *FakeImpl) TokenFromProvidersCallCount() int
- func (fake *FakeImpl) TokenFromProvidersCalls(stub func(context.Context, *logrus.Logger) (string, error))
- func (fake *FakeImpl) TokenFromProvidersReturns(result1 string, result2 error)
- func (fake *FakeImpl) TokenFromProvidersReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) VerifyFileInternal(arg1 context.Context, arg2 options.KeyOpts, arg3 options.CertVerifyOptions, ...) error
- func (fake *FakeImpl) VerifyFileInternalArgsForCall(i int) (context.Context, options.KeyOpts, options.CertVerifyOptions, string, string)
- func (fake *FakeImpl) VerifyFileInternalCallCount() int
- func (fake *FakeImpl) VerifyFileInternalCalls(...)
- func (fake *FakeImpl) VerifyFileInternalReturns(result1 error)
- func (fake *FakeImpl) VerifyFileInternalReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) VerifyImageInternal(arg1 context.Context, arg2 options.CertVerifyOptions, arg3 string, ...) (*sign.SignedObject, error)
- func (fake *FakeImpl) VerifyImageInternalArgsForCall(i int) (context.Context, options.CertVerifyOptions, string, []string, bool)
- func (fake *FakeImpl) VerifyImageInternalCallCount() int
- func (fake *FakeImpl) VerifyImageInternalCalls(...)
- func (fake *FakeImpl) VerifyImageInternalReturns(result1 *sign.SignedObject, result2 error)
- func (fake *FakeImpl) VerifyImageInternalReturnsOnCall(i int, result1 *sign.SignedObject, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImpl ¶
type FakeImpl struct { DigestStub func(string, ...crane.Option) (string, error) EnvDefaultStub func(string, string) string FileExistsStub func(string) bool FindTlogEntryStub func(context.Context, *client.Rekor, string, []byte, []byte) ([]models.LogEntryAnon, error) ImagesSignedStub func(context.Context, *sign.Signer, ...string) (*sync.Map, error) NewRekorClientStub func(string) (*client.Rekor, error) NewWithContextStub func(context.Context, name.Registry, authn.Authenticator, http.RoundTripper, []string) (http.RoundTripper, error) ParseReferenceStub func(string, ...name.Option) (name.Reference, error) PayloadBytesStub func(string) ([]byte, error) SetenvStub func(string, string) error SignFileInternalStub func(options.RootOptions, options.KeyOpts, string, bool, string, string, bool) error SignImageInternalStub func(options.RootOptions, options.KeyOpts, options.SignOptions, []string) error TokenFromProvidersStub func(context.Context, *logrus.Logger) (string, error) VerifyFileInternalStub func(context.Context, options.KeyOpts, options.CertVerifyOptions, string, string) error VerifyImageInternalStub func(context.Context, options.CertVerifyOptions, string, []string, bool) (*sign.SignedObject, error) // contains filtered or unexported fields }
func (*FakeImpl) DigestArgsForCall ¶ added in v0.8.0
func (*FakeImpl) DigestCallCount ¶ added in v0.8.0
func (*FakeImpl) DigestCalls ¶ added in v0.8.0
func (*FakeImpl) DigestReturns ¶ added in v0.8.0
func (*FakeImpl) DigestReturnsOnCall ¶ added in v0.8.0
func (*FakeImpl) EnvDefaultArgsForCall ¶
func (*FakeImpl) EnvDefaultCallCount ¶
func (*FakeImpl) EnvDefaultCalls ¶
func (*FakeImpl) EnvDefaultReturns ¶
func (*FakeImpl) EnvDefaultReturnsOnCall ¶
func (*FakeImpl) FileExists ¶
func (*FakeImpl) FileExistsArgsForCall ¶
func (*FakeImpl) FileExistsCallCount ¶
func (*FakeImpl) FileExistsCalls ¶
func (*FakeImpl) FileExistsReturns ¶
func (*FakeImpl) FileExistsReturnsOnCall ¶
func (*FakeImpl) FindTlogEntry ¶ added in v0.10.2
func (*FakeImpl) FindTlogEntryArgsForCall ¶ added in v0.10.2
func (*FakeImpl) FindTlogEntryCallCount ¶ added in v0.10.2
func (*FakeImpl) FindTlogEntryCalls ¶ added in v0.10.2
func (*FakeImpl) FindTlogEntryReturns ¶ added in v0.10.2
func (fake *FakeImpl) FindTlogEntryReturns(result1 []models.LogEntryAnon, result2 error)
func (*FakeImpl) FindTlogEntryReturnsOnCall ¶ added in v0.10.2
func (fake *FakeImpl) FindTlogEntryReturnsOnCall(i int, result1 []models.LogEntryAnon, result2 error)
func (*FakeImpl) ImagesSigned ¶ added in v0.9.4
func (*FakeImpl) ImagesSignedArgsForCall ¶ added in v0.9.4
func (*FakeImpl) ImagesSignedCallCount ¶ added in v0.9.4
func (*FakeImpl) ImagesSignedCalls ¶ added in v0.9.4
func (*FakeImpl) ImagesSignedReturns ¶ added in v0.9.4
func (*FakeImpl) ImagesSignedReturnsOnCall ¶ added in v0.9.4
func (*FakeImpl) Invocations ¶
func (*FakeImpl) NewRekorClient ¶ added in v0.9.2
func (*FakeImpl) NewRekorClientArgsForCall ¶ added in v0.9.2
func (*FakeImpl) NewRekorClientCallCount ¶ added in v0.9.2
func (*FakeImpl) NewRekorClientCalls ¶ added in v0.9.2
func (*FakeImpl) NewRekorClientReturns ¶ added in v0.9.2
func (*FakeImpl) NewRekorClientReturnsOnCall ¶ added in v0.9.2
func (*FakeImpl) NewWithContext ¶ added in v0.9.4
func (fake *FakeImpl) NewWithContext(arg1 context.Context, arg2 name.Registry, arg3 authn.Authenticator, arg4 http.RoundTripper, arg5 []string) (http.RoundTripper, error)
func (*FakeImpl) NewWithContextArgsForCall ¶ added in v0.9.4
func (*FakeImpl) NewWithContextCallCount ¶ added in v0.9.4
func (*FakeImpl) NewWithContextCalls ¶ added in v0.9.4
func (fake *FakeImpl) NewWithContextCalls(stub func(context.Context, name.Registry, authn.Authenticator, http.RoundTripper, []string) (http.RoundTripper, error))
func (*FakeImpl) NewWithContextReturns ¶ added in v0.9.4
func (fake *FakeImpl) NewWithContextReturns(result1 http.RoundTripper, result2 error)
func (*FakeImpl) NewWithContextReturnsOnCall ¶ added in v0.9.4
func (fake *FakeImpl) NewWithContextReturnsOnCall(i int, result1 http.RoundTripper, result2 error)
func (*FakeImpl) ParseReference ¶
func (*FakeImpl) ParseReferenceArgsForCall ¶
func (*FakeImpl) ParseReferenceCallCount ¶
func (*FakeImpl) ParseReferenceCalls ¶
func (*FakeImpl) ParseReferenceReturns ¶
func (*FakeImpl) ParseReferenceReturnsOnCall ¶
func (*FakeImpl) PayloadBytes ¶ added in v0.9.2
func (*FakeImpl) PayloadBytesArgsForCall ¶ added in v0.9.2
func (*FakeImpl) PayloadBytesCallCount ¶ added in v0.9.2
func (*FakeImpl) PayloadBytesCalls ¶ added in v0.9.2
func (*FakeImpl) PayloadBytesReturns ¶ added in v0.9.2
func (*FakeImpl) PayloadBytesReturnsOnCall ¶ added in v0.9.2
func (*FakeImpl) SetenvArgsForCall ¶
func (*FakeImpl) SetenvCallCount ¶
func (*FakeImpl) SetenvReturns ¶
func (*FakeImpl) SetenvReturnsOnCall ¶
func (*FakeImpl) SignFileInternal ¶ added in v0.8.0
func (*FakeImpl) SignFileInternalArgsForCall ¶ added in v0.8.0
func (*FakeImpl) SignFileInternalCallCount ¶ added in v0.8.0
func (*FakeImpl) SignFileInternalCalls ¶ added in v0.8.0
func (*FakeImpl) SignFileInternalReturns ¶ added in v0.8.0
func (*FakeImpl) SignFileInternalReturnsOnCall ¶ added in v0.8.0
func (*FakeImpl) SignImageInternal ¶
func (fake *FakeImpl) SignImageInternal(arg1 options.RootOptions, arg2 options.KeyOpts, arg3 options.SignOptions, arg4 []string) error
func (*FakeImpl) SignImageInternalArgsForCall ¶
func (fake *FakeImpl) SignImageInternalArgsForCall(i int) (options.RootOptions, options.KeyOpts, options.SignOptions, []string)
func (*FakeImpl) SignImageInternalCallCount ¶
func (*FakeImpl) SignImageInternalCalls ¶
func (fake *FakeImpl) SignImageInternalCalls(stub func(options.RootOptions, options.KeyOpts, options.SignOptions, []string) error)
func (*FakeImpl) SignImageInternalReturns ¶
func (*FakeImpl) SignImageInternalReturnsOnCall ¶
func (*FakeImpl) TokenFromProviders ¶
func (*FakeImpl) TokenFromProvidersArgsForCall ¶
func (*FakeImpl) TokenFromProvidersCallCount ¶
func (*FakeImpl) TokenFromProvidersCalls ¶
func (*FakeImpl) TokenFromProvidersReturns ¶
func (*FakeImpl) TokenFromProvidersReturnsOnCall ¶
func (*FakeImpl) VerifyFileInternal ¶
func (*FakeImpl) VerifyFileInternalArgsForCall ¶
func (*FakeImpl) VerifyFileInternalCallCount ¶
func (*FakeImpl) VerifyFileInternalCalls ¶
func (*FakeImpl) VerifyFileInternalReturns ¶
func (*FakeImpl) VerifyFileInternalReturnsOnCall ¶
func (*FakeImpl) VerifyImageInternal ¶
func (*FakeImpl) VerifyImageInternalArgsForCall ¶
func (*FakeImpl) VerifyImageInternalCallCount ¶
func (*FakeImpl) VerifyImageInternalCalls ¶
func (*FakeImpl) VerifyImageInternalReturns ¶
func (fake *FakeImpl) VerifyImageInternalReturns(result1 *sign.SignedObject, result2 error)
func (*FakeImpl) VerifyImageInternalReturnsOnCall ¶
func (fake *FakeImpl) VerifyImageInternalReturnsOnCall(i int, result1 *sign.SignedObject, result2 error)
Click to show internal directories.
Click to hide internal directories.