C# Class MCloud.Deploy.PutFiles

Transfer a collection of files to the server. By default the files will be saved in the /root/ directory.
Inheritance: SSHDeployment, IEnumerable
显示文件 Open project: jacksonh/MCloud

Public Properties

Property Type Description
DefaultRemoteDirectory string

Public Methods

Method Description
Add ( string file ) : void

Add a local file to the list of files to be put on the node.

PutFiles ( ) : System

This constructor is mainly used with collection initializers like this: new PutFilesDeployment () { "/foo/bar", "/foo/baz" }

PutFiles ( string remote ) : System

Put the specified file in the remote directory directory.

Protected Methods

Method Description
RunImpl ( Node node, NodeAuth auth ) : void

Private Methods

Method Description
IEnumerable ( ) : IEnumerator

Method Details

Add() public method

Add a local file to the list of files to be put on the node.
public Add ( string file ) : void
file string
return void

PutFiles() public method

This constructor is mainly used with collection initializers like this: new PutFilesDeployment () { "/foo/bar", "/foo/baz" }
public PutFiles ( ) : System
return System

PutFiles() public method

Put the specified file in the remote directory directory.
public PutFiles ( string remote ) : System
remote string
return System

RunImpl() protected method

protected RunImpl ( Node node, NodeAuth auth ) : void
node Node
auth NodeAuth
return void

Property Details

DefaultRemoteDirectory public_oe static_oe property

public static string DefaultRemoteDirectory
return string