Documentation ¶
Index ¶
Constants ¶
This section is empty.
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 Executor ¶
type PluginStage ¶
type PluginStage string
plugin 运行时的状态机
const ( PluginStageBefore PluginStage = "plugin-before" PluginStageArtifactDownload PluginStage = "artifact-download" PluginStageBuildScript PluginStage = "build_script" PluginStageArtifactUpload PluginStage = "artifact-upload" PluginStageAfter PluginStage = "plugin-after" )
type PodRuntimeState ¶
type PodRuntimeState string
pod 运行时的状态机
const ( PodRunStatePending PodRuntimeState = "pending" PodRunRuntimeRunning PodRuntimeState = "running" PodRunRuntimeFinished PodRuntimeState = "finished" PodRunRuntimeCanceled PodRuntimeState = "canceled" PodRunRuntimeTerminated PodRuntimeState = "terminated" PodRunRuntimeTimedout PodRuntimeState = "timedout" )
Click to show internal directories.
Click to hide internal directories.