Help us shape the future of Go! Take the 2026 Go Developer Survey

repo

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package repo contains the repo logic for the control plane

Index

Constants

This section is empty.

Variables

View Source
var RepoCmd = &cobra.Command{
	Use:   "repo",
	Short: "Manage repositories within a Minder project",
	Long: `Manage repositories within a Minder project.

This command allows you to list, add, and manage repositories
connected to Minder for security analysis and policy enforcement.`,
	Example: `
  # List repositories
    minder repo list

  # Register a repository
    minder repo register --name my-repo --provider github

  # Delete a repository
    minder repo delete --name my-repo
`,
	RunE: func(cmd *cobra.Command, _ []string) error {
		return cmd.Usage()
	},
}

RepoCmd is the root command for the repo subcommands

Functions

func RegisterCmd

func RegisterCmd(cmd *cobra.Command, _ []string) error

RegisterCmd represents the register command to register a repo with minder

Types

This section is empty.

Jump to

Keyboard shortcuts

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