teststeps

package
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFilesStep

type CreateFilesStep struct{}

func (*CreateFilesStep) Name

func (s *CreateFilesStep) Name() string

func (*CreateFilesStep) Run

func (s *CreateFilesStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

type CreateWorkspaceStep

type CreateWorkspaceStep struct{}

func (*CreateWorkspaceStep) Name

func (s *CreateWorkspaceStep) Name() string

func (*CreateWorkspaceStep) Run

func (s *CreateWorkspaceStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

type DeleteWorkspaceStep

type DeleteWorkspaceStep struct{}

func (*DeleteWorkspaceStep) Name

func (s *DeleteWorkspaceStep) Name() string

func (*DeleteWorkspaceStep) Run

func (s *DeleteWorkspaceStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

type SetEnvVarStep

type SetEnvVarStep struct{}

func (*SetEnvVarStep) Name

func (s *SetEnvVarStep) Name() string

func (*SetEnvVarStep) Run

func (s *SetEnvVarStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

type SmokeTestStep

type SmokeTestStep interface {
	Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error
	Name() string
}

type SmoketestCodesphereOpts

type SmoketestCodesphereOpts struct {
	Client codesphere.Client
	// Configuration options
	BaseURL string
	Token   string
	TeamID  string
	PlanID  string
	Quiet   bool
	Timeout time.Duration
	Profile string
	Steps   []string
}

type StartPipelineStep

type StartPipelineStep struct{}

func (*StartPipelineStep) Name

func (s *StartPipelineStep) Name() string

func (*StartPipelineStep) Run

func (s *StartPipelineStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

type SyncLandscapeStep

type SyncLandscapeStep struct{}

func (*SyncLandscapeStep) Name

func (s *SyncLandscapeStep) Name() string

func (*SyncLandscapeStep) Run

func (s *SyncLandscapeStep) Run(ctx context.Context, c *SmoketestCodesphereOpts, workspaceID *int) error

Jump to

Keyboard shortcuts

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