Documentation ¶
Index ¶
Constants ¶
View Source
const ( BuildStageGetSources string = "get_sources" BuildStageDownloadArtifacts string = "download_artifacts" BuildStageUserScript string = "build_script" BuildStageArchiveCache string = "archive_cache" BuildStageUploadOnSuccessArtifacts string = "upload_artifacts_on_success" BuildStageUploadOnFailureArtifacts string = "upload_artifacts_on_failure" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptions ¶
type ExecOptions struct { Namespace string PodName string ContainerName string Stdin bool Command []string In io.Reader Out io.Writer Err io.Writer Executor RemoteExecutor Client *kubernetes.Clientset Config *restclient.Config }
ExecOptions声明Exec命令接受的参数
type KubernetesExecutor ¶
type KubernetesExecutor struct { BuildLog *os.File ObjectName string IsSystemError bool // contains filtered or unexported fields }
func (*KubernetesExecutor) Cleanup ¶
func (e *KubernetesExecutor) Cleanup() error
func (*KubernetesExecutor) Run ¶
func (e *KubernetesExecutor) Run() error
func (*KubernetesExecutor) SendError ¶
func (e *KubernetesExecutor) SendError(err error)
func (*KubernetesExecutor) Wait ¶
func (e *KubernetesExecutor) Wait() error
Click to show internal directories.
Click to hide internal directories.