scrapper

package
v1.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scrapper

type Scrapper struct {
	Endpoint, AccessKeyID, SecretAccessKey, Location, Token string
	Ssl                                                     bool
}

Scrapper manages getting artifacts from job pods

func NewScrapper

func NewScrapper(endpoint, accessKeyID, secretAccessKey, location, token string, ssl bool) *Scrapper

NewScrapper returns new Scrapper struct

func (Scrapper) Scrape

func (s Scrapper) Scrape(id string, directories []string) error

Scrape get artifacts from pod based on execution ID and directories list

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL