Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
NewContext loads a configuration file into the Spec struct
Types ¶
type BranchProtections ¶
BranchProtections represents github's branch protections
type Collaborator ¶
Collaborator represents a github collaborator
type Github ¶
type Github struct {
Organization string
Token string
Teams []*Team
Collaborators []*Collaborator
Labels []*Label
Webhooks []*Webhook
Protections BranchProtections
// RemoveDefaultLabels Remove GitHub's default labels?
RemoveDefaultLabels bool
}
Github represents the github configurations
type Spec ¶
Spec represents the global app configuration
func WithContext ¶
WithContext returns a logrus logger from the context
Click to show internal directories.
Click to hide internal directories.