Documentation ¶
Index ¶
- Constants
- func DefaultRegistryAK() string
- func DefaultRegistryAddr() string
- func DefaultRegistrySK() string
- func Home() string
- func NSQLookupAddrs() []string
- func PoetryAPIRootKey() string
- func ReleaseImageTimeout() string
- func WarpDrivePodName() string
- type CIStatus
- type NotifyType
- type PipelineType
- type ProductAuthType
- type ProductPermission
- type Status
- type TaskType
Constants ¶
View Source
const ( // CIStatusSuccess ... CIStatusSuccess = CIStatus("success") // CIStatusFailure ... CIStatusFailure = CIStatus("failure") // CIStatusNeutral ... CIStatusNeutral = CIStatus("neutral") // CIStatusCancelled ... CIStatusCancelled = CIStatus("cancelled") // CIStatusTimeout ... CIStatusTimeout = CIStatus("timed_out") )
View Source
const ( // ProductReadPermission ... ProductReadPermission = ProductPermission("read") // ProductWritePermission ... ProductWritePermission = ProductPermission("write") )
View Source
const ( // ProductAuthUser ... ProductAuthUser = ProductAuthType("user") // ProductAuthTeam ... ProductAuthTeam = ProductAuthType("team") )
View Source
const ( ImageFromKoderover = "koderover" ImageFromCustom = "custom" APIServer = "https://api.github.com/" )
Variables ¶
This section is empty.
Functions ¶
func DefaultRegistryAK ¶
func DefaultRegistryAK() string
func DefaultRegistryAddr ¶
func DefaultRegistryAddr() string
func DefaultRegistrySK ¶
func DefaultRegistrySK() string
func NSQLookupAddrs ¶
func NSQLookupAddrs() []string
func PoetryAPIRootKey ¶
func PoetryAPIRootKey() string
func ReleaseImageTimeout ¶
func ReleaseImageTimeout() string
func WarpDrivePodName ¶
func WarpDrivePodName() string
Types ¶
type NotifyType ¶
type NotifyType int
var ( // Announcement ... Announcement NotifyType = 1 // 公告 // PipelineStatus ... PipelineStatus NotifyType = 2 // 提醒 // Message ... Message NotifyType = 3 // 消息 )
type PipelineType ¶
type PipelineType string
const ( // SingleType 单服务工作流 SingleType PipelineType = "single" // WorkflowType 多服务工作流 WorkflowType PipelineType = "workflow" // FreestyleType 自由编排工作流 FreestyleType PipelineType = "freestyle" // TestType 测试 TestType PipelineType = "test" // ServiceType 服务 ServiceType PipelineType = "service" )
type Status ¶
type Status string
const ( StatusDisabled Status = "disabled" StatusCreated Status = "created" StatusRunning Status = "running" StatusPassed Status = "passed" StatusSkipped Status = "skipped" StatusFailed Status = "failed" StatusTimeout Status = "timeout" StatusCancelled Status = "cancelled" StatusWaiting Status = "waiting" StatusQueued Status = "queued" StatusBlocked Status = "blocked" QueueItemPending Status = "pending" )
type TaskType ¶
type TaskType string
const ( TaskPipeline TaskType = "pipeline" TaskBuild TaskType = "buildv2" TaskArtifactDeploy TaskType = "artifact_deploy" TaskJenkinsBuild TaskType = "jenkins_build" TaskArtifact TaskType = "artifact" TaskDeploy TaskType = "deploy" TaskTestingV2 TaskType = "testingv2" TaskDistributeToS3 TaskType = "distribute2kodo" TaskReleaseImage TaskType = "release_image" TaskJira TaskType = "jira" TaskDockerBuild TaskType = "docker_build" TaskSecurity TaskType = "security" TaskResetImage TaskType = "reset_image" TaskDistribute TaskType = "distribute" )
Click to show internal directories.
Click to hide internal directories.