Documentation
¶
Index ¶
- type Candidate
- type Manager
- func (m *Manager) AppendLog(entry string) error
- func (m *Manager) Clean() error
- func (m *Manager) InProgress() bool
- func (m *Manager) IsBad(state *State, sha string) bool
- func (m *Manager) IsGood(state *State, sha string) bool
- func (m *Manager) IsSkipped(state *State, sha string) bool
- func (m *Manager) Load() (*State, error)
- func (m *Manager) LoadCandidates() ([]Candidate, error)
- func (m *Manager) ReadLog() ([]string, error)
- func (m *Manager) Save(state *State) error
- func (m *Manager) SaveCandidates(candidates []Candidate) error
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) InProgress ¶
func (*Manager) LoadCandidates ¶
func (*Manager) SaveCandidates ¶
type State ¶
type State struct {
OriginalHead string `json:"original_head"`
OriginalRef string `json:"original_ref"`
BadRev string `json:"bad_rev"`
GoodRevs []string `json:"good_revs"`
SkippedRevs []string `json:"skipped_revs"`
Ecosystem string `json:"ecosystem,omitempty"`
Package string `json:"package,omitempty"`
Manifest string `json:"manifest,omitempty"`
CurrentSHA string `json:"current_sha"`
}
Click to show internal directories.
Click to hide internal directories.