Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionItem ¶
type ActionRow ¶ added in v1.51.0
type ActionRow struct {
RepoName string
PrettyName string
Status ActionStatus
Detail string
}
ActionRow is one stable row in the action modal.
type ActionStatus ¶ added in v1.51.0
type ActionStatus int
ActionStatus is the Docker-like per-repo state shown in the action modal.
const ( // ActionPending marks a queued repo that has not started yet. ActionPending ActionStatus = iota // ActionRunning marks the repo currently being processed. ActionRunning // ActionDone marks a repo that completed successfully. ActionDone // ActionSkipped marks a repo that was skipped (not cloned / already cloned). ActionSkipped // ActionFailed marks a repo whose action returned an error. ActionFailed )
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the Bubble Tea model for the dashboard.
type NotificationType ¶ added in v1.17.0
type NotificationType int
const ( NotifySuccess NotificationType = iota NotifyError NotifyWarn )
type ProjectItem ¶
ProjectItem adapts config.Project to the list.Item interface.
func (ProjectItem) Description ¶
func (i ProjectItem) Description() string
func (ProjectItem) FilterValue ¶
func (i ProjectItem) FilterValue() string
func (ProjectItem) Title ¶
func (i ProjectItem) Title() string
type RepoStatus ¶
type RepoStatus struct {
IsCloned bool
IsDirty bool
Branch string
IsDetached bool
AheadCount int
BehindCount int
HasUpstream bool
UnstagedCount int
StagedCount int
UntrackedCount int
ConflictCount int
OngoingOp string
Error error
Loading bool
LastUpdated time.Time
}
RepoStatus holds the asynchronously loaded status of a repository.
Click to show internal directories.
Click to hide internal directories.