Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildDeploy ¶
type BuildDeploy struct {
ShouldRun func() error
GetUploader func() (cbdeploy.Uploader, error)
Log cbdeploy.Logger
ErrorHandler cbdeploy.ErrorHandler
PublicUpload bool
Bucket string
Files []FileUpload
}
func (BuildDeploy) GetGroup ¶
func (c BuildDeploy) GetGroup() string
func (BuildDeploy) GetName ¶
func (c BuildDeploy) GetName() string
func (BuildDeploy) GetSchedule ¶
func (c BuildDeploy) GetSchedule() string
func (BuildDeploy) Run ¶
func (c BuildDeploy) Run() error
type BuildUpdate ¶
type BuildUpdate struct {
GetDownloader func() (cbdeploy.Downloader, error)
Log cbdeploy.Logger
ErrorHandler cbdeploy.ErrorHandler
CurrentVersion string
VersionFileRemotePath string
Bucket string
Files []FileDownload
InitScriptRemotePath string
CheckInterval time.Duration
}
func (BuildUpdate) GetGroup ¶
func (c BuildUpdate) GetGroup() string
func (BuildUpdate) GetName ¶
func (c BuildUpdate) GetName() string
func (BuildUpdate) GetSchedule ¶
func (c BuildUpdate) GetSchedule() string
func (BuildUpdate) Run ¶
func (c BuildUpdate) Run() error
type FileDownload ¶
type FileUpload ¶
Click to show internal directories.
Click to hide internal directories.