Documentation ¶
Index ¶
- func CheckUploadFilesystem(dirname string) error
- type Filesystem
- func (fs *Filesystem) DownloadFile(otp, clusteraddress, jsName, file string)
- func (fs *Filesystem) FsDownloadFiles(otp, clusteraddress, jsName string, files []string, of output.OutputFormater)
- func (fs *Filesystem) FsListFiles(otp, clusteraddress, jsName string, of output.OutputFormater)
- func (fs *Filesystem) FsUploadFile(otp, clusteraddress, jsName, filename string)
- func (fs *Filesystem) FsUploadFiles(otp, clusteraddress, jsName string, files []string, of output.OutputFormater)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUploadFilesystem ¶
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
Click to show internal directories.
Click to hide internal directories.