Documentation ¶
Index ¶
- Constants
- type StatusCommand
- func (sc *StatusCommand) CommandName() string
- func (sc *StatusCommand) Run() error
- func (sc *StatusCommand) ServerDetails() (*config.ServerDetails, error)
- func (sc *StatusCommand) SetBranch(br string) *StatusCommand
- func (sc *StatusCommand) SetMultiBranch(multiBranch bool) *StatusCommand
- func (sc *StatusCommand) SetNotify(nf bool) *StatusCommand
- func (sc *StatusCommand) SetPipeline(pl string) *StatusCommand
- func (sc *StatusCommand) SetServerDetails(serverDetails *config.ServerDetails) *StatusCommand
- type SyncCommand
- func (sc *SyncCommand) CommandName() string
- func (sc *SyncCommand) Run() error
- func (sc *SyncCommand) ServerDetails() (*config.ServerDetails, error)
- func (sc *SyncCommand) SetBranch(br string) *SyncCommand
- func (sc *SyncCommand) SetRepositoryFullName(rfn string) *SyncCommand
- func (sc *SyncCommand) SetServerDetails(serverDetails *config.ServerDetails) *SyncCommand
- type SyncStatusCommand
- func (sc *SyncStatusCommand) CommandName() string
- func (sc *SyncStatusCommand) Run() error
- func (sc *SyncStatusCommand) ServerDetails() (*config.ServerDetails, error)
- func (sc *SyncStatusCommand) SetBranch(br string) *SyncStatusCommand
- func (sc *SyncStatusCommand) SetRepoPath(repo string) *SyncStatusCommand
- func (sc *SyncStatusCommand) SetServerDetails(serverDetails *config.ServerDetails) *SyncStatusCommand
- type TriggerCommand
- func (tc *TriggerCommand) CommandName() string
- func (tc *TriggerCommand) Run() error
- func (tc *TriggerCommand) ServerDetails() (*config.ServerDetails, error)
- func (tc *TriggerCommand) SetBranch(br string) *TriggerCommand
- func (tc *TriggerCommand) SetMultiBranch(multiBranch bool) *TriggerCommand
- func (tc *TriggerCommand) SetPipelineName(pl string) *TriggerCommand
- func (tc *TriggerCommand) SetServerDetails(serverDetails *config.ServerDetails) *TriggerCommand
- type VersionCommand
Constants ¶
View Source
const ( PipelineName = "PipelineName :" Branch = "Branch :" Run = "Run :" Duration = "Duration :" StatusLabel = "Status :" MaxRetries = 1500 MinimumIntervalRetriesInMilliSecs = 5000 )
View Source
const (
PipeStatusFormat = "Status: %s\nIsSyncing: %t\nLastSyncStartedAt: %s\nLastSyncEndedAt: %s\n" +
"CommitSHA: %s\nCommitter: %s\nCommitMessage: %s\nSyncSummary: %s\n"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusCommand ¶
type StatusCommand struct {
// contains filtered or unexported fields
}
func NewStatusCommand ¶
func NewStatusCommand() *StatusCommand
func (*StatusCommand) CommandName ¶
func (sc *StatusCommand) CommandName() string
func (*StatusCommand) Run ¶
func (sc *StatusCommand) Run() error
func (*StatusCommand) ServerDetails ¶
func (sc *StatusCommand) ServerDetails() (*config.ServerDetails, error)
func (*StatusCommand) SetBranch ¶
func (sc *StatusCommand) SetBranch(br string) *StatusCommand
func (*StatusCommand) SetMultiBranch ¶
func (sc *StatusCommand) SetMultiBranch(multiBranch bool) *StatusCommand
func (*StatusCommand) SetNotify ¶
func (sc *StatusCommand) SetNotify(nf bool) *StatusCommand
func (*StatusCommand) SetPipeline ¶
func (sc *StatusCommand) SetPipeline(pl string) *StatusCommand
func (*StatusCommand) SetServerDetails ¶
func (sc *StatusCommand) SetServerDetails(serverDetails *config.ServerDetails) *StatusCommand
type SyncCommand ¶
type SyncCommand struct {
// contains filtered or unexported fields
}
func NewSyncCommand ¶
func NewSyncCommand() *SyncCommand
func (*SyncCommand) CommandName ¶
func (sc *SyncCommand) CommandName() string
func (*SyncCommand) Run ¶
func (sc *SyncCommand) Run() error
func (*SyncCommand) ServerDetails ¶
func (sc *SyncCommand) ServerDetails() (*config.ServerDetails, error)
func (*SyncCommand) SetBranch ¶
func (sc *SyncCommand) SetBranch(br string) *SyncCommand
func (*SyncCommand) SetRepositoryFullName ¶
func (sc *SyncCommand) SetRepositoryFullName(rfn string) *SyncCommand
func (*SyncCommand) SetServerDetails ¶
func (sc *SyncCommand) SetServerDetails(serverDetails *config.ServerDetails) *SyncCommand
type SyncStatusCommand ¶
type SyncStatusCommand struct {
// contains filtered or unexported fields
}
func NewSyncStatusCommand ¶
func NewSyncStatusCommand() *SyncStatusCommand
func (*SyncStatusCommand) CommandName ¶
func (sc *SyncStatusCommand) CommandName() string
func (*SyncStatusCommand) Run ¶
func (sc *SyncStatusCommand) Run() error
func (*SyncStatusCommand) ServerDetails ¶
func (sc *SyncStatusCommand) ServerDetails() (*config.ServerDetails, error)
func (*SyncStatusCommand) SetBranch ¶
func (sc *SyncStatusCommand) SetBranch(br string) *SyncStatusCommand
func (*SyncStatusCommand) SetRepoPath ¶
func (sc *SyncStatusCommand) SetRepoPath(repo string) *SyncStatusCommand
func (*SyncStatusCommand) SetServerDetails ¶
func (sc *SyncStatusCommand) SetServerDetails(serverDetails *config.ServerDetails) *SyncStatusCommand
type TriggerCommand ¶
type TriggerCommand struct {
// contains filtered or unexported fields
}
func NewTriggerCommand ¶
func NewTriggerCommand() *TriggerCommand
func (*TriggerCommand) CommandName ¶
func (tc *TriggerCommand) CommandName() string
func (*TriggerCommand) Run ¶
func (tc *TriggerCommand) Run() error
func (*TriggerCommand) ServerDetails ¶
func (tc *TriggerCommand) ServerDetails() (*config.ServerDetails, error)
func (*TriggerCommand) SetBranch ¶
func (tc *TriggerCommand) SetBranch(br string) *TriggerCommand
func (*TriggerCommand) SetMultiBranch ¶
func (tc *TriggerCommand) SetMultiBranch(multiBranch bool) *TriggerCommand
func (*TriggerCommand) SetPipelineName ¶
func (tc *TriggerCommand) SetPipelineName(pl string) *TriggerCommand
func (*TriggerCommand) SetServerDetails ¶
func (tc *TriggerCommand) SetServerDetails(serverDetails *config.ServerDetails) *TriggerCommand
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
func NewVersionCommand ¶
func NewVersionCommand() *VersionCommand
func (*VersionCommand) CommandName ¶
func (vc *VersionCommand) CommandName() string
func (*VersionCommand) Run ¶
func (vc *VersionCommand) Run() error
func (*VersionCommand) ServerDetails ¶
func (vc *VersionCommand) ServerDetails() (*config.ServerDetails, error)
func (*VersionCommand) SetServerDetails ¶
func (vc *VersionCommand) SetServerDetails(serverDetails *config.ServerDetails) *VersionCommand
Click to show internal directories.
Click to hide internal directories.