Documentation ¶ Index ¶ func ErrIsExistRepo(err error) bool type RepoElem type Repos func NewRepos(settings *cli.EnvSettings) *Repos func (r *Repos) Add(name, url, username, password string) error func (r *Repos) List() ([]*RepoElem, error) func (r *Repos) Update(name string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ErrIsExistRepo ¶ func ErrIsExistRepo(err error) bool Types ¶ type RepoElem ¶ type RepoElem struct { Name string `json:"name,omitempty"` Url string `json:"url,omitempty"` } type Repos ¶ type Repos struct { // contains filtered or unexported fields } func NewRepos ¶ func NewRepos(settings *cli.EnvSettings) *Repos func (*Repos) Add ¶ func (r *Repos) Add(name, url, username, password string) error func (*Repos) List ¶ func (r *Repos) List() ([]*RepoElem, error) func (*Repos) Update ¶ func (r *Repos) Update(name string) error Source Files ¶ View all Source files repo.go util.go Click to show internal directories. Click to hide internal directories.