Documentation ¶
Overview ¶
Package scraper is a generated GoMock package.
Package scraper is a generated GoMock package.
Package scraper is a generated GoMock package.
Index ¶
- type ArchiveFilesystemExtractor
- type ArchiveFilesystemExtractorOpts
- type DataType
- type ExtractLoadScraper
- type Extractor
- type FileStat
- type FilesMeta
- type MinIOUploader
- type MockExtractor
- type MockExtractorMockRecorder
- type MockScraper
- type MockScraperMockRecorder
- type MockUploader
- type MockUploaderMockRecorder
- type NotifyFn
- type Object
- type ProcessFn
- type RecursiveFilesystemExtractor
- type Scraper
- type Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveFilesystemExtractor ¶ added in v1.10.34
type ArchiveFilesystemExtractor struct {
// contains filtered or unexported fields
}
func NewArchiveFilesystemExtractor ¶ added in v1.10.34
func NewArchiveFilesystemExtractor(fs filesystem.FileSystem, opts ...ArchiveFilesystemExtractorOpts) *ArchiveFilesystemExtractor
type ArchiveFilesystemExtractorOpts ¶ added in v1.10.41
type ArchiveFilesystemExtractorOpts func(*ArchiveFilesystemExtractor)
func GenerateTarballMetaFile ¶ added in v1.10.41
func GenerateTarballMetaFile() ArchiveFilesystemExtractorOpts
type ExtractLoadScraper ¶ added in v1.10.34
type ExtractLoadScraper struct {
// contains filtered or unexported fields
}
func NewExtractLoadScraper ¶ added in v1.10.34
func NewExtractLoadScraper(extractor Extractor, loader Uploader, cdeventsClient cloudevents.Client, clusterID, dashboardURI string) *ExtractLoadScraper
func (*ExtractLoadScraper) Close ¶ added in v1.10.40
func (s *ExtractLoadScraper) Close() error
type FilesMeta ¶ added in v1.10.44
type FilesMeta struct { // DataType is the type of data that is stored DataType DataType `json:"dataType"` // Files is a list of files that are stored and their original sizes Files []*FileStat `json:"files"` // Archive is the name of the archive file that contains all the files Archive string `json:"archive,omitempty"` }
type MinIOUploader ¶ added in v1.9.36
type MinIOUploader struct {
Endpoint, AccessKeyID, SecretAccessKey, Region, Token, Bucket string
// contains filtered or unexported fields
}
func NewMinIOUploader ¶ added in v1.10.34
func NewMinIOUploader(endpoint, accessKeyID, secretAccessKey, region, token, bucket string, ssl, skipVerify bool, certFile, keyFile, caFile string) (*MinIOUploader, error)
func (*MinIOUploader) Close ¶ added in v1.10.40
func (l *MinIOUploader) Close() error
type MockExtractor ¶ added in v1.9.23
type MockExtractor struct {
// contains filtered or unexported fields
}
MockExtractor is a mock of Extractor interface.
func NewMockExtractor ¶ added in v1.9.23
func NewMockExtractor(ctrl *gomock.Controller) *MockExtractor
NewMockExtractor creates a new mock instance.
func (*MockExtractor) EXPECT ¶ added in v1.9.23
func (m *MockExtractor) EXPECT() *MockExtractorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockExtractorMockRecorder ¶ added in v1.9.23
type MockExtractorMockRecorder struct {
// contains filtered or unexported fields
}
MockExtractorMockRecorder is the mock recorder for MockExtractor.
func (*MockExtractorMockRecorder) Extract ¶ added in v1.9.23
func (mr *MockExtractorMockRecorder) Extract(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Extract indicates an expected call of Extract.
type MockScraper ¶ added in v1.10.34
type MockScraper struct {
// contains filtered or unexported fields
}
MockScraper is a mock of Scraper interface.
func NewMockScraper ¶ added in v1.10.34
func NewMockScraper(ctrl *gomock.Controller) *MockScraper
NewMockScraper creates a new mock instance.
func (*MockScraper) Close ¶ added in v1.10.40
func (m *MockScraper) Close() error
Close mocks base method.
func (*MockScraper) EXPECT ¶ added in v1.10.34
func (m *MockScraper) EXPECT() *MockScraperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockScraperMockRecorder ¶ added in v1.10.34
type MockScraperMockRecorder struct {
// contains filtered or unexported fields
}
MockScraperMockRecorder is the mock recorder for MockScraper.
func (*MockScraperMockRecorder) Close ¶ added in v1.10.40
func (mr *MockScraperMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockScraperMockRecorder) Scrape ¶ added in v1.10.34
func (mr *MockScraperMockRecorder) Scrape(arg0, arg1, arg2 interface{}) *gomock.Call
Scrape indicates an expected call of Scrape.
type MockUploader ¶ added in v1.9.23
type MockUploader struct {
// contains filtered or unexported fields
}
MockUploader is a mock of Uploader interface.
func NewMockUploader ¶ added in v1.9.23
func NewMockUploader(ctrl *gomock.Controller) *MockUploader
NewMockUploader creates a new mock instance.
func (*MockUploader) Close ¶ added in v1.10.40
func (m *MockUploader) Close() error
Close mocks base method.
func (*MockUploader) EXPECT ¶ added in v1.9.23
func (m *MockUploader) EXPECT() *MockUploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUploaderMockRecorder ¶ added in v1.9.23
type MockUploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockUploaderMockRecorder is the mock recorder for MockUploader.
func (*MockUploaderMockRecorder) Close ¶ added in v1.10.40
func (mr *MockUploaderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockUploaderMockRecorder) Upload ¶ added in v1.9.23
func (mr *MockUploaderMockRecorder) Upload(arg0, arg1, arg2 interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type RecursiveFilesystemExtractor ¶ added in v1.10.34
type RecursiveFilesystemExtractor struct {
// contains filtered or unexported fields
}
func NewRecursiveFilesystemExtractor ¶ added in v1.10.34
func NewRecursiveFilesystemExtractor(fs filesystem.FileSystem) *RecursiveFilesystemExtractor