Documentation ¶
Index ¶
- func NewAddAltNameCmd(o *AddAltNameOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewCreateCmd(o *CreateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewEnterCmd(o *EnterOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewInstallCmd(o *InstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewRunCmd(o *RunOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewSyncCmd(o *SyncOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
- func NewWorkspaceCmd() *cobra.Command
- type AddAltNameOptions
- type CreateFlags
- type CreateOptions
- type DeleteFlags
- type DeleteOptions
- type DownloadOperation
- type DownloadOutputFlag
- type EnterOptions
- type InstallFlags
- type InstallOperation
- type InstallOptions
- type ListOptions
- type RemoteInput
- type RunFlags
- type RunOperation
- type RunOptions
- type SyncFlags
- type SyncOptions
- type UploadInputFlag
- type UploadOperation
- type WorkspaceFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddAltNameCmd ¶
func NewAddAltNameCmd(o *AddAltNameOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewCreateCmd ¶
func NewCreateCmd(o *CreateOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewDeleteCmd ¶
func NewDeleteCmd(o *DeleteOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewEnterCmd ¶
func NewEnterCmd(o *EnterOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewInstallCmd ¶
func NewInstallCmd(o *InstallOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewListCmd ¶
func NewListCmd(o *ListOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewRunCmd ¶
func NewRunCmd(o *RunOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewSyncCmd ¶
func NewSyncCmd(o *SyncOptions, flagsFactory cmdcore.FlagsFactory) *cobra.Command
func NewWorkspaceCmd ¶
Types ¶
type AddAltNameOptions ¶
type AddAltNameOptions struct { WorkspaceFlags WorkspaceFlags AltName string // contains filtered or unexported fields }
func NewAddAltNameOptions ¶
func NewAddAltNameOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *AddAltNameOptions
func (*AddAltNameOptions) Run ¶
func (o *AddAltNameOptions) Run() error
type CreateFlags ¶
type CreateFlags struct { cmdcore.GenerateNameFlags ctlwork.CreateOpts Remove bool }
func (*CreateFlags) Set ¶
func (s *CreateFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type CreateOptions ¶
type CreateOptions struct { WorkspaceFlags WorkspaceFlags CreateFlags CreateFlags InstallFlags InstallFlags RunFlags RunFlags DeleteFlags DeleteFlags // contains filtered or unexported fields }
func NewCreateOptions ¶
func NewCreateOptions(depsFactory cmdcore.DepsFactory, configFactory cmdcore.ConfigFactory, ui ui.UI) *CreateOptions
func (*CreateOptions) Run ¶
func (o *CreateOptions) Run() error
type DeleteFlags ¶ added in v0.0.5
type DeleteFlags struct {
Wait bool
}
func (*DeleteFlags) Set ¶ added in v0.0.5
func (s *DeleteFlags) Set(prefix string, cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type DeleteOptions ¶
type DeleteOptions struct { WorkspaceFlags WorkspaceFlags DeleteFlags DeleteFlags // contains filtered or unexported fields }
func NewDeleteOptions ¶
func NewDeleteOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *DeleteOptions
func (*DeleteOptions) Run ¶
func (o *DeleteOptions) Run() error
type DownloadOperation ¶
type DownloadOperation struct { Workspace ctlwork.Workspace Outputs []ctlwork.DownloadOutput UI ui.UI RestConfig *rest.Config }
func (DownloadOperation) Run ¶
func (o DownloadOperation) Run() error
type DownloadOutputFlag ¶
type DownloadOutputFlag struct {
// contains filtered or unexported fields
}
func NewDownloadOutputFlag ¶
func NewDownloadOutputFlag(outputs *[]ctlwork.DownloadOutput) *DownloadOutputFlag
func (*DownloadOutputFlag) Set ¶
func (s *DownloadOutputFlag) Set(val string) error
func (*DownloadOutputFlag) String ¶
func (s *DownloadOutputFlag) String() string
func (*DownloadOutputFlag) Type ¶
func (s *DownloadOutputFlag) Type() string
type EnterOptions ¶
type EnterOptions struct { WorkspaceFlags WorkspaceFlags // contains filtered or unexported fields }
func NewEnterOptions ¶
func NewEnterOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *EnterOptions
func (*EnterOptions) Run ¶
func (o *EnterOptions) Run() error
type InstallFlags ¶ added in v0.0.5
type InstallFlags struct { Desktop bool Firefox bool SublimeText bool GoogleChrome bool Go1x bool Docker bool }
func (*InstallFlags) Set ¶ added in v0.0.5
func (s *InstallFlags) Set(prefix string, cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
type InstallOperation ¶ added in v0.0.5
type InstallOperation struct { Workspace ctlwork.Workspace InstallFlags InstallFlags UI ui.UI RestConfig *rest.Config }
func (InstallOperation) Run ¶ added in v0.0.5
func (o InstallOperation) Run() error
type InstallOptions ¶
type InstallOptions struct { WorkspaceFlags WorkspaceFlags InstallFlags InstallFlags // contains filtered or unexported fields }
func NewInstallOptions ¶
func NewInstallOptions(depsFactory cmdcore.DepsFactory, configFactory cmdcore.ConfigFactory, ui ui.UI) *InstallOptions
func (*InstallOptions) Run ¶
func (o *InstallOptions) Run() error
type ListOptions ¶
type ListOptions struct { NamespaceFlags cmdcore.NamespaceFlags // contains filtered or unexported fields }
func NewListOptions ¶
func NewListOptions(depsFactory cmdcore.DepsFactory, ui ui.UI) *ListOptions
func (*ListOptions) Run ¶
func (o *ListOptions) Run() error
type RemoteInput ¶
type RemoteInput struct {
// contains filtered or unexported fields
}
func NewRemoteInput ¶
func NewRemoteInput(input ctlwork.UploadInput, uploadOp UploadOperation) RemoteInput
func (RemoteInput) Sync ¶
func (i RemoteInput) Sync() error
type RunFlags ¶
type RunFlags struct { SyncFlags WorkingDir string WorkingDirFromInput string Command string Enter bool }
func (*RunFlags) HasCommand ¶
type RunOperation ¶
type RunOperation struct { Workspace ctlwork.Workspace RunFlags RunFlags UI ui.UI RestConfig *rest.Config }
func (RunOperation) Run ¶
func (o RunOperation) Run() error
type RunOptions ¶
type RunOptions struct { WorkspaceFlags WorkspaceFlags RunFlags RunFlags // contains filtered or unexported fields }
func NewRunOptions ¶
func NewRunOptions(depsFactory cmdcore.DepsFactory, configFactory cmdcore.ConfigFactory, ui ui.UI) *RunOptions
func (*RunOptions) Run ¶
func (o *RunOptions) Run() error
type SyncFlags ¶
type SyncFlags struct { Inputs []ctlwork.UploadInput Outputs []ctlwork.DownloadOutput Watch bool }
type SyncOptions ¶
type SyncOptions struct { WorkspaceFlags WorkspaceFlags SyncFlags SyncFlags // contains filtered or unexported fields }
func NewSyncOptions ¶
func NewSyncOptions(depsFactory cmdcore.DepsFactory, configFactory cmdcore.ConfigFactory, ui ui.UI) *SyncOptions
func (*SyncOptions) Run ¶
func (o *SyncOptions) Run() error
type UploadInputFlag ¶
type UploadInputFlag struct {
// contains filtered or unexported fields
}
func NewUploadInputFlag ¶
func NewUploadInputFlag(inputs *[]ctlwork.UploadInput) *UploadInputFlag
func (*UploadInputFlag) Set ¶
func (s *UploadInputFlag) Set(val string) error
func (*UploadInputFlag) String ¶
func (s *UploadInputFlag) String() string
func (*UploadInputFlag) Type ¶
func (s *UploadInputFlag) Type() string
type UploadOperation ¶
type UploadOperation struct { Workspace ctlwork.Workspace Inputs []ctlwork.UploadInput UI ui.UI RestConfig *rest.Config }
func (UploadOperation) Run ¶
func (o UploadOperation) Run() error
type WorkspaceFlags ¶
type WorkspaceFlags struct { NamespaceFlags cmdcore.NamespaceFlags Name string }
func (*WorkspaceFlags) Set ¶
func (s *WorkspaceFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
func (*WorkspaceFlags) SetNonRequired ¶
func (s *WorkspaceFlags) SetNonRequired(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory)
Click to show internal directories.
Click to hide internal directories.