Documentation ¶
Overview ¶
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Package cmd provides a command-line interface for changing GHAS settings for a given organization.
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
- Constants
- Variables
- func CheckAndMigrateSecretScanning(repository string, sourceOrg string, targetOrg string, sourceToken string, ...) error
- func Execute()
- func ProcessRepoMigration(repository github.Repository, sourceOrg string, targetOrg string, ...) error
- func ReactivateTargetWorkflows(repository string, sourceOrg string, targetOrg string, sourceToken string, ...) error
- type MigrationResult
- type Repo
- type WorkerError
Constants ¶
const VERSION = "1.1.0"
Variables ¶
var MaxRetries = 5
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ProcessRepoMigration ¶
Types ¶
type MigrationResult ¶ added in v1.0.0
type WorkerError ¶ added in v1.2.1
type WorkerError struct { Err error Repo github.Repository }