Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthClient ¶
Types ¶
type RepoBranchProtection ¶
type RepoBranchProtection struct { RepoName string `json:"repo_name"` Branch string `json:"branch"` IsProtected bool `json:"is_protected"` Protection github.Protection `json:"protection,omitempty"` }
func GetBranchProtections ¶
func GetBranchProtections(owner string, token string, repoName string) (rbp []*RepoBranchProtection, err error)
Click to show internal directories.
Click to hide internal directories.