Documentation ¶
Index ¶
Constants ¶
View Source
const ( TemplateFlag = "template" OrgFlag = "org" TimeoutFlag = "timeout" BranchFlag = "branch" VersionChangeFlag = "version.change" TokenFlag = "token" HostFlag = "host" RepositoriesFlag = "repositories" CreateReleaseBranchFlag = "create_release_branch" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthHosts ¶
AuthHosts format for how auth is stored inside of hosts.yaml.
github.com:
username: NickHackman token: this-is-a-fake-auth-token
type Config ¶
type Config struct { Username string Host string Org string Branch string Token string Template string CreateReleaseBranch bool Repositories []string Timeout time.Duration VersionChange version.Change AuthHosts AuthHosts Terminal *TerminalConfig }
func (*Config) IsRepositoryToRelease ¶
type CreatedConfigErr ¶
type CreatedConfigErr struct {
Path string
}
CreatedConfigErr error returned when InitViper fails due to the config not existing in the first place and was created at will.
func (CreatedConfigErr) Error ¶
func (cce CreatedConfigErr) Error() string
type TerminalConfig ¶
type TerminalConfig struct { Width int Height int Releases chan<- []*github.RepositoryReleaseResponse }
TerminalConfig configuration maintained for the terminal
Click to show internal directories.
Click to hide internal directories.