Documentation ¶
Index ¶
- Constants
- func CurrentTime() time.Time
- func FormatAsDate(t time.Time) string
- func FormatAsDateTime(t time.Time) string
- func Length(infos []models.Info) int
- func ParseAsDate(timeString string) string
- type App
- func (app *App) GenerateIndexMarkdown(projects models.Projects) error
- func (app *App) GenerateMarkdowns(projects models.Projects) error
- func (app *App) GenerateProjectsMarkdown(projects models.Projects) error
- func (app *App) PushProjectsJsonDb(projects models.Projects, filePath string) error
- func (app *App) Run(org string, topics []string)
- type ExtRepos
- func (extRepos *ExtRepos) CreateInfoIssue(info models.Info, repo *github.Repository) (*github.Issue, error)
- func (extRepos *ExtRepos) DefaultInfo(repo *github.Repository) models.Info
- func (extRepos *ExtRepos) FetchInfo(repo *github.Repository) (models.Info, error)
- func (extRepos *ExtRepos) FetchInfos(repos []*github.Repository, projectsStatus models.ProjectsStatus) ([]models.Info, []models.Info)
- func (extRepos *ExtRepos) FetchLatestRepoRelease(repo *github.Repository) (*github.RepositoryRelease, error)
- func (extRepos *ExtRepos) GetInfos() ([]models.Info, []models.Info)
- func (extRepos *ExtRepos) HasTopics(repo *github.Repository, topics []string) bool
- func (extRepos *ExtRepos) InfoIssueExists(info models.Info) bool
Constants ¶
View Source
const ISSUE_TITLE = "Add .cf-extensions to your repo to be listed in cloudfoundry-incubator.cf-extensions"
Variables ¶
This section is empty.
Functions ¶
func CurrentTime ¶
func FormatAsDate ¶
func FormatAsDateTime ¶
func ParseAsDate ¶
Types ¶
type App ¶
type App struct { Username string Email string ExtRepos *ExtRepos Client *github.Client // contains filtered or unexported fields }
func (*App) GenerateIndexMarkdown ¶
func (*App) GenerateProjectsMarkdown ¶
func (*App) PushProjectsJsonDb ¶
type ExtRepos ¶
func NewExtRepos ¶
func (*ExtRepos) CreateInfoIssue ¶
func (*ExtRepos) DefaultInfo ¶
func (extRepos *ExtRepos) DefaultInfo(repo *github.Repository) models.Info
func (*ExtRepos) FetchInfos ¶
func (extRepos *ExtRepos) FetchInfos(repos []*github.Repository, projectsStatus models.ProjectsStatus) ([]models.Info, []models.Info)
func (*ExtRepos) FetchLatestRepoRelease ¶
func (extRepos *ExtRepos) FetchLatestRepoRelease(repo *github.Repository) (*github.RepositoryRelease, error)
Click to show internal directories.
Click to hide internal directories.