Documentation
¶
Index ¶
- type Deploy
- func (d *Deploy) AddRemote() error
- func (d *Deploy) Cleanup() error
- func (d *Deploy) Commit() (commit string, err error)
- func (d *Deploy) CreateGitDirectory() error
- func (d *Deploy) Do() error
- func (d *Deploy) GetCurrentBranch() (branch string, err error)
- func (d *Deploy) GetGroupUID() string
- func (d *Deploy) InitializeRepository() error
- func (d *Deploy) Push() (groupUID string, err error)
- func (d *Deploy) UploadDuration() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deploy ¶
type Deploy struct {
Context context.Context
ConfigContext config.Context
ProjectID string
ServiceID string
LocationRemap []string
Path string
Services services.ServiceInfoList
Quiet bool
// contains filtered or unexported fields
}
Deploy project
func (*Deploy) CreateGitDirectory ¶
CreateGitDirectory creates the git directory for the deployment
func (*Deploy) GetCurrentBranch ¶
GetCurrentBranch gets the current branch
func (*Deploy) GetGroupUID ¶
GetGroupUID gets the deployment group UID
func (*Deploy) InitializeRepository ¶
InitializeRepository as a git repo
func (*Deploy) UploadDuration ¶
UploadDuration for deployment (only correct after it finishes)
Click to show internal directories.
Click to hide internal directories.