script

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 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 BatchFileStep

type BatchFileStep struct {
	JobOutput []string

	Logger *log.JobLogger
	// contains filtered or unexported fields
}

func NewBatchFileStep

func NewBatchFileStep(jobOutput []string, spec interface{}, dirs *types.AgentWorkDirs, envs, secretEnvs []string, logger *log.JobLogger) (*BatchFileStep, error)

func (*BatchFileStep) Run

func (s *BatchFileStep) Run(ctx context.Context) error

type PowerShellStep

type PowerShellStep struct {
	JobOutput []string

	Logger *log.JobLogger
	// contains filtered or unexported fields
}

func NewPowerShellStep

func NewPowerShellStep(jobOutput []string, spec interface{}, dirs *types.AgentWorkDirs, envs, secretEnvs []string, logger *log.JobLogger) (*PowerShellStep, error)

func (*PowerShellStep) Run

func (s *PowerShellStep) Run(ctx context.Context) error

type ShellStep

type ShellStep struct {
	JobOutput []string

	Logger *log.JobLogger
	// contains filtered or unexported fields
}

func NewShellStep

func NewShellStep(jobOutput []string, spec interface{}, dirs *types.AgentWorkDirs, envs, secretEnvs []string, logger *log.JobLogger) (*ShellStep, error)

func (*ShellStep) Run

func (s *ShellStep) Run(ctx context.Context) error

type StepBatchFileSpec

type StepBatchFileSpec struct {
	Scripts     []string `json:"scripts"                                 yaml:"scripts,omitempty"`
	Script      string   `json:"script"                                  yaml:"script"`
	SkipPrepare bool     `json:"skip_prepare"                            yaml:"skip_prepare"`
}

type StepPowerShellSpec

type StepPowerShellSpec struct {
	Scripts     []string `json:"scripts"                                 yaml:"scripts,omitempty"`
	Script      string   `json:"script"                                  yaml:"script"`
	SkipPrepare bool     `json:"skip_prepare"                            yaml:"skip_prepare"`
}

type StepShellSpec

type StepShellSpec struct {
	Scripts     []string `json:"scripts"                                 yaml:"scripts,omitempty"`
	Script      string   `json:"script"                                  yaml:"script"`
	SkipPrepare bool     `json:"skip_prepare"                            yaml:"skip_prepare"`
}

Jump to

Keyboard shortcuts

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