gcsscanner

package
v0.0.0-...-60c646e Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLinksFromURL

func GetLinksFromURL(url string) ([]string, error)

func GetMatchingLinkFromURL

func GetMatchingLinkFromURL(baseURL string, regex *regexp.Regexp, onlyMatchLastSegment bool) (*url.URL, error)

func GetMatchingLinksFromURL

func GetMatchingLinksFromURL(baseURL string, regexes []*regexp.Regexp, onlyMatchLastSegment bool) ([]*url.URL, error)

Types

type Scanner

type Scanner struct{}

Scanner locates files in the artifacts Google Cloud Storage sub-buckets for a given prow job URL.

func (*Scanner) FindMatchingFiles

func (g *Scanner) FindMatchingFiles(baseURL string) ([]*url.URL, error)

Jump to

Keyboard shortcuts

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