teamstr

package
v80.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrgRepo

type OrgRepo interface {
	AddTeamRepo(ctx context.Context, team int, owner string, repo string, opt *github.OrganizationAddTeamRepoOptions) (*github.Response, error)
	ListTeamRepos(ctx context.Context, team int, opt *github.ListOptions) ([]*github.Repository, *github.Response, error)
}

type RepoRepo

type RepoRepo interface {
	ListByOrg(ctx context.Context, org string, opt *github.RepositoryListByOrgOptions) ([]*github.Repository, *github.Response, error)
}

type Syncer

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

func NewSyncer

func NewSyncer(orgRepo OrgRepo, repoRepo RepoRepo) *Syncer

func (*Syncer) Swim

func (s *Syncer) Swim(orgName string, teamID int) error

Directories

Path Synopsis
cmd
This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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