service

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repositories

type Repositories []Repository

type Repository

type Repository struct {
	Provider               string
	Name                   string
	Owner                  string
	Description            string
	BrowserHomepageURL     string
	BrowserPullRequestsURL string
	HTTPSCloneURL          string
	SSHCloneURL            string
	OrgURL                 string
	IssuesURL              string
	CIURL                  string
	ReleasesURL            string
	SettingsURL            string
}

type RepositoryService

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

func NewRepositoryService

func NewRepositoryService(client upstream.RepositoryHostClient, gitlabClient upstream.RepositoryHostClient, fetchUserRepos bool) *RepositoryService

func (*RepositoryService) GetRepositoriesByOwners

func (r *RepositoryService) GetRepositoriesByOwners(ctx context.Context, owners []string, gitlabOwners []string) (*Repositories, error)

Jump to

Keyboard shortcuts

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