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
}
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
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Source Files
¶
- deployer.go
Click to show internal directories.
Click to hide internal directories.