Documentation
¶
Index ¶
- func ArchiveRepository(organization string, repository string, token string) error
- func ChangeGHASOrgSettings(organization string, activate bool, token string) error
- func ChangeGhasRepoSettings(organization string, repository Repository, ghas string, secretScanning string, ...) error
- func ChangeRepositoryVisibility(organization string, repository string, visibility string, token string) error
- func DeleteBranchProtections(organization string, repository string, token string) error
- func DisableWorkflowsForRepository(organization string, repository string, workflows []Workflow, token string) error
- func EnableWorkflowsForRepository(organization string, repository string, workflows []Workflow, token string) error
- func HasCodeScanningAnalysis(organization string, repository string, token string) (bool, error)
- func MigrateCodeScanning(repository string, sourceOrg string, targetOrg string, sourceToken string, ...) error
- func MigrateRepo(repository string, sourceOrg string, targetOrg string, sourceToken string, ...) error
- func MigrateSecretScanning(repository string, sourceOrg string, targetOrg string, sourceToken string, ...) error
- type BranchProtectionRule
- type Repository
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveRepository ¶
func ChangeGHASOrgSettings ¶
func ChangeGhasRepoSettings ¶
func DeleteBranchProtections ¶
func HasCodeScanningAnalysis ¶
func MigrateCodeScanning ¶
func MigrateRepo ¶
Types ¶
type BranchProtectionRule ¶
type Repository ¶
type Repository github.Repository
func GetRepositories ¶
func GetRepositories(org string, token string) ([]Repository, error)
func GetRepository ¶
func GetRepository(repoName string, org string, token string) (Repository, error)
Click to show internal directories.
Click to hide internal directories.