cluster

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: 22 Imported by: 0

Documentation

Overview

Package cluster implements the 'show cluster' command.

Index

Constants

This section is empty.

Variables

View Source
var (

	// ShowClusterCommand performs the "show cluster" function
	ShowClusterCommand = &cobra.Command{
		Use:   "cluster",
		Short: "Show cluster details",
		Long: `Display details of a cluster

Examples:

  gsctl show cluster c7t2o
  gsctl show cluster "Cluster name"
`,

		PreRun: printValidation,

		Run: printResult,
	}
)

Functions

func IsProviderInfoCorrupt

func IsProviderInfoCorrupt(err error) bool

IsProviderInfoCorrupt asserts providerInfoCorruptError.

func IsUnknownProvider

func IsUnknownProvider(err error) bool

IsUnknownProvider asserts unknownProviderError.

Types

type Arguments

type Arguments struct {
	// contains filtered or unexported fields
}

Arguments specifies all the arguments to be used for our business function.

Jump to

Keyboard shortcuts

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