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
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 ¶
Click to show internal directories.
Click to hide internal directories.