Documentation ¶
Index ¶
- func BuildRoot() *cobra.Command
- func Execute()
- func NewCommandCmd() *cobra.Command
- func NewCreateCmd() *cobra.Command
- func NewDeleteCmd() *cobra.Command
- func NewInitCmd() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewStartCmd() *cobra.Command
- func NewStatusCmd() *cobra.Command
- func NewStopCmd() *cobra.Command
- type CommandCmd
- type CreateCmd
- type DeleteCmd
- type InitCmd
- type StartCmd
- type StatusCmd
- type StopCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandCmd ¶
type CommandCmd struct{}
CommandCmd holds the cmd flags
func (*CommandCmd) Run ¶
func (cmd *CommandCmd) Run( ctx context.Context, paperspaceProvider *paperspace.PaperspaceProvider, logs log.Logger, ) error
Run runs the command logic
type CreateCmd ¶
type CreateCmd struct{}
CreateCmd holds the cmd flags
func (*CreateCmd) Run ¶
func (cmd *CreateCmd) Run( ctx context.Context, paperspaceProvider *paperspace.PaperspaceProvider, logs log.Logger, ) error
Run runs the command logic
type DeleteCmd ¶
type DeleteCmd struct{}
DeleteCmd holds the cmd flags
func (*DeleteCmd) Run ¶
func (cmd *DeleteCmd) Run( ctx context.Context, paperspaceProvider *paperspace.PaperspaceProvider, logs log.Logger, ) error
Run runs the command logic
type InitCmd ¶
type InitCmd struct{}
InitCmd holds the cmd flags
func (*InitCmd) Run ¶
func (cmd *InitCmd) Run( ctx context.Context, paperspaceProvider *paperspace.PaperspaceProvider, logs log.Logger, ) error
Run runs the init logic
type StartCmd ¶
type StartCmd struct{}
StartCmd holds the cmd flags
func (*StartCmd) Run ¶
func (cmd *StartCmd) Run( ctx context.Context, paperspaceProvider *paperspace.PaperspaceProvider, logs log.Logger, ) error
Run runs the command logic
Source Files ¶
Click to show internal directories.
Click to hide internal directories.