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) InitializeRepository() error
- func (d *Deploy) Push() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deploy ¶
type Deploy struct {
Context context.Context
ProjectID string
Path string
Remote string
RepoAuthorization string
GitRemoteAddress string
}
Deploy project
func (*Deploy) CreateGitDirectory ¶
CreateGitDirectory creates the git directory for the deployment
func (*Deploy) GetCurrentBranch ¶
GetCurrentBranch gets the current branch
func (*Deploy) InitializeRepository ¶
InitializeRepository as a git repo
Click to show internal directories.
Click to hide internal directories.