cli

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Flags for Model.
	FlagVid                                        = "vid"
	FlagPid                                        = "pid"
	FlagDeviceTypeId                               = "deviceTypeID"
	FlagProductName                                = "productName"
	FlagProductNameShortcut                        = "n"
	FlagProductLabel                               = "productLabel"
	FlagProductLabelShortcut                       = "d"
	FlagPartNumber                                 = "partNumber"
	FlagCommissioningCustomFlow                    = "commissioningCustomFlow"
	FlagCommissioningCustomFlowUrl                 = "commissioningCustomFlowURL"
	FlagCommissioningModeInitialStepsHint          = "commissioningModeInitialStepsHint"
	FlagCommissioningModeInitialStepsInstruction   = "commissioningModeInitialStepsInstruction"
	FlagCommissioningModeSecondaryStepsHint        = "commissioningModeSecondaryStepsHint"
	FlagCommissioningModeSecondaryStepsInstruction = "commissioningModeSecondaryStepsInstruction"
	FlagUserManualUrl                              = "userManualURL"
	FlagSupportUrl                                 = "supportURL"
	FlagProductUrl                                 = "productURL"
	FlagLsfUrl                                     = "lsfURL"
	FlagLsfRevision                                = "lsfRevision"

	// Flags for ModelVersion.
	FlagSoftwareVersion              = "softwareVersion"
	FlagSoftwareVersionShortcut      = "v"
	FlagSoftwareVersionString        = "softwareVersionString"
	FlagCdVersionNumber              = "cdVersionNumber"
	FlagFirmwareDigests              = "firmwareDigests"
	FlagSoftwareVersionValid         = "softwareVersionValid"
	FlagOtaUrl                       = "otaURL"
	FlagOtaFileSize                  = "otaFileSize"
	FlagOtaChecksum                  = "otaChecksum"
	FlagOtaChecksumType              = "otaChecksumType"
	FlagMinApplicableSoftwareVersion = "minApplicableSoftwareVersion"
	FlagMaxApplicableSoftwareVersion = "maxApplicableSoftwareVersion"
	FlagReleaseNotesUrl              = "releaseNotesURL"
)

Variables

View Source
var DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())

Functions

func CmdCreateModel added in v0.6.0

func CmdCreateModel() *cobra.Command

func CmdCreateModelVersion added in v0.6.0

func CmdCreateModelVersion() *cobra.Command

func CmdDeleteModel added in v0.6.0

func CmdDeleteModel() *cobra.Command

func CmdListModel added in v0.6.0

func CmdListModel() *cobra.Command

func CmdShowModel added in v0.6.0

func CmdShowModel() *cobra.Command

func CmdShowModelVersion added in v0.6.0

func CmdShowModelVersion() *cobra.Command

func CmdShowModelVersions added in v0.6.0

func CmdShowModelVersions() *cobra.Command

func CmdShowVendorProducts added in v0.6.0

func CmdShowVendorProducts() *cobra.Command

func CmdUpdateModel added in v0.6.0

func CmdUpdateModel() *cobra.Command

func CmdUpdateModelVersion added in v0.6.0

func CmdUpdateModelVersion() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module.

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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