repo

package
v8.85.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsInvalidFlag

func IsInvalidFlag(err error) bool

IsInvalidFlag asserts invalidFlagError.

func New

func New(config Config) (*cobra.Command, error)

Types

type Config

type Config struct {
	Logger *logrus.Logger
	Stderr io.Writer
	Stdout io.Writer
}

Directories

Path Synopsis
Package adopt is `devctl repo adopt`: an existing, undeclared repository declared in a team's file.
Package adopt is `devctl repo adopt`: an existing, undeclared repository declared in a team's file.
Package align is `devctl repo align`: Align now for one repository, through the reconciler, in the mode its team-file entry decides.
Package align is `devctl repo align`: Align now for one repository, through the reconciler, in the mode its team-file entry decides.
Package approve is `devctl repo approve`: the approving review of a team-file pull request, as the person, after the team check.
Package approve is `devctl repo approve`: the approving review of a team-file pull request, as the person, after the team check.
Package get is `devctl repo get`: one inventory record of giantswarm-repo-manager.
Package get is `devctl repo get`: one inventory record of giantswarm-repo-manager.
Package info is `devctl repo info`: how giantswarm-repo-manager sees the call -- the caller, the identities, the inventory, the engine.
Package info is `devctl repo info`: how giantswarm-repo-manager sees the call -- the caller, the identities, the inventory, the engine.
internal
auth
Package auth resolves the GitHub token the repo commands act with: the person's own, so a pull request they open is theirs.
Package auth resolves the GitHub token the repo commands act with: the person's own, so a pull request they open is theirs.
client
Package client is what the repo commands that call giantswarm-repo-manager share: the muster token from the keychain, the manager client over the person's muster endpoint, the output flag, and the text renderers of the answers the verbs have in common.
Package client is what the repo commands that call giantswarm-repo-manager share: the muster token from the keychain, the manager client over the person's muster endpoint, the output flag, and the text renderers of the answers the verbs have in common.
engine
Package engine is what the repo commands share to run the set-up steps of pkg/reposetup/reconcile as the person: the clients from the token environment variables, the repository slug, the log adapter and the result on stdout.
Package engine is what the repo commands share to run the set-up steps of pkg/reposetup/reconcile as the person: the clients from the token environment variables, the repository slug, the log adapter and the result on stdout.
write
Package write is what the team-file writes share -- adopt, update, transfer, set-lifecycle: one call to a write tool of giantswarm-repo-manager with dryRun or mode commit, the plan printed on a dry run and the outcome on a commit.
Package write is what the team-file writes share -- adopt, update, transfer, set-lifecycle: one call to a write tool of giantswarm-repo-manager with dryRun or mode commit, the plan printed on a dry run and the outcome on a commit.
Package list is `devctl repo list`: the inventory of the org's repositories as giantswarm-repo-manager holds it, scoped and filtered as on the Repositories page.
Package list is `devctl repo list`: the inventory of the org's repositories as giantswarm-repo-manager holds it, scoped and filtered as on the Repositories page.
Package setlifecycle is `devctl repo set-lifecycle`: a declared repository deprecated, archived or deleted through its team-file entry.
Package setlifecycle is `devctl repo set-lifecycle`: a declared repository deprecated, archived or deleted through its team-file entry.
Package sweep is `devctl repo sweep`: the full inventory sweep, started now.
Package sweep is `devctl repo sweep`: the full inventory sweep, started now.
Package transfer is `devctl repo transfer`: a declared repository moved to another team.
Package transfer is `devctl repo transfer`: a declared repository moved to another team.
Package update is `devctl repo update`: a declared repository's team-file entry changed.
Package update is `devctl repo update`: a declared repository's team-file entry changed.
Package watch is `devctl repo watch`: a new repository followed to readiness after its creation.
Package watch is `devctl repo watch`: a new repository followed to readiness after its creation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL