start

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const IdeServer string = "codesphere-ide"

Variables

This section is empty.

Functions

func AddStartCmd

func AddStartCmd(rootCmd *cobra.Command, opts shared.RootOptions)

func AddStartPipelineCmd

func AddStartPipelineCmd(start *cobra.Command, opts shared.RootOptions)

Types

type Client

type Client interface {
	StartPipelineStage(workspaceId int, profile string, stage string) error
	GetPipelineState(workspaceId int, stage string) ([]api.PipelineStatus, error)
}

type StartCmd

type StartCmd struct {
	// contains filtered or unexported fields
}

type StartPipelineCmd

type StartPipelineCmd struct {
	Opts StartPipelineOpts
	Time api.Time
	// contains filtered or unexported fields
}

func (*StartPipelineCmd) RunE

func (c *StartPipelineCmd) RunE(_ *cobra.Command, args []string) error

func (*StartPipelineCmd) StartPipelineStages

func (c *StartPipelineCmd) StartPipelineStages(client Client, wsId int, stages []string) error

type StartPipelineOpts

type StartPipelineOpts struct {
	shared.RootOptions
	ClientFactory func() (Client, error)
	Profile       *string
	Timeout       *time.Duration
}

Jump to

Keyboard shortcuts

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