cmd

package
v8.85.1 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: 20 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 IsInvalidFlags

func IsInvalidFlags(err error) bool

IsInvalidFlags asserts invalidFlagsError.

func New

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

Types

type Config

type Config struct {
	Logger micrologger.Logger
	Stderr io.Writer
	Stdout io.Writer

	BinaryName string
}

Directories

Path Synopsis
gen
ami
llm
pr
adopt
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.
align
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.
approve
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.
get
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.
info
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.
internal/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.
internal/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.
internal/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.
list
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.
setlifecycle
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.
sweep
Package sweep is `devctl repo sweep`: the full inventory sweep, started now.
Package sweep is `devctl repo sweep`: the full inventory sweep, started now.
transfer
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.
update
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.
watch
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