Documentation ¶
Overview ¶
Package provider is the root command for the provider subcommands
Index ¶
- Constants
- Variables
- func DeleteProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func EnrollProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func GetProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func ListProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- func UpdateProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
- type Response
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 DeleteProviderCommand ¶
func DeleteProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
DeleteProviderCommand deletes the provider in a specific project
func EnrollProviderCommand ¶
func EnrollProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
EnrollProviderCommand is the command for enrolling a provider
func GetProviderCommand ¶
func GetProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
GetProviderCommand lists the providers available in a specific project
func ListProviderCommand ¶
func ListProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error
ListProviderCommand lists the providers available in a specific project
func UpdateProviderCommand ¶
func UpdateProviderCommand( ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn, ) error
UpdateProviderCommand is the command for enrolling a provider
Types ¶
Click to show internal directories.
Click to hide internal directories.