cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

SPDX-License-Identifier: BSD-3-Clause

Index

Constants

This section is empty.

Variables

View Source
var BuildVersion string = "v0.0.0-dev"

BuildVersion is set in official builds.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewAddConfigCmd

func NewAddConfigCmd() *cobra.Command

NewAddConfigCmd creates a new subcommand for adding new system settings.

func NewGetChassisCmd

func NewGetChassisCmd() *cobra.Command

NewGetChassisCmd returns a command for getting chassis information.

func NewGetConfigCmd

func NewGetConfigCmd() *cobra.Command

NewGetConfigCmd returns a command for getting stpred system information.

func NewGetDriveCmd

func NewGetDriveCmd() *cobra.Command

NewGetDriveCmd returns a command for getting drive information.

func NewGetSystemCmd

func NewGetSystemCmd() *cobra.Command

NewGetSystemCmd returns a command for getting system information.

func NewGetUserCmd

func NewGetUserCmd() *cobra.Command

NewGetUserCmd returns a command for getting user information.

func NewRemoveConfigCmd

func NewRemoveConfigCmd() *cobra.Command

NewRemoveConfigCmd returns a command for removing stored connection info.

func NewResetChassisCmd

func NewResetChassisCmd() *cobra.Command

NewResetChassisCmd returns a command for resetting a chassis.

func NewResetSystemCmd

func NewResetSystemCmd() *cobra.Command

NewResetSystemCmd returns a command for resetting a system.

func NewSetConfigCmd

func NewSetConfigCmd() *cobra.Command

NewSetConfigCmd returns a command for updating stored connection information.

func NewSetUserCmd

func NewSetUserCmd() *cobra.Command

NewSetUserCmd returns a command for updating user settings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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