Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccessKey string SecretKey string SourcePath string BucketName string // To have multiple sites in one bucket. BucketPath string RegionName string // Optional configFile ConfigFile string NumberOfWorkers int Verbose bool Force bool // CLI state PrintVersion bool Help bool // contains filtered or unexported fields }
func FlagsToConfig ¶
Reads command-line flags from os.Args[1:] into Config. Note that flag.Parse is not called.
type DeployStats ¶
func Deploy ¶
func Deploy(cfg *Config) (DeployStats, error)
func (DeployStats) AllChanged ¶
func (d DeployStats) AllChanged() []string
func (DeployStats) FileCount ¶
func (d DeployStats) FileCount() int
func (DeployStats) FileCountChanged ¶
func (d DeployStats) FileCountChanged() int
func (DeployStats) PercentageChanged ¶
func (d DeployStats) PercentageChanged() float32
func (DeployStats) Summary ¶
func (d DeployStats) Summary() string
Click to show internal directories.
Click to hide internal directories.