Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GithubConnector ¶
type GithubConnector struct {
// contains filtered or unexported fields
}
func New ¶
func New(deps *GithubConnectorDependencies) *GithubConnector
func (*GithubConnector) Get ¶
func (gc *GithubConnector) Get(ownersWithRepos []*connectors.OwnerWithRepo) (int, error)
type GithubOwner ¶
type GithubOwner struct { Name string `json:"ownerName"` Type string `json:"ownerType"` ID int `json:"id"` Repositories map[string]*GithubRepository `json:"repositories"` }
type GithubRepository ¶
type GithubRepository struct { Name string `json:"name"` FullName string `json:"fullName"` ID int `json:"id"` ProgrammingLanguages []string `json:"programmingLanguages"` GithubActionsWorkflows map[string]*connectors.PipelineFile `json:"github-actions-workflows"` JfrogPipelines map[string]*connectors.PipelineFile `json:"jfrog-pipelines"` }
type GithubRepositoryApiResponse ¶
type GithubRepositoryApiResponse struct { Repository *github.Repository Error error }
Click to show internal directories.
Click to hide internal directories.