Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDownloaderImplementation
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchive(arg1 string) ([]byte, error)
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveArgsForCall(i int) string
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveCallCount() int
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveCalls(stub func(string) ([]byte, error))
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveReturns(result1 []byte, result2 error)
- func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeDownloaderImplementation) GetLatestTag() (string, error)
- func (fake *FakeDownloaderImplementation) GetLatestTagCallCount() int
- func (fake *FakeDownloaderImplementation) GetLatestTagCalls(stub func() (string, error))
- func (fake *FakeDownloaderImplementation) GetLatestTagReturns(result1 string, result2 error)
- func (fake *FakeDownloaderImplementation) GetLatestTagReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeDownloaderImplementation) GetLicenses(arg1 string) (*license.List, error)
- func (fake *FakeDownloaderImplementation) GetLicensesArgsForCall(i int) string
- func (fake *FakeDownloaderImplementation) GetLicensesCallCount() int
- func (fake *FakeDownloaderImplementation) GetLicensesCalls(stub func(string) (*license.List, error))
- func (fake *FakeDownloaderImplementation) GetLicensesReturns(result1 *license.List, result2 error)
- func (fake *FakeDownloaderImplementation) GetLicensesReturnsOnCall(i int, result1 *license.List, result2 error)
- func (fake *FakeDownloaderImplementation) Invocations() map[string][][]interface{}
- func (fake *FakeDownloaderImplementation) SetOptions(arg1 *license.DownloaderOptions)
- func (fake *FakeDownloaderImplementation) SetOptionsArgsForCall(i int) *license.DownloaderOptions
- func (fake *FakeDownloaderImplementation) SetOptionsCallCount() int
- func (fake *FakeDownloaderImplementation) SetOptionsCalls(stub func(*license.DownloaderOptions))
- func (fake *FakeDownloaderImplementation) Version() string
- func (fake *FakeDownloaderImplementation) VersionCallCount() int
- func (fake *FakeDownloaderImplementation) VersionCalls(stub func() string)
- func (fake *FakeDownloaderImplementation) VersionReturns(result1 string)
- func (fake *FakeDownloaderImplementation) VersionReturnsOnCall(i int, result1 string)
- type FakeReaderImplementation
- func (fake *FakeReaderImplementation) ClassifyFile(arg1 string) (string, []string, error)
- func (fake *FakeReaderImplementation) ClassifyFileArgsForCall(i int) string
- func (fake *FakeReaderImplementation) ClassifyFileCallCount() int
- func (fake *FakeReaderImplementation) ClassifyFileCalls(stub func(string) (string, []string, error))
- func (fake *FakeReaderImplementation) ClassifyFileReturns(result1 string, result2 []string, result3 error)
- func (fake *FakeReaderImplementation) ClassifyFileReturnsOnCall(i int, result1 string, result2 []string, result3 error)
- func (fake *FakeReaderImplementation) ClassifyLicenseFiles(arg1 []string) ([]*license.ClassifyResult, []string, error)
- func (fake *FakeReaderImplementation) ClassifyLicenseFilesArgsForCall(i int) []string
- func (fake *FakeReaderImplementation) ClassifyLicenseFilesCallCount() int
- func (fake *FakeReaderImplementation) ClassifyLicenseFilesCalls(stub func([]string) ([]*license.ClassifyResult, []string, error))
- func (fake *FakeReaderImplementation) ClassifyLicenseFilesReturns(result1 []*license.ClassifyResult, result2 []string, result3 error)
- func (fake *FakeReaderImplementation) ClassifyLicenseFilesReturnsOnCall(i int, result1 []*license.ClassifyResult, result2 []string, result3 error)
- func (fake *FakeReaderImplementation) FindLicenseFiles(arg1 string) ([]string, error)
- func (fake *FakeReaderImplementation) FindLicenseFilesArgsForCall(i int) string
- func (fake *FakeReaderImplementation) FindLicenseFilesCallCount() int
- func (fake *FakeReaderImplementation) FindLicenseFilesCalls(stub func(string) ([]string, error))
- func (fake *FakeReaderImplementation) FindLicenseFilesReturns(result1 []string, result2 error)
- func (fake *FakeReaderImplementation) FindLicenseFilesReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *FakeReaderImplementation) Initialize(arg1 *license.ReaderOptions) error
- func (fake *FakeReaderImplementation) InitializeArgsForCall(i int) *license.ReaderOptions
- func (fake *FakeReaderImplementation) InitializeCallCount() int
- func (fake *FakeReaderImplementation) InitializeCalls(stub func(*license.ReaderOptions) error)
- func (fake *FakeReaderImplementation) InitializeReturns(result1 error)
- func (fake *FakeReaderImplementation) InitializeReturnsOnCall(i int, result1 error)
- func (fake *FakeReaderImplementation) Invocations() map[string][][]interface{}
- func (fake *FakeReaderImplementation) LicenseFromFile(arg1 string) (*license.License, error)
- func (fake *FakeReaderImplementation) LicenseFromFileArgsForCall(i int) string
- func (fake *FakeReaderImplementation) LicenseFromFileCallCount() int
- func (fake *FakeReaderImplementation) LicenseFromFileCalls(stub func(string) (*license.License, error))
- func (fake *FakeReaderImplementation) LicenseFromFileReturns(result1 *license.License, result2 error)
- func (fake *FakeReaderImplementation) LicenseFromFileReturnsOnCall(i int, result1 *license.License, result2 error)
- func (fake *FakeReaderImplementation) LicenseFromLabel(arg1 string) *license.License
- func (fake *FakeReaderImplementation) LicenseFromLabelArgsForCall(i int) string
- func (fake *FakeReaderImplementation) LicenseFromLabelCallCount() int
- func (fake *FakeReaderImplementation) LicenseFromLabelCalls(stub func(string) *license.License)
- func (fake *FakeReaderImplementation) LicenseFromLabelReturns(result1 *license.License)
- func (fake *FakeReaderImplementation) LicenseFromLabelReturnsOnCall(i int, result1 *license.License)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDownloaderImplementation ¶
type FakeDownloaderImplementation struct { DownloadLicenseArchiveStub func(string) ([]byte, error) GetLatestTagStub func() (string, error) GetLicensesStub func(string) (*license.List, error) SetOptionsStub func(*license.DownloaderOptions) VersionStub func() string // contains filtered or unexported fields }
func (*FakeDownloaderImplementation) DownloadLicenseArchive ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchive(arg1 string) ([]byte, error)
func (*FakeDownloaderImplementation) DownloadLicenseArchiveArgsForCall ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveArgsForCall(i int) string
func (*FakeDownloaderImplementation) DownloadLicenseArchiveCallCount ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveCallCount() int
func (*FakeDownloaderImplementation) DownloadLicenseArchiveCalls ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveCalls(stub func(string) ([]byte, error))
func (*FakeDownloaderImplementation) DownloadLicenseArchiveReturns ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveReturns(result1 []byte, result2 error)
func (*FakeDownloaderImplementation) DownloadLicenseArchiveReturnsOnCall ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) DownloadLicenseArchiveReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeDownloaderImplementation) GetLatestTag ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLatestTag() (string, error)
func (*FakeDownloaderImplementation) GetLatestTagCallCount ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLatestTagCallCount() int
func (*FakeDownloaderImplementation) GetLatestTagCalls ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLatestTagCalls(stub func() (string, error))
func (*FakeDownloaderImplementation) GetLatestTagReturns ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLatestTagReturns(result1 string, result2 error)
func (*FakeDownloaderImplementation) GetLatestTagReturnsOnCall ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLatestTagReturnsOnCall(i int, result1 string, result2 error)
func (*FakeDownloaderImplementation) GetLicenses ¶
func (fake *FakeDownloaderImplementation) GetLicenses(arg1 string) (*license.List, error)
func (*FakeDownloaderImplementation) GetLicensesArgsForCall ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) GetLicensesArgsForCall(i int) string
func (*FakeDownloaderImplementation) GetLicensesCallCount ¶
func (fake *FakeDownloaderImplementation) GetLicensesCallCount() int
func (*FakeDownloaderImplementation) GetLicensesCalls ¶
func (fake *FakeDownloaderImplementation) GetLicensesCalls(stub func(string) (*license.List, error))
func (*FakeDownloaderImplementation) GetLicensesReturns ¶
func (fake *FakeDownloaderImplementation) GetLicensesReturns(result1 *license.List, result2 error)
func (*FakeDownloaderImplementation) GetLicensesReturnsOnCall ¶
func (fake *FakeDownloaderImplementation) GetLicensesReturnsOnCall(i int, result1 *license.List, result2 error)
func (*FakeDownloaderImplementation) Invocations ¶
func (fake *FakeDownloaderImplementation) Invocations() map[string][][]interface{}
func (*FakeDownloaderImplementation) SetOptions ¶
func (fake *FakeDownloaderImplementation) SetOptions(arg1 *license.DownloaderOptions)
func (*FakeDownloaderImplementation) SetOptionsArgsForCall ¶
func (fake *FakeDownloaderImplementation) SetOptionsArgsForCall(i int) *license.DownloaderOptions
func (*FakeDownloaderImplementation) SetOptionsCallCount ¶
func (fake *FakeDownloaderImplementation) SetOptionsCallCount() int
func (*FakeDownloaderImplementation) SetOptionsCalls ¶
func (fake *FakeDownloaderImplementation) SetOptionsCalls(stub func(*license.DownloaderOptions))
func (*FakeDownloaderImplementation) Version ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) Version() string
func (*FakeDownloaderImplementation) VersionCallCount ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) VersionCallCount() int
func (*FakeDownloaderImplementation) VersionCalls ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) VersionCalls(stub func() string)
func (*FakeDownloaderImplementation) VersionReturns ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) VersionReturns(result1 string)
func (*FakeDownloaderImplementation) VersionReturnsOnCall ¶ added in v0.5.0
func (fake *FakeDownloaderImplementation) VersionReturnsOnCall(i int, result1 string)
type FakeReaderImplementation ¶
type FakeReaderImplementation struct { ClassifyFileStub func(string) (string, []string, error) ClassifyLicenseFilesStub func([]string) ([]*license.ClassifyResult, []string, error) FindLicenseFilesStub func(string) ([]string, error) InitializeStub func(*license.ReaderOptions) error LicenseFromFileStub func(string) (*license.License, error) LicenseFromLabelStub func(string) *license.License // contains filtered or unexported fields }
func (*FakeReaderImplementation) ClassifyFile ¶
func (fake *FakeReaderImplementation) ClassifyFile(arg1 string) (string, []string, error)
func (*FakeReaderImplementation) ClassifyFileArgsForCall ¶
func (fake *FakeReaderImplementation) ClassifyFileArgsForCall(i int) string
func (*FakeReaderImplementation) ClassifyFileCallCount ¶
func (fake *FakeReaderImplementation) ClassifyFileCallCount() int
func (*FakeReaderImplementation) ClassifyFileCalls ¶
func (fake *FakeReaderImplementation) ClassifyFileCalls(stub func(string) (string, []string, error))
func (*FakeReaderImplementation) ClassifyFileReturns ¶
func (fake *FakeReaderImplementation) ClassifyFileReturns(result1 string, result2 []string, result3 error)
func (*FakeReaderImplementation) ClassifyFileReturnsOnCall ¶
func (fake *FakeReaderImplementation) ClassifyFileReturnsOnCall(i int, result1 string, result2 []string, result3 error)
func (*FakeReaderImplementation) ClassifyLicenseFiles ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFiles(arg1 []string) ([]*license.ClassifyResult, []string, error)
func (*FakeReaderImplementation) ClassifyLicenseFilesArgsForCall ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFilesArgsForCall(i int) []string
func (*FakeReaderImplementation) ClassifyLicenseFilesCallCount ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFilesCallCount() int
func (*FakeReaderImplementation) ClassifyLicenseFilesCalls ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFilesCalls(stub func([]string) ([]*license.ClassifyResult, []string, error))
func (*FakeReaderImplementation) ClassifyLicenseFilesReturns ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFilesReturns(result1 []*license.ClassifyResult, result2 []string, result3 error)
func (*FakeReaderImplementation) ClassifyLicenseFilesReturnsOnCall ¶
func (fake *FakeReaderImplementation) ClassifyLicenseFilesReturnsOnCall(i int, result1 []*license.ClassifyResult, result2 []string, result3 error)
func (*FakeReaderImplementation) FindLicenseFiles ¶
func (fake *FakeReaderImplementation) FindLicenseFiles(arg1 string) ([]string, error)
func (*FakeReaderImplementation) FindLicenseFilesArgsForCall ¶
func (fake *FakeReaderImplementation) FindLicenseFilesArgsForCall(i int) string
func (*FakeReaderImplementation) FindLicenseFilesCallCount ¶
func (fake *FakeReaderImplementation) FindLicenseFilesCallCount() int
func (*FakeReaderImplementation) FindLicenseFilesCalls ¶
func (fake *FakeReaderImplementation) FindLicenseFilesCalls(stub func(string) ([]string, error))
func (*FakeReaderImplementation) FindLicenseFilesReturns ¶
func (fake *FakeReaderImplementation) FindLicenseFilesReturns(result1 []string, result2 error)
func (*FakeReaderImplementation) FindLicenseFilesReturnsOnCall ¶
func (fake *FakeReaderImplementation) FindLicenseFilesReturnsOnCall(i int, result1 []string, result2 error)
func (*FakeReaderImplementation) Initialize ¶
func (fake *FakeReaderImplementation) Initialize(arg1 *license.ReaderOptions) error
func (*FakeReaderImplementation) InitializeArgsForCall ¶
func (fake *FakeReaderImplementation) InitializeArgsForCall(i int) *license.ReaderOptions
func (*FakeReaderImplementation) InitializeCallCount ¶
func (fake *FakeReaderImplementation) InitializeCallCount() int
func (*FakeReaderImplementation) InitializeCalls ¶
func (fake *FakeReaderImplementation) InitializeCalls(stub func(*license.ReaderOptions) error)
func (*FakeReaderImplementation) InitializeReturns ¶
func (fake *FakeReaderImplementation) InitializeReturns(result1 error)
func (*FakeReaderImplementation) InitializeReturnsOnCall ¶
func (fake *FakeReaderImplementation) InitializeReturnsOnCall(i int, result1 error)
func (*FakeReaderImplementation) Invocations ¶
func (fake *FakeReaderImplementation) Invocations() map[string][][]interface{}
func (*FakeReaderImplementation) LicenseFromFile ¶
func (fake *FakeReaderImplementation) LicenseFromFile(arg1 string) (*license.License, error)
func (*FakeReaderImplementation) LicenseFromFileArgsForCall ¶
func (fake *FakeReaderImplementation) LicenseFromFileArgsForCall(i int) string
func (*FakeReaderImplementation) LicenseFromFileCallCount ¶
func (fake *FakeReaderImplementation) LicenseFromFileCallCount() int
func (*FakeReaderImplementation) LicenseFromFileCalls ¶
func (fake *FakeReaderImplementation) LicenseFromFileCalls(stub func(string) (*license.License, error))
func (*FakeReaderImplementation) LicenseFromFileReturns ¶
func (fake *FakeReaderImplementation) LicenseFromFileReturns(result1 *license.License, result2 error)
func (*FakeReaderImplementation) LicenseFromFileReturnsOnCall ¶
func (fake *FakeReaderImplementation) LicenseFromFileReturnsOnCall(i int, result1 *license.License, result2 error)
func (*FakeReaderImplementation) LicenseFromLabel ¶
func (fake *FakeReaderImplementation) LicenseFromLabel(arg1 string) *license.License
func (*FakeReaderImplementation) LicenseFromLabelArgsForCall ¶
func (fake *FakeReaderImplementation) LicenseFromLabelArgsForCall(i int) string
func (*FakeReaderImplementation) LicenseFromLabelCallCount ¶
func (fake *FakeReaderImplementation) LicenseFromLabelCallCount() int
func (*FakeReaderImplementation) LicenseFromLabelCalls ¶
func (fake *FakeReaderImplementation) LicenseFromLabelCalls(stub func(string) *license.License)
func (*FakeReaderImplementation) LicenseFromLabelReturns ¶
func (fake *FakeReaderImplementation) LicenseFromLabelReturns(result1 *license.License)
func (*FakeReaderImplementation) LicenseFromLabelReturnsOnCall ¶
func (fake *FakeReaderImplementation) LicenseFromLabelReturnsOnCall(i int, result1 *license.License)
Click to show internal directories.
Click to hide internal directories.