Documentation ¶
Index ¶
- type DownloadKeystoreRequest
- type DownloadKeystoreResponse
- type HistoryRecord
- type Job
- type ParameterItem
- type RunJobRequest
- type RunJobRequestBody
- type RunJobResponse
- type Scm
- type ShowJobListByProjectIdRequest
- type ShowJobListByProjectIdResponse
- type ShowJobStatusRequest
- type ShowJobStatusResponse
- type ShowLastHistoryRequest
- type ShowLastHistoryResponse
- type ShowListHistoryRequest
- type ShowListHistoryResponse
- type ShowListPeriodHistoryRequest
- type ShowListPeriodHistoryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadKeystoreRequest ¶
type DownloadKeystoreRequest struct { FileName string `json:"file_name"` DomainId string `json:"domain_id"` }
Request Object
func (DownloadKeystoreRequest) String ¶
func (o DownloadKeystoreRequest) String() string
type DownloadKeystoreResponse ¶
type DownloadKeystoreResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadKeystoreResponse) Consume ¶
func (o DownloadKeystoreResponse) Consume(writer io.Writer) (int64, error)
func (DownloadKeystoreResponse) String ¶
func (o DownloadKeystoreResponse) String() string
type HistoryRecord ¶
type HistoryRecord struct { RecordId *string `json:"record_id,omitempty"` JobId *string `json:"job_id,omitempty"` BuildNumber *int32 `json:"build_number,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Result *string `json:"result,omitempty"` }
func (HistoryRecord) String ¶
func (o HistoryRecord) String() string
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` JobName *string `json:"job_name,omitempty"` JobCreator *string `json:"job_creator,omitempty"` UserName *string `json:"user_name,omitempty"` LastBuildTime float32 `json:"last_build_time,omitempty"` HealthScore *int32 `json:"health_score,omitempty"` SourceCode *string `json:"source_code,omitempty"` LastBuildStatus *string `json:"last_build_status,omitempty"` IsFinished *bool `json:"is_finished,omitempty"` Disabled *bool `json:"disabled,omitempty"` Favorite *bool `json:"favorite,omitempty"` IsModify *bool `json:"is_modify,omitempty"` IsDelete *bool `json:"is_delete,omitempty"` IsExecute *bool `json:"is_execute,omitempty"` IsCopy *bool `json:"is_copy,omitempty"` IsForbidden *bool `json:"is_forbidden,omitempty"` IsView *bool `json:"is_view,omitempty"` }
type ParameterItem ¶
func (ParameterItem) String ¶
func (o ParameterItem) String() string
type RunJobRequest ¶
type RunJobRequest struct {
Body *RunJobRequestBody `json:"body,omitempty"`
}
Request Object
func (RunJobRequest) String ¶
func (o RunJobRequest) String() string
type RunJobRequestBody ¶
type RunJobRequestBody struct { JobId string `json:"job_id"` Parameter *[]ParameterItem `json:"parameter,omitempty"` Scm *Scm `json:"scm,omitempty"` }
执行任务接口请求体
func (RunJobRequestBody) String ¶
func (o RunJobRequestBody) String() string
type RunJobResponse ¶
type RunJobResponse struct { OctopusJobName *string `json:"octopus_job_name,omitempty"` ActualBuildNumber *string `json:"actual_build_number,omitempty"` DailyBuildNumber *string `json:"daily_build_number,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunJobResponse) String ¶
func (o RunJobResponse) String() string
type Scm ¶
type Scm struct { BuildTag *string `json:"build_tag,omitempty"` BuildCommitId *string `json:"build_commit_id,omitempty"` }
代码信息
type ShowJobListByProjectIdRequest ¶
type ShowJobListByProjectIdRequest struct { ProjectId string `json:"project_id"` PageIndex int32 `json:"page_index"` PageSize int32 `json:"page_size"` }
Request Object
func (ShowJobListByProjectIdRequest) String ¶
func (o ShowJobListByProjectIdRequest) String() string
type ShowJobListByProjectIdResponse ¶
type ShowJobListByProjectIdResponse struct { Jobs *[]Job `json:"jobs,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobListByProjectIdResponse) String ¶
func (o ShowJobListByProjectIdResponse) String() string
type ShowJobStatusRequest ¶
type ShowJobStatusRequest struct {
JobId string `json:"job_id"`
}
Request Object
func (ShowJobStatusRequest) String ¶
func (o ShowJobStatusRequest) String() string
type ShowJobStatusResponse ¶
type ShowJobStatusResponse struct { Result *bool `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowJobStatusResponse) String ¶
func (o ShowJobStatusResponse) String() string
type ShowLastHistoryRequest ¶
type ShowLastHistoryRequest struct { ProjectId string `json:"project_id"` RepositoryName string `json:"repository_name"` }
Request Object
func (ShowLastHistoryRequest) String ¶
func (o ShowLastHistoryRequest) String() string
type ShowLastHistoryResponse ¶
type ShowLastHistoryResponse struct { RecordId *string `json:"record_id,omitempty"` JobId *string `json:"job_id,omitempty"` JobName *string `json:"job_name,omitempty"` BuildNumber *int32 `json:"build_number,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Result *string `json:"result,omitempty"` CommitId *string `json:"commit_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowLastHistoryResponse) String ¶
func (o ShowLastHistoryResponse) String() string
type ShowListHistoryRequest ¶
type ShowListHistoryRequest struct { JobId string `json:"job_id"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` Interval int32 `json:"interval"` }
Request Object
func (ShowListHistoryRequest) String ¶
func (o ShowListHistoryRequest) String() string
type ShowListHistoryResponse ¶
type ShowListHistoryResponse struct { HistoryRecords *[]HistoryRecord `json:"history_records,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowListHistoryResponse) String ¶
func (o ShowListHistoryResponse) String() string
type ShowListPeriodHistoryRequest ¶
type ShowListPeriodHistoryRequest struct { JobId string `json:"job_id"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
Request Object
func (ShowListPeriodHistoryRequest) String ¶
func (o ShowListPeriodHistoryRequest) String() string
type ShowListPeriodHistoryResponse ¶
type ShowListPeriodHistoryResponse struct { HistoryRecords *[]HistoryRecord `json:"history_records,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowListPeriodHistoryResponse) String ¶
func (o ShowListPeriodHistoryResponse) String() string
Source Files ¶
- model_download_keystore_request.go
- model_download_keystore_response.go
- model_history_record.go
- model_job.go
- model_parameter_item.go
- model_run_job_request.go
- model_run_job_request_body.go
- model_run_job_response.go
- model_scm.go
- model_show_job_list_by_project_id_request.go
- model_show_job_list_by_project_id_response.go
- model_show_job_status_request.go
- model_show_job_status_response.go
- model_show_last_history_request.go
- model_show_last_history_response.go
- model_show_list_history_request.go
- model_show_list_history_response.go
- model_show_list_period_history_request.go
- model_show_list_period_history_response.go
Click to show internal directories.
Click to hide internal directories.