staging

package
v0.0.0-...-a7dc4af Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUploadFilesystem

func CheckUploadFilesystem(dirname string) error

CheckUploadFilesystem pre-checks the configured directory which is going to used for files staging during startup of the proxy

Types

type Filesystem

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

func NewFilesystem

func NewFilesystem(client *http.Client) *Filesystem

func (*Filesystem) DownloadFile

func (fs *Filesystem) DownloadFile(otp, clusteraddress, jsName, file string)

func (*Filesystem) FsDownloadFiles

func (fs *Filesystem) FsDownloadFiles(otp, clusteraddress, jsName string, files []string, of output.OutputFormater)

FsDownloadFiles downloads a list list of files from a the staging area of a given cluster

func (*Filesystem) FsListFiles

func (fs *Filesystem) FsListFiles(otp, clusteraddress, jsName string, of output.OutputFormater)

FsListFiles lists all files on the remote staging area, theirs sizes, and if they are executable (i.e. can run as remote jobs).

func (*Filesystem) FsUploadFile

func (fs *Filesystem) FsUploadFile(otp, clusteraddress, jsName, filename string)

FsUploadFile uploads a file given by the path to a given cluster by setting a security key if required.

func (*Filesystem) FsUploadFiles

func (fs *Filesystem) FsUploadFiles(otp, clusteraddress, jsName string, files []string, of output.OutputFormater)

fsUploadFiles uploads a given list of files to the given cluster's staging area

Jump to

Keyboard shortcuts

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