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) FindTLogEntriesByPayload(arg1 context.Context, arg2 *client.Rekor, arg3 []byte) ([]string, error)
- func (fake *FakeImpl) FindTLogEntriesByPayloadArgsForCall(i int) (context.Context, *client.Rekor, []byte)
- func (fake *FakeImpl) FindTLogEntriesByPayloadCallCount() int
- func (fake *FakeImpl) FindTLogEntriesByPayloadCalls(stub func(context.Context, *client.Rekor, []byte) ([]string, error))
- func (fake *FakeImpl) FindTLogEntriesByPayloadReturns(result1 []string, result2 error)
- func (fake *FakeImpl) FindTLogEntriesByPayloadReturnsOnCall(i int, result1 []string, 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) 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 options.RegistryOptions, ...) error
- func (fake *FakeImpl) SignFileInternalArgsForCall(i int) (options.RootOptions, options.KeyOpts, options.RegistryOptions, 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.RegistryOptions, ...) error
- func (fake *FakeImpl) SignImageInternalArgsForCall(i int) (options.RootOptions, options.KeyOpts, options.RegistryOptions, ...)
- 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) Signatures(arg1 oci.SignedEntity) (oci.Signatures, error)
- func (fake *FakeImpl) SignaturesArgsForCall(i int) oci.SignedEntity
- func (fake *FakeImpl) SignaturesCallCount() int
- func (fake *FakeImpl) SignaturesCalls(stub func(oci.SignedEntity) (oci.Signatures, error))
- func (fake *FakeImpl) SignaturesList(arg1 oci.Signatures) ([]oci.Signature, error)
- func (fake *FakeImpl) SignaturesListArgsForCall(i int) oci.Signatures
- func (fake *FakeImpl) SignaturesListCallCount() int
- func (fake *FakeImpl) SignaturesListCalls(stub func(oci.Signatures) ([]oci.Signature, error))
- func (fake *FakeImpl) SignaturesListReturns(result1 []oci.Signature, result2 error)
- func (fake *FakeImpl) SignaturesListReturnsOnCall(i int, result1 []oci.Signature, result2 error)
- func (fake *FakeImpl) SignaturesReturns(result1 oci.Signatures, result2 error)
- func (fake *FakeImpl) SignaturesReturnsOnCall(i int, result1 oci.Signatures, result2 error)
- func (fake *FakeImpl) SignedEntity(arg1 name.Reference, arg2 ...remote.Option) (oci.SignedEntity, error)
- func (fake *FakeImpl) SignedEntityArgsForCall(i int) (name.Reference, []remote.Option)
- func (fake *FakeImpl) SignedEntityCallCount() int
- func (fake *FakeImpl) SignedEntityCalls(stub func(name.Reference, ...remote.Option) (oci.SignedEntity, error))
- func (fake *FakeImpl) SignedEntityReturns(result1 oci.SignedEntity, result2 error)
- func (fake *FakeImpl) SignedEntityReturnsOnCall(i int, result1 oci.SignedEntity, result2 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 string, arg4 string, ...) error
- func (fake *FakeImpl) VerifyFileInternalArgsForCall(i int) (context.Context, options.KeyOpts, string, string, string)
- func (fake *FakeImpl) VerifyFileInternalCallCount() int
- func (fake *FakeImpl) VerifyFileInternalCalls(stub func(context.Context, options.KeyOpts, string, string, string) error)
- func (fake *FakeImpl) VerifyFileInternalReturns(result1 error)
- func (fake *FakeImpl) VerifyFileInternalReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) VerifyImageInternal(arg1 context.Context, arg2 string, arg3 []string) (*sign.SignedObject, error)
- func (fake *FakeImpl) VerifyImageInternalArgsForCall(i int) (context.Context, string, []string)
- func (fake *FakeImpl) VerifyImageInternalCallCount() int
- func (fake *FakeImpl) VerifyImageInternalCalls(stub func(context.Context, string, []string) (*sign.SignedObject, error))
- 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 FindTLogEntriesByPayloadStub func(context.Context, *client.Rekor, []byte) ([]string, error) NewRekorClientStub func(string) (*client.Rekor, 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, options.RegistryOptions, string, bool, string, string) error SignImageInternalStub func(options.RootOptions, options.KeyOpts, options.RegistryOptions, map[string]interface{}, []string, string, bool, string, string, string, bool, bool, string, bool) error SignaturesStub func(oci.SignedEntity) (oci.Signatures, error) SignaturesListStub func(oci.Signatures) ([]oci.Signature, error) SignedEntityStub func(name.Reference, ...remote.Option) (oci.SignedEntity, error) TokenFromProvidersStub func(context.Context, *logrus.Logger) (string, error) VerifyFileInternalStub func(context.Context, options.KeyOpts, string, string, string) error VerifyImageInternalStub func(context.Context, string, []string) (*sign.SignedObject, error) // contains filtered or unexported fields }
func (*FakeImpl) DigestArgsForCall ¶
func (*FakeImpl) DigestCallCount ¶
func (*FakeImpl) DigestCalls ¶
func (*FakeImpl) DigestReturns ¶
func (*FakeImpl) DigestReturnsOnCall ¶
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) FindTLogEntriesByPayload ¶
func (*FakeImpl) FindTLogEntriesByPayloadArgsForCall ¶
func (*FakeImpl) FindTLogEntriesByPayloadCallCount ¶
func (*FakeImpl) FindTLogEntriesByPayloadCalls ¶
func (*FakeImpl) FindTLogEntriesByPayloadReturns ¶
func (*FakeImpl) FindTLogEntriesByPayloadReturnsOnCall ¶
func (*FakeImpl) Invocations ¶
func (*FakeImpl) NewRekorClient ¶
func (*FakeImpl) NewRekorClientArgsForCall ¶
func (*FakeImpl) NewRekorClientCallCount ¶
func (*FakeImpl) NewRekorClientCalls ¶
func (*FakeImpl) NewRekorClientReturns ¶
func (*FakeImpl) NewRekorClientReturnsOnCall ¶
func (*FakeImpl) ParseReference ¶
func (*FakeImpl) ParseReferenceArgsForCall ¶
func (*FakeImpl) ParseReferenceCallCount ¶
func (*FakeImpl) ParseReferenceCalls ¶
func (*FakeImpl) ParseReferenceReturns ¶
func (*FakeImpl) ParseReferenceReturnsOnCall ¶
func (*FakeImpl) PayloadBytesArgsForCall ¶
func (*FakeImpl) PayloadBytesCallCount ¶
func (*FakeImpl) PayloadBytesCalls ¶
func (*FakeImpl) PayloadBytesReturns ¶
func (*FakeImpl) PayloadBytesReturnsOnCall ¶
func (*FakeImpl) SetenvArgsForCall ¶
func (*FakeImpl) SetenvCallCount ¶
func (*FakeImpl) SetenvReturns ¶
func (*FakeImpl) SetenvReturnsOnCall ¶
func (*FakeImpl) SignFileInternal ¶
func (*FakeImpl) SignFileInternalArgsForCall ¶
func (*FakeImpl) SignFileInternalCallCount ¶
func (*FakeImpl) SignFileInternalCalls ¶
func (*FakeImpl) SignFileInternalReturns ¶
func (*FakeImpl) SignFileInternalReturnsOnCall ¶
func (*FakeImpl) SignImageInternal ¶
func (*FakeImpl) SignImageInternalArgsForCall ¶
func (*FakeImpl) SignImageInternalCallCount ¶
func (*FakeImpl) SignImageInternalCalls ¶
func (*FakeImpl) SignImageInternalReturns ¶
func (*FakeImpl) SignImageInternalReturnsOnCall ¶
func (*FakeImpl) Signatures ¶
func (fake *FakeImpl) Signatures(arg1 oci.SignedEntity) (oci.Signatures, error)
func (*FakeImpl) SignaturesArgsForCall ¶
func (fake *FakeImpl) SignaturesArgsForCall(i int) oci.SignedEntity
func (*FakeImpl) SignaturesCallCount ¶
func (*FakeImpl) SignaturesCalls ¶
func (fake *FakeImpl) SignaturesCalls(stub func(oci.SignedEntity) (oci.Signatures, error))
func (*FakeImpl) SignaturesList ¶
func (*FakeImpl) SignaturesListArgsForCall ¶
func (fake *FakeImpl) SignaturesListArgsForCall(i int) oci.Signatures
func (*FakeImpl) SignaturesListCallCount ¶
func (*FakeImpl) SignaturesListCalls ¶
func (*FakeImpl) SignaturesListReturns ¶
func (*FakeImpl) SignaturesListReturnsOnCall ¶
func (*FakeImpl) SignaturesReturns ¶
func (fake *FakeImpl) SignaturesReturns(result1 oci.Signatures, result2 error)
func (*FakeImpl) SignaturesReturnsOnCall ¶
func (fake *FakeImpl) SignaturesReturnsOnCall(i int, result1 oci.Signatures, result2 error)
func (*FakeImpl) SignedEntity ¶
func (*FakeImpl) SignedEntityArgsForCall ¶
func (*FakeImpl) SignedEntityCallCount ¶
func (*FakeImpl) SignedEntityCalls ¶
func (*FakeImpl) SignedEntityReturns ¶
func (fake *FakeImpl) SignedEntityReturns(result1 oci.SignedEntity, result2 error)
func (*FakeImpl) SignedEntityReturnsOnCall ¶
func (fake *FakeImpl) SignedEntityReturnsOnCall(i int, result1 oci.SignedEntity, result2 error)
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.