Documentation
¶
Index ¶
Constants ¶
View Source
const ( KeyringService = "gogh.kyoh86.dev" EnvarPrefix = "GOGH_" )
View Source
const (
// DefaultHost is the default host of the GitHub
DefaultHost = "github.com"
)
Variables ¶
View Source
var EmptyYAMLReader io.Reader = nil
Functions ¶
func OptionNames ¶ added in v1.7.1
func OptionNames() []string
Types ¶
type Access ¶
type Access struct {
// contains filtered or unexported fields
}
func (*Access) GithubHost ¶
func (*Access) GithubUser ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) GithubHost ¶ added in v1.7.1
func (*Config) GithubUser ¶ added in v1.7.1
type Envar ¶
type Envar struct {
GithubHost *GithubHost
GithubUser *GithubUser
Roots *Roots
Hooks *Hooks
}
type GithubHost ¶
type GithubHost struct {
types.StringValue
}
func (*GithubHost) Default ¶
func (*GithubHost) Default() interface{}
type GithubUser ¶
type GithubUser struct {
types.StringValue
}
type Paths ¶ added in v1.5.1
type Paths struct {
// contains filtered or unexported fields
}
func (*Paths) MarshalText ¶ added in v1.5.1
func (*Paths) MarshalYAML ¶ added in v1.5.1
MarshalYAML implements the interface `yaml.Marshaler`
func (*Paths) UnmarshalText ¶ added in v1.5.1
func (*Paths) UnmarshalYAML ¶ added in v1.5.1
UnmarshalYAML implements the interface `yaml.Unmarshaler`
type YAML ¶
type YAML struct {
GithubHost *GithubHost `yaml:"githubHost,omitempty"`
GithubUser *GithubUser `yaml:"githubUser,omitempty"`
Roots *Roots `yaml:"roots,omitempty"`
Hooks *Hooks `yaml:"hooks,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.