Documentation ¶
Index ¶
- Constants
- func Environs(envs []string) []string
- func GetObjectPath(name, subFolder string) string
- func HTTPSCloneURL(source, token, owner, name string, optionalGiteeAddr string) string
- func OAuthCloneURL(source, token, address, owner, name, scheme string) string
- func RunStep(ctx context.Context, step *meta.Step, workspace, paths string, ...) error
- type ArchiveStep
- type DebugStep
- type DistributeImageStep
- type DockerBuildStep
- type GitStep
- type JunitReportStep
- type ShellStep
- type SonarCheckStep
- type Step
- type TarArchiveStep
- type ToolInstallStep
Constants ¶
View Source
const ( ReploaceTestSuite = "TestSuite" ReploaceTestSuites = "TestSuites" )
Variables ¶
This section is empty.
Functions ¶
func GetObjectPath ¶
func HTTPSCloneURL ¶
HTTPSCloneURL returns HTTPS clone url
func OAuthCloneURL ¶
SSHCloneURL returns Oauth clone url e.g. https://oauth2:ACCESS_TOKEN@somegitlab.com/owner/name.git
Types ¶
type ArchiveStep ¶
type ArchiveStep struct {
// contains filtered or unexported fields
}
func NewArchiveStep ¶
func NewArchiveStep(spec interface{}, workspace string, envs, secretEnvs []string) (*ArchiveStep, error)
type DebugStep ¶
type DebugStep struct { Type string // contains filtered or unexported fields }
func NewDebugStep ¶
type DistributeImageStep ¶
type DistributeImageStep struct {
// contains filtered or unexported fields
}
func NewDistributeImageStep ¶
func NewDistributeImageStep(spec interface{}, workspace string, envs, secretEnvs []string) (*DistributeImageStep, error)
type DockerBuildStep ¶
type DockerBuildStep struct {
// contains filtered or unexported fields
}
func NewDockerBuildStep ¶
func NewDockerBuildStep(spec interface{}, workspace string, envs, secretEnvs []string) (*DockerBuildStep, error)
type JunitReportStep ¶
type JunitReportStep struct {
// contains filtered or unexported fields
}
func NewJunitReportStep ¶
func NewJunitReportStep(spec interface{}, workspace string, envs, secretEnvs []string) (*JunitReportStep, error)
type ShellStep ¶
type ShellStep struct { Paths string // contains filtered or unexported fields }
func NewShellStep ¶
type SonarCheckStep ¶
type SonarCheckStep struct {
// contains filtered or unexported fields
}
func NewSonarCheckStep ¶
func NewSonarCheckStep(spec interface{}, workspace string, envs, secretEnvs []string) (*SonarCheckStep, error)
type TarArchiveStep ¶
type TarArchiveStep struct {
// contains filtered or unexported fields
}
func NewTararchiveStep ¶
func NewTararchiveStep(spec interface{}, workspace string, envs, secretEnvs []string) (*TarArchiveStep, error)
type ToolInstallStep ¶
type ToolInstallStep struct {
// contains filtered or unexported fields
}
func NewToolInstallStep ¶
func NewToolInstallStep(spec interface{}, workspace string, envs, secretEnvs []string) (*ToolInstallStep, error)
Click to show internal directories.
Click to hide internal directories.