fetcher

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FETCH_SOURCE = iota
	FETCH_DEPLOYMENT
	FETCH_URL // remove this?
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchRequest

type FetchRequest struct {
	FetchType     FetchRequestType `json:"fetchType"`
	Function      api.ObjectMeta   `json:"function"`
	Url           string           `json:"url"`
	StorageSvcUrl string           `json:"storagesvcurl"`
	Filename      string           `json:"filename"`
}

type FetchRequestType

type FetchRequestType int

type Fetcher

type Fetcher struct {
	// contains filtered or unexported fields
}

func MakeFetcher

func MakeFetcher(sharedVolumePath string) *Fetcher

func (*Fetcher) Handler

func (fetcher *Fetcher) Handler(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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