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

provider

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package provider is the root command for the provider subcommands

Index

Constants

View Source
const (
	// MAX_WAIT is the maximum number of calls to the gRPC server before stopping.
	MAX_WAIT = time.Duration(5 * time.Minute)
)

Variables

View Source
var ProviderCmd = &cobra.Command{
	Use:   "provider",
	Short: "Manage providers within a minder control plane",
	Long:  `The minder provider commands manage providers within a minder control plane.`,
	RunE: func(cmd *cobra.Command, _ []string) error {
		return cmd.Usage()
	},
}

ProviderCmd is the root command for the provider subcommands

Functions

func EnrollProviderCmd added in v0.4.0

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

EnrollProviderCmd is the cobra command function for enrolling a provider.

func GetProviderClient added in v0.2.0

func GetProviderClient(cmd *cobra.Command) (minderv1.ProvidersServiceClient, func(), error)

GetProviderClient is a helper to get the ProvidersServiceClient, supporting mocks via the command context

Types

type Response

type Response struct {
	Status string `json:"status"`
}

Response is the response from the OAuth callback server.

Jump to

Keyboard shortcuts

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