provider

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 17 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 DeleteProviderCommand added in v0.0.40

func DeleteProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

DeleteProviderCommand deletes the provider in a specific project

func EnrollProviderCommand added in v0.0.22

func EnrollProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

EnrollProviderCommand is the command for enrolling a provider

func GetProviderCommand added in v0.0.35

func GetProviderCommand(ctx context.Context, cmd *cobra.Command, _ []string, conn *grpc.ClientConn) error

GetProviderCommand lists the providers available in a specific project

func ListProviderCommand added in v0.0.30

func ListProviderCommand(ctx context.Context, _ *cobra.Command, _ []string, conn *grpc.ClientConn) error

ListProviderCommand lists the providers available in a specific project

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