Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
type Github struct { Git Token string `yaml:"token" env:"GITHUB_TOKEN"` Organisation string `yaml:"organisation" env:"GITHUB_ORG"` Public bool `yaml:"public"` // contains filtered or unexported fields }
func (*Github) ValidateConfig ¶
type Gitlab ¶
type Gitlab struct { Git Group string `yaml:"group" env:"GITLAB_GROUP"` Token string `yaml:"token" env:"GITLAB_TOKEN"` Visibility string `yaml:"visibility"` // contains filtered or unexported fields }
func (*Gitlab) ValidateConfig ¶
type RepositoriesService ¶
type RepositoriesService interface { Create(ctx context.Context, org string, repo *github.Repository) (*github.Repository, *github.Response, error) UpdateBranchProtection(ctx context.Context, owner, repo, branch string, preq *github.ProtectionRequest) (*github.Protection, *github.Response, error) CreateHook(ctx context.Context, owner, repo string, hook *github.Hook) (*github.Hook, *github.Response, error) }
type RepositoryInfo ¶
Click to show internal directories.
Click to hide internal directories.