Documentation ¶
Index ¶
- Constants
- Variables
- type CodePipeline
- func (p *CodePipeline) CloseRetry()
- func (p *CodePipeline) CreatePipeline(req *CreatePipelineRequest) (*CreatePipelineResponse, error)
- func (p *CodePipeline) DeletePipeline(req *DeletePipelineRequest) (*DeletePipelineResponse, error)
- func (p *CodePipeline) DeletePipelineRecord(req *DeletePipelineRecordRequest) (*DeletePipelineRecordResponse, error)
- func (p *CodePipeline) GetPipeline(req *GetPipelineRequest) (*GetPipelineResponse, error)
- func (p *CodePipeline) GetPipelineRecord(req *GetPipelineRecordRequest) (*GetPipelineRecordResponse, error)
- func (p *CodePipeline) ListPipelineRecords(req *ListPipelineRecordsRequest) (*ListPipelineRecordsResponse, error)
- func (p *CodePipeline) ListPipelines(req *ListPipelinesRequest) (*ListPipelinesResponse, error)
- func (p *CodePipeline) Retry() bool
- func (p *CodePipeline) RetryPipelineRecord(req *RetryPipelineRecordRequest) (*RetryPipelineRecordResponse, error)
- func (p *CodePipeline) RunPipeline(req *RunPipelineRequest) (*RunPipelineResponse, error)
- func (p *CodePipeline) StopPipelineRecord(req *StopPipelineRecordRequest) (*StopPipelineRecordResponse, error)
- func (p *CodePipeline) UpdatePipeline(req *UpdatePipelineRequest) (*UpdatePipelineResponse, error)
- func (p *CodePipeline) UpdatePipelineProperties(req *UpdatePipelinePropertiesRequest) (*UpdatePipelinePropertiesResponse, error)
Constants ¶
View Source
const ( DefaultRegion = base.RegionCnNorth1 ServiceName = "cp" )
Variables ¶
View Source
var ( ServiceInfo = &base.ServiceInfo{ Timeout: 5 * time.Second, Host: "open.volcengineapi.com", Header: http.Header{ "Accept": []string{"application/json"}, }, Credentials: base.Credentials{ Region: base.RegionCnNorth1, Service: ServiceName, }, } ApiInfoList = map[string]*base.ApiInfo{ "ListPipelines": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListPipelines"}, "Version": []string{"2021-03-03"}, }, }, "CreatePipeline": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"CreatePipeline"}, "Version": []string{"2021-03-03"}, }, }, "DeletePipeline": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeletePipeline"}, "Version": []string{"2021-03-03"}, }, }, "UpdatePipeline": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePipeline"}, "Version": []string{"2021-03-03"}, }, }, "GetPipeline": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetPipeline"}, "Version": []string{"2021-03-03"}, }, }, "UpdatePipelineProperties": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"UpdatePipelineProperties"}, "Version": []string{"2021-03-03"}, }, }, "RunPipeline": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"RunPipeline"}, "Version": []string{"2021-03-03"}, }, }, "ListPipelineRecords": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"ListPipelineRecords"}, "Version": []string{"2021-03-03"}, }, }, "GetPipelineRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"GetPipelineRecord"}, "Version": []string{"2021-03-03"}, }, }, "StopPipelineRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"StopPipelineRecord"}, "Version": []string{"2021-03-03"}, }, }, "RetryPipelineRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"RetryPipelineRecord"}, "Version": []string{"2021-03-03"}, }, }, "DeletePipelineRecord": { Method: http.MethodPost, Path: "/", Query: url.Values{ "Action": []string{"DeletePipelineRecord"}, "Version": []string{"2021-03-03"}, }, }, } )
View Source
var DefaultInstance = NewInstance()
Functions ¶
This section is empty.
Types ¶
type CodePipeline ¶
func NewInstance ¶
func NewInstance() *CodePipeline
func (*CodePipeline) CloseRetry ¶
func (p *CodePipeline) CloseRetry()
func (*CodePipeline) CreatePipeline ¶
func (p *CodePipeline) CreatePipeline(req *CreatePipelineRequest) (*CreatePipelineResponse, error)
func (*CodePipeline) DeletePipeline ¶
func (p *CodePipeline) DeletePipeline(req *DeletePipelineRequest) (*DeletePipelineResponse, error)
func (*CodePipeline) DeletePipelineRecord ¶
func (p *CodePipeline) DeletePipelineRecord(req *DeletePipelineRecordRequest) (*DeletePipelineRecordResponse, error)
func (*CodePipeline) GetPipeline ¶
func (p *CodePipeline) GetPipeline(req *GetPipelineRequest) (*GetPipelineResponse, error)
func (*CodePipeline) GetPipelineRecord ¶
func (p *CodePipeline) GetPipelineRecord(req *GetPipelineRecordRequest) (*GetPipelineRecordResponse, error)
func (*CodePipeline) ListPipelineRecords ¶
func (p *CodePipeline) ListPipelineRecords(req *ListPipelineRecordsRequest) (*ListPipelineRecordsResponse, error)
func (*CodePipeline) ListPipelines ¶
func (p *CodePipeline) ListPipelines(req *ListPipelinesRequest) (*ListPipelinesResponse, error)
func (*CodePipeline) Retry ¶
func (p *CodePipeline) Retry() bool
func (*CodePipeline) RetryPipelineRecord ¶
func (p *CodePipeline) RetryPipelineRecord(req *RetryPipelineRecordRequest) (*RetryPipelineRecordResponse, error)
func (*CodePipeline) RunPipeline ¶
func (p *CodePipeline) RunPipeline(req *RunPipelineRequest) (*RunPipelineResponse, error)
func (*CodePipeline) StopPipelineRecord ¶
func (p *CodePipeline) StopPipelineRecord(req *StopPipelineRecordRequest) (*StopPipelineRecordResponse, error)
func (*CodePipeline) UpdatePipeline ¶
func (p *CodePipeline) UpdatePipeline(req *UpdatePipelineRequest) (*UpdatePipelineResponse, error)
func (*CodePipeline) UpdatePipelineProperties ¶
func (p *CodePipeline) UpdatePipelineProperties(req *UpdatePipelinePropertiesRequest) (*UpdatePipelinePropertiesResponse, error)
Click to show internal directories.
Click to hide internal directories.