Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeRepo = "repo" TypeUser = "user" TypeOrg = "org" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiStorage ¶
type Repository ¶
type Repository struct { Name string `yaml:"name"` URL string `yaml:"url"` Cron string `yaml:"cron"` Storage []string `yaml:"storage"` UseCache bool `yaml:"useCache"` Type string `yaml:"type"` // repo, user, org (default: repo) OrgName string `yaml:"orgName"` }
func (*Repository) GetType ¶ added in v0.1.2
func (r *Repository) GetType() string
Click to show internal directories.
Click to hide internal directories.