Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeImpl
- func (fake *FakeImpl) ClientSecret(arg1 options.OIDCOptions) (string, error)
- func (fake *FakeImpl) ClientSecretArgsForCall(i int) options.OIDCOptions
- func (fake *FakeImpl) ClientSecretCallCount() int
- func (fake *FakeImpl) ClientSecretCalls(stub func(options.OIDCOptions) (string, error))
- func (fake *FakeImpl) ClientSecretReturns(result1 string, result2 error)
- func (fake *FakeImpl) ClientSecretReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) Copy(arg1 context.Context, arg2 oras.ReadOnlyTarget, arg3 string, arg4 oras.Target, ...) (v1.Descriptor, error)
- func (fake *FakeImpl) CopyArgsForCall(i int) (context.Context, oras.ReadOnlyTarget, string, oras.Target, string, ...)
- func (fake *FakeImpl) CopyCallCount() int
- func (fake *FakeImpl) CopyCalls(...)
- func (fake *FakeImpl) CopyReturns(result1 v1.Descriptor, result2 error)
- func (fake *FakeImpl) CopyReturnsOnCall(i int, result1 v1.Descriptor, result2 error)
- func (fake *FakeImpl) FileClose(arg1 *file.Store) error
- func (fake *FakeImpl) FileCloseArgsForCall(i int) *file.Store
- func (fake *FakeImpl) FileCloseCallCount() int
- func (fake *FakeImpl) FileCloseCalls(stub func(*file.Store) error)
- func (fake *FakeImpl) FileCloseReturns(result1 error)
- func (fake *FakeImpl) FileCloseReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) FileNew(arg1 string) (*file.Store, error)
- func (fake *FakeImpl) FileNewArgsForCall(i int) string
- func (fake *FakeImpl) FileNewCallCount() int
- func (fake *FakeImpl) FileNewCalls(stub func(string) (*file.Store, error))
- func (fake *FakeImpl) FileNewReturns(result1 *file.Store, result2 error)
- func (fake *FakeImpl) FileNewReturnsOnCall(i int, result1 *file.Store, result2 error)
- func (fake *FakeImpl) FilepathAbs(arg1 string) (string, error)
- func (fake *FakeImpl) FilepathAbsArgsForCall(i int) string
- func (fake *FakeImpl) FilepathAbsCallCount() int
- func (fake *FakeImpl) FilepathAbsCalls(stub func(string) (string, error))
- func (fake *FakeImpl) FilepathAbsReturns(result1 string, result2 error)
- func (fake *FakeImpl) FilepathAbsReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) Invocations() map[string][][]interface{}
- func (fake *FakeImpl) MkdirTemp(arg1 string, arg2 string) (string, error)
- func (fake *FakeImpl) MkdirTempArgsForCall(i int) (string, string)
- func (fake *FakeImpl) MkdirTempCallCount() int
- func (fake *FakeImpl) MkdirTempCalls(stub func(string, string) (string, error))
- func (fake *FakeImpl) MkdirTempReturns(result1 string, result2 error)
- func (fake *FakeImpl) MkdirTempReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeImpl) NewRepository(arg1 string) (*remote.Repository, error)
- func (fake *FakeImpl) NewRepositoryArgsForCall(i int) string
- func (fake *FakeImpl) NewRepositoryCallCount() int
- func (fake *FakeImpl) NewRepositoryCalls(stub func(string) (*remote.Repository, error))
- func (fake *FakeImpl) NewRepositoryReturns(result1 *remote.Repository, result2 error)
- func (fake *FakeImpl) NewRepositoryReturnsOnCall(i int, result1 *remote.Repository, result2 error)
- func (fake *FakeImpl) PackManifest(arg1 context.Context, arg2 content.Pusher, arg3 oras.PackManifestVersion, ...) (v1.Descriptor, error)
- func (fake *FakeImpl) PackManifestArgsForCall(i int) (context.Context, content.Pusher, oras.PackManifestVersion, string, ...)
- func (fake *FakeImpl) PackManifestCallCount() int
- func (fake *FakeImpl) PackManifestCalls(...)
- func (fake *FakeImpl) PackManifestReturns(result1 v1.Descriptor, result2 error)
- func (fake *FakeImpl) PackManifestReturnsOnCall(i int, result1 v1.Descriptor, 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) ReadFile(arg1 string) ([]byte, error)
- func (fake *FakeImpl) ReadFileArgsForCall(i int) string
- func (fake *FakeImpl) ReadFileCallCount() int
- func (fake *FakeImpl) ReadFileCalls(stub func(string) ([]byte, error))
- func (fake *FakeImpl) ReadFileReturns(result1 []byte, result2 error)
- func (fake *FakeImpl) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeImpl) ReadProfile(arg1 []byte) (client.Object, error)
- func (fake *FakeImpl) ReadProfileArgsForCall(i int) []byte
- func (fake *FakeImpl) ReadProfileCallCount() int
- func (fake *FakeImpl) ReadProfileCalls(stub func([]byte) (client.Object, error))
- func (fake *FakeImpl) ReadProfileReturns(result1 client.Object, result2 error)
- func (fake *FakeImpl) ReadProfileReturnsOnCall(i int, result1 client.Object, result2 error)
- func (fake *FakeImpl) RemoveAll(arg1 string) error
- func (fake *FakeImpl) RemoveAllArgsForCall(i int) string
- func (fake *FakeImpl) RemoveAllCallCount() int
- func (fake *FakeImpl) RemoveAllCalls(stub func(string) error)
- func (fake *FakeImpl) RemoveAllReturns(result1 error)
- func (fake *FakeImpl) RemoveAllReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) SignCmd(arg1 *options.RootOptions, arg2 options.KeyOpts, arg3 options.SignOptions, ...) error
- func (fake *FakeImpl) SignCmdArgsForCall(i int) (*options.RootOptions, options.KeyOpts, options.SignOptions, []string)
- func (fake *FakeImpl) SignCmdCallCount() int
- func (fake *FakeImpl) SignCmdCalls(...)
- func (fake *FakeImpl) SignCmdReturns(result1 error)
- func (fake *FakeImpl) SignCmdReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) StoreAdd(arg1 context.Context, arg2 *file.Store, arg3 string, arg4 string, arg5 string) (v1.Descriptor, error)
- func (fake *FakeImpl) StoreAddArgsForCall(i int) (context.Context, *file.Store, string, string, string)
- func (fake *FakeImpl) StoreAddCallCount() int
- func (fake *FakeImpl) StoreAddCalls(...)
- func (fake *FakeImpl) StoreAddReturns(result1 v1.Descriptor, result2 error)
- func (fake *FakeImpl) StoreAddReturnsOnCall(i int, result1 v1.Descriptor, result2 error)
- func (fake *FakeImpl) StoreTag(arg1 context.Context, arg2 *file.Store, arg3 v1.Descriptor, arg4 string) error
- func (fake *FakeImpl) StoreTagArgsForCall(i int) (context.Context, *file.Store, v1.Descriptor, string)
- func (fake *FakeImpl) StoreTagCallCount() int
- func (fake *FakeImpl) StoreTagCalls(stub func(context.Context, *file.Store, v1.Descriptor, string) error)
- func (fake *FakeImpl) StoreTagReturns(result1 error)
- func (fake *FakeImpl) StoreTagReturnsOnCall(i int, result1 error)
- func (fake *FakeImpl) VerifyCmd(arg1 context.Context, arg2 verify.VerifyCommand, arg3 string) error
- func (fake *FakeImpl) VerifyCmdArgsForCall(i int) (context.Context, verify.VerifyCommand, string)
- func (fake *FakeImpl) VerifyCmdCallCount() int
- func (fake *FakeImpl) VerifyCmdCalls(stub func(context.Context, verify.VerifyCommand, string) error)
- func (fake *FakeImpl) VerifyCmdReturns(result1 error)
- func (fake *FakeImpl) VerifyCmdReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeImpl ¶
type FakeImpl struct { ClientSecretStub func(options.OIDCOptions) (string, error) CopyStub func(context.Context, oras.ReadOnlyTarget, string, oras.Target, string, oras.CopyOptions) (v1.Descriptor, error) FileCloseStub func(*file.Store) error FileNewStub func(string) (*file.Store, error) FilepathAbsStub func(string) (string, error) MkdirTempStub func(string, string) (string, error) NewRepositoryStub func(string) (*remote.Repository, error) PackManifestStub func(context.Context, content.Pusher, oras.PackManifestVersion, string, oras.PackManifestOptions) (v1.Descriptor, error) ParseReferenceStub func(string, ...name.Option) (name.Reference, error) ReadFileStub func(string) ([]byte, error) ReadProfileStub func([]byte) (client.Object, error) RemoveAllStub func(string) error SignCmdStub func(*options.RootOptions, options.KeyOpts, options.SignOptions, []string) error StoreAddStub func(context.Context, *file.Store, string, string, string) (v1.Descriptor, error) StoreTagStub func(context.Context, *file.Store, v1.Descriptor, string) error VerifyCmdStub func(context.Context, verify.VerifyCommand, string) error // contains filtered or unexported fields }
func (*FakeImpl) ClientSecret ¶
func (fake *FakeImpl) ClientSecret(arg1 options.OIDCOptions) (string, error)
func (*FakeImpl) ClientSecretArgsForCall ¶
func (fake *FakeImpl) ClientSecretArgsForCall(i int) options.OIDCOptions
func (*FakeImpl) ClientSecretCallCount ¶
func (*FakeImpl) ClientSecretCalls ¶
func (fake *FakeImpl) ClientSecretCalls(stub func(options.OIDCOptions) (string, error))
func (*FakeImpl) ClientSecretReturns ¶
func (*FakeImpl) ClientSecretReturnsOnCall ¶
func (*FakeImpl) Copy ¶
func (fake *FakeImpl) Copy(arg1 context.Context, arg2 oras.ReadOnlyTarget, arg3 string, arg4 oras.Target, arg5 string, arg6 oras.CopyOptions) (v1.Descriptor, error)
func (*FakeImpl) CopyArgsForCall ¶
func (*FakeImpl) CopyCallCount ¶
func (*FakeImpl) CopyCalls ¶
func (fake *FakeImpl) CopyCalls(stub func(context.Context, oras.ReadOnlyTarget, string, oras.Target, string, oras.CopyOptions) (v1.Descriptor, error))
func (*FakeImpl) CopyReturns ¶
func (fake *FakeImpl) CopyReturns(result1 v1.Descriptor, result2 error)
func (*FakeImpl) CopyReturnsOnCall ¶
func (fake *FakeImpl) CopyReturnsOnCall(i int, result1 v1.Descriptor, result2 error)
func (*FakeImpl) FileCloseArgsForCall ¶
func (*FakeImpl) FileCloseCallCount ¶
func (*FakeImpl) FileCloseCalls ¶
func (*FakeImpl) FileCloseReturns ¶
func (*FakeImpl) FileCloseReturnsOnCall ¶
func (*FakeImpl) FileNewArgsForCall ¶
func (*FakeImpl) FileNewCallCount ¶
func (*FakeImpl) FileNewCalls ¶
func (*FakeImpl) FileNewReturns ¶
func (*FakeImpl) FileNewReturnsOnCall ¶
func (*FakeImpl) FilepathAbsArgsForCall ¶
func (*FakeImpl) FilepathAbsCallCount ¶
func (*FakeImpl) FilepathAbsCalls ¶
func (*FakeImpl) FilepathAbsReturns ¶
func (*FakeImpl) FilepathAbsReturnsOnCall ¶
func (*FakeImpl) Invocations ¶
func (*FakeImpl) MkdirTempArgsForCall ¶
func (*FakeImpl) MkdirTempCallCount ¶
func (*FakeImpl) MkdirTempCalls ¶
func (*FakeImpl) MkdirTempReturns ¶
func (*FakeImpl) MkdirTempReturnsOnCall ¶
func (*FakeImpl) NewRepository ¶
func (fake *FakeImpl) NewRepository(arg1 string) (*remote.Repository, error)
func (*FakeImpl) NewRepositoryArgsForCall ¶
func (*FakeImpl) NewRepositoryCallCount ¶
func (*FakeImpl) NewRepositoryCalls ¶
func (fake *FakeImpl) NewRepositoryCalls(stub func(string) (*remote.Repository, error))
func (*FakeImpl) NewRepositoryReturns ¶
func (fake *FakeImpl) NewRepositoryReturns(result1 *remote.Repository, result2 error)
func (*FakeImpl) NewRepositoryReturnsOnCall ¶
func (fake *FakeImpl) NewRepositoryReturnsOnCall(i int, result1 *remote.Repository, result2 error)
func (*FakeImpl) PackManifest ¶ added in v0.8.1
func (fake *FakeImpl) PackManifest(arg1 context.Context, arg2 content.Pusher, arg3 oras.PackManifestVersion, arg4 string, arg5 oras.PackManifestOptions) (v1.Descriptor, error)
func (*FakeImpl) PackManifestArgsForCall ¶ added in v0.8.1
func (*FakeImpl) PackManifestCallCount ¶ added in v0.8.1
func (*FakeImpl) PackManifestCalls ¶ added in v0.8.1
func (fake *FakeImpl) PackManifestCalls(stub func(context.Context, content.Pusher, oras.PackManifestVersion, string, oras.PackManifestOptions) (v1.Descriptor, error))
func (*FakeImpl) PackManifestReturns ¶ added in v0.8.1
func (fake *FakeImpl) PackManifestReturns(result1 v1.Descriptor, result2 error)
func (*FakeImpl) PackManifestReturnsOnCall ¶ added in v0.8.1
func (fake *FakeImpl) PackManifestReturnsOnCall(i int, result1 v1.Descriptor, result2 error)
func (*FakeImpl) ParseReference ¶
func (*FakeImpl) ParseReferenceArgsForCall ¶
func (*FakeImpl) ParseReferenceCallCount ¶
func (*FakeImpl) ParseReferenceCalls ¶
func (*FakeImpl) ParseReferenceReturns ¶
func (*FakeImpl) ParseReferenceReturnsOnCall ¶
func (*FakeImpl) ReadFileArgsForCall ¶
func (*FakeImpl) ReadFileCallCount ¶
func (*FakeImpl) ReadFileCalls ¶
func (*FakeImpl) ReadFileReturns ¶
func (*FakeImpl) ReadFileReturnsOnCall ¶
func (*FakeImpl) ReadProfile ¶ added in v0.8.4
func (*FakeImpl) ReadProfileArgsForCall ¶ added in v0.8.4
func (*FakeImpl) ReadProfileCallCount ¶ added in v0.8.4
func (*FakeImpl) ReadProfileCalls ¶ added in v0.8.4
func (*FakeImpl) ReadProfileReturns ¶ added in v0.8.4
func (*FakeImpl) ReadProfileReturnsOnCall ¶ added in v0.8.4
func (*FakeImpl) RemoveAllArgsForCall ¶
func (*FakeImpl) RemoveAllCallCount ¶
func (*FakeImpl) RemoveAllCalls ¶
func (*FakeImpl) RemoveAllReturns ¶
func (*FakeImpl) RemoveAllReturnsOnCall ¶
func (*FakeImpl) SignCmd ¶
func (fake *FakeImpl) SignCmd(arg1 *options.RootOptions, arg2 options.KeyOpts, arg3 options.SignOptions, arg4 []string) error
func (*FakeImpl) SignCmdArgsForCall ¶
func (fake *FakeImpl) SignCmdArgsForCall(i int) (*options.RootOptions, options.KeyOpts, options.SignOptions, []string)
func (*FakeImpl) SignCmdCallCount ¶
func (*FakeImpl) SignCmdCalls ¶
func (fake *FakeImpl) SignCmdCalls(stub func(*options.RootOptions, options.KeyOpts, options.SignOptions, []string) error)
func (*FakeImpl) SignCmdReturns ¶
func (*FakeImpl) SignCmdReturnsOnCall ¶
func (*FakeImpl) StoreAddArgsForCall ¶
func (*FakeImpl) StoreAddCallCount ¶
func (*FakeImpl) StoreAddCalls ¶
func (*FakeImpl) StoreAddReturns ¶
func (fake *FakeImpl) StoreAddReturns(result1 v1.Descriptor, result2 error)
func (*FakeImpl) StoreAddReturnsOnCall ¶
func (fake *FakeImpl) StoreAddReturnsOnCall(i int, result1 v1.Descriptor, result2 error)
func (*FakeImpl) StoreTagArgsForCall ¶
func (*FakeImpl) StoreTagCallCount ¶
func (*FakeImpl) StoreTagCalls ¶
func (*FakeImpl) StoreTagReturns ¶
func (*FakeImpl) StoreTagReturnsOnCall ¶
func (*FakeImpl) VerifyCmdArgsForCall ¶
func (*FakeImpl) VerifyCmdCallCount ¶
func (*FakeImpl) VerifyCmdCalls ¶
func (*FakeImpl) VerifyCmdReturns ¶
func (*FakeImpl) VerifyCmdReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.