Documentation ¶
Index ¶
- type CompileClient
- func (c *CompileClient) CreateDemo(request *compile.CreateDemoRequest) (*compile.CreateDemoResponse, error)
- func (c *CompileClient) CreateJob(request *compile.CreateJobRequest) (*compile.CreateJobResponse, error)
- func (c *CompileClient) DeleteJob(request *compile.DeleteJobRequest) (*compile.DeleteJobResponse, error)
- func (c *CompileClient) DeleteJobs(request *compile.DeleteJobsRequest) (*compile.DeleteJobsResponse, error)
- func (c *CompileClient) GetBuildLog(request *compile.GetBuildLogRequest) (*compile.GetBuildLogResponse, error)
- func (c *CompileClient) GetBuildStatus(request *compile.GetBuildStatusRequest) (*compile.GetBuildStatusResponse, error)
- func (c *CompileClient) GetExternalLink(request *compile.GetExternalLinkRequest) (*compile.GetExternalLinkResponse, error)
- func (c *CompileClient) GetJob(request *compile.GetJobRequest) (*compile.GetJobResponse, error)
- func (c *CompileClient) GetJobs(request *compile.GetJobsRequest) (*compile.GetJobsResponse, error)
- func (c *CompileClient) SetConfig(config *core.Config)
- func (c *CompileClient) SetLogger(logger core.Logger)
- func (c *CompileClient) StartJob(request *compile.StartJobRequest) (*compile.StartJobResponse, error)
- func (c *CompileClient) StopBuild(request *compile.StopBuildRequest) (*compile.StopBuildResponse, error)
- func (c *CompileClient) UpdateJob(request *compile.UpdateJobRequest) (*compile.UpdateJobResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompileClient ¶
type CompileClient struct {
core.JDCloudClient
}
func NewCompileClient ¶
func NewCompileClient(credential *core.Credential) *CompileClient
func (*CompileClient) CreateDemo ¶
func (c *CompileClient) CreateDemo(request *compile.CreateDemoRequest) (*compile.CreateDemoResponse, error)
创建Demo
func (*CompileClient) CreateJob ¶
func (c *CompileClient) CreateJob(request *compile.CreateJobRequest) (*compile.CreateJobResponse, error)
新建构建任务
func (*CompileClient) DeleteJob ¶
func (c *CompileClient) DeleteJob(request *compile.DeleteJobRequest) (*compile.DeleteJobResponse, error)
删除一个编译任务
func (*CompileClient) DeleteJobs ¶
func (c *CompileClient) DeleteJobs(request *compile.DeleteJobsRequest) (*compile.DeleteJobsResponse, error)
批量删除编译任务
func (*CompileClient) GetBuildLog ¶
func (c *CompileClient) GetBuildLog(request *compile.GetBuildLogRequest) (*compile.GetBuildLogResponse, error)
查询构建任务执行日志
func (*CompileClient) GetBuildStatus ¶
func (c *CompileClient) GetBuildStatus(request *compile.GetBuildStatusRequest) (*compile.GetBuildStatusResponse, error)
查询构建任务执行的状态
func (*CompileClient) GetExternalLink ¶
func (c *CompileClient) GetExternalLink(request *compile.GetExternalLinkRequest) (*compile.GetExternalLinkResponse, error)
生成带有效期的包地址
func (*CompileClient) GetJob ¶
func (c *CompileClient) GetJob(request *compile.GetJobRequest) (*compile.GetJobResponse, error)
根据id获取构建任务的配置信息
func (*CompileClient) GetJobs ¶
func (c *CompileClient) GetJobs(request *compile.GetJobsRequest) (*compile.GetJobsResponse, error)
查询获取编译任务列表,并显示最后一次编译的一些信息
/v2/regions/cn-south-1/jobs/?sorts.1.name=status&sorts.1.direction=asc&pageNumber=1&pageSize=10&filters.1.name=name&filters.1.values.1=我的job
func (*CompileClient) SetConfig ¶
func (c *CompileClient) SetConfig(config *core.Config)
func (*CompileClient) SetLogger ¶
func (c *CompileClient) SetLogger(logger core.Logger)
func (*CompileClient) StartJob ¶
func (c *CompileClient) StartJob(request *compile.StartJobRequest) (*compile.StartJobResponse, error)
根据id启动一个编译任务
func (*CompileClient) StopBuild ¶
func (c *CompileClient) StopBuild(request *compile.StopBuildRequest) (*compile.StopBuildResponse, error)
停止构建任务
func (*CompileClient) UpdateJob ¶
func (c *CompileClient) UpdateJob(request *compile.UpdateJobRequest) (*compile.UpdateJobResponse, error)
更新编译任务
Click to show internal directories.
Click to hide internal directories.