scrapper

package
v0.0.0-alpha003 Latest Latest
Warning

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

Go to latest
Published: May 11, 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