Documentation ¶
Index ¶
- Variables
- type BranchProtectionRule
- type GEI
- type GitHubClient
- func (gc *GitHubClient) ArchiveRepository(ctx context.Context, organization string, repository string) error
- func (gc *GitHubClient) ChangeArchiveRepository(ctx context.Context, organization string, repository string, archive bool) error
- func (gc *GitHubClient) ChangeGHASOrgSettings(ctx context.Context, organization string, activate bool) error
- func (gc *GitHubClient) ChangeGhasRepoSettings(ctx context.Context, organization string, repository Repository, ghas string, ...) error
- func (gc *GitHubClient) ChangeRepositoryVisibility(ctx context.Context, organization string, repository string, visibility string) error
- func (gc *GitHubClient) CreateIssue(ctx context.Context, organization string, repository string, title string, ...) error
- func (gc *GitHubClient) CreateRepository(ctx context.Context, organization string, repository string) error
- func (gc *GitHubClient) DeleteBranchProtections(ctx context.Context, organization string, repository string) error
- func (gc *GitHubClient) DisableWorkflowsForRepository(ctx context.Context, organization string, repository string, ...) error
- func (gc *GitHubClient) EnableWorkflowsForRepository(ctx context.Context, organization string, repository string, ...) error
- func (gc *GitHubClient) GetAllActiveWorkflowsForRepository(ctx context.Context, organization string, repository string) ([]Workflow, error)
- func (gc *GitHubClient) GetAllWorkflowsForRepository(ctx context.Context, organization string, repository string) ([]Workflow, error)
- func (gc *GitHubClient) GetCodeScanningAnalysis(ctx context.Context, organization string, repository string, ...) ([]ScanningAnalysis, error)
- func (gc *GitHubClient) GetIssue(ctx context.Context, organization string, repository string, issueNumber int) (Issue, error)
- func (gc *GitHubClient) GetRepositories(ctx context.Context, org string) ([]Repository, error)
- func (gc *GitHubClient) GetRepository(ctx context.Context, repoName string, org string) (Repository, error)
- func (gc *GitHubClient) UnarchiveRepository(ctx context.Context, organization string, repository string) error
- type Issue
- type Repository
- type ScanningAnalysis
- type Workflow
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BranchProtectionRule ¶
type GEI ¶
type GEI struct {
// contains filtered or unexported fields
}
func (*GEI) MigrateCodeScanning ¶
func (*GEI) MigrateRepo ¶
func (*GEI) MigrateSecretScanning ¶
type GitHubClient ¶
type GitHubClient struct {
// contains filtered or unexported fields
}
func NewGitHubClient ¶
func (*GitHubClient) ArchiveRepository ¶
func (*GitHubClient) ChangeArchiveRepository ¶
func (*GitHubClient) ChangeGHASOrgSettings ¶
func (*GitHubClient) ChangeGhasRepoSettings ¶
func (gc *GitHubClient) ChangeGhasRepoSettings(ctx context.Context, organization string, repository Repository, ghas string, secretScanning string, pushProtection string) error
func (*GitHubClient) ChangeRepositoryVisibility ¶
func (*GitHubClient) CreateIssue ¶
func (*GitHubClient) CreateRepository ¶
func (*GitHubClient) DeleteBranchProtections ¶
func (*GitHubClient) DisableWorkflowsForRepository ¶
func (*GitHubClient) EnableWorkflowsForRepository ¶
func (*GitHubClient) GetAllActiveWorkflowsForRepository ¶
func (*GitHubClient) GetAllWorkflowsForRepository ¶
func (*GitHubClient) GetCodeScanningAnalysis ¶
func (gc *GitHubClient) GetCodeScanningAnalysis( ctx context.Context, organization string, repository string, defaultBranch string) ([]ScanningAnalysis, error)
func (*GitHubClient) GetRepositories ¶
func (gc *GitHubClient) GetRepositories(ctx context.Context, org string) ([]Repository, error)
func (*GitHubClient) GetRepository ¶
func (gc *GitHubClient) GetRepository(ctx context.Context, repoName string, org string) (Repository, error)
func (*GitHubClient) UnarchiveRepository ¶
type Repository ¶
type Repository *github.Repository
type ScanningAnalysis ¶
type ScanningAnalysis *github.ScanningAnalysis
Click to show internal directories.
Click to hide internal directories.