file

package
v0.0.0-...-9ffd8df Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	ApiVersion string `yaml:"apiVersion"`
	Teams      []Team `yaml:"teams"`
	// contains filtered or unexported fields
}

func New

func New(l *logrus.Entry, ghc github.Client, gc git.ClientFactory, oc *repoowners.Client, org string) *Base

func (*Base) Clone

func (s *Base) Clone(repo, commit string) (err error)

func (*Base) Fetch

func (s *Base) Fetch() (err error)

func (*Base) Sync

func (s *Base) Sync() (err error)

type Member

type Member struct {
	Login      string `yaml:"login"`
	Maintainer bool   `default:"true" yaml:"maintainer"`
}

type Team

type Team struct {
	ID      int      `yaml:"id"`
	Name    string   `yaml:"name"`
	Members []Member `yaml:"members"`
}

Jump to

Keyboard shortcuts

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