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 PropertyNames ¶
func PropertyNames() []string
Types ¶
type Access ¶
type Access struct {
// contains filtered or unexported fields
}
func (*Access) GithubHost ¶
func (*Access) GithubUser ¶
type Envar ¶
type Envar struct { GithubHost *GithubHost GithubUser *GithubUser Roots *Roots Hooks *Hooks }
type GithubHost ¶
type GithubHost struct {
types.StringPropertyBase
}
func (*GithubHost) Default ¶
func (*GithubHost) Default() interface{}
type GithubUser ¶
type GithubUser struct {
types.StringPropertyBase
}
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.