Documentation
¶
Index ¶
- func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewSelfCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewVersionCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- type SelfCmd
- type VersionCmd
- type VersionInfo
- type WorkspaceCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmd ¶
func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewCmd creates a new cobra command
func NewSelfCmd ¶
func NewSelfCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewSelfCmd creates a new command
func NewVersionCmd ¶
func NewVersionCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewVersionCmd creates a new command
func NewWorkspaceCmd ¶
func NewWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewWorkspaceCmd creates a new command
Types ¶
type SelfCmd ¶
type SelfCmd struct {
*flags.GlobalFlags
Log log.Logger
}
SelfCmd holds the cmd flags
type VersionCmd ¶
type VersionCmd struct {
*flags.GlobalFlags
Log log.Logger
}
VersionCmd holds the cmd flags
type VersionInfo ¶
type VersionInfo struct {
// ServerVersion is the platform deployment version
ServerVersion string `json:"serverVersion,omitempty"`
// RemoteProviderVersion is the desired provider version of the current platform deployment
RemoteProviderVersion string `json:"remoteProviderVersion,omitempty"`
// CurrentProviderVersion is the currently installed provider version
CurrentProviderVersion string `json:"currentProviderVersion,omitempty"`
}
type WorkspaceCmd ¶
type WorkspaceCmd struct {
*flags.GlobalFlags
// contains filtered or unexported fields
}
WorkspaceCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.