Documentation ¶
Index ¶
- type Build
- func (*Build) Descriptor() ([]byte, []int)
- func (m *Build) GetArtifact() *Build_Artifact
- func (m *Build) GetCreated() int32
- func (m *Build) GetEvents() []string
- func (m *Build) GetGitMeta() *GitMeta
- func (m *Build) GetId() string
- func (m *Build) GetNumber() string
- func (m *Build) GetSender() string
- func (m *Build) GetStatus() *BuildStatus
- func (m *Build) GetYamlString() string
- func (*Build) ProtoMessage()
- func (m *Build) Reset()
- func (m *Build) String() string
- func (this *Build) Validate() error
- func (m *Build) XXX_DiscardUnknown()
- func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Build) XXX_Merge(src proto.Message)
- func (m *Build) XXX_Size() int
- func (m *Build) XXX_Unmarshal(b []byte) error
- type BuildStatus
- func (*BuildStatus) Descriptor() ([]byte, []int)
- func (m *BuildStatus) GetFinished() int32
- func (m *BuildStatus) GetNodeName() string
- func (m *BuildStatus) GetStarted() int32
- func (m *BuildStatus) GetState() string
- func (m *BuildStatus) GetUpdated() int32
- func (*BuildStatus) ProtoMessage()
- func (m *BuildStatus) Reset()
- func (m *BuildStatus) String() string
- func (this *BuildStatus) Validate() error
- func (m *BuildStatus) XXX_DiscardUnknown()
- func (m *BuildStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildStatus) XXX_Merge(src proto.Message)
- func (m *BuildStatus) XXX_Size() int
- func (m *BuildStatus) XXX_Unmarshal(b []byte) error
- type Build_Artifact
- func (*Build_Artifact) Descriptor() ([]byte, []int)
- func (m *Build_Artifact) GetCtime() string
- func (m *Build_Artifact) GetPackageId() string
- func (m *Build_Artifact) GetPackageName() string
- func (m *Build_Artifact) GetVersionId() string
- func (m *Build_Artifact) GetVersionName() string
- func (*Build_Artifact) ProtoMessage()
- func (m *Build_Artifact) Reset()
- func (m *Build_Artifact) String() string
- func (this *Build_Artifact) Validate() error
- func (m *Build_Artifact) XXX_DiscardUnknown()
- func (m *Build_Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Build_Artifact) XXX_Merge(src proto.Message)
- func (m *Build_Artifact) XXX_Size() int
- func (m *Build_Artifact) XXX_Unmarshal(b []byte) error
- type GitMeta
- func (*GitMeta) Descriptor() ([]byte, []int)
- func (m *GitMeta) GetAction() string
- func (m *GitMeta) GetAfter() string
- func (m *GitMeta) GetAuthorAvatar() string
- func (m *GitMeta) GetAuthorEmail() string
- func (m *GitMeta) GetAuthorName() string
- func (m *GitMeta) GetBefore() string
- func (m *GitMeta) GetEvent() string
- func (m *GitMeta) GetLink() string
- func (m *GitMeta) GetMessage() string
- func (m *GitMeta) GetRef() string
- func (m *GitMeta) GetSource() string
- func (m *GitMeta) GetTarget() string
- func (m *GitMeta) GetTrigger() string
- func (*GitMeta) ProtoMessage()
- func (m *GitMeta) Reset()
- func (m *GitMeta) String() string
- func (this *GitMeta) Validate() error
- func (m *GitMeta) XXX_DiscardUnknown()
- func (m *GitMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GitMeta) XXX_Merge(src proto.Message)
- func (m *GitMeta) XXX_Size() int
- func (m *GitMeta) XXX_Unmarshal(b []byte) error
- type Pipeline
- func (*Pipeline) Descriptor() ([]byte, []int)
- func (m *Pipeline) GetAliasName() string
- func (m *Pipeline) GetCreator() string
- func (m *Pipeline) GetCtime() string
- func (m *Pipeline) GetId() string
- func (m *Pipeline) GetMtime() string
- func (m *Pipeline) GetStepTimeout() int32
- func (m *Pipeline) GetVariables() []*Pipeline_Variables
- func (m *Pipeline) GetWorkflowType() string
- func (m *Pipeline) GetYamlPath() string
- func (m *Pipeline) GetYamlString() string
- func (m *Pipeline) GetYamlUrl() string
- func (*Pipeline) ProtoMessage()
- func (m *Pipeline) Reset()
- func (m *Pipeline) String() string
- func (this *Pipeline) Validate() error
- func (m *Pipeline) XXX_DiscardUnknown()
- func (m *Pipeline) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pipeline) XXX_Merge(src proto.Message)
- func (m *Pipeline) XXX_Size() int
- func (m *Pipeline) XXX_Unmarshal(b []byte) error
- type Pipeline_Variables
- func (*Pipeline_Variables) Descriptor() ([]byte, []int)
- func (m *Pipeline_Variables) GetName() string
- func (m *Pipeline_Variables) GetValue() string
- func (*Pipeline_Variables) ProtoMessage()
- func (m *Pipeline_Variables) Reset()
- func (m *Pipeline_Variables) String() string
- func (this *Pipeline_Variables) Validate() error
- func (m *Pipeline_Variables) XXX_DiscardUnknown()
- func (m *Pipeline_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pipeline_Variables) XXX_Merge(src proto.Message)
- func (m *Pipeline_Variables) XXX_Size() int
- func (m *Pipeline_Variables) XXX_Unmarshal(b []byte) error
- type ProgressLog
- func (*ProgressLog) Descriptor() ([]byte, []int)
- func (m *ProgressLog) GetId() string
- func (m *ProgressLog) GetLogs() []string
- func (m *ProgressLog) GetMetrics() string
- func (*ProgressLog) ProtoMessage()
- func (m *ProgressLog) Reset()
- func (m *ProgressLog) String() string
- func (this *ProgressLog) Validate() error
- func (m *ProgressLog) XXX_DiscardUnknown()
- func (m *ProgressLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProgressLog) XXX_Merge(src proto.Message)
- func (m *ProgressLog) XXX_Size() int
- func (m *ProgressLog) XXX_Unmarshal(b []byte) error
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetCreator() string
- func (m *Project) GetCtime() string
- func (m *Project) GetDefaultBranch() string
- func (m *Project) GetFavorite() bool
- func (m *Project) GetGitHttpUrl() string
- func (m *Project) GetGitSshUrl() string
- func (m *Project) GetId() string
- func (m *Project) GetLink() string
- func (m *Project) GetMtime() string
- func (m *Project) GetName() string
- func (m *Project) GetNameWithNamespace() string
- func (m *Project) GetPathWithNamespace() string
- func (m *Project) GetRepoId() int32
- func (m *Project) GetRepoName() string
- func (m *Project) GetTags() []string
- func (m *Project) GetVariables() []*Project_Variables
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) String() string
- func (this *Project) Validate() error
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type Project_Variables
- func (*Project_Variables) Descriptor() ([]byte, []int)
- func (m *Project_Variables) GetName() string
- func (m *Project_Variables) GetValue() string
- func (*Project_Variables) ProtoMessage()
- func (m *Project_Variables) Reset()
- func (m *Project_Variables) String() string
- func (this *Project_Variables) Validate() error
- func (m *Project_Variables) XXX_DiscardUnknown()
- func (m *Project_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project_Variables) XXX_Merge(src proto.Message)
- func (m *Project_Variables) XXX_Size() int
- func (m *Project_Variables) XXX_Unmarshal(b []byte) error
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)
- func (m *Provider) GetApiUrl() string
- func (m *Provider) GetAuth() *Provider_Auth
- func (m *Provider) GetCreator() string
- func (m *Provider) GetCtime() string
- func (m *Provider) GetDefault() bool
- func (m *Provider) GetId() string
- func (m *Provider) GetMtime() string
- func (m *Provider) GetName() string
- func (m *Provider) GetType() string
- func (*Provider) ProtoMessage()
- func (m *Provider) Reset()
- func (m *Provider) String() string
- func (this *Provider) Validate() error
- func (m *Provider) XXX_DiscardUnknown()
- func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provider) XXX_Merge(src proto.Message)
- func (m *Provider) XXX_Size() int
- func (m *Provider) XXX_Unmarshal(b []byte) error
- type Provider_Auth
- func (*Provider_Auth) Descriptor() ([]byte, []int)
- func (m *Provider_Auth) GetAccessPrivateRepos() bool
- func (m *Provider_Auth) GetAppId() string
- func (m *Provider_Auth) GetAppSecret() string
- func (m *Provider_Auth) GetToken() string
- func (m *Provider_Auth) GetType() string
- func (*Provider_Auth) ProtoMessage()
- func (m *Provider_Auth) Reset()
- func (m *Provider_Auth) String() string
- func (this *Provider_Auth) Validate() error
- func (m *Provider_Auth) XXX_DiscardUnknown()
- func (m *Provider_Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Provider_Auth) XXX_Merge(src proto.Message)
- func (m *Provider_Auth) XXX_Size() int
- func (m *Provider_Auth) XXX_Unmarshal(b []byte) error
- type Repository
- func (*Repository) Descriptor() ([]byte, []int)
- func (m *Repository) GetDefaultBranch() string
- func (m *Repository) GetGitHttpUrl() string
- func (m *Repository) GetGitSshUrl() string
- func (m *Repository) GetLink() string
- func (m *Repository) GetNameWithNamespace() string
- func (m *Repository) GetPathWithNamespace() string
- func (m *Repository) GetRepoId() int32
- func (m *Repository) GetRepoName() string
- func (*Repository) ProtoMessage()
- func (m *Repository) Reset()
- func (m *Repository) String() string
- func (this *Repository) Validate() error
- func (m *Repository) XXX_DiscardUnknown()
- func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Repository) XXX_Merge(src proto.Message)
- func (m *Repository) XXX_Size() int
- func (m *Repository) XXX_Unmarshal(b []byte) error
- type StageStatus
- func (*StageStatus) Descriptor() ([]byte, []int)
- func (m *StageStatus) GetCreated() int32
- func (m *StageStatus) GetId() string
- func (m *StageStatus) GetNumber() int32
- func (m *StageStatus) GetParallel() bool
- func (m *StageStatus) GetStageName() string
- func (m *StageStatus) GetState() string
- func (m *StageStatus) GetSteps() []*StageStatus_Steps
- func (m *StageStatus) GetUpdated() int32
- func (*StageStatus) ProtoMessage()
- func (m *StageStatus) Reset()
- func (m *StageStatus) String() string
- func (this *StageStatus) Validate() error
- func (m *StageStatus) XXX_DiscardUnknown()
- func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageStatus) XXX_Merge(src proto.Message)
- func (m *StageStatus) XXX_Size() int
- func (m *StageStatus) XXX_Unmarshal(b []byte) error
- type StageStatus_Steps
- func (*StageStatus_Steps) Descriptor() ([]byte, []int)
- func (m *StageStatus_Steps) GetExitCode() int32
- func (m *StageStatus_Steps) GetFinished() int32
- func (m *StageStatus_Steps) GetId() string
- func (m *StageStatus_Steps) GetLogId() string
- func (m *StageStatus_Steps) GetName() string
- func (m *StageStatus_Steps) GetNumber() int32
- func (m *StageStatus_Steps) GetStarted() int32
- func (m *StageStatus_Steps) GetState() string
- func (m *StageStatus_Steps) GetType() string
- func (*StageStatus_Steps) ProtoMessage()
- func (m *StageStatus_Steps) Reset()
- func (m *StageStatus_Steps) String() string
- func (this *StageStatus_Steps) Validate() error
- func (m *StageStatus_Steps) XXX_DiscardUnknown()
- func (m *StageStatus_Steps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StageStatus_Steps) XXX_Merge(src proto.Message)
- func (m *StageStatus_Steps) XXX_Size() int
- func (m *StageStatus_Steps) XXX_Unmarshal(b []byte) error
- type Template
- func (*Template) Descriptor() ([]byte, []int)
- func (m *Template) GetCreator() string
- func (m *Template) GetCtime() string
- func (m *Template) GetDescription() string
- func (m *Template) GetId() string
- func (m *Template) GetMtime() string
- func (m *Template) GetName() string
- func (m *Template) GetVariables() []*Template_Variables
- func (m *Template) GetYamlString() string
- func (*Template) ProtoMessage()
- func (m *Template) Reset()
- func (m *Template) String() string
- func (this *Template) Validate() error
- func (m *Template) XXX_DiscardUnknown()
- func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Template) XXX_Merge(src proto.Message)
- func (m *Template) XXX_Size() int
- func (m *Template) XXX_Unmarshal(b []byte) error
- type Template_Variables
- func (*Template_Variables) Descriptor() ([]byte, []int)
- func (m *Template_Variables) GetName() string
- func (m *Template_Variables) GetValue() string
- func (*Template_Variables) ProtoMessage()
- func (m *Template_Variables) Reset()
- func (m *Template_Variables) String() string
- func (this *Template_Variables) Validate() error
- func (m *Template_Variables) XXX_DiscardUnknown()
- func (m *Template_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Template_Variables) XXX_Merge(src proto.Message)
- func (m *Template_Variables) XXX_Size() int
- func (m *Template_Variables) XXX_Unmarshal(b []byte) error
- type Trigger
- func (*Trigger) Descriptor() ([]byte, []int)
- func (m *Trigger) GetBranchName() string
- func (m *Trigger) GetCreator() string
- func (m *Trigger) GetCtime() string
- func (m *Trigger) GetEvents() []string
- func (m *Trigger) GetHookId() string
- func (m *Trigger) GetId() string
- func (m *Trigger) GetLink() string
- func (m *Trigger) GetMtime() string
- func (m *Trigger) GetProvider() string
- func (m *Trigger) GetType() string
- func (*Trigger) ProtoMessage()
- func (m *Trigger) Reset()
- func (m *Trigger) String() string
- func (this *Trigger) Validate() error
- func (m *Trigger) XXX_DiscardUnknown()
- func (m *Trigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Trigger) XXX_Merge(src proto.Message)
- func (m *Trigger) XXX_Size() int
- func (m *Trigger) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { // //任务id, 服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //git信息, 创建的时候传入,不能修改 GitMeta *GitMeta `protobuf:"bytes,2,opt,name=git_meta,json=gitMeta,proto3" json:"git_meta" form:"git_meta"` // //触发者,创建的时候传入,不能修改 Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender" form:"sender"` // //制品包信息 Artifact *Build_Artifact `protobuf:"bytes,4,opt,name=artifact,proto3" json:"artifact" form:"artifact"` // //创建时间,创建的时候传入,不能修改 Created int32 `protobuf:"varint,5,opt,name=created,proto3" json:"created" form:"created"` // //workflow定义 YamlString string `protobuf:"bytes,6,opt,name=yaml_string,json=yamlString,proto3" json:"yaml_string" form:"yaml_string"` // //执行状态 Status *BuildStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status" form:"status"` // //编号 Number string `protobuf:"bytes,8,opt,name=number,proto3" json:"number" form:"number"` // //事件列表 Events []string `protobuf:"bytes,9,rep,name=events,proto3" json:"events" form:"events"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
流水线任务
func (*Build) Descriptor ¶
func (*Build) GetArtifact ¶
func (m *Build) GetArtifact() *Build_Artifact
func (*Build) GetCreated ¶
func (*Build) GetGitMeta ¶
func (*Build) GetStatus ¶
func (m *Build) GetStatus() *BuildStatus
func (*Build) GetYamlString ¶
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
func (*Build) XXX_DiscardUnknown ¶
func (m *Build) XXX_DiscardUnknown()
func (*Build) XXX_Marshal ¶
func (*Build) XXX_Unmarshal ¶
type BuildStatus ¶
type BuildStatus struct { // //构建状态 State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state" form:"state"` // //运行的节点 NodeName string `protobuf:"bytes,2,opt,name=nodeName,proto3" json:"nodeName" form:"nodeName"` // //开始时间 Started int32 `protobuf:"varint,3,opt,name=started,proto3" json:"started" form:"started"` // //更新时间 Updated int32 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated" form:"updated"` // //完成时间 Finished int32 `protobuf:"varint,5,opt,name=finished,proto3" json:"finished" form:"finished"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
构建状态
func (*BuildStatus) Descriptor ¶
func (*BuildStatus) Descriptor() ([]byte, []int)
func (*BuildStatus) GetFinished ¶
func (m *BuildStatus) GetFinished() int32
func (*BuildStatus) GetNodeName ¶
func (m *BuildStatus) GetNodeName() string
func (*BuildStatus) GetStarted ¶
func (m *BuildStatus) GetStarted() int32
func (*BuildStatus) GetState ¶
func (m *BuildStatus) GetState() string
func (*BuildStatus) GetUpdated ¶
func (m *BuildStatus) GetUpdated() int32
func (*BuildStatus) ProtoMessage ¶
func (*BuildStatus) ProtoMessage()
func (*BuildStatus) Reset ¶
func (m *BuildStatus) Reset()
func (*BuildStatus) String ¶
func (m *BuildStatus) String() string
func (*BuildStatus) Validate ¶
func (this *BuildStatus) Validate() error
func (*BuildStatus) XXX_DiscardUnknown ¶
func (m *BuildStatus) XXX_DiscardUnknown()
func (*BuildStatus) XXX_Marshal ¶
func (m *BuildStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BuildStatus) XXX_Merge ¶
func (m *BuildStatus) XXX_Merge(src proto.Message)
func (*BuildStatus) XXX_Size ¶
func (m *BuildStatus) XXX_Size() int
func (*BuildStatus) XXX_Unmarshal ¶
func (m *BuildStatus) XXX_Unmarshal(b []byte) error
type Build_Artifact ¶
type Build_Artifact struct { // //制品包名称 PackageName string `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName" form:"packageName"` // //版本号 VersionName string `protobuf:"bytes,2,opt,name=versionName,proto3" json:"versionName" form:"versionName"` // //制品包上传时间 Ctime string `protobuf:"bytes,3,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //程序包Id PackageId string `protobuf:"bytes,4,opt,name=packageId,proto3" json:"packageId" form:"packageId"` // //版本Id VersionId string `protobuf:"bytes,5,opt,name=versionId,proto3" json:"versionId" form:"versionId"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Build_Artifact) Descriptor ¶
func (*Build_Artifact) Descriptor() ([]byte, []int)
func (*Build_Artifact) GetCtime ¶
func (m *Build_Artifact) GetCtime() string
func (*Build_Artifact) GetPackageId ¶
func (m *Build_Artifact) GetPackageId() string
func (*Build_Artifact) GetPackageName ¶
func (m *Build_Artifact) GetPackageName() string
func (*Build_Artifact) GetVersionId ¶
func (m *Build_Artifact) GetVersionId() string
func (*Build_Artifact) GetVersionName ¶
func (m *Build_Artifact) GetVersionName() string
func (*Build_Artifact) ProtoMessage ¶
func (*Build_Artifact) ProtoMessage()
func (*Build_Artifact) Reset ¶
func (m *Build_Artifact) Reset()
func (*Build_Artifact) String ¶
func (m *Build_Artifact) String() string
func (*Build_Artifact) Validate ¶
func (this *Build_Artifact) Validate() error
func (*Build_Artifact) XXX_DiscardUnknown ¶
func (m *Build_Artifact) XXX_DiscardUnknown()
func (*Build_Artifact) XXX_Marshal ¶
func (m *Build_Artifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Build_Artifact) XXX_Merge ¶
func (m *Build_Artifact) XXX_Merge(src proto.Message)
func (*Build_Artifact) XXX_Size ¶
func (m *Build_Artifact) XXX_Size() int
func (*Build_Artifact) XXX_Unmarshal ¶
func (m *Build_Artifact) XXX_Unmarshal(b []byte) error
type GitMeta ¶
type GitMeta struct { // //git事件 Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event" form:"event"` // //前一个commit sha Before string `protobuf:"bytes,2,opt,name=before,proto3" json:"before" form:"before"` // //当前commit sha After string `protobuf:"bytes,3,opt,name=after,proto3" json:"after" form:"after"` // //提交者图像 AuthorAvatar string `protobuf:"bytes,4,opt,name=author_avatar,json=authorAvatar,proto3" json:"author_avatar" form:"author_avatar"` // //提交者邮箱 AuthorEmail string `protobuf:"bytes,5,opt,name=author_email,json=authorEmail,proto3" json:"author_email" form:"author_email"` // //提交者 AuthorName string `protobuf:"bytes,6,opt,name=author_name,json=authorName,proto3" json:"author_name" form:"author_name"` // //提交信息 Message string `protobuf:"bytes,7,opt,name=message,proto3" json:"message" form:"message"` // //引用 Ref string `protobuf:"bytes,8,opt,name=ref,proto3" json:"ref" form:"ref"` // //源分支 Source string `protobuf:"bytes,9,opt,name=source,proto3" json:"source" form:"source"` // //目标分支 Target string `protobuf:"bytes,10,opt,name=target,proto3" json:"target" form:"target"` // //触发方式 Trigger string `protobuf:"bytes,11,opt,name=trigger,proto3" json:"trigger" form:"trigger"` // //动作 Action string `protobuf:"bytes,12,opt,name=action,proto3" json:"action" form:"action"` // //链接 Link string `protobuf:"bytes,13,opt,name=link,proto3" json:"link" form:"link"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
git信息
func (*GitMeta) Descriptor ¶
func (*GitMeta) GetAuthorAvatar ¶
func (*GitMeta) GetAuthorEmail ¶
func (*GitMeta) GetAuthorName ¶
func (*GitMeta) GetMessage ¶
func (*GitMeta) GetTrigger ¶
func (*GitMeta) ProtoMessage ¶
func (*GitMeta) ProtoMessage()
func (*GitMeta) XXX_DiscardUnknown ¶
func (m *GitMeta) XXX_DiscardUnknown()
func (*GitMeta) XXX_Marshal ¶
func (*GitMeta) XXX_Unmarshal ¶
type Pipeline ¶
type Pipeline struct { // //流水线id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //流水线名称 AliasName string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName,proto3" json:"alias_name" form:"alias_name"` // //yaml文件内容 WorkflowType string `protobuf:"bytes,3,opt,name=workflow_type,json=workflowType,proto3" json:"workflow_type" form:"workflow_type"` // //workflow yaml存放位置 YamlPath string `protobuf:"bytes,4,opt,name=yaml_path,json=yamlPath,proto3" json:"yaml_path" form:"yaml_path"` // //workflow定义字符串 YamlString string `protobuf:"bytes,5,opt,name=yaml_string,json=yamlString,proto3" json:"yaml_string" form:"yaml_string"` // //workflow定义url YamlUrl string `protobuf:"bytes,6,opt,name=yaml_url,json=yamlUrl,proto3" json:"yaml_url" form:"yaml_url"` // //timeout Minute StepTimeout int32 `protobuf:"varint,7,opt,name=step_timeout,json=stepTimeout,proto3" json:"step_timeout" form:"step_timeout"` // //流水线全局变量 Variables []*Pipeline_Variables `protobuf:"bytes,8,rep,name=variables,proto3" json:"variables" form:"variables"` // //创建者, 服务端自动生成 Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间, 服务端自动生成 Ctime string `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间, 服务端自动生成 Mtime string `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
流水线
func (*Pipeline) Descriptor ¶
func (*Pipeline) GetAliasName ¶
func (*Pipeline) GetCreator ¶
func (*Pipeline) GetStepTimeout ¶
func (*Pipeline) GetVariables ¶
func (m *Pipeline) GetVariables() []*Pipeline_Variables
func (*Pipeline) GetWorkflowType ¶
func (*Pipeline) GetYamlPath ¶
func (*Pipeline) GetYamlString ¶
func (*Pipeline) GetYamlUrl ¶
func (*Pipeline) ProtoMessage ¶
func (*Pipeline) ProtoMessage()
func (*Pipeline) XXX_DiscardUnknown ¶
func (m *Pipeline) XXX_DiscardUnknown()
func (*Pipeline) XXX_Marshal ¶
func (*Pipeline) XXX_Unmarshal ¶
type Pipeline_Variables ¶
type Pipeline_Variables struct { // //name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pipeline_Variables) Descriptor ¶
func (*Pipeline_Variables) Descriptor() ([]byte, []int)
func (*Pipeline_Variables) GetName ¶
func (m *Pipeline_Variables) GetName() string
func (*Pipeline_Variables) GetValue ¶
func (m *Pipeline_Variables) GetValue() string
func (*Pipeline_Variables) ProtoMessage ¶
func (*Pipeline_Variables) ProtoMessage()
func (*Pipeline_Variables) Reset ¶
func (m *Pipeline_Variables) Reset()
func (*Pipeline_Variables) String ¶
func (m *Pipeline_Variables) String() string
func (*Pipeline_Variables) Validate ¶
func (this *Pipeline_Variables) Validate() error
func (*Pipeline_Variables) XXX_DiscardUnknown ¶
func (m *Pipeline_Variables) XXX_DiscardUnknown()
func (*Pipeline_Variables) XXX_Marshal ¶
func (m *Pipeline_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Pipeline_Variables) XXX_Merge ¶
func (m *Pipeline_Variables) XXX_Merge(src proto.Message)
func (*Pipeline_Variables) XXX_Size ¶
func (m *Pipeline_Variables) XXX_Size() int
func (*Pipeline_Variables) XXX_Unmarshal ¶
func (m *Pipeline_Variables) XXX_Unmarshal(b []byte) error
type ProgressLog ¶
type ProgressLog struct { // //实时id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //监控指标 Metrics string `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics" form:"metrics"` // //日志 Logs []string `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs" form:"logs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
实施日志
func (*ProgressLog) Descriptor ¶
func (*ProgressLog) Descriptor() ([]byte, []int)
func (*ProgressLog) GetId ¶
func (m *ProgressLog) GetId() string
func (*ProgressLog) GetLogs ¶
func (m *ProgressLog) GetLogs() []string
func (*ProgressLog) GetMetrics ¶
func (m *ProgressLog) GetMetrics() string
func (*ProgressLog) ProtoMessage ¶
func (*ProgressLog) ProtoMessage()
func (*ProgressLog) Reset ¶
func (m *ProgressLog) Reset()
func (*ProgressLog) String ¶
func (m *ProgressLog) String() string
func (*ProgressLog) Validate ¶
func (this *ProgressLog) Validate() error
func (*ProgressLog) XXX_DiscardUnknown ¶
func (m *ProgressLog) XXX_DiscardUnknown()
func (*ProgressLog) XXX_Marshal ¶
func (m *ProgressLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProgressLog) XXX_Merge ¶
func (m *ProgressLog) XXX_Merge(src proto.Message)
func (*ProgressLog) XXX_Size ¶
func (m *ProgressLog) XXX_Size() int
func (*ProgressLog) XXX_Unmarshal ¶
func (m *ProgressLog) XXX_Unmarshal(b []byte) error
type Project ¶
type Project struct { // //项目id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //项目名称, 默认同repo_name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //是否收藏 Favorite bool `protobuf:"varint,3,opt,name=favorite,proto3" json:"favorite" form:"favorite"` // //标签 Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags" form:"tags"` // //project变量 Variables []*Project_Variables `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables" form:"variables"` // //创建者,服务端自动生成 Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间,服务端自动生成 Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //更新时间,服务端自动生成 Mtime string `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"` // //git项目名称 RepoName string `protobuf:"bytes,9,opt,name=repo_name,json=repoName,proto3" json:"repo_name" form:"repo_name"` // //git项目id RepoId int32 `protobuf:"varint,10,opt,name=repo_id,json=repoId,proto3" json:"repo_id" form:"repo_id"` // //带namespace的显示名称 NameWithNamespace string `` /* 132-byte string literal not displayed */ // //带namespace的项目路径 PathWithNamespace string `` /* 132-byte string literal not displayed */ // //git ssh 克隆地址 GitSshUrl string `protobuf:"bytes,13,opt,name=git_ssh_url,json=gitSshUrl,proto3" json:"git_ssh_url" form:"git_ssh_url"` // //git http克隆地址 GitHttpUrl string `protobuf:"bytes,14,opt,name=git_http_url,json=gitHttpUrl,proto3" json:"git_http_url" form:"git_http_url"` // //repo web url Link string `protobuf:"bytes,15,opt,name=link,proto3" json:"link" form:"link"` // //默认分支名称 DefaultBranch string `protobuf:"bytes,16,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch" form:"default_branch"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
代码项目
func (*Project) Descriptor ¶
func (*Project) GetCreator ¶
func (*Project) GetDefaultBranch ¶
func (*Project) GetFavorite ¶
func (*Project) GetGitHttpUrl ¶
func (*Project) GetGitSshUrl ¶
func (*Project) GetNameWithNamespace ¶
func (*Project) GetPathWithNamespace ¶
func (*Project) GetRepoName ¶
func (*Project) GetVariables ¶
func (m *Project) GetVariables() []*Project_Variables
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type Project_Variables ¶
type Project_Variables struct { // //name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Project_Variables) Descriptor ¶
func (*Project_Variables) Descriptor() ([]byte, []int)
func (*Project_Variables) GetName ¶
func (m *Project_Variables) GetName() string
func (*Project_Variables) GetValue ¶
func (m *Project_Variables) GetValue() string
func (*Project_Variables) ProtoMessage ¶
func (*Project_Variables) ProtoMessage()
func (*Project_Variables) Reset ¶
func (m *Project_Variables) Reset()
func (*Project_Variables) String ¶
func (m *Project_Variables) String() string
func (*Project_Variables) Validate ¶
func (this *Project_Variables) Validate() error
func (*Project_Variables) XXX_DiscardUnknown ¶
func (m *Project_Variables) XXX_DiscardUnknown()
func (*Project_Variables) XXX_Marshal ¶
func (m *Project_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Project_Variables) XXX_Merge ¶
func (m *Project_Variables) XXX_Merge(src proto.Message)
func (*Project_Variables) XXX_Size ¶
func (m *Project_Variables) XXX_Size() int
func (*Project_Variables) XXX_Unmarshal ¶
func (m *Project_Variables) XXX_Unmarshal(b []byte) error
type Provider ¶
type Provider struct { // //实例id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //名称, 不能修改 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //Provider类型, 目前只支持gitlab, 不能修改 Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type" form:"type"` // //gitlab v4 api url. ApiUrl string `protobuf:"bytes,4,opt,name=api_url,json=apiUrl,proto3" json:"api_url" form:"api_url"` // //鉴权方式 Auth *Provider_Auth `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth" form:"auth"` // //是否为默认provider Default bool `protobuf:"varint,6,opt,name=default,proto3" json:"default" form:"default"` // //创建者, 服务端自动生成 Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间, 服务端自动生成 Ctime string `protobuf:"bytes,8,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间, 服务端自动生成 Mtime string `protobuf:"bytes,9,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Git Provider
func (*Provider) Descriptor ¶
func (*Provider) GetAuth ¶
func (m *Provider) GetAuth() *Provider_Auth
func (*Provider) GetCreator ¶
func (*Provider) GetDefault ¶
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) XXX_DiscardUnknown ¶
func (m *Provider) XXX_DiscardUnknown()
func (*Provider) XXX_Marshal ¶
func (*Provider) XXX_Unmarshal ¶
type Provider_Auth ¶
type Provider_Auth struct { // //鉴权方式, 目前只支持 basic Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type" form:"type"` // //gitlab personal access token. https://docs.gitlab.com/ee/api/README.html#personal-access-tokens Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token" form:"token"` // //auth2类型的app_id AppId string `protobuf:"bytes,3,opt,name=app_id,json=appId,proto3" json:"app_id" form:"app_id"` // //auth2类型的secret AppSecret string `protobuf:"bytes,4,opt,name=app_secret,json=appSecret,proto3" json:"app_secret" form:"app_secret"` // //auth2是否可以访问私有仓库 AccessPrivateRepos bool `` /* 136-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Provider_Auth) Descriptor ¶
func (*Provider_Auth) Descriptor() ([]byte, []int)
func (*Provider_Auth) GetAccessPrivateRepos ¶
func (m *Provider_Auth) GetAccessPrivateRepos() bool
func (*Provider_Auth) GetAppId ¶
func (m *Provider_Auth) GetAppId() string
func (*Provider_Auth) GetAppSecret ¶
func (m *Provider_Auth) GetAppSecret() string
func (*Provider_Auth) GetToken ¶
func (m *Provider_Auth) GetToken() string
func (*Provider_Auth) GetType ¶
func (m *Provider_Auth) GetType() string
func (*Provider_Auth) ProtoMessage ¶
func (*Provider_Auth) ProtoMessage()
func (*Provider_Auth) Reset ¶
func (m *Provider_Auth) Reset()
func (*Provider_Auth) String ¶
func (m *Provider_Auth) String() string
func (*Provider_Auth) Validate ¶
func (this *Provider_Auth) Validate() error
func (*Provider_Auth) XXX_DiscardUnknown ¶
func (m *Provider_Auth) XXX_DiscardUnknown()
func (*Provider_Auth) XXX_Marshal ¶
func (m *Provider_Auth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Provider_Auth) XXX_Merge ¶
func (m *Provider_Auth) XXX_Merge(src proto.Message)
func (*Provider_Auth) XXX_Size ¶
func (m *Provider_Auth) XXX_Size() int
func (*Provider_Auth) XXX_Unmarshal ¶
func (m *Provider_Auth) XXX_Unmarshal(b []byte) error
type Repository ¶
type Repository struct { // //git项目名称 RepoName string `protobuf:"bytes,1,opt,name=repo_name,json=repoName,proto3" json:"repo_name" form:"repo_name"` // //git项目id RepoId int32 `protobuf:"varint,2,opt,name=repo_id,json=repoId,proto3" json:"repo_id" form:"repo_id"` // //带namespace的显示名称 NameWithNamespace string `` /* 131-byte string literal not displayed */ // //带namespace的项目路径 PathWithNamespace string `` /* 131-byte string literal not displayed */ // //git ssh 克隆地址 GitSshUrl string `protobuf:"bytes,5,opt,name=git_ssh_url,json=gitSshUrl,proto3" json:"git_ssh_url" form:"git_ssh_url"` // //git http克隆地址 GitHttpUrl string `protobuf:"bytes,6,opt,name=git_http_url,json=gitHttpUrl,proto3" json:"git_http_url" form:"git_http_url"` // //repo web url Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link" form:"link"` // //默认分支名称 DefaultBranch string `protobuf:"bytes,8,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch" form:"default_branch"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
仓库 https://developer.github.com/v3/repos/ https://docs.gitlab.com/ee/api/projects.html
func (*Repository) Descriptor ¶
func (*Repository) Descriptor() ([]byte, []int)
func (*Repository) GetDefaultBranch ¶
func (m *Repository) GetDefaultBranch() string
func (*Repository) GetGitHttpUrl ¶
func (m *Repository) GetGitHttpUrl() string
func (*Repository) GetGitSshUrl ¶
func (m *Repository) GetGitSshUrl() string
func (*Repository) GetLink ¶
func (m *Repository) GetLink() string
func (*Repository) GetNameWithNamespace ¶
func (m *Repository) GetNameWithNamespace() string
func (*Repository) GetPathWithNamespace ¶
func (m *Repository) GetPathWithNamespace() string
func (*Repository) GetRepoId ¶
func (m *Repository) GetRepoId() int32
func (*Repository) GetRepoName ¶
func (m *Repository) GetRepoName() string
func (*Repository) ProtoMessage ¶
func (*Repository) ProtoMessage()
func (*Repository) Reset ¶
func (m *Repository) Reset()
func (*Repository) String ¶
func (m *Repository) String() string
func (*Repository) Validate ¶
func (this *Repository) Validate() error
func (*Repository) XXX_DiscardUnknown ¶
func (m *Repository) XXX_DiscardUnknown()
func (*Repository) XXX_Marshal ¶
func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Repository) XXX_Merge ¶
func (m *Repository) XXX_Merge(src proto.Message)
func (*Repository) XXX_Size ¶
func (m *Repository) XXX_Size() int
func (*Repository) XXX_Unmarshal ¶
func (m *Repository) XXX_Unmarshal(b []byte) error
type StageStatus ¶
type StageStatus struct { // //stage状态唯一id, 服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //stage名称 StageName string `protobuf:"bytes,2,opt,name=stage_name,json=stageName,proto3" json:"stage_name" form:"stage_name"` // //stage在stages中的序号 Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number" form:"number"` // //step是否并行 Parallel bool `protobuf:"varint,4,opt,name=parallel,proto3" json:"parallel" form:"parallel"` // //stage状态 State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state" form:"state"` // //steps状态 Steps []*StageStatus_Steps `protobuf:"bytes,6,rep,name=steps,proto3" json:"steps" form:"steps"` // //创建时间 Created int32 `protobuf:"varint,7,opt,name=created,proto3" json:"created" form:"created"` // //更新时间 Updated int32 `protobuf:"varint,8,opt,name=updated,proto3" json:"updated" form:"updated"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
阶段状态
func (*StageStatus) Descriptor ¶
func (*StageStatus) Descriptor() ([]byte, []int)
func (*StageStatus) GetCreated ¶
func (m *StageStatus) GetCreated() int32
func (*StageStatus) GetId ¶
func (m *StageStatus) GetId() string
func (*StageStatus) GetNumber ¶
func (m *StageStatus) GetNumber() int32
func (*StageStatus) GetParallel ¶
func (m *StageStatus) GetParallel() bool
func (*StageStatus) GetStageName ¶
func (m *StageStatus) GetStageName() string
func (*StageStatus) GetState ¶
func (m *StageStatus) GetState() string
func (*StageStatus) GetSteps ¶
func (m *StageStatus) GetSteps() []*StageStatus_Steps
func (*StageStatus) GetUpdated ¶
func (m *StageStatus) GetUpdated() int32
func (*StageStatus) ProtoMessage ¶
func (*StageStatus) ProtoMessage()
func (*StageStatus) Reset ¶
func (m *StageStatus) Reset()
func (*StageStatus) String ¶
func (m *StageStatus) String() string
func (*StageStatus) Validate ¶
func (this *StageStatus) Validate() error
func (*StageStatus) XXX_DiscardUnknown ¶
func (m *StageStatus) XXX_DiscardUnknown()
func (*StageStatus) XXX_Marshal ¶
func (m *StageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StageStatus) XXX_Merge ¶
func (m *StageStatus) XXX_Merge(src proto.Message)
func (*StageStatus) XXX_Size ¶
func (m *StageStatus) XXX_Size() int
func (*StageStatus) XXX_Unmarshal ¶
func (m *StageStatus) XXX_Unmarshal(b []byte) error
type StageStatus_Steps ¶
type StageStatus_Steps struct { // //step状态唯一id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //step名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //step在steps中的序号 Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number" form:"number"` // //step状态 State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state" form:"state"` // //退出码 ExitCode int32 `protobuf:"varint,5,opt,name=exit_code,json=exitCode,proto3" json:"exit_code" form:"exit_code"` // //日志id LogId string `protobuf:"bytes,6,opt,name=log_id,json=logId,proto3" json:"log_id" form:"log_id"` // //step开始时间 Started int32 `protobuf:"varint,7,opt,name=started,proto3" json:"started" form:"started"` // //step结束时间 Finished int32 `protobuf:"varint,8,opt,name=finished,proto3" json:"finished" form:"finished"` // //step类型 Type string `protobuf:"bytes,9,opt,name=type,proto3" json:"type" form:"type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StageStatus_Steps) Descriptor ¶
func (*StageStatus_Steps) Descriptor() ([]byte, []int)
func (*StageStatus_Steps) GetExitCode ¶
func (m *StageStatus_Steps) GetExitCode() int32
func (*StageStatus_Steps) GetFinished ¶
func (m *StageStatus_Steps) GetFinished() int32
func (*StageStatus_Steps) GetId ¶
func (m *StageStatus_Steps) GetId() string
func (*StageStatus_Steps) GetLogId ¶
func (m *StageStatus_Steps) GetLogId() string
func (*StageStatus_Steps) GetName ¶
func (m *StageStatus_Steps) GetName() string
func (*StageStatus_Steps) GetNumber ¶
func (m *StageStatus_Steps) GetNumber() int32
func (*StageStatus_Steps) GetStarted ¶
func (m *StageStatus_Steps) GetStarted() int32
func (*StageStatus_Steps) GetState ¶
func (m *StageStatus_Steps) GetState() string
func (*StageStatus_Steps) GetType ¶
func (m *StageStatus_Steps) GetType() string
func (*StageStatus_Steps) ProtoMessage ¶
func (*StageStatus_Steps) ProtoMessage()
func (*StageStatus_Steps) Reset ¶
func (m *StageStatus_Steps) Reset()
func (*StageStatus_Steps) String ¶
func (m *StageStatus_Steps) String() string
func (*StageStatus_Steps) Validate ¶
func (this *StageStatus_Steps) Validate() error
func (*StageStatus_Steps) XXX_DiscardUnknown ¶
func (m *StageStatus_Steps) XXX_DiscardUnknown()
func (*StageStatus_Steps) XXX_Marshal ¶
func (m *StageStatus_Steps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StageStatus_Steps) XXX_Merge ¶
func (m *StageStatus_Steps) XXX_Merge(src proto.Message)
func (*StageStatus_Steps) XXX_Size ¶
func (m *StageStatus_Steps) XXX_Size() int
func (*StageStatus_Steps) XXX_Unmarshal ¶
func (m *StageStatus_Steps) XXX_Unmarshal(b []byte) error
type Template ¶
type Template struct { // //模板id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //模板名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"` // //简介 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description" form:"description"` // //yaml定义 YamlString string `protobuf:"bytes,4,opt,name=yaml_string,json=yamlString,proto3" json:"yaml_string" form:"yaml_string"` // //模板变量列表 Variables []*Template_Variables `protobuf:"bytes,5,rep,name=variables,proto3" json:"variables" form:"variables"` // //创建者,服务端自动生成 Creator string `protobuf:"bytes,6,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间, 服务端自动生成 Ctime string `protobuf:"bytes,7,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间, 服务端自动生成 Mtime string `protobuf:"bytes,8,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
流水线模版
func (*Template) Descriptor ¶
func (*Template) GetCreator ¶
func (*Template) GetDescription ¶
func (*Template) GetVariables ¶
func (m *Template) GetVariables() []*Template_Variables
func (*Template) GetYamlString ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) XXX_DiscardUnknown ¶
func (m *Template) XXX_DiscardUnknown()
func (*Template) XXX_Marshal ¶
func (*Template) XXX_Unmarshal ¶
type Template_Variables ¶
type Template_Variables struct { // //name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name" form:"name"` // //value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" form:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Template_Variables) Descriptor ¶
func (*Template_Variables) Descriptor() ([]byte, []int)
func (*Template_Variables) GetName ¶
func (m *Template_Variables) GetName() string
func (*Template_Variables) GetValue ¶
func (m *Template_Variables) GetValue() string
func (*Template_Variables) ProtoMessage ¶
func (*Template_Variables) ProtoMessage()
func (*Template_Variables) Reset ¶
func (m *Template_Variables) Reset()
func (*Template_Variables) String ¶
func (m *Template_Variables) String() string
func (*Template_Variables) Validate ¶
func (this *Template_Variables) Validate() error
func (*Template_Variables) XXX_DiscardUnknown ¶
func (m *Template_Variables) XXX_DiscardUnknown()
func (*Template_Variables) XXX_Marshal ¶
func (m *Template_Variables) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Template_Variables) XXX_Merge ¶
func (m *Template_Variables) XXX_Merge(src proto.Message)
func (*Template_Variables) XXX_Size ¶
func (m *Template_Variables) XXX_Size() int
func (*Template_Variables) XXX_Unmarshal ¶
func (m *Template_Variables) XXX_Unmarshal(b []byte) error
type Trigger ¶
type Trigger struct { // //实例id,服务端自动生成 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //git 事件 Events []string `protobuf:"bytes,2,rep,name=events,proto3" json:"events" form:"events"` // //链接 Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link" form:"link"` // //branch 正则 BranchName string `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name" form:"branch_name"` // //类型 Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type" form:"type"` // //git hook id HookId string `protobuf:"bytes,6,opt,name=hook_id,json=hookId,proto3" json:"hook_id" form:"hook_id"` // //gitlab, github... Provider string `protobuf:"bytes,7,opt,name=provider,proto3" json:"provider" form:"provider"` // //创建者, 服务端自动生成 Creator string `protobuf:"bytes,8,opt,name=creator,proto3" json:"creator" form:"creator"` // //创建时间, 服务端自动生成 Ctime string `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime" form:"ctime"` // //修改时间, 服务端自动生成 Mtime string `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime" form:"mtime"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
trigger信息
func (*Trigger) Descriptor ¶
func (*Trigger) GetBranchName ¶
func (*Trigger) GetCreator ¶
func (*Trigger) GetProvider ¶
func (*Trigger) ProtoMessage ¶
func (*Trigger) ProtoMessage()
func (*Trigger) XXX_DiscardUnknown ¶
func (m *Trigger) XXX_DiscardUnknown()
func (*Trigger) XXX_Marshal ¶
func (*Trigger) XXX_Unmarshal ¶
Source Files ¶
- build.pb.go
- build.validator.pb.go
- build_status.pb.go
- build_status.validator.pb.go
- git_meta.pb.go
- git_meta.validator.pb.go
- pipeline.pb.go
- pipeline.validator.pb.go
- progress_log.pb.go
- progress_log.validator.pb.go
- project.pb.go
- project.validator.pb.go
- provider.pb.go
- provider.validator.pb.go
- repository.pb.go
- repository.validator.pb.go
- stage_status.pb.go
- stage_status.validator.pb.go
- template.pb.go
- template.validator.pb.go
- trigger.pb.go
- trigger.validator.pb.go
Click to show internal directories.
Click to hide internal directories.