models

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubAPIEndPoints

type GitHubAPIEndPoints struct {
	GetUsers     string
	GetUsersRepo string
}

type GitHubPATLimits

type GitHubPATLimits struct {
	Rate Limits `json:"rate"`
}

type GitHubRepository

type GitHubRepository struct {
	FullName    string `json:"full_name"`
	Private     bool   `json:"private"`
	HtmlURL     string `json:"html_url"`
	Description string `json:"description"`
	Fork        bool   `json:"fork"`
	Created     string `json:"created_at"`
	Updated     string `json:"updated_at"`
	Push        string `json:"pushed_at"`
	CloneURL    string `json:"clone_url"`
	Visiability string `json:"visibility"`
}

type GitHubUser

type GitHubUser struct {
	Username          string `json:"login"`
	Url               string `json:"url"`
	ProfileUrl        string `json:"html_url"`
	ReposUrl          string `json:"repos_url"`
	EventsUrl         string `json:"events_url"`
	ReceivedEventsUrl string `json:"received_events_url"`
	Type              string `json:"type"`
	Admin             bool   `json:"site_admin"`
}

type Limits

type Limits struct {
	Total     int `json:"limit"`
	Used      int `json:"used"`
	Remaining int `json:"remaining"`
	Reset     int `json:"reset"`
}

type MonitorRepositoryData

type MonitorRepositoryData struct {
	Repository string
	Secrets    bool
}

type ReportFileNames

type ReportFileNames struct {
	GitHubOrgUsers          string
	GitHubOrgPublicRepos    string
	GitHubOrgPublicReposNew string
}

type SlackPayload

type SlackPayload struct {
	Text string `json:"text"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL