Documentation ¶
Index ¶
- Constants
- Variables
- func NewCheckHealthCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewCheckUpdateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewCreateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewDeleteCmd(flags *proflags.GlobalFlags) *cobra.Command
- func NewImportCmd(globalFlags *proflags.GlobalFlags) *cobra.Command
- func NewListClustersCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewListCmd(flags *proflags.GlobalFlags) *cobra.Command
- func NewListProjectsCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewListTemplatesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewListWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewLoginCmd(flags *proflags.GlobalFlags) *cobra.Command
- func NewProCmd(flags *flags.GlobalFlags, streamLogger *log.StreamLogger) *cobra.Command
- func NewRebuildCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewSelfCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewSleepCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewStartCmd(flags *proflags.GlobalFlags) *cobra.Command
- func NewUpdateProviderCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewUpdateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewVersionCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWakeupCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWatchWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func PrintSuccessMessageDockerInstall(host, password string, log log.Logger)
- func WrapCommandError(stdout []byte, err error) error
- type CheckHealthCmd
- type CheckUpdateCmd
- type ContainerDetails
- type ContainerDetailsConfig
- type ContainerDetailsState
- type ContainerNetworkSettings
- type ContainerPort
- type CreateWorkspaceCmd
- type DeleteCmd
- type Error
- type ImportCmd
- type ListClustersCmd
- type ListCmd
- type ListProjectsCmd
- type ListTemplatesCmd
- type ListWorkspacesCmd
- type LoginCmd
- type ProviderUpdateInfo
- type RebuildCmd
- type SelfCmd
- type SleepCmd
- type StartCmd
- type UpdateProviderCmd
- type UpdateWorkspaceCmd
- type VersionCmd
- type WakeupCmd
- type WatchWorkspacesCmd
Constants ¶
const AllWorkspaces = "all"
const LoftRouterDomainSecret = "loft-router-domain"
const PROVIDER_BINARY = "PRO_PROVIDER"
Variables ¶
var ( ErrMissingContainer = errors.New("missing container") ErrLoftNotReachable = errors.New("DevPod Pro is not reachable") )
Functions ¶
func NewCheckHealthCmd ¶ added in v0.6.0
func NewCheckHealthCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewCheckHealthCmd creates a new command
func NewCheckUpdateCmd ¶ added in v0.6.0
func NewCheckUpdateCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewCheckUpdateCmd creates a new command
func NewCreateWorkspaceCmd ¶ added in v0.6.0
func NewCreateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListworkspacesCmd creates a new command
func NewDeleteCmd ¶
func NewDeleteCmd(flags *proflags.GlobalFlags) *cobra.Command
NewDeleteCmd creates a new command
func NewImportCmd ¶
func NewImportCmd(globalFlags *proflags.GlobalFlags) *cobra.Command
NewImportCmd creates a new command
func NewListClustersCmd ¶ added in v0.6.0
func NewListClustersCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListClustersCmd creates a new command
func NewListCmd ¶
func NewListCmd(flags *proflags.GlobalFlags) *cobra.Command
NewListCmd creates a new command
func NewListProjectsCmd ¶ added in v0.6.0
func NewListProjectsCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListProjectsCmd creates a new command
func NewListTemplatesCmd ¶ added in v0.6.0
func NewListTemplatesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListTemplatesCmd creates a new command
func NewListWorkspacesCmd ¶ added in v0.6.0
func NewListWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListworkspacesCmd creates a new command
func NewLoginCmd ¶
func NewLoginCmd(flags *proflags.GlobalFlags) *cobra.Command
NewLoginCmd creates a new command
func NewProCmd ¶
func NewProCmd(flags *flags.GlobalFlags, streamLogger *log.StreamLogger) *cobra.Command
NewProCmd returns a new command
func NewRebuildCmd ¶ added in v0.5.9
func NewRebuildCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewRebuildCmd creates a new command
func NewSelfCmd ¶ added in v0.6.0
func NewSelfCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewSelfCmd creates a new command
func NewSleepCmd ¶ added in v0.5.13
func NewSleepCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewSleepCmd creates a new command
func NewStartCmd ¶ added in v0.5.8
func NewStartCmd(flags *proflags.GlobalFlags) *cobra.Command
NewStartCmd creates a new command
func NewUpdateProviderCmd ¶ added in v0.6.0
func NewUpdateProviderCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListworkspacesCmd creates a new command
func NewUpdateWorkspaceCmd ¶ added in v0.6.0
func NewUpdateWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewListworkspacesCmd creates a new command
func NewVersionCmd ¶ added in v0.6.0
func NewVersionCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewVersionCmd creates a new command
func NewWakeupCmd ¶ added in v0.5.13
func NewWakeupCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewWakeupCmd creates a new command
func NewWatchWorkspacesCmd ¶ added in v0.6.0
func NewWatchWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
NewWatchWorkspacesCmd creates a new command
func PrintSuccessMessageDockerInstall ¶ added in v0.5.8
func WrapCommandError ¶ added in v0.5.8
Types ¶
type CheckHealthCmd ¶ added in v0.6.0
type CheckHealthCmd struct { *flags.GlobalFlags Log log.Logger Host string }
CheckHealthCmd holds the cmd flags
type CheckUpdateCmd ¶ added in v0.6.0
type CheckUpdateCmd struct { *flags.GlobalFlags Log log.Logger Host string }
CheckUpdateCmd holds the cmd flags
type ContainerDetails ¶ added in v0.5.8
type ContainerDetails struct { NetworkSettings ContainerNetworkSettings `json:"NetworkSettings,omitempty"` State ContainerDetailsState `json:"State,omitempty"` ID string `json:"ID,omitempty"` Created string `json:"Created,omitempty"` Config ContainerDetailsConfig `json:"Config,omitempty"` }
type ContainerDetailsConfig ¶ added in v0.5.8
type ContainerDetailsState ¶ added in v0.5.8
type ContainerNetworkSettings ¶ added in v0.5.8
type ContainerNetworkSettings struct {
Ports map[string][]ContainerPort `json:"ports,omitempty"`
}
type ContainerPort ¶ added in v0.5.8
type CreateWorkspaceCmd ¶ added in v0.6.0
CreateWorkspaceCmd holds the cmd flags
type DeleteCmd ¶
type DeleteCmd struct { *proflags.GlobalFlags IgnoreNotFound bool }
DeleteCmd holds the delete cmd flags
type ImportCmd ¶
type ListClustersCmd ¶ added in v0.6.0
ListClustersCmd holds the cmd flags
type ListCmd ¶
type ListCmd struct { proflags.GlobalFlags Output string Login bool }
ListCmd holds the list cmd flags
type ListProjectsCmd ¶ added in v0.6.0
type ListProjectsCmd struct { *flags.GlobalFlags Log log.Logger Host string }
ListProjectsCmd holds the cmd flags
type ListTemplatesCmd ¶ added in v0.6.0
ListTemplatesCmd holds the cmd flags
type ListWorkspacesCmd ¶ added in v0.6.0
type ListWorkspacesCmd struct { *flags.GlobalFlags Log log.Logger Host string }
ListWorkspacesCmd holds the cmd flags
type LoginCmd ¶
type LoginCmd struct { proflags.GlobalFlags AccessKey string Provider string Version string ProviderSource string Options []string Login bool Use bool ForceBrowser bool }
LoginCmd holds the login cmd flags
type ProviderUpdateInfo ¶ added in v0.6.0
type RebuildCmd ¶ added in v0.5.9
RebuildCmd holds the cmd flags
type SelfCmd ¶ added in v0.6.0
type SelfCmd struct { *flags.GlobalFlags Log log.Logger Host string }
SelfCmd holds the cmd flags
type SleepCmd ¶ added in v0.5.13
type SleepCmd struct { *flags.GlobalFlags Log log.Logger Project string Host string ForceDuration int64 }
SleepCmd holds the cmd flags
type StartCmd ¶ added in v0.5.8
type StartCmd struct { proflags.GlobalFlags KubeClient kubernetes.Interface Log log.Logger RestConfig *rest.Config Context string Values string LocalPort string Version string DockerImage string Namespace string Password string Host string Email string ChartRepo string Product string ChartName string ChartPath string DockerArgs []string Reset bool NoPortForwarding bool NoTunnel bool NoLogin bool NoWait bool Upgrade bool ReuseValues bool Docker bool }
StartCmd holds the login cmd flags
type UpdateProviderCmd ¶ added in v0.6.0
UpdateProviderCmd holds the cmd flags
type UpdateWorkspaceCmd ¶ added in v0.6.0
UpdateWorkspaceCmd holds the cmd flags
type VersionCmd ¶ added in v0.6.0
type VersionCmd struct { *flags.GlobalFlags Log log.Logger Host string }
VersionCmd holds the cmd flags
type WatchWorkspacesCmd ¶ added in v0.6.0
type WatchWorkspacesCmd struct { *flags.GlobalFlags Log log.Logger Host string Project string FilterByOwner bool }
WatchWorkspacesCmd holds the cmd flags