input

package
v0.0.0-...-c2ede47 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileManager

type FileManager interface {
	// GetByURL takes a url string, validates it as a url and returns the content
	// from that URL as an io.Reader. Any status code other than 200 will cause
	// it to return an error and it does NOT follow redirects.
	// InputFiles are fetched during the creation of a run, so changes these
	// remote files can effect the predictability of subsequent runs of the
	// same workflow revision.
	GetByURL(ctx context.Context, url string) (io.Reader, error)
}

FileManager is a provider for workflow step InputFiles

Jump to

Keyboard shortcuts

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