Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BranchInfo ¶ added in v0.1.21
type BranchInfo struct {
CreatedAt time.Time `json:"created_at"`
LastCommitAt time.Time `json:"last_commit_at"`
PromotedTo []string `json:"promoted_to"`
MergedToMainAt *time.Time `json:"merged_to_main_at,omitempty"`
MergedToMainBy string `json:"merged_to_main_by,omitempty"`
CanDelete bool `json:"can_delete"`
EligibleForCleanupAt *time.Time `json:"eligible_for_cleanup_at,omitempty"`
}
BranchInfo contains branch status information
type EnvironmentInfo ¶ added in v0.1.21
type EnvironmentInfo struct {
BaseBranch string `json:"base_branch"`
Features []string `json:"features"`
Locked bool `json:"locked"`
LockInfo *LockInfo `json:"lock_info,omitempty"`
LastRebuild time.Time `json:"last_rebuild,omitempty"`
}
EnvironmentInfo contains environment status information
type JSONStatus ¶ added in v0.1.21
type JSONStatus struct {
Timestamp time.Time `json:"timestamp"`
Repository RepositoryInfo `json:"repository"`
Metadata MetadataInfo `json:"metadata"`
}
JSONStatus represents the complete status in JSON format
type LockInfo ¶ added in v0.1.21
type LockInfo struct {
LockedBy string `json:"locked_by"`
LockedAt time.Time `json:"locked_at"`
Reason string `json:"reason,omitempty"`
IsStale bool `json:"is_stale"`
}
LockInfo contains lock status information
type MetadataInfo ¶ added in v0.1.21
type MetadataInfo struct {
Version string `json:"version"`
InitializedAt time.Time `json:"initialized_at"`
LastModifiedAt time.Time `json:"last_modified_at"`
LastModifiedBy string `json:"last_modified_by"`
LastCommand string `json:"last_command"`
}
MetadataInfo contains metadata status information
type RepositoryInfo ¶ added in v0.1.21
type RepositoryInfo struct {
Branches map[string]BranchInfo `json:"branches"`
SortedBranches []string `json:"sorted_branches"`
Environments map[string]EnvironmentInfo `json:"environments"`
SortedEnvironments []string `json:"sorted_environments"`
}
RepositoryInfo contains repository status information
Click to show internal directories.
Click to hide internal directories.