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 ¶
- Variables
- func Execute()
- func NewAddConfigCmd() *cobra.Command
- func NewGetChassisCmd() *cobra.Command
- func NewGetConfigCmd() *cobra.Command
- func NewGetDriveCmd() *cobra.Command
- func NewGetSystemCmd() *cobra.Command
- func NewGetUserCmd() *cobra.Command
- func NewRemoveConfigCmd() *cobra.Command
- func NewResetChassisCmd() *cobra.Command
- func NewResetSystemCmd() *cobra.Command
- func NewSetConfigCmd() *cobra.Command
- func NewSetUserCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
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 ¶
NewAddConfigCmd creates a new subcommand for adding new system settings.
func NewGetChassisCmd ¶
NewGetChassisCmd returns a command for getting chassis information.
func NewGetConfigCmd ¶
NewGetConfigCmd returns a command for getting stpred system information.
func NewGetDriveCmd ¶
NewGetDriveCmd returns a command for getting drive information.
func NewGetSystemCmd ¶
NewGetSystemCmd returns a command for getting system information.
func NewGetUserCmd ¶
NewGetUserCmd returns a command for getting user information.
func NewRemoveConfigCmd ¶
NewRemoveConfigCmd returns a command for removing stored connection info.
func NewResetChassisCmd ¶
NewResetChassisCmd returns a command for resetting a chassis.
func NewResetSystemCmd ¶
NewResetSystemCmd returns a command for resetting a system.
func NewSetConfigCmd ¶
NewSetConfigCmd returns a command for updating stored connection information.
func NewSetUserCmd ¶
NewSetUserCmd returns a command for updating user settings.
Types ¶
This section is empty.