Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckCommand ¶
type CheckCommand struct { }
func NewCheckCommand ¶
func NewCheckCommand() *CheckCommand
func (*CheckCommand) Run ¶
func (c *CheckCommand) Run(request CheckRequest) ([]Version, error)
type CheckRequest ¶
type HTTPSource ¶
type InResponse ¶
type InResponse struct { Version Version `json:"version"` Metadata []MetadataPair `json:"metadata"` }
type MetadataPair ¶
type SortVersion ¶
type Source ¶
type Source struct { Type string `json:"type"` Regex string `json:"regex"` Git GitSource `json:"git",omitempty` HTTP HTTPSource `json:"http",omitempty` }
type VersionSorter ¶
type VersionSorter struct {
// contains filtered or unexported fields
}
func (*VersionSorter) Len ¶
func (v *VersionSorter) Len() int
func (*VersionSorter) Less ¶
func (v *VersionSorter) Less(i, j int) bool
func (*VersionSorter) Swap ¶
func (v *VersionSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.