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) Do(ctx context.Context) error
- func (d *Deploy) GetCurrentBranch() (branch string, err error)
- func (d *Deploy) GetGroupUID() string
- 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 { 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) GetCurrentBranch ¶
GetCurrentBranch gets the current branch
func (*Deploy) GetGroupUID ¶
GetGroupUID gets the deployment group UID
func (*Deploy) UploadDuration ¶
UploadDuration for deployment (only correct after it finishes)
Click to show internal directories.
Click to hide internal directories.