endpoint

package
v0.0.0-...-2caf503 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package endpoint implements the 'delete endpoint' sub-command.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Command performs the "delete endpoint" function
	Command = &cobra.Command{
		Use:   "endpoint",
		Short: "Delete endpoint",
		Long: `Deletes an API endpoint.

Caution: This will remove the API endpoint from the existing configuration. To use it again, you will have to re-authenticate. There is no way to undo this.

Example:

	gsctl delete endpoint https://api.gigantic.io`,
		PreRun: printValidation,
		Run:    printResult,
	}
)

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	// API endpoint to delete
	APIEndpoint string
	// Don't prompt
	Force bool
	// Verbosity
	Verbose bool
}

Arguments represents all argument that can be passed to our business function.

Jump to

Keyboard shortcuts

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