get

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

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

func (*SelfCmd) Run

func (cmd *SelfCmd) Run(ctx context.Context, stdin io.Reader, stdout io.Writer, stderr io.Writer) error

type VersionCmd

type VersionCmd struct {
	*flags.GlobalFlags

	Log log.Logger
}

VersionCmd holds the cmd flags

func (*VersionCmd) Run

func (cmd *VersionCmd) Run(ctx context.Context, stdin io.Reader, stdout io.Writer, stderr io.Writer) error

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

func (*WorkspaceCmd) Run

func (cmd *WorkspaceCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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