githubConnector

package
v0.0.0-...-8873498 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListByOwnerWithPagination

func ListByOwnerWithPagination(client *github.Client, owner string, ownerType string) (chan *github.Repository, error)

Types

type GithubConnector

type GithubConnector struct {
	// contains filtered or unexported fields
}

func (*GithubConnector) Get

func (gc *GithubConnector) Get(ownersWithRepos []*connectors.OwnerWithRepo) (int, error)

type GithubConnectorDependencies

type GithubConnectorDependencies struct {
	Client *github.Client
}

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
}

Jump to

Keyboard shortcuts

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