Documentation ¶
Overview ¶
Package cdtektonpipelinev2 : Operations and models for the CdTektonPipelineV2 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalDefinition(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDefinitionSource(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDefinitionSourceProperties(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalDefinitionsCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalGenericSecret(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLog(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalLogsCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPipelineRun(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPipelineRunTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPipelineRunWorker(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPipelineRunsCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPropertiesCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRunDefinition(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRunPipeline(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRunsFirstPage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRunsLastPage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalRunsNextPage(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalStepLog(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipeline(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipelinePatch(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTool(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalToolchainReference(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerGenericTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerManualTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerPatch(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerPropertiesCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerScmTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerSource(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerSourceProperties(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerSourcePropertiesPrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerSourcePrototype(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggerTimerTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTriggersCollection(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalUserInfo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalWorker(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalWorkerIdentity(m map[string]json.RawMessage, result interface{}) (err error)
- type CancelTektonPipelineRunOptions
- func (_options *CancelTektonPipelineRunOptions) SetForce(force bool) *CancelTektonPipelineRunOptions
- func (options *CancelTektonPipelineRunOptions) SetHeaders(param map[string]string) *CancelTektonPipelineRunOptions
- func (_options *CancelTektonPipelineRunOptions) SetID(id string) *CancelTektonPipelineRunOptions
- func (_options *CancelTektonPipelineRunOptions) SetPipelineID(pipelineID string) *CancelTektonPipelineRunOptions
- type CdTektonPipelineV2
- func (cdTektonPipeline *CdTektonPipelineV2) CancelTektonPipelineRun(cancelTektonPipelineRunOptions *CancelTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CancelTektonPipelineRunWithContext(ctx context.Context, ...) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) Clone() *CdTektonPipelineV2
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipeline(createTektonPipelineOptions *CreateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineDefinition(createTektonPipelineDefinitionOptions *CreateTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineDefinitionWithContext(ctx context.Context, ...) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineProperties(createTektonPipelinePropertiesOptions *CreateTektonPipelinePropertiesOptions) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelinePropertiesWithContext(ctx context.Context, ...) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineRun(createTektonPipelineRunOptions *CreateTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineRunWithContext(ctx context.Context, ...) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTrigger(createTektonPipelineTriggerOptions *CreateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerProperties(...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerPropertiesWithContext(ctx context.Context, ...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerWithContext(ctx context.Context, ...) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineWithContext(ctx context.Context, createTektonPipelineOptions *CreateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipeline(deleteTektonPipelineOptions *DeleteTektonPipelineOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineDefinition(deleteTektonPipelineDefinitionOptions *DeleteTektonPipelineDefinitionOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineDefinitionWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineProperty(deleteTektonPipelinePropertyOptions *DeleteTektonPipelinePropertyOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelinePropertyWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineRun(deleteTektonPipelineRunOptions *DeleteTektonPipelineRunOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineRunWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTrigger(deleteTektonPipelineTriggerOptions *DeleteTektonPipelineTriggerOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerProperty(...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerPropertyWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineWithContext(ctx context.Context, deleteTektonPipelineOptions *DeleteTektonPipelineOptions) (response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DisableRetries()
- func (cdTektonPipeline *CdTektonPipelineV2) DuplicateTektonPipelineTrigger(duplicateTektonPipelineTriggerOptions *DuplicateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) DuplicateTektonPipelineTriggerWithContext(ctx context.Context, ...) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (cdTektonPipeline *CdTektonPipelineV2) GetEnableGzipCompression() bool
- func (cdTektonPipeline *CdTektonPipelineV2) GetServiceURL() string
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipeline(getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineDefinition(getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineDefinitionWithContext(ctx context.Context, ...) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineProperty(getTektonPipelinePropertyOptions *GetTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelinePropertyWithContext(ctx context.Context, ...) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRun(getTektonPipelineRunOptions *GetTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogContent(getTektonPipelineRunLogContentOptions *GetTektonPipelineRunLogContentOptions) (result *StepLog, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogContentWithContext(ctx context.Context, ...) (result *StepLog, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogs(getTektonPipelineRunLogsOptions *GetTektonPipelineRunLogsOptions) (result *LogsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogsWithContext(ctx context.Context, ...) (result *LogsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunWithContext(ctx context.Context, getTektonPipelineRunOptions *GetTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTrigger(getTektonPipelineTriggerOptions *GetTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerProperty(...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerPropertyWithContext(ctx context.Context, ...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerWithContext(ctx context.Context, ...) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineWithContext(ctx context.Context, getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineDefinitions(listTektonPipelineDefinitionsOptions *ListTektonPipelineDefinitionsOptions) (result *DefinitionsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineDefinitionsWithContext(ctx context.Context, ...) (result *DefinitionsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineProperties(listTektonPipelinePropertiesOptions *ListTektonPipelinePropertiesOptions) (result *PropertiesCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelinePropertiesWithContext(ctx context.Context, ...) (result *PropertiesCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineRuns(listTektonPipelineRunsOptions *ListTektonPipelineRunsOptions) (result *PipelineRunsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineRunsWithContext(ctx context.Context, ...) (result *PipelineRunsCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggerProperties(...) (result *TriggerPropertiesCollection, response *core.DetailedResponse, ...)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggerPropertiesWithContext(ctx context.Context, ...) (result *TriggerPropertiesCollection, response *core.DetailedResponse, ...)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggers(listTektonPipelineTriggersOptions *ListTektonPipelineTriggersOptions) (result *TriggersCollection, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggersWithContext(ctx context.Context, ...) (result *TriggersCollection, response *core.DetailedResponse, err error)
- func (*CdTektonPipelineV2) NewCancelTektonPipelineRunOptions(pipelineID string, id string) *CancelTektonPipelineRunOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelineDefinitionOptions(pipelineID string, source *DefinitionSource) *CreateTektonPipelineDefinitionOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelineOptions(id string) *CreateTektonPipelineOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelinePropertiesOptions(pipelineID string, name string, typeVar string) *CreateTektonPipelinePropertiesOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelineRunOptions(pipelineID string) *CreateTektonPipelineRunOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerOptions(pipelineID string, typeVar string, name string, eventListener string) *CreateTektonPipelineTriggerOptions
- func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerPropertiesOptions(pipelineID string, triggerID string, name string, typeVar string) *CreateTektonPipelineTriggerPropertiesOptions
- func (*CdTektonPipelineV2) NewDefinitionSource(typeVar string, properties *DefinitionSourceProperties) (_model *DefinitionSource, err error)
- func (*CdTektonPipelineV2) NewDefinitionSourceProperties(url string, path string) (_model *DefinitionSourceProperties, err error)
- func (*CdTektonPipelineV2) NewDeleteTektonPipelineDefinitionOptions(pipelineID string, definitionID string) *DeleteTektonPipelineDefinitionOptions
- func (*CdTektonPipelineV2) NewDeleteTektonPipelineOptions(id string) *DeleteTektonPipelineOptions
- func (*CdTektonPipelineV2) NewDeleteTektonPipelinePropertyOptions(pipelineID string, propertyName string) *DeleteTektonPipelinePropertyOptions
- func (*CdTektonPipelineV2) NewDeleteTektonPipelineRunOptions(pipelineID string, id string) *DeleteTektonPipelineRunOptions
- func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerOptions(pipelineID string, triggerID string) *DeleteTektonPipelineTriggerOptions
- func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string) *DeleteTektonPipelineTriggerPropertyOptions
- func (*CdTektonPipelineV2) NewDuplicateTektonPipelineTriggerOptions(pipelineID string, sourceTriggerID string, name string) *DuplicateTektonPipelineTriggerOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineDefinitionOptions(pipelineID string, definitionID string) *GetTektonPipelineDefinitionOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineOptions(id string) *GetTektonPipelineOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelinePropertyOptions(pipelineID string, propertyName string) *GetTektonPipelinePropertyOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogContentOptions(pipelineID string, pipelineRunID string, id string) *GetTektonPipelineRunLogContentOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogsOptions(pipelineID string, id string) *GetTektonPipelineRunLogsOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineRunOptions(pipelineID string, id string) *GetTektonPipelineRunOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerOptions(pipelineID string, triggerID string) *GetTektonPipelineTriggerOptions
- func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string) *GetTektonPipelineTriggerPropertyOptions
- func (*CdTektonPipelineV2) NewListTektonPipelineDefinitionsOptions(pipelineID string) *ListTektonPipelineDefinitionsOptions
- func (*CdTektonPipelineV2) NewListTektonPipelinePropertiesOptions(pipelineID string) *ListTektonPipelinePropertiesOptions
- func (*CdTektonPipelineV2) NewListTektonPipelineRunsOptions(pipelineID string) *ListTektonPipelineRunsOptions
- func (*CdTektonPipelineV2) NewListTektonPipelineTriggerPropertiesOptions(pipelineID string, triggerID string) *ListTektonPipelineTriggerPropertiesOptions
- func (*CdTektonPipelineV2) NewListTektonPipelineTriggersOptions(pipelineID string) *ListTektonPipelineTriggersOptions
- func (*CdTektonPipelineV2) NewPipelineRunTrigger(name string) (_model *PipelineRunTrigger, err error)
- func (*CdTektonPipelineV2) NewReplaceTektonPipelineDefinitionOptions(pipelineID string, definitionID string, source *DefinitionSource) *ReplaceTektonPipelineDefinitionOptions
- func (*CdTektonPipelineV2) NewReplaceTektonPipelinePropertyOptions(pipelineID string, propertyName string, name string, typeVar string) *ReplaceTektonPipelinePropertyOptions
- func (*CdTektonPipelineV2) NewReplaceTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string, name string, ...) *ReplaceTektonPipelineTriggerPropertyOptions
- func (*CdTektonPipelineV2) NewRerunTektonPipelineRunOptions(pipelineID string, id string) *RerunTektonPipelineRunOptions
- func (cdTektonPipeline *CdTektonPipelineV2) NewTektonPipelineRunsPager(options *ListTektonPipelineRunsOptions) (pager *TektonPipelineRunsPager, err error)
- func (*CdTektonPipelineV2) NewTool(id string) (_model *Tool, err error)
- func (*CdTektonPipelineV2) NewTriggerSourcePropertiesPrototype(url string) (_model *TriggerSourcePropertiesPrototype, err error)
- func (*CdTektonPipelineV2) NewTriggerSourcePrototype(typeVar string, properties *TriggerSourcePropertiesPrototype) (_model *TriggerSourcePrototype, err error)
- func (*CdTektonPipelineV2) NewUpdateTektonPipelineOptions(id string) *UpdateTektonPipelineOptions
- func (*CdTektonPipelineV2) NewUpdateTektonPipelineTriggerOptions(pipelineID string, triggerID string) *UpdateTektonPipelineTriggerOptions
- func (*CdTektonPipelineV2) NewWorkerIdentity(id string) (_model *WorkerIdentity, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineDefinition(replaceTektonPipelineDefinitionOptions *ReplaceTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineDefinitionWithContext(ctx context.Context, ...) (result *Definition, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineProperty(replaceTektonPipelinePropertyOptions *ReplaceTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelinePropertyWithContext(ctx context.Context, ...) (result *Property, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineTriggerProperty(...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineTriggerPropertyWithContext(ctx context.Context, ...) (result *TriggerProperty, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) RerunTektonPipelineRun(rerunTektonPipelineRunOptions *RerunTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) RerunTektonPipelineRunWithContext(ctx context.Context, ...) (result *PipelineRun, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) SetDefaultHeaders(headers http.Header)
- func (cdTektonPipeline *CdTektonPipelineV2) SetEnableGzipCompression(enableGzip bool)
- func (cdTektonPipeline *CdTektonPipelineV2) SetServiceURL(url string) error
- func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipeline(updateTektonPipelineOptions *UpdateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineTrigger(updateTektonPipelineTriggerOptions *UpdateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineTriggerWithContext(ctx context.Context, ...) (result TriggerIntf, response *core.DetailedResponse, err error)
- func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineWithContext(ctx context.Context, updateTektonPipelineOptions *UpdateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- type CdTektonPipelineV2Options
- type CreateTektonPipelineDefinitionOptions
- func (options *CreateTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *CreateTektonPipelineDefinitionOptions
- func (_options *CreateTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineDefinitionOptions
- func (_options *CreateTektonPipelineDefinitionOptions) SetSource(source *DefinitionSource) *CreateTektonPipelineDefinitionOptions
- type CreateTektonPipelineOptions
- func (_options *CreateTektonPipelineOptions) SetEnableNotifications(enableNotifications bool) *CreateTektonPipelineOptions
- func (_options *CreateTektonPipelineOptions) SetEnablePartialCloning(enablePartialCloning bool) *CreateTektonPipelineOptions
- func (options *CreateTektonPipelineOptions) SetHeaders(param map[string]string) *CreateTektonPipelineOptions
- func (_options *CreateTektonPipelineOptions) SetID(id string) *CreateTektonPipelineOptions
- func (_options *CreateTektonPipelineOptions) SetNextBuildNumber(nextBuildNumber int64) *CreateTektonPipelineOptions
- func (_options *CreateTektonPipelineOptions) SetWorker(worker *WorkerIdentity) *CreateTektonPipelineOptions
- type CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetEnum(enum []string) *CreateTektonPipelinePropertiesOptions
- func (options *CreateTektonPipelinePropertiesOptions) SetHeaders(param map[string]string) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetLocked(locked bool) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetName(name string) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetPath(path string) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetPipelineID(pipelineID string) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetType(typeVar string) *CreateTektonPipelinePropertiesOptions
- func (_options *CreateTektonPipelinePropertiesOptions) SetValue(value string) *CreateTektonPipelinePropertiesOptions
- type CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetDescription(description string) *CreateTektonPipelineRunOptions
- func (options *CreateTektonPipelineRunOptions) SetHeaders(param map[string]string) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetSecureTriggerProperties(secureTriggerProperties map[string]interface{}) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetTrigger(trigger *PipelineRunTrigger) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetTriggerBody(triggerBody map[string]interface{}) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetTriggerHeaders(triggerHeaders map[string]interface{}) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetTriggerName(triggerName string) *CreateTektonPipelineRunOptions
- func (_options *CreateTektonPipelineRunOptions) SetTriggerProperties(triggerProperties map[string]interface{}) *CreateTektonPipelineRunOptions
- type CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetCron(cron string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetEnableEventsFromForks(enableEventsFromForks bool) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetEnabled(enabled bool) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetEventListener(eventListener string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetEvents(events []string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetFavorite(favorite bool) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetFilter(filter string) *CreateTektonPipelineTriggerOptions
- func (options *CreateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetMaxConcurrentRuns(maxConcurrentRuns int64) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetName(name string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetSecret(secret *GenericSecret) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetSource(source *TriggerSourcePrototype) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetTags(tags []string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetTimezone(timezone string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetType(typeVar string) *CreateTektonPipelineTriggerOptions
- func (_options *CreateTektonPipelineTriggerOptions) SetWorker(worker *WorkerIdentity) *CreateTektonPipelineTriggerOptions
- type CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetEnum(enum []string) *CreateTektonPipelineTriggerPropertiesOptions
- func (options *CreateTektonPipelineTriggerPropertiesOptions) SetHeaders(param map[string]string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetLocked(locked bool) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetName(name string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetPath(path string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetTriggerID(triggerID string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetType(typeVar string) *CreateTektonPipelineTriggerPropertiesOptions
- func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetValue(value string) *CreateTektonPipelineTriggerPropertiesOptions
- type Definition
- type DefinitionSource
- type DefinitionSourceProperties
- type DefinitionsCollection
- type DeleteTektonPipelineDefinitionOptions
- func (_options *DeleteTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *DeleteTektonPipelineDefinitionOptions
- func (options *DeleteTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineDefinitionOptions
- func (_options *DeleteTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineDefinitionOptions
- type DeleteTektonPipelineOptions
- type DeleteTektonPipelinePropertyOptions
- func (options *DeleteTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *DeleteTektonPipelinePropertyOptions
- func (_options *DeleteTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelinePropertyOptions
- func (_options *DeleteTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *DeleteTektonPipelinePropertyOptions
- type DeleteTektonPipelineRunOptions
- func (options *DeleteTektonPipelineRunOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineRunOptions
- func (_options *DeleteTektonPipelineRunOptions) SetID(id string) *DeleteTektonPipelineRunOptions
- func (_options *DeleteTektonPipelineRunOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineRunOptions
- type DeleteTektonPipelineTriggerOptions
- func (options *DeleteTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineTriggerOptions
- func (_options *DeleteTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineTriggerOptions
- func (_options *DeleteTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *DeleteTektonPipelineTriggerOptions
- type DeleteTektonPipelineTriggerPropertyOptions
- func (options *DeleteTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineTriggerPropertyOptions
- func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineTriggerPropertyOptions
- func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *DeleteTektonPipelineTriggerPropertyOptions
- func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *DeleteTektonPipelineTriggerPropertyOptions
- type DuplicateTektonPipelineTriggerOptions
- func (options *DuplicateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *DuplicateTektonPipelineTriggerOptions
- func (_options *DuplicateTektonPipelineTriggerOptions) SetName(name string) *DuplicateTektonPipelineTriggerOptions
- func (_options *DuplicateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *DuplicateTektonPipelineTriggerOptions
- func (_options *DuplicateTektonPipelineTriggerOptions) SetSourceTriggerID(sourceTriggerID string) *DuplicateTektonPipelineTriggerOptions
- type GenericSecret
- type GetTektonPipelineDefinitionOptions
- func (_options *GetTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *GetTektonPipelineDefinitionOptions
- func (options *GetTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *GetTektonPipelineDefinitionOptions
- func (_options *GetTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *GetTektonPipelineDefinitionOptions
- type GetTektonPipelineOptions
- type GetTektonPipelinePropertyOptions
- func (options *GetTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *GetTektonPipelinePropertyOptions
- func (_options *GetTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *GetTektonPipelinePropertyOptions
- func (_options *GetTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *GetTektonPipelinePropertyOptions
- type GetTektonPipelineRunLogContentOptions
- func (options *GetTektonPipelineRunLogContentOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunLogContentOptions
- func (_options *GetTektonPipelineRunLogContentOptions) SetID(id string) *GetTektonPipelineRunLogContentOptions
- func (_options *GetTektonPipelineRunLogContentOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunLogContentOptions
- func (_options *GetTektonPipelineRunLogContentOptions) SetPipelineRunID(pipelineRunID string) *GetTektonPipelineRunLogContentOptions
- type GetTektonPipelineRunLogsOptions
- func (options *GetTektonPipelineRunLogsOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunLogsOptions
- func (_options *GetTektonPipelineRunLogsOptions) SetID(id string) *GetTektonPipelineRunLogsOptions
- func (_options *GetTektonPipelineRunLogsOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunLogsOptions
- type GetTektonPipelineRunOptions
- func (options *GetTektonPipelineRunOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunOptions
- func (_options *GetTektonPipelineRunOptions) SetID(id string) *GetTektonPipelineRunOptions
- func (_options *GetTektonPipelineRunOptions) SetIncludes(includes string) *GetTektonPipelineRunOptions
- func (_options *GetTektonPipelineRunOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunOptions
- type GetTektonPipelineTriggerOptions
- func (options *GetTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *GetTektonPipelineTriggerOptions
- func (_options *GetTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *GetTektonPipelineTriggerOptions
- func (_options *GetTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *GetTektonPipelineTriggerOptions
- type GetTektonPipelineTriggerPropertyOptions
- func (options *GetTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *GetTektonPipelineTriggerPropertyOptions
- func (_options *GetTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *GetTektonPipelineTriggerPropertyOptions
- func (_options *GetTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *GetTektonPipelineTriggerPropertyOptions
- func (_options *GetTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *GetTektonPipelineTriggerPropertyOptions
- type ListTektonPipelineDefinitionsOptions
- type ListTektonPipelinePropertiesOptions
- func (options *ListTektonPipelinePropertiesOptions) SetHeaders(param map[string]string) *ListTektonPipelinePropertiesOptions
- func (_options *ListTektonPipelinePropertiesOptions) SetName(name string) *ListTektonPipelinePropertiesOptions
- func (_options *ListTektonPipelinePropertiesOptions) SetPipelineID(pipelineID string) *ListTektonPipelinePropertiesOptions
- func (_options *ListTektonPipelinePropertiesOptions) SetSort(sort string) *ListTektonPipelinePropertiesOptions
- func (_options *ListTektonPipelinePropertiesOptions) SetType(typeVar []string) *ListTektonPipelinePropertiesOptions
- type ListTektonPipelineRunsOptions
- func (options *ListTektonPipelineRunsOptions) SetHeaders(param map[string]string) *ListTektonPipelineRunsOptions
- func (_options *ListTektonPipelineRunsOptions) SetLimit(limit int64) *ListTektonPipelineRunsOptions
- func (_options *ListTektonPipelineRunsOptions) SetPipelineID(pipelineID string) *ListTektonPipelineRunsOptions
- func (_options *ListTektonPipelineRunsOptions) SetStart(start string) *ListTektonPipelineRunsOptions
- func (_options *ListTektonPipelineRunsOptions) SetStatus(status string) *ListTektonPipelineRunsOptions
- func (_options *ListTektonPipelineRunsOptions) SetTriggerName(triggerName string) *ListTektonPipelineRunsOptions
- type ListTektonPipelineTriggerPropertiesOptions
- func (options *ListTektonPipelineTriggerPropertiesOptions) SetHeaders(param map[string]string) *ListTektonPipelineTriggerPropertiesOptions
- func (_options *ListTektonPipelineTriggerPropertiesOptions) SetName(name string) *ListTektonPipelineTriggerPropertiesOptions
- func (_options *ListTektonPipelineTriggerPropertiesOptions) SetPipelineID(pipelineID string) *ListTektonPipelineTriggerPropertiesOptions
- func (_options *ListTektonPipelineTriggerPropertiesOptions) SetSort(sort string) *ListTektonPipelineTriggerPropertiesOptions
- func (_options *ListTektonPipelineTriggerPropertiesOptions) SetTriggerID(triggerID string) *ListTektonPipelineTriggerPropertiesOptions
- func (_options *ListTektonPipelineTriggerPropertiesOptions) SetType(typeVar string) *ListTektonPipelineTriggerPropertiesOptions
- type ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetDisabled(disabled string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetEventListener(eventListener string) *ListTektonPipelineTriggersOptions
- func (options *ListTektonPipelineTriggersOptions) SetHeaders(param map[string]string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetName(name string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetPipelineID(pipelineID string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetTags(tags string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetType(typeVar string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetWorkerID(workerID string) *ListTektonPipelineTriggersOptions
- func (_options *ListTektonPipelineTriggersOptions) SetWorkerName(workerName string) *ListTektonPipelineTriggersOptions
- type Log
- type LogsCollection
- type PipelineRun
- type PipelineRunTrigger
- type PipelineRunWorker
- type PipelineRunsCollection
- type PropertiesCollection
- type Property
- type ReplaceTektonPipelineDefinitionOptions
- func (_options *ReplaceTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *ReplaceTektonPipelineDefinitionOptions
- func (options *ReplaceTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelineDefinitionOptions
- func (_options *ReplaceTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelineDefinitionOptions
- func (_options *ReplaceTektonPipelineDefinitionOptions) SetSource(source *DefinitionSource) *ReplaceTektonPipelineDefinitionOptions
- type ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetEnum(enum []string) *ReplaceTektonPipelinePropertyOptions
- func (options *ReplaceTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetLocked(locked bool) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetName(name string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetPath(path string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetType(typeVar string) *ReplaceTektonPipelinePropertyOptions
- func (_options *ReplaceTektonPipelinePropertyOptions) SetValue(value string) *ReplaceTektonPipelinePropertyOptions
- type ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetEnum(enum []string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (options *ReplaceTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetLocked(locked bool) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetName(name string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPath(path string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetType(typeVar string) *ReplaceTektonPipelineTriggerPropertyOptions
- func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetValue(value string) *ReplaceTektonPipelineTriggerPropertyOptions
- type RerunTektonPipelineRunOptions
- func (options *RerunTektonPipelineRunOptions) SetHeaders(param map[string]string) *RerunTektonPipelineRunOptions
- func (_options *RerunTektonPipelineRunOptions) SetID(id string) *RerunTektonPipelineRunOptions
- func (_options *RerunTektonPipelineRunOptions) SetPipelineID(pipelineID string) *RerunTektonPipelineRunOptions
- type ResourceGroupReference
- type RunDefinition
- type RunPipeline
- type RunsFirstPage
- type RunsLastPage
- type RunsNextPage
- type StepLog
- type TektonPipeline
- type TektonPipelinePatch
- type TektonPipelineRunsPager
- func (pager *TektonPipelineRunsPager) GetAll() (allItems []PipelineRun, err error)
- func (pager *TektonPipelineRunsPager) GetAllWithContext(ctx context.Context) (allItems []PipelineRun, err error)
- func (pager *TektonPipelineRunsPager) GetNext() (page []PipelineRun, err error)
- func (pager *TektonPipelineRunsPager) GetNextWithContext(ctx context.Context) (page []PipelineRun, err error)
- func (pager *TektonPipelineRunsPager) HasNext() bool
- type Tool
- type ToolchainReference
- type Trigger
- type TriggerGenericTrigger
- type TriggerIntf
- type TriggerManualTrigger
- type TriggerPatch
- type TriggerPropertiesCollection
- type TriggerProperty
- type TriggerScmTrigger
- type TriggerSource
- type TriggerSourceProperties
- type TriggerSourcePropertiesPrototype
- type TriggerSourcePrototype
- type TriggerTimerTrigger
- type TriggersCollection
- type UpdateTektonPipelineOptions
- func (options *UpdateTektonPipelineOptions) SetHeaders(param map[string]string) *UpdateTektonPipelineOptions
- func (_options *UpdateTektonPipelineOptions) SetID(id string) *UpdateTektonPipelineOptions
- func (_options *UpdateTektonPipelineOptions) SetTektonPipelinePatch(tektonPipelinePatch map[string]interface{}) *UpdateTektonPipelineOptions
- type UpdateTektonPipelineTriggerOptions
- func (options *UpdateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *UpdateTektonPipelineTriggerOptions
- func (_options *UpdateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *UpdateTektonPipelineTriggerOptions
- func (_options *UpdateTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *UpdateTektonPipelineTriggerOptions
- func (_options *UpdateTektonPipelineTriggerOptions) SetTriggerPatch(triggerPatch map[string]interface{}) *UpdateTektonPipelineTriggerOptions
- type UserInfo
- type Worker
- type WorkerIdentity
Constants ¶
const ( CreateTektonPipelinePropertiesOptionsTypeAppconfigConst = "appconfig" CreateTektonPipelinePropertiesOptionsTypeIntegrationConst = "integration" CreateTektonPipelinePropertiesOptionsTypeSecureConst = "secure" CreateTektonPipelinePropertiesOptionsTypeSingleSelectConst = "single_select" CreateTektonPipelinePropertiesOptionsTypeTextConst = "text" )
Constants associated with the CreateTektonPipelinePropertiesOptions.Type property. Property type.
const ( CreateTektonPipelineTriggerOptionsTypeGenericConst = "generic" CreateTektonPipelineTriggerOptionsTypeManualConst = "manual" CreateTektonPipelineTriggerOptionsTypeScmConst = "scm" CreateTektonPipelineTriggerOptionsTypeTimerConst = "timer" )
Constants associated with the CreateTektonPipelineTriggerOptions.Type property. Trigger type.
const ( CreateTektonPipelineTriggerOptionsEventsPullRequestConst = "pull_request" CreateTektonPipelineTriggerOptionsEventsPullRequestClosedConst = "pull_request_closed" CreateTektonPipelineTriggerOptionsEventsPushConst = "push" )
Constants associated with the CreateTektonPipelineTriggerOptions.Events property. List of events. Supported options are 'push' Git webhook events, 'pull_request_closed' Git webhook events and 'pull_request' for 'open pull request' or 'update pull request' Git webhook events.
const ( CreateTektonPipelineTriggerPropertiesOptionsTypeAppconfigConst = "appconfig" CreateTektonPipelineTriggerPropertiesOptionsTypeIntegrationConst = "integration" CreateTektonPipelineTriggerPropertiesOptionsTypeSecureConst = "secure" CreateTektonPipelineTriggerPropertiesOptionsTypeSingleSelectConst = "single_select" CreateTektonPipelineTriggerPropertiesOptionsTypeTextConst = "text" )
Constants associated with the CreateTektonPipelineTriggerPropertiesOptions.Type property. Property type.
const ( GenericSecretTypeDigestMatchesConst = "digest_matches" GenericSecretTypeInternalValidationConst = "internal_validation" GenericSecretTypeTokenMatchesConst = "token_matches" )
Constants associated with the GenericSecret.Type property. Secret type.
const ( GenericSecretSourceHeaderConst = "header" GenericSecretSourcePayloadConst = "payload" GenericSecretSourceQueryConst = "query" )
Constants associated with the GenericSecret.Source property. Secret location, not needed if secret type is `internal_validation`.
const ( GenericSecretAlgorithmMd4Const = "md4" GenericSecretAlgorithmMd5Const = "md5" GenericSecretAlgorithmRipemd160Const = "ripemd160" GenericSecretAlgorithmSha1Const = "sha1" GenericSecretAlgorithmSha256Const = "sha256" GenericSecretAlgorithmSha384Const = "sha384" GenericSecretAlgorithmSha512Const = "sha512" GenericSecretAlgorithmSha512224Const = "sha512_224" GenericSecretAlgorithmSha512256Const = "sha512_256" )
Constants associated with the GenericSecret.Algorithm property. Algorithm used for `digest_matches` secret type. Only needed for `digest_matches` secret type.
const ( ListTektonPipelinePropertiesOptionsTypeAppconfigConst = "appconfig" ListTektonPipelinePropertiesOptionsTypeIntegrationConst = "integration" ListTektonPipelinePropertiesOptionsTypeSecureConst = "secure" ListTektonPipelinePropertiesOptionsTypeSingleSelectConst = "single_select" ListTektonPipelinePropertiesOptionsTypeTextConst = "text" )
Constants associated with the ListTektonPipelinePropertiesOptions.Type property. Type of property.
const ( ListTektonPipelineRunsOptionsStatusCancelledConst = "cancelled" ListTektonPipelineRunsOptionsStatusErrorConst = "error" ListTektonPipelineRunsOptionsStatusFailedConst = "failed" ListTektonPipelineRunsOptionsStatusPendingConst = "pending" ListTektonPipelineRunsOptionsStatusQueuedConst = "queued" ListTektonPipelineRunsOptionsStatusRunningConst = "running" ListTektonPipelineRunsOptionsStatusSucceededConst = "succeeded" ListTektonPipelineRunsOptionsStatusWaitingConst = "waiting" )
Constants associated with the ListTektonPipelineRunsOptions.Status property. Filters the collection to resources with the specified status.
const ( PipelineRunStatusCancelledConst = "cancelled" PipelineRunStatusErrorConst = "error" PipelineRunStatusFailedConst = "failed" PipelineRunStatusPendingConst = "pending" PipelineRunStatusQueuedConst = "queued" PipelineRunStatusRunningConst = "running" PipelineRunStatusSucceededConst = "succeeded" PipelineRunStatusWaitingConst = "waiting" )
Constants associated with the PipelineRun.Status property. Status of the pipeline run.
const ( PropertyTypeAppconfigConst = "appconfig" PropertyTypeIntegrationConst = "integration" PropertyTypeSecureConst = "secure" PropertyTypeSingleSelectConst = "single_select" PropertyTypeTextConst = "text" )
Constants associated with the Property.Type property. Property type.
const ( ReplaceTektonPipelinePropertyOptionsTypeAppconfigConst = "appconfig" ReplaceTektonPipelinePropertyOptionsTypeIntegrationConst = "integration" ReplaceTektonPipelinePropertyOptionsTypeSecureConst = "secure" ReplaceTektonPipelinePropertyOptionsTypeSingleSelectConst = "single_select" ReplaceTektonPipelinePropertyOptionsTypeTextConst = "text" )
Constants associated with the ReplaceTektonPipelinePropertyOptions.Type property. Property type.
const ( ReplaceTektonPipelineTriggerPropertyOptionsTypeAppconfigConst = "appconfig" ReplaceTektonPipelineTriggerPropertyOptionsTypeIntegrationConst = "integration" ReplaceTektonPipelineTriggerPropertyOptionsTypeSecureConst = "secure" ReplaceTektonPipelineTriggerPropertyOptionsTypeSingleSelectConst = "single_select" ReplaceTektonPipelineTriggerPropertyOptionsTypeTextConst = "text" )
Constants associated with the ReplaceTektonPipelineTriggerPropertyOptions.Type property. Property type.
const ( TektonPipelineStatusConfiguredConst = "configured" TektonPipelineStatusConfiguringConst = "configuring" )
Constants associated with the TektonPipeline.Status property. Pipeline status.
const ( TriggerEventsPullRequestConst = "pull_request" TriggerEventsPullRequestClosedConst = "pull_request_closed" TriggerEventsPushConst = "push" )
Constants associated with the Trigger.Events property. List of events. Supported options are 'push' Git webhook events, 'pull_request_closed' Git webhook events and 'pull_request' for 'open pull request' or 'update pull request' Git webhook events.
const ( TriggerPatchTypeGenericConst = "generic" TriggerPatchTypeManualConst = "manual" TriggerPatchTypeScmConst = "scm" TriggerPatchTypeTimerConst = "timer" )
Constants associated with the TriggerPatch.Type property. Trigger type.
const ( TriggerPatchEventsPullRequestConst = "pull_request" TriggerPatchEventsPullRequestClosedConst = "pull_request_closed" TriggerPatchEventsPushConst = "push" )
Constants associated with the TriggerPatch.Events property. List of events. Supported options are 'push' Git webhook events, 'pull_request_closed' Git webhook events and 'pull_request' for 'open pull request' or 'update pull request' Git webhook events.
const ( TriggerPropertyTypeAppconfigConst = "appconfig" TriggerPropertyTypeIntegrationConst = "integration" TriggerPropertyTypeSecureConst = "secure" TriggerPropertyTypeSingleSelectConst = "single_select" TriggerPropertyTypeTextConst = "text" )
Constants associated with the TriggerProperty.Type property. Property type.
const ( TriggerScmTriggerEventsPullRequestConst = "pull_request" TriggerScmTriggerEventsPullRequestClosedConst = "pull_request_closed" TriggerScmTriggerEventsPushConst = "push" )
Constants associated with the TriggerScmTrigger.Events property. List of events. Supported options are 'push' Git webhook events, 'pull_request_closed' Git webhook events and 'pull_request' for 'open pull request' or 'update pull request' Git webhook events.
const DefaultServiceName = "cd_tekton_pipeline"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://api.us-south.devops.cloud.ibm.com/pipeline/v2"
DefaultServiceURL is the default URL to make service requests to.
const (
GetTektonPipelineRunOptionsIncludesDefinitionsConst = "definitions"
)
Constants associated with the GetTektonPipelineRunOptions.Includes property. Defines if response includes definition metadata.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalDefinition ¶
func UnmarshalDefinition(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDefinition unmarshals an instance of Definition from the specified map of raw messages.
func UnmarshalDefinitionSource ¶
func UnmarshalDefinitionSource(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDefinitionSource unmarshals an instance of DefinitionSource from the specified map of raw messages.
func UnmarshalDefinitionSourceProperties ¶
func UnmarshalDefinitionSourceProperties(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDefinitionSourceProperties unmarshals an instance of DefinitionSourceProperties from the specified map of raw messages.
func UnmarshalDefinitionsCollection ¶
func UnmarshalDefinitionsCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalDefinitionsCollection unmarshals an instance of DefinitionsCollection from the specified map of raw messages.
func UnmarshalGenericSecret ¶
func UnmarshalGenericSecret(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalGenericSecret unmarshals an instance of GenericSecret from the specified map of raw messages.
func UnmarshalLog ¶
func UnmarshalLog(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLog unmarshals an instance of Log from the specified map of raw messages.
func UnmarshalLogsCollection ¶
func UnmarshalLogsCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalLogsCollection unmarshals an instance of LogsCollection from the specified map of raw messages.
func UnmarshalPipelineRun ¶
func UnmarshalPipelineRun(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPipelineRun unmarshals an instance of PipelineRun from the specified map of raw messages.
func UnmarshalPipelineRunTrigger ¶
func UnmarshalPipelineRunTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPipelineRunTrigger unmarshals an instance of PipelineRunTrigger from the specified map of raw messages.
func UnmarshalPipelineRunWorker ¶
func UnmarshalPipelineRunWorker(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPipelineRunWorker unmarshals an instance of PipelineRunWorker from the specified map of raw messages.
func UnmarshalPipelineRunsCollection ¶
func UnmarshalPipelineRunsCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPipelineRunsCollection unmarshals an instance of PipelineRunsCollection from the specified map of raw messages.
func UnmarshalPropertiesCollection ¶
func UnmarshalPropertiesCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPropertiesCollection unmarshals an instance of PropertiesCollection from the specified map of raw messages.
func UnmarshalProperty ¶
func UnmarshalProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalProperty unmarshals an instance of Property from the specified map of raw messages.
func UnmarshalResourceGroupReference ¶
func UnmarshalResourceGroupReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalResourceGroupReference unmarshals an instance of ResourceGroupReference from the specified map of raw messages.
func UnmarshalRunDefinition ¶
func UnmarshalRunDefinition(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRunDefinition unmarshals an instance of RunDefinition from the specified map of raw messages.
func UnmarshalRunPipeline ¶
func UnmarshalRunPipeline(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRunPipeline unmarshals an instance of RunPipeline from the specified map of raw messages.
func UnmarshalRunsFirstPage ¶
func UnmarshalRunsFirstPage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRunsFirstPage unmarshals an instance of RunsFirstPage from the specified map of raw messages.
func UnmarshalRunsLastPage ¶
func UnmarshalRunsLastPage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRunsLastPage unmarshals an instance of RunsLastPage from the specified map of raw messages.
func UnmarshalRunsNextPage ¶
func UnmarshalRunsNextPage(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalRunsNextPage unmarshals an instance of RunsNextPage from the specified map of raw messages.
func UnmarshalStepLog ¶
func UnmarshalStepLog(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalStepLog unmarshals an instance of StepLog from the specified map of raw messages.
func UnmarshalTektonPipeline ¶
func UnmarshalTektonPipeline(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipeline unmarshals an instance of TektonPipeline from the specified map of raw messages.
func UnmarshalTektonPipelinePatch ¶
func UnmarshalTektonPipelinePatch(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipelinePatch unmarshals an instance of TektonPipelinePatch from the specified map of raw messages.
func UnmarshalTool ¶
func UnmarshalTool(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTool unmarshals an instance of Tool from the specified map of raw messages.
func UnmarshalToolchainReference ¶
func UnmarshalToolchainReference(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalToolchainReference unmarshals an instance of ToolchainReference from the specified map of raw messages.
func UnmarshalTrigger ¶
func UnmarshalTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTrigger unmarshals an instance of Trigger from the specified map of raw messages.
func UnmarshalTriggerGenericTrigger ¶
func UnmarshalTriggerGenericTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerGenericTrigger unmarshals an instance of TriggerGenericTrigger from the specified map of raw messages.
func UnmarshalTriggerManualTrigger ¶
func UnmarshalTriggerManualTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerManualTrigger unmarshals an instance of TriggerManualTrigger from the specified map of raw messages.
func UnmarshalTriggerPatch ¶
func UnmarshalTriggerPatch(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerPatch unmarshals an instance of TriggerPatch from the specified map of raw messages.
func UnmarshalTriggerPropertiesCollection ¶
func UnmarshalTriggerPropertiesCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerPropertiesCollection unmarshals an instance of TriggerPropertiesCollection from the specified map of raw messages.
func UnmarshalTriggerProperty ¶
func UnmarshalTriggerProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerProperty unmarshals an instance of TriggerProperty from the specified map of raw messages.
func UnmarshalTriggerScmTrigger ¶
func UnmarshalTriggerScmTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerScmTrigger unmarshals an instance of TriggerScmTrigger from the specified map of raw messages.
func UnmarshalTriggerSource ¶
func UnmarshalTriggerSource(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerSource unmarshals an instance of TriggerSource from the specified map of raw messages.
func UnmarshalTriggerSourceProperties ¶
func UnmarshalTriggerSourceProperties(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerSourceProperties unmarshals an instance of TriggerSourceProperties from the specified map of raw messages.
func UnmarshalTriggerSourcePropertiesPrototype ¶
func UnmarshalTriggerSourcePropertiesPrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerSourcePropertiesPrototype unmarshals an instance of TriggerSourcePropertiesPrototype from the specified map of raw messages.
func UnmarshalTriggerSourcePrototype ¶
func UnmarshalTriggerSourcePrototype(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerSourcePrototype unmarshals an instance of TriggerSourcePrototype from the specified map of raw messages.
func UnmarshalTriggerTimerTrigger ¶
func UnmarshalTriggerTimerTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggerTimerTrigger unmarshals an instance of TriggerTimerTrigger from the specified map of raw messages.
func UnmarshalTriggersCollection ¶
func UnmarshalTriggersCollection(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTriggersCollection unmarshals an instance of TriggersCollection from the specified map of raw messages.
func UnmarshalUserInfo ¶
func UnmarshalUserInfo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalUserInfo unmarshals an instance of UserInfo from the specified map of raw messages.
func UnmarshalWorker ¶
func UnmarshalWorker(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalWorker unmarshals an instance of Worker from the specified map of raw messages.
func UnmarshalWorkerIdentity ¶
func UnmarshalWorkerIdentity(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalWorkerIdentity unmarshals an instance of WorkerIdentity from the specified map of raw messages.
Types ¶
type CancelTektonPipelineRunOptions ¶
type CancelTektonPipelineRunOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Flag indicating whether the pipeline cancellation action is forced or not. Force *bool `json:"force,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CancelTektonPipelineRunOptions : The CancelTektonPipelineRun options.
func (*CancelTektonPipelineRunOptions) SetForce ¶
func (_options *CancelTektonPipelineRunOptions) SetForce(force bool) *CancelTektonPipelineRunOptions
SetForce : Allow user to set Force
func (*CancelTektonPipelineRunOptions) SetHeaders ¶
func (options *CancelTektonPipelineRunOptions) SetHeaders(param map[string]string) *CancelTektonPipelineRunOptions
SetHeaders : Allow user to set Headers
func (*CancelTektonPipelineRunOptions) SetID ¶
func (_options *CancelTektonPipelineRunOptions) SetID(id string) *CancelTektonPipelineRunOptions
SetID : Allow user to set ID
func (*CancelTektonPipelineRunOptions) SetPipelineID ¶
func (_options *CancelTektonPipelineRunOptions) SetPipelineID(pipelineID string) *CancelTektonPipelineRunOptions
SetPipelineID : Allow user to set PipelineID
type CdTektonPipelineV2 ¶
type CdTektonPipelineV2 struct {
Service *core.BaseService
}
CdTektonPipelineV2 : Continuous Delivery Tekton pipeline API definition <br><br> Maximum request payload size is 512 KB <br><br> All calls require an <strong>Authorization</strong> HTTP header. <br><br> The following header is the accepted authentication mechanism and required credentials for each <ul><li><b>Bearer:</b> an IBM Cloud IAM token (authorized for all endpoints)</li>
API Version: 2.0.0
func NewCdTektonPipelineV2 ¶
func NewCdTektonPipelineV2(options *CdTektonPipelineV2Options) (service *CdTektonPipelineV2, err error)
NewCdTektonPipelineV2 : constructs an instance of CdTektonPipelineV2 with passed in options.
func NewCdTektonPipelineV2UsingExternalConfig ¶
func NewCdTektonPipelineV2UsingExternalConfig(options *CdTektonPipelineV2Options) (cdTektonPipeline *CdTektonPipelineV2, err error)
NewCdTektonPipelineV2UsingExternalConfig : constructs an instance of CdTektonPipelineV2 with passed in options and external configuration.
func (*CdTektonPipelineV2) CancelTektonPipelineRun ¶
func (cdTektonPipeline *CdTektonPipelineV2) CancelTektonPipelineRun(cancelTektonPipelineRunOptions *CancelTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
CancelTektonPipelineRun : Cancel a pipeline run This request cancels a running pipeline run identified by `{id}`. Use `force: true` in the body if the pipeline run can't be cancelled normally.
func (*CdTektonPipelineV2) CancelTektonPipelineRunWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CancelTektonPipelineRunWithContext(ctx context.Context, cancelTektonPipelineRunOptions *CancelTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
CancelTektonPipelineRunWithContext is an alternate form of the CancelTektonPipelineRun method which supports a Context parameter
func (*CdTektonPipelineV2) Clone ¶
func (cdTektonPipeline *CdTektonPipelineV2) Clone() *CdTektonPipelineV2
Clone makes a copy of "cdTektonPipeline" suitable for processing requests.
func (*CdTektonPipelineV2) CreateTektonPipeline ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipeline(createTektonPipelineOptions *CreateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
CreateTektonPipeline : Create Tekton pipeline This request creates a Tekton pipeline. Requires a pipeline tool already created in the toolchain using the toolchain API https://cloud.ibm.com/apidocs/toolchain#create-tool, and use the tool ID to create the Tekton pipeline.
func (*CdTektonPipelineV2) CreateTektonPipelineDefinition ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineDefinition(createTektonPipelineDefinitionOptions *CreateTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
CreateTektonPipelineDefinition : Create a single definition This request adds a single definition. The source properties should consist of a repository url, a repository path and a branch or tag. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.
func (*CdTektonPipelineV2) CreateTektonPipelineDefinitionWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineDefinitionWithContext(ctx context.Context, createTektonPipelineDefinitionOptions *CreateTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
CreateTektonPipelineDefinitionWithContext is an alternate form of the CreateTektonPipelineDefinition method which supports a Context parameter
func (*CdTektonPipelineV2) CreateTektonPipelineProperties ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineProperties(createTektonPipelinePropertiesOptions *CreateTektonPipelinePropertiesOptions) (result *Property, response *core.DetailedResponse, err error)
CreateTektonPipelineProperties : Create a pipeline environment property This request creates an environment property.
func (*CdTektonPipelineV2) CreateTektonPipelinePropertiesWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelinePropertiesWithContext(ctx context.Context, createTektonPipelinePropertiesOptions *CreateTektonPipelinePropertiesOptions) (result *Property, response *core.DetailedResponse, err error)
CreateTektonPipelinePropertiesWithContext is an alternate form of the CreateTektonPipelineProperties method which supports a Context parameter
func (*CdTektonPipelineV2) CreateTektonPipelineRun ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineRun(createTektonPipelineRunOptions *CreateTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
CreateTektonPipelineRun : Trigger a pipeline run Trigger a new pipeline run using either the manual or the timed trigger, specifying the additional properties or overriding existing ones as needed.
func (*CdTektonPipelineV2) CreateTektonPipelineRunWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineRunWithContext(ctx context.Context, createTektonPipelineRunOptions *CreateTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
CreateTektonPipelineRunWithContext is an alternate form of the CreateTektonPipelineRun method which supports a Context parameter
func (*CdTektonPipelineV2) CreateTektonPipelineTrigger ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTrigger(createTektonPipelineTriggerOptions *CreateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
CreateTektonPipelineTrigger : Create a trigger This request creates a trigger.
func (*CdTektonPipelineV2) CreateTektonPipelineTriggerProperties ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerProperties(createTektonPipelineTriggerPropertiesOptions *CreateTektonPipelineTriggerPropertiesOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
CreateTektonPipelineTriggerProperties : Create a trigger property This request creates a property in the trigger identified by `{trigger_id}`.
func (*CdTektonPipelineV2) CreateTektonPipelineTriggerPropertiesWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerPropertiesWithContext(ctx context.Context, createTektonPipelineTriggerPropertiesOptions *CreateTektonPipelineTriggerPropertiesOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
CreateTektonPipelineTriggerPropertiesWithContext is an alternate form of the CreateTektonPipelineTriggerProperties method which supports a Context parameter
func (*CdTektonPipelineV2) CreateTektonPipelineTriggerWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineTriggerWithContext(ctx context.Context, createTektonPipelineTriggerOptions *CreateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
CreateTektonPipelineTriggerWithContext is an alternate form of the CreateTektonPipelineTrigger method which supports a Context parameter
func (*CdTektonPipelineV2) CreateTektonPipelineWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) CreateTektonPipelineWithContext(ctx context.Context, createTektonPipelineOptions *CreateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
CreateTektonPipelineWithContext is an alternate form of the CreateTektonPipeline method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipeline ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipeline(deleteTektonPipelineOptions *DeleteTektonPipelineOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipeline : Delete Tekton pipeline instance This request deletes Tekton pipeline instance that is associated with the pipeline toolchain integration.
func (*CdTektonPipelineV2) DeleteTektonPipelineDefinition ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineDefinition(deleteTektonPipelineDefinitionOptions *DeleteTektonPipelineDefinitionOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineDefinition : Delete a single definition entry This request deletes a single definition from the definition list.
func (*CdTektonPipelineV2) DeleteTektonPipelineDefinitionWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineDefinitionWithContext(ctx context.Context, deleteTektonPipelineDefinitionOptions *DeleteTektonPipelineDefinitionOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineDefinitionWithContext is an alternate form of the DeleteTektonPipelineDefinition method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipelineProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineProperty(deleteTektonPipelinePropertyOptions *DeleteTektonPipelinePropertyOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineProperty : Delete a single pipeline environment property This request deletes a single pipeline environment property.
func (*CdTektonPipelineV2) DeleteTektonPipelinePropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelinePropertyWithContext(ctx context.Context, deleteTektonPipelinePropertyOptions *DeleteTektonPipelinePropertyOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelinePropertyWithContext is an alternate form of the DeleteTektonPipelineProperty method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipelineRun ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineRun(deleteTektonPipelineRunOptions *DeleteTektonPipelineRunOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineRun : Delete a pipeline run record This request deletes the pipeline run record identified by `{id}`.
func (*CdTektonPipelineV2) DeleteTektonPipelineRunWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineRunWithContext(ctx context.Context, deleteTektonPipelineRunOptions *DeleteTektonPipelineRunOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineRunWithContext is an alternate form of the DeleteTektonPipelineRun method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipelineTrigger ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTrigger(deleteTektonPipelineTriggerOptions *DeleteTektonPipelineTriggerOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineTrigger : Delete a single trigger This request deletes the trigger identified by `{trigger_id}`.
func (*CdTektonPipelineV2) DeleteTektonPipelineTriggerProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerProperty(deleteTektonPipelineTriggerPropertyOptions *DeleteTektonPipelineTriggerPropertyOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineTriggerProperty : Delete a trigger property This request deletes a trigger property.
func (*CdTektonPipelineV2) DeleteTektonPipelineTriggerPropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerPropertyWithContext(ctx context.Context, deleteTektonPipelineTriggerPropertyOptions *DeleteTektonPipelineTriggerPropertyOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineTriggerPropertyWithContext is an alternate form of the DeleteTektonPipelineTriggerProperty method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipelineTriggerWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineTriggerWithContext(ctx context.Context, deleteTektonPipelineTriggerOptions *DeleteTektonPipelineTriggerOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineTriggerWithContext is an alternate form of the DeleteTektonPipelineTrigger method which supports a Context parameter
func (*CdTektonPipelineV2) DeleteTektonPipelineWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DeleteTektonPipelineWithContext(ctx context.Context, deleteTektonPipelineOptions *DeleteTektonPipelineOptions) (response *core.DetailedResponse, err error)
DeleteTektonPipelineWithContext is an alternate form of the DeleteTektonPipeline method which supports a Context parameter
func (*CdTektonPipelineV2) DisableRetries ¶
func (cdTektonPipeline *CdTektonPipelineV2) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*CdTektonPipelineV2) DuplicateTektonPipelineTrigger ¶
func (cdTektonPipeline *CdTektonPipelineV2) DuplicateTektonPipelineTrigger(duplicateTektonPipelineTriggerOptions *DuplicateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
DuplicateTektonPipelineTrigger : Duplicate a trigger This request duplicates a trigger from an existing trigger identified by `{source_trigger_id}`.
func (*CdTektonPipelineV2) DuplicateTektonPipelineTriggerWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) DuplicateTektonPipelineTriggerWithContext(ctx context.Context, duplicateTektonPipelineTriggerOptions *DuplicateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
DuplicateTektonPipelineTriggerWithContext is an alternate form of the DuplicateTektonPipelineTrigger method which supports a Context parameter
func (*CdTektonPipelineV2) EnableRetries ¶
func (cdTektonPipeline *CdTektonPipelineV2) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.
func (*CdTektonPipelineV2) GetEnableGzipCompression ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*CdTektonPipelineV2) GetServiceURL ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetServiceURL() string
GetServiceURL returns the service URL
func (*CdTektonPipelineV2) GetTektonPipeline ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipeline(getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
GetTektonPipeline : Get Tekton pipeline data This request retrieves the Tekton pipeline data for the pipeline identified by `{id}`.
func (*CdTektonPipelineV2) GetTektonPipelineDefinition ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineDefinition(getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
GetTektonPipelineDefinition : Retrieve a single definition entry This request fetches a single definition entry, which consists of the definition repository URL, a repository path, and a branch or tag.
func (*CdTektonPipelineV2) GetTektonPipelineDefinitionWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineDefinitionWithContext(ctx context.Context, getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
GetTektonPipelineDefinitionWithContext is an alternate form of the GetTektonPipelineDefinition method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineProperty(getTektonPipelinePropertyOptions *GetTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
GetTektonPipelineProperty : Get a pipeline environment property This request gets the data of an environment property identified by `{property_name}`.
func (*CdTektonPipelineV2) GetTektonPipelinePropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelinePropertyWithContext(ctx context.Context, getTektonPipelinePropertyOptions *GetTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
GetTektonPipelinePropertyWithContext is an alternate form of the GetTektonPipelineProperty method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineRun ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRun(getTektonPipelineRunOptions *GetTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
GetTektonPipelineRun : Get a pipeline run record This request retrieves details of the pipeline run identified by `{id}`.
func (*CdTektonPipelineV2) GetTektonPipelineRunLogContent ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogContent(getTektonPipelineRunLogContentOptions *GetTektonPipelineRunLogContentOptions) (result *StepLog, response *core.DetailedResponse, err error)
GetTektonPipelineRunLogContent : Get the log content of a pipeline run step This request retrieves the log content of a pipeline run step, where the step is identified by `{id}`. To get the log ID use the endpoint `/tekton_pipelines/{pipeline_id}/pipeline_runs/{id}/logs`.
func (*CdTektonPipelineV2) GetTektonPipelineRunLogContentWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogContentWithContext(ctx context.Context, getTektonPipelineRunLogContentOptions *GetTektonPipelineRunLogContentOptions) (result *StepLog, response *core.DetailedResponse, err error)
GetTektonPipelineRunLogContentWithContext is an alternate form of the GetTektonPipelineRunLogContent method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineRunLogs ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogs(getTektonPipelineRunLogsOptions *GetTektonPipelineRunLogsOptions) (result *LogsCollection, response *core.DetailedResponse, err error)
GetTektonPipelineRunLogs : Get a list of pipeline run log objects This request fetches a list of log data for a pipeline run identified by `{id}`. The `href` in each log entry can be used to fetch that individual log.
func (*CdTektonPipelineV2) GetTektonPipelineRunLogsWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunLogsWithContext(ctx context.Context, getTektonPipelineRunLogsOptions *GetTektonPipelineRunLogsOptions) (result *LogsCollection, response *core.DetailedResponse, err error)
GetTektonPipelineRunLogsWithContext is an alternate form of the GetTektonPipelineRunLogs method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineRunWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineRunWithContext(ctx context.Context, getTektonPipelineRunOptions *GetTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
GetTektonPipelineRunWithContext is an alternate form of the GetTektonPipelineRun method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineTrigger ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTrigger(getTektonPipelineTriggerOptions *GetTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
GetTektonPipelineTrigger : Get a single trigger This request retrieves a single trigger identified by `{trigger_id}`.
func (*CdTektonPipelineV2) GetTektonPipelineTriggerProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerProperty(getTektonPipelineTriggerPropertyOptions *GetTektonPipelineTriggerPropertyOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
GetTektonPipelineTriggerProperty : Get a trigger property This request retrieves a trigger property.
func (*CdTektonPipelineV2) GetTektonPipelineTriggerPropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerPropertyWithContext(ctx context.Context, getTektonPipelineTriggerPropertyOptions *GetTektonPipelineTriggerPropertyOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
GetTektonPipelineTriggerPropertyWithContext is an alternate form of the GetTektonPipelineTriggerProperty method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineTriggerWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineTriggerWithContext(ctx context.Context, getTektonPipelineTriggerOptions *GetTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
GetTektonPipelineTriggerWithContext is an alternate form of the GetTektonPipelineTrigger method which supports a Context parameter
func (*CdTektonPipelineV2) GetTektonPipelineWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) GetTektonPipelineWithContext(ctx context.Context, getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
GetTektonPipelineWithContext is an alternate form of the GetTektonPipeline method which supports a Context parameter
func (*CdTektonPipelineV2) ListTektonPipelineDefinitions ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineDefinitions(listTektonPipelineDefinitionsOptions *ListTektonPipelineDefinitionsOptions) (result *DefinitionsCollection, response *core.DetailedResponse, err error)
ListTektonPipelineDefinitions : List pipeline definitions This request fetches pipeline definitions, which is a collection of individual definition entries. Each entry consists of a repository url, a repository path and a branch or tag. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.
func (*CdTektonPipelineV2) ListTektonPipelineDefinitionsWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineDefinitionsWithContext(ctx context.Context, listTektonPipelineDefinitionsOptions *ListTektonPipelineDefinitionsOptions) (result *DefinitionsCollection, response *core.DetailedResponse, err error)
ListTektonPipelineDefinitionsWithContext is an alternate form of the ListTektonPipelineDefinitions method which supports a Context parameter
func (*CdTektonPipelineV2) ListTektonPipelineProperties ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineProperties(listTektonPipelinePropertiesOptions *ListTektonPipelinePropertiesOptions) (result *PropertiesCollection, response *core.DetailedResponse, err error)
ListTektonPipelineProperties : List the pipeline's environment properties This request lists the environment properties of the pipeline identified by `{pipeline_id}`.
func (*CdTektonPipelineV2) ListTektonPipelinePropertiesWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelinePropertiesWithContext(ctx context.Context, listTektonPipelinePropertiesOptions *ListTektonPipelinePropertiesOptions) (result *PropertiesCollection, response *core.DetailedResponse, err error)
ListTektonPipelinePropertiesWithContext is an alternate form of the ListTektonPipelineProperties method which supports a Context parameter
func (*CdTektonPipelineV2) ListTektonPipelineRuns ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineRuns(listTektonPipelineRunsOptions *ListTektonPipelineRunsOptions) (result *PipelineRunsCollection, response *core.DetailedResponse, err error)
ListTektonPipelineRuns : List pipeline run records This request lists pipeline run records, which has data about the runs, such as status, user_info, trigger and other information. Default limit is 50.
func (*CdTektonPipelineV2) ListTektonPipelineRunsWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineRunsWithContext(ctx context.Context, listTektonPipelineRunsOptions *ListTektonPipelineRunsOptions) (result *PipelineRunsCollection, response *core.DetailedResponse, err error)
ListTektonPipelineRunsWithContext is an alternate form of the ListTektonPipelineRuns method which supports a Context parameter
func (*CdTektonPipelineV2) ListTektonPipelineTriggerProperties ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggerProperties(listTektonPipelineTriggerPropertiesOptions *ListTektonPipelineTriggerPropertiesOptions) (result *TriggerPropertiesCollection, response *core.DetailedResponse, err error)
ListTektonPipelineTriggerProperties : List trigger properties This request lists trigger properties for the trigger identified by `{trigger_id}`.
func (*CdTektonPipelineV2) ListTektonPipelineTriggerPropertiesWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggerPropertiesWithContext(ctx context.Context, listTektonPipelineTriggerPropertiesOptions *ListTektonPipelineTriggerPropertiesOptions) (result *TriggerPropertiesCollection, response *core.DetailedResponse, err error)
ListTektonPipelineTriggerPropertiesWithContext is an alternate form of the ListTektonPipelineTriggerProperties method which supports a Context parameter
func (*CdTektonPipelineV2) ListTektonPipelineTriggers ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggers(listTektonPipelineTriggersOptions *ListTektonPipelineTriggersOptions) (result *TriggersCollection, response *core.DetailedResponse, err error)
ListTektonPipelineTriggers : List pipeline triggers This request lists pipeline triggers for the pipeline identified by `{pipeline_id}`.
func (*CdTektonPipelineV2) ListTektonPipelineTriggersWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ListTektonPipelineTriggersWithContext(ctx context.Context, listTektonPipelineTriggersOptions *ListTektonPipelineTriggersOptions) (result *TriggersCollection, response *core.DetailedResponse, err error)
ListTektonPipelineTriggersWithContext is an alternate form of the ListTektonPipelineTriggers method which supports a Context parameter
func (*CdTektonPipelineV2) NewCancelTektonPipelineRunOptions ¶
func (*CdTektonPipelineV2) NewCancelTektonPipelineRunOptions(pipelineID string, id string) *CancelTektonPipelineRunOptions
NewCancelTektonPipelineRunOptions : Instantiate CancelTektonPipelineRunOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelineDefinitionOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelineDefinitionOptions(pipelineID string, source *DefinitionSource) *CreateTektonPipelineDefinitionOptions
NewCreateTektonPipelineDefinitionOptions : Instantiate CreateTektonPipelineDefinitionOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelineOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelineOptions(id string) *CreateTektonPipelineOptions
NewCreateTektonPipelineOptions : Instantiate CreateTektonPipelineOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelinePropertiesOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelinePropertiesOptions(pipelineID string, name string, typeVar string) *CreateTektonPipelinePropertiesOptions
NewCreateTektonPipelinePropertiesOptions : Instantiate CreateTektonPipelinePropertiesOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelineRunOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelineRunOptions(pipelineID string) *CreateTektonPipelineRunOptions
NewCreateTektonPipelineRunOptions : Instantiate CreateTektonPipelineRunOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerOptions(pipelineID string, typeVar string, name string, eventListener string) *CreateTektonPipelineTriggerOptions
NewCreateTektonPipelineTriggerOptions : Instantiate CreateTektonPipelineTriggerOptions
func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerPropertiesOptions ¶
func (*CdTektonPipelineV2) NewCreateTektonPipelineTriggerPropertiesOptions(pipelineID string, triggerID string, name string, typeVar string) *CreateTektonPipelineTriggerPropertiesOptions
NewCreateTektonPipelineTriggerPropertiesOptions : Instantiate CreateTektonPipelineTriggerPropertiesOptions
func (*CdTektonPipelineV2) NewDefinitionSource ¶
func (*CdTektonPipelineV2) NewDefinitionSource(typeVar string, properties *DefinitionSourceProperties) (_model *DefinitionSource, err error)
NewDefinitionSource : Instantiate DefinitionSource (Generic Model Constructor)
func (*CdTektonPipelineV2) NewDefinitionSourceProperties ¶
func (*CdTektonPipelineV2) NewDefinitionSourceProperties(url string, path string) (_model *DefinitionSourceProperties, err error)
NewDefinitionSourceProperties : Instantiate DefinitionSourceProperties (Generic Model Constructor)
func (*CdTektonPipelineV2) NewDeleteTektonPipelineDefinitionOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelineDefinitionOptions(pipelineID string, definitionID string) *DeleteTektonPipelineDefinitionOptions
NewDeleteTektonPipelineDefinitionOptions : Instantiate DeleteTektonPipelineDefinitionOptions
func (*CdTektonPipelineV2) NewDeleteTektonPipelineOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelineOptions(id string) *DeleteTektonPipelineOptions
NewDeleteTektonPipelineOptions : Instantiate DeleteTektonPipelineOptions
func (*CdTektonPipelineV2) NewDeleteTektonPipelinePropertyOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelinePropertyOptions(pipelineID string, propertyName string) *DeleteTektonPipelinePropertyOptions
NewDeleteTektonPipelinePropertyOptions : Instantiate DeleteTektonPipelinePropertyOptions
func (*CdTektonPipelineV2) NewDeleteTektonPipelineRunOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelineRunOptions(pipelineID string, id string) *DeleteTektonPipelineRunOptions
NewDeleteTektonPipelineRunOptions : Instantiate DeleteTektonPipelineRunOptions
func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerOptions(pipelineID string, triggerID string) *DeleteTektonPipelineTriggerOptions
NewDeleteTektonPipelineTriggerOptions : Instantiate DeleteTektonPipelineTriggerOptions
func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerPropertyOptions ¶
func (*CdTektonPipelineV2) NewDeleteTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string) *DeleteTektonPipelineTriggerPropertyOptions
NewDeleteTektonPipelineTriggerPropertyOptions : Instantiate DeleteTektonPipelineTriggerPropertyOptions
func (*CdTektonPipelineV2) NewDuplicateTektonPipelineTriggerOptions ¶
func (*CdTektonPipelineV2) NewDuplicateTektonPipelineTriggerOptions(pipelineID string, sourceTriggerID string, name string) *DuplicateTektonPipelineTriggerOptions
NewDuplicateTektonPipelineTriggerOptions : Instantiate DuplicateTektonPipelineTriggerOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineDefinitionOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineDefinitionOptions(pipelineID string, definitionID string) *GetTektonPipelineDefinitionOptions
NewGetTektonPipelineDefinitionOptions : Instantiate GetTektonPipelineDefinitionOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineOptions(id string) *GetTektonPipelineOptions
NewGetTektonPipelineOptions : Instantiate GetTektonPipelineOptions
func (*CdTektonPipelineV2) NewGetTektonPipelinePropertyOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelinePropertyOptions(pipelineID string, propertyName string) *GetTektonPipelinePropertyOptions
NewGetTektonPipelinePropertyOptions : Instantiate GetTektonPipelinePropertyOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogContentOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogContentOptions(pipelineID string, pipelineRunID string, id string) *GetTektonPipelineRunLogContentOptions
NewGetTektonPipelineRunLogContentOptions : Instantiate GetTektonPipelineRunLogContentOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogsOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineRunLogsOptions(pipelineID string, id string) *GetTektonPipelineRunLogsOptions
NewGetTektonPipelineRunLogsOptions : Instantiate GetTektonPipelineRunLogsOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineRunOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineRunOptions(pipelineID string, id string) *GetTektonPipelineRunOptions
NewGetTektonPipelineRunOptions : Instantiate GetTektonPipelineRunOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerOptions(pipelineID string, triggerID string) *GetTektonPipelineTriggerOptions
NewGetTektonPipelineTriggerOptions : Instantiate GetTektonPipelineTriggerOptions
func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerPropertyOptions ¶
func (*CdTektonPipelineV2) NewGetTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string) *GetTektonPipelineTriggerPropertyOptions
NewGetTektonPipelineTriggerPropertyOptions : Instantiate GetTektonPipelineTriggerPropertyOptions
func (*CdTektonPipelineV2) NewListTektonPipelineDefinitionsOptions ¶
func (*CdTektonPipelineV2) NewListTektonPipelineDefinitionsOptions(pipelineID string) *ListTektonPipelineDefinitionsOptions
NewListTektonPipelineDefinitionsOptions : Instantiate ListTektonPipelineDefinitionsOptions
func (*CdTektonPipelineV2) NewListTektonPipelinePropertiesOptions ¶
func (*CdTektonPipelineV2) NewListTektonPipelinePropertiesOptions(pipelineID string) *ListTektonPipelinePropertiesOptions
NewListTektonPipelinePropertiesOptions : Instantiate ListTektonPipelinePropertiesOptions
func (*CdTektonPipelineV2) NewListTektonPipelineRunsOptions ¶
func (*CdTektonPipelineV2) NewListTektonPipelineRunsOptions(pipelineID string) *ListTektonPipelineRunsOptions
NewListTektonPipelineRunsOptions : Instantiate ListTektonPipelineRunsOptions
func (*CdTektonPipelineV2) NewListTektonPipelineTriggerPropertiesOptions ¶
func (*CdTektonPipelineV2) NewListTektonPipelineTriggerPropertiesOptions(pipelineID string, triggerID string) *ListTektonPipelineTriggerPropertiesOptions
NewListTektonPipelineTriggerPropertiesOptions : Instantiate ListTektonPipelineTriggerPropertiesOptions
func (*CdTektonPipelineV2) NewListTektonPipelineTriggersOptions ¶
func (*CdTektonPipelineV2) NewListTektonPipelineTriggersOptions(pipelineID string) *ListTektonPipelineTriggersOptions
NewListTektonPipelineTriggersOptions : Instantiate ListTektonPipelineTriggersOptions
func (*CdTektonPipelineV2) NewPipelineRunTrigger ¶
func (*CdTektonPipelineV2) NewPipelineRunTrigger(name string) (_model *PipelineRunTrigger, err error)
NewPipelineRunTrigger : Instantiate PipelineRunTrigger (Generic Model Constructor)
func (*CdTektonPipelineV2) NewReplaceTektonPipelineDefinitionOptions ¶
func (*CdTektonPipelineV2) NewReplaceTektonPipelineDefinitionOptions(pipelineID string, definitionID string, source *DefinitionSource) *ReplaceTektonPipelineDefinitionOptions
NewReplaceTektonPipelineDefinitionOptions : Instantiate ReplaceTektonPipelineDefinitionOptions
func (*CdTektonPipelineV2) NewReplaceTektonPipelinePropertyOptions ¶
func (*CdTektonPipelineV2) NewReplaceTektonPipelinePropertyOptions(pipelineID string, propertyName string, name string, typeVar string) *ReplaceTektonPipelinePropertyOptions
NewReplaceTektonPipelinePropertyOptions : Instantiate ReplaceTektonPipelinePropertyOptions
func (*CdTektonPipelineV2) NewReplaceTektonPipelineTriggerPropertyOptions ¶
func (*CdTektonPipelineV2) NewReplaceTektonPipelineTriggerPropertyOptions(pipelineID string, triggerID string, propertyName string, name string, typeVar string) *ReplaceTektonPipelineTriggerPropertyOptions
NewReplaceTektonPipelineTriggerPropertyOptions : Instantiate ReplaceTektonPipelineTriggerPropertyOptions
func (*CdTektonPipelineV2) NewRerunTektonPipelineRunOptions ¶
func (*CdTektonPipelineV2) NewRerunTektonPipelineRunOptions(pipelineID string, id string) *RerunTektonPipelineRunOptions
NewRerunTektonPipelineRunOptions : Instantiate RerunTektonPipelineRunOptions
func (*CdTektonPipelineV2) NewTektonPipelineRunsPager ¶
func (cdTektonPipeline *CdTektonPipelineV2) NewTektonPipelineRunsPager(options *ListTektonPipelineRunsOptions) (pager *TektonPipelineRunsPager, err error)
NewTektonPipelineRunsPager returns a new TektonPipelineRunsPager instance.
func (*CdTektonPipelineV2) NewTool ¶
func (*CdTektonPipelineV2) NewTool(id string) (_model *Tool, err error)
NewTool : Instantiate Tool (Generic Model Constructor)
func (*CdTektonPipelineV2) NewTriggerSourcePropertiesPrototype ¶
func (*CdTektonPipelineV2) NewTriggerSourcePropertiesPrototype(url string) (_model *TriggerSourcePropertiesPrototype, err error)
NewTriggerSourcePropertiesPrototype : Instantiate TriggerSourcePropertiesPrototype (Generic Model Constructor)
func (*CdTektonPipelineV2) NewTriggerSourcePrototype ¶
func (*CdTektonPipelineV2) NewTriggerSourcePrototype(typeVar string, properties *TriggerSourcePropertiesPrototype) (_model *TriggerSourcePrototype, err error)
NewTriggerSourcePrototype : Instantiate TriggerSourcePrototype (Generic Model Constructor)
func (*CdTektonPipelineV2) NewUpdateTektonPipelineOptions ¶
func (*CdTektonPipelineV2) NewUpdateTektonPipelineOptions(id string) *UpdateTektonPipelineOptions
NewUpdateTektonPipelineOptions : Instantiate UpdateTektonPipelineOptions
func (*CdTektonPipelineV2) NewUpdateTektonPipelineTriggerOptions ¶
func (*CdTektonPipelineV2) NewUpdateTektonPipelineTriggerOptions(pipelineID string, triggerID string) *UpdateTektonPipelineTriggerOptions
NewUpdateTektonPipelineTriggerOptions : Instantiate UpdateTektonPipelineTriggerOptions
func (*CdTektonPipelineV2) NewWorkerIdentity ¶
func (*CdTektonPipelineV2) NewWorkerIdentity(id string) (_model *WorkerIdentity, err error)
NewWorkerIdentity : Instantiate WorkerIdentity (Generic Model Constructor)
func (*CdTektonPipelineV2) ReplaceTektonPipelineDefinition ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineDefinition(replaceTektonPipelineDefinitionOptions *ReplaceTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
ReplaceTektonPipelineDefinition : Edit a single definition entry This request updates a definition entry identified by `{definition_id}`.
func (*CdTektonPipelineV2) ReplaceTektonPipelineDefinitionWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineDefinitionWithContext(ctx context.Context, replaceTektonPipelineDefinitionOptions *ReplaceTektonPipelineDefinitionOptions) (result *Definition, response *core.DetailedResponse, err error)
ReplaceTektonPipelineDefinitionWithContext is an alternate form of the ReplaceTektonPipelineDefinition method which supports a Context parameter
func (*CdTektonPipelineV2) ReplaceTektonPipelineProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineProperty(replaceTektonPipelinePropertyOptions *ReplaceTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
ReplaceTektonPipelineProperty : Replace the value of an environment property This request updates the value of an environment property identified by `{property_name}`, its type and name are immutable.
func (*CdTektonPipelineV2) ReplaceTektonPipelinePropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelinePropertyWithContext(ctx context.Context, replaceTektonPipelinePropertyOptions *ReplaceTektonPipelinePropertyOptions) (result *Property, response *core.DetailedResponse, err error)
ReplaceTektonPipelinePropertyWithContext is an alternate form of the ReplaceTektonPipelineProperty method which supports a Context parameter
func (*CdTektonPipelineV2) ReplaceTektonPipelineTriggerProperty ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineTriggerProperty(replaceTektonPipelineTriggerPropertyOptions *ReplaceTektonPipelineTriggerPropertyOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
ReplaceTektonPipelineTriggerProperty : Replace a trigger property value This request updates a trigger property value, type and name are immutable.
func (*CdTektonPipelineV2) ReplaceTektonPipelineTriggerPropertyWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) ReplaceTektonPipelineTriggerPropertyWithContext(ctx context.Context, replaceTektonPipelineTriggerPropertyOptions *ReplaceTektonPipelineTriggerPropertyOptions) (result *TriggerProperty, response *core.DetailedResponse, err error)
ReplaceTektonPipelineTriggerPropertyWithContext is an alternate form of the ReplaceTektonPipelineTriggerProperty method which supports a Context parameter
func (*CdTektonPipelineV2) RerunTektonPipelineRun ¶
func (cdTektonPipeline *CdTektonPipelineV2) RerunTektonPipelineRun(rerunTektonPipelineRunOptions *RerunTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
RerunTektonPipelineRun : Rerun a pipeline run This request reruns a past pipeline run, which is identified by `{id}`, with the same data. Request body isn't allowed.
func (*CdTektonPipelineV2) RerunTektonPipelineRunWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) RerunTektonPipelineRunWithContext(ctx context.Context, rerunTektonPipelineRunOptions *RerunTektonPipelineRunOptions) (result *PipelineRun, response *core.DetailedResponse, err error)
RerunTektonPipelineRunWithContext is an alternate form of the RerunTektonPipelineRun method which supports a Context parameter
func (*CdTektonPipelineV2) SetDefaultHeaders ¶
func (cdTektonPipeline *CdTektonPipelineV2) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*CdTektonPipelineV2) SetEnableGzipCompression ¶
func (cdTektonPipeline *CdTektonPipelineV2) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*CdTektonPipelineV2) SetServiceURL ¶
func (cdTektonPipeline *CdTektonPipelineV2) SetServiceURL(url string) error
SetServiceURL sets the service URL
func (*CdTektonPipelineV2) UpdateTektonPipeline ¶
func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipeline(updateTektonPipelineOptions *UpdateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
UpdateTektonPipeline : Update Tekton pipeline data This request updates Tekton pipeline data, but you can only change worker ID in this endpoint. Use other endpoints such as /definitions, /triggers, and /properties for other configuration updates.
func (*CdTektonPipelineV2) UpdateTektonPipelineTrigger ¶
func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineTrigger(updateTektonPipelineTriggerOptions *UpdateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
UpdateTektonPipelineTrigger : Edit a trigger This request changes a single field or many fields of the trigger identified by `{trigger_id}`. Note that some fields are immutable, and use `/properties` endpoint to update trigger properties.
func (*CdTektonPipelineV2) UpdateTektonPipelineTriggerWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineTriggerWithContext(ctx context.Context, updateTektonPipelineTriggerOptions *UpdateTektonPipelineTriggerOptions) (result TriggerIntf, response *core.DetailedResponse, err error)
UpdateTektonPipelineTriggerWithContext is an alternate form of the UpdateTektonPipelineTrigger method which supports a Context parameter
func (*CdTektonPipelineV2) UpdateTektonPipelineWithContext ¶
func (cdTektonPipeline *CdTektonPipelineV2) UpdateTektonPipelineWithContext(ctx context.Context, updateTektonPipelineOptions *UpdateTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
UpdateTektonPipelineWithContext is an alternate form of the UpdateTektonPipeline method which supports a Context parameter
type CdTektonPipelineV2Options ¶
type CdTektonPipelineV2Options struct { ServiceName string URL string Authenticator core.Authenticator }
CdTektonPipelineV2Options : Service options
type CreateTektonPipelineDefinitionOptions ¶
type CreateTektonPipelineDefinitionOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Source repository containing the Tekton pipeline definition. Source *DefinitionSource `json:"source" validate:"required"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelineDefinitionOptions : The CreateTektonPipelineDefinition options.
func (*CreateTektonPipelineDefinitionOptions) SetHeaders ¶
func (options *CreateTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *CreateTektonPipelineDefinitionOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelineDefinitionOptions) SetPipelineID ¶
func (_options *CreateTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineDefinitionOptions
SetPipelineID : Allow user to set PipelineID
func (*CreateTektonPipelineDefinitionOptions) SetSource ¶
func (_options *CreateTektonPipelineDefinitionOptions) SetSource(source *DefinitionSource) *CreateTektonPipelineDefinitionOptions
SetSource : Allow user to set Source
type CreateTektonPipelineOptions ¶
type CreateTektonPipelineOptions struct { // The ID for the associated pipeline tool, which was already created in the target toolchain. To get the pipeline ID // call the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools and find the pipeline tool. ID *string `json:"id" validate:"required"` // Specify the build number that will be used for the next pipeline run. Build numbers can be any positive whole number // between 0 and 100000000000000. NextBuildNumber *int64 `json:"next_build_number,omitempty"` // Flag to enable notifications for this pipeline. If enabled, the Tekton pipeline run events will be published to all // the destinations specified by the Slack and Event Notifications integrations in the parent toolchain. EnableNotifications *bool `json:"enable_notifications,omitempty"` // Flag to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the // paths specified in definition repositories are read and cloned, this means that symbolic links might not work. EnablePartialCloning *bool `json:"enable_partial_cloning,omitempty"` // Specify the worker that is to be used to run the trigger, indicated by a worker object with only the worker ID. If // not specified or set as `worker: { id: 'public' }`, the IBM Managed shared workers are used. Worker *WorkerIdentity `json:"worker,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelineOptions : The CreateTektonPipeline options.
func (*CreateTektonPipelineOptions) SetEnableNotifications ¶
func (_options *CreateTektonPipelineOptions) SetEnableNotifications(enableNotifications bool) *CreateTektonPipelineOptions
SetEnableNotifications : Allow user to set EnableNotifications
func (*CreateTektonPipelineOptions) SetEnablePartialCloning ¶
func (_options *CreateTektonPipelineOptions) SetEnablePartialCloning(enablePartialCloning bool) *CreateTektonPipelineOptions
SetEnablePartialCloning : Allow user to set EnablePartialCloning
func (*CreateTektonPipelineOptions) SetHeaders ¶
func (options *CreateTektonPipelineOptions) SetHeaders(param map[string]string) *CreateTektonPipelineOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelineOptions) SetID ¶
func (_options *CreateTektonPipelineOptions) SetID(id string) *CreateTektonPipelineOptions
SetID : Allow user to set ID
func (*CreateTektonPipelineOptions) SetNextBuildNumber ¶
func (_options *CreateTektonPipelineOptions) SetNextBuildNumber(nextBuildNumber int64) *CreateTektonPipelineOptions
SetNextBuildNumber : Allow user to set NextBuildNumber
func (*CreateTektonPipelineOptions) SetWorker ¶
func (_options *CreateTektonPipelineOptions) SetWorker(worker *WorkerIdentity) *CreateTektonPipelineOptions
SetWorker : Allow user to set Worker
type CreateTektonPipelinePropertiesOptions ¶
type CreateTektonPipelinePropertiesOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Property name. Name *string `json:"name" validate:"required"` // Property type. Type *string `json:"type" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // Options for `single_select` property type. Only needed when using `single_select` property type. Enum []string `json:"enum,omitempty"` // When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will // result in run requests being rejected. The default is false. Locked *bool `json:"locked,omitempty"` // A dot notation path for `integration` type properties only, to select a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelinePropertiesOptions : The CreateTektonPipelineProperties options.
func (*CreateTektonPipelinePropertiesOptions) SetEnum ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetEnum(enum []string) *CreateTektonPipelinePropertiesOptions
SetEnum : Allow user to set Enum
func (*CreateTektonPipelinePropertiesOptions) SetHeaders ¶
func (options *CreateTektonPipelinePropertiesOptions) SetHeaders(param map[string]string) *CreateTektonPipelinePropertiesOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelinePropertiesOptions) SetLocked ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetLocked(locked bool) *CreateTektonPipelinePropertiesOptions
SetLocked : Allow user to set Locked
func (*CreateTektonPipelinePropertiesOptions) SetName ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetName(name string) *CreateTektonPipelinePropertiesOptions
SetName : Allow user to set Name
func (*CreateTektonPipelinePropertiesOptions) SetPath ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetPath(path string) *CreateTektonPipelinePropertiesOptions
SetPath : Allow user to set Path
func (*CreateTektonPipelinePropertiesOptions) SetPipelineID ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetPipelineID(pipelineID string) *CreateTektonPipelinePropertiesOptions
SetPipelineID : Allow user to set PipelineID
func (*CreateTektonPipelinePropertiesOptions) SetType ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetType(typeVar string) *CreateTektonPipelinePropertiesOptions
SetType : Allow user to set Type
func (*CreateTektonPipelinePropertiesOptions) SetValue ¶
func (_options *CreateTektonPipelinePropertiesOptions) SetValue(value string) *CreateTektonPipelinePropertiesOptions
SetValue : Allow user to set Value
type CreateTektonPipelineRunOptions ¶
type CreateTektonPipelineRunOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Optional description for the created PipelineRun. Description *string `json:"description,omitempty"` // Trigger name. TriggerName *string `json:"trigger_name,omitempty"` // An object containing string values only. It provides additional 'text' properties or overrides existing // pipeline/trigger properties that can be used in the created run. TriggerProperties map[string]interface{} `json:"trigger_properties,omitempty"` // An object containing string values only. It provides additional `secure` properties or overrides existing `secure` // pipeline/trigger properties that can be used in the created run. SecureTriggerProperties map[string]interface{} `json:"secure_trigger_properties,omitempty"` // An object containing string values only that provides the request headers. Use `$(header.header_key_name)` to access // it in a TriggerBinding. Most commonly used as part of a Generic Webhook to provide a verification token or signature // in the request headers. TriggerHeaders map[string]interface{} `json:"trigger_headers,omitempty"` // An object that provides the request body. Use `$(body.body_key_name)` to access it in a TriggerBinding. Most // commonly used to pass in additional properties or override properties for the pipeline run that is created. TriggerBody map[string]interface{} `json:"trigger_body,omitempty"` // Trigger details passed when triggering a Tekton pipeline run. Trigger *PipelineRunTrigger `json:"trigger,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelineRunOptions : The CreateTektonPipelineRun options.
func (*CreateTektonPipelineRunOptions) SetDescription ¶
func (_options *CreateTektonPipelineRunOptions) SetDescription(description string) *CreateTektonPipelineRunOptions
SetDescription : Allow user to set Description
func (*CreateTektonPipelineRunOptions) SetHeaders ¶
func (options *CreateTektonPipelineRunOptions) SetHeaders(param map[string]string) *CreateTektonPipelineRunOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelineRunOptions) SetPipelineID ¶
func (_options *CreateTektonPipelineRunOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineRunOptions
SetPipelineID : Allow user to set PipelineID
func (*CreateTektonPipelineRunOptions) SetSecureTriggerProperties ¶
func (_options *CreateTektonPipelineRunOptions) SetSecureTriggerProperties(secureTriggerProperties map[string]interface{}) *CreateTektonPipelineRunOptions
SetSecureTriggerProperties : Allow user to set SecureTriggerProperties
func (*CreateTektonPipelineRunOptions) SetTrigger ¶
func (_options *CreateTektonPipelineRunOptions) SetTrigger(trigger *PipelineRunTrigger) *CreateTektonPipelineRunOptions
SetTrigger : Allow user to set Trigger
func (*CreateTektonPipelineRunOptions) SetTriggerBody ¶
func (_options *CreateTektonPipelineRunOptions) SetTriggerBody(triggerBody map[string]interface{}) *CreateTektonPipelineRunOptions
SetTriggerBody : Allow user to set TriggerBody
func (*CreateTektonPipelineRunOptions) SetTriggerHeaders ¶
func (_options *CreateTektonPipelineRunOptions) SetTriggerHeaders(triggerHeaders map[string]interface{}) *CreateTektonPipelineRunOptions
SetTriggerHeaders : Allow user to set TriggerHeaders
func (*CreateTektonPipelineRunOptions) SetTriggerName ¶
func (_options *CreateTektonPipelineRunOptions) SetTriggerName(triggerName string) *CreateTektonPipelineRunOptions
SetTriggerName : Allow user to set TriggerName
func (*CreateTektonPipelineRunOptions) SetTriggerProperties ¶
func (_options *CreateTektonPipelineRunOptions) SetTriggerProperties(triggerProperties map[string]interface{}) *CreateTektonPipelineRunOptions
SetTriggerProperties : Allow user to set TriggerProperties
type CreateTektonPipelineTriggerOptions ¶
type CreateTektonPipelineTriggerOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Trigger type. Type *string `json:"type" validate:"required"` // Trigger name. Name *string `json:"name" validate:"required"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener" validate:"required"` // Trigger tags array. Tags []string `json:"tags"` // Specify the worker used to run the trigger. Use `worker: { id: 'public' }` to use the IBM Managed workers. The // default is to inherit the worker set in the pipeline settings, which can also be explicitly set using `worker: { id: // 'inherit' }`. Worker *WorkerIdentity `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. If omitted the trigger is enabled by default. Enabled *bool `json:"enabled,omitempty"` // Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Secret *GenericSecret `json:"secret,omitempty"` // Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is // every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. // Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours. Cron *string `json:"cron,omitempty"` // Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates // this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. // Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. Timezone *string `json:"timezone,omitempty"` // Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the // URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API // https://cloud.ibm.com/apidocs/toolchain#list-tools. Source *TriggerSourcePrototype `json:"source,omitempty"` // Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger // listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the // 'merge request' term, they correspond to the generic term i.e. 'pull request'. Events []string `json:"events"` // Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used // for event filtering against the Git webhook payloads. Filter *string `json:"filter,omitempty"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // Only used for SCM triggers. When enabled, pull request events from forks of the selected repository will trigger a // pipeline run. EnableEventsFromForks *bool `json:"enable_events_from_forks,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelineTriggerOptions : The CreateTektonPipelineTrigger options.
func (*CreateTektonPipelineTriggerOptions) SetCron ¶
func (_options *CreateTektonPipelineTriggerOptions) SetCron(cron string) *CreateTektonPipelineTriggerOptions
SetCron : Allow user to set Cron
func (*CreateTektonPipelineTriggerOptions) SetEnableEventsFromForks ¶
func (_options *CreateTektonPipelineTriggerOptions) SetEnableEventsFromForks(enableEventsFromForks bool) *CreateTektonPipelineTriggerOptions
SetEnableEventsFromForks : Allow user to set EnableEventsFromForks
func (*CreateTektonPipelineTriggerOptions) SetEnabled ¶
func (_options *CreateTektonPipelineTriggerOptions) SetEnabled(enabled bool) *CreateTektonPipelineTriggerOptions
SetEnabled : Allow user to set Enabled
func (*CreateTektonPipelineTriggerOptions) SetEventListener ¶
func (_options *CreateTektonPipelineTriggerOptions) SetEventListener(eventListener string) *CreateTektonPipelineTriggerOptions
SetEventListener : Allow user to set EventListener
func (*CreateTektonPipelineTriggerOptions) SetEvents ¶
func (_options *CreateTektonPipelineTriggerOptions) SetEvents(events []string) *CreateTektonPipelineTriggerOptions
SetEvents : Allow user to set Events
func (*CreateTektonPipelineTriggerOptions) SetFavorite ¶
func (_options *CreateTektonPipelineTriggerOptions) SetFavorite(favorite bool) *CreateTektonPipelineTriggerOptions
SetFavorite : Allow user to set Favorite
func (*CreateTektonPipelineTriggerOptions) SetFilter ¶
func (_options *CreateTektonPipelineTriggerOptions) SetFilter(filter string) *CreateTektonPipelineTriggerOptions
SetFilter : Allow user to set Filter
func (*CreateTektonPipelineTriggerOptions) SetHeaders ¶
func (options *CreateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *CreateTektonPipelineTriggerOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelineTriggerOptions) SetMaxConcurrentRuns ¶
func (_options *CreateTektonPipelineTriggerOptions) SetMaxConcurrentRuns(maxConcurrentRuns int64) *CreateTektonPipelineTriggerOptions
SetMaxConcurrentRuns : Allow user to set MaxConcurrentRuns
func (*CreateTektonPipelineTriggerOptions) SetName ¶
func (_options *CreateTektonPipelineTriggerOptions) SetName(name string) *CreateTektonPipelineTriggerOptions
SetName : Allow user to set Name
func (*CreateTektonPipelineTriggerOptions) SetPipelineID ¶
func (_options *CreateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineTriggerOptions
SetPipelineID : Allow user to set PipelineID
func (*CreateTektonPipelineTriggerOptions) SetSecret ¶
func (_options *CreateTektonPipelineTriggerOptions) SetSecret(secret *GenericSecret) *CreateTektonPipelineTriggerOptions
SetSecret : Allow user to set Secret
func (*CreateTektonPipelineTriggerOptions) SetSource ¶
func (_options *CreateTektonPipelineTriggerOptions) SetSource(source *TriggerSourcePrototype) *CreateTektonPipelineTriggerOptions
SetSource : Allow user to set Source
func (*CreateTektonPipelineTriggerOptions) SetTags ¶
func (_options *CreateTektonPipelineTriggerOptions) SetTags(tags []string) *CreateTektonPipelineTriggerOptions
SetTags : Allow user to set Tags
func (*CreateTektonPipelineTriggerOptions) SetTimezone ¶
func (_options *CreateTektonPipelineTriggerOptions) SetTimezone(timezone string) *CreateTektonPipelineTriggerOptions
SetTimezone : Allow user to set Timezone
func (*CreateTektonPipelineTriggerOptions) SetType ¶
func (_options *CreateTektonPipelineTriggerOptions) SetType(typeVar string) *CreateTektonPipelineTriggerOptions
SetType : Allow user to set Type
func (*CreateTektonPipelineTriggerOptions) SetWorker ¶
func (_options *CreateTektonPipelineTriggerOptions) SetWorker(worker *WorkerIdentity) *CreateTektonPipelineTriggerOptions
SetWorker : Allow user to set Worker
type CreateTektonPipelineTriggerPropertiesOptions ¶
type CreateTektonPipelineTriggerPropertiesOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // Property name. Name *string `json:"name" validate:"required"` // Property type. Type *string `json:"type" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // Options for `single_select` property type. Only needed for `single_select` property type. Enum []string `json:"enum,omitempty"` // A dot notation path for `integration` type properties only, to select a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` // When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests // being rejected. The default is false. Locked *bool `json:"locked,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
CreateTektonPipelineTriggerPropertiesOptions : The CreateTektonPipelineTriggerProperties options.
func (*CreateTektonPipelineTriggerPropertiesOptions) SetEnum ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetEnum(enum []string) *CreateTektonPipelineTriggerPropertiesOptions
SetEnum : Allow user to set Enum
func (*CreateTektonPipelineTriggerPropertiesOptions) SetHeaders ¶
func (options *CreateTektonPipelineTriggerPropertiesOptions) SetHeaders(param map[string]string) *CreateTektonPipelineTriggerPropertiesOptions
SetHeaders : Allow user to set Headers
func (*CreateTektonPipelineTriggerPropertiesOptions) SetLocked ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetLocked(locked bool) *CreateTektonPipelineTriggerPropertiesOptions
SetLocked : Allow user to set Locked
func (*CreateTektonPipelineTriggerPropertiesOptions) SetName ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetName(name string) *CreateTektonPipelineTriggerPropertiesOptions
SetName : Allow user to set Name
func (*CreateTektonPipelineTriggerPropertiesOptions) SetPath ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetPath(path string) *CreateTektonPipelineTriggerPropertiesOptions
SetPath : Allow user to set Path
func (*CreateTektonPipelineTriggerPropertiesOptions) SetPipelineID ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetPipelineID(pipelineID string) *CreateTektonPipelineTriggerPropertiesOptions
SetPipelineID : Allow user to set PipelineID
func (*CreateTektonPipelineTriggerPropertiesOptions) SetTriggerID ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetTriggerID(triggerID string) *CreateTektonPipelineTriggerPropertiesOptions
SetTriggerID : Allow user to set TriggerID
func (*CreateTektonPipelineTriggerPropertiesOptions) SetType ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetType(typeVar string) *CreateTektonPipelineTriggerPropertiesOptions
SetType : Allow user to set Type
func (*CreateTektonPipelineTriggerPropertiesOptions) SetValue ¶
func (_options *CreateTektonPipelineTriggerPropertiesOptions) SetValue(value string) *CreateTektonPipelineTriggerPropertiesOptions
SetValue : Allow user to set Value
type Definition ¶
type Definition struct { // Source repository containing the Tekton pipeline definition. Source *DefinitionSource `json:"source" validate:"required"` // API URL for interacting with the definition. Href *string `json:"href,omitempty"` // The aggregated definition ID. ID *string `json:"id" validate:"required"` }
Definition : Tekton pipeline definition entry object, consisting of a repository url, a repository path and a branch or tag. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.
type DefinitionSource ¶
type DefinitionSource struct { // The only supported source type is "git", indicating that the source is a git repository. Type *string `json:"type" validate:"required"` // Properties of the source, which define the URL of the repository and a branch or tag. Properties *DefinitionSourceProperties `json:"properties" validate:"required"` }
DefinitionSource : Source repository containing the Tekton pipeline definition.
type DefinitionSourceProperties ¶
type DefinitionSourceProperties struct { // URL of the definition repository. URL *string `json:"url" validate:"required"` // A branch from the repo, specify one of branch or tag only. Branch *string `json:"branch,omitempty"` // A tag from the repo, specify one of branch or tag only. Tag *string `json:"tag,omitempty"` // The path to the definition's YAML files. Path *string `json:"path" validate:"required"` // Reference to the repository tool in the parent toolchain. Tool *Tool `json:"tool,omitempty"` }
DefinitionSourceProperties : Properties of the source, which define the URL of the repository and a branch or tag.
type DefinitionsCollection ¶
type DefinitionsCollection struct { // The list of all definitions in the pipeline. Definitions []Definition `json:"definitions" validate:"required"` }
DefinitionsCollection : Pipeline definitions is a collection of individual definition entries, each entry consists of a repository URL, a repository path, and a branch or tag.
type DeleteTektonPipelineDefinitionOptions ¶
type DeleteTektonPipelineDefinitionOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The definition ID. DefinitionID *string `json:"definition_id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelineDefinitionOptions : The DeleteTektonPipelineDefinition options.
func (*DeleteTektonPipelineDefinitionOptions) SetDefinitionID ¶
func (_options *DeleteTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *DeleteTektonPipelineDefinitionOptions
SetDefinitionID : Allow user to set DefinitionID
func (*DeleteTektonPipelineDefinitionOptions) SetHeaders ¶
func (options *DeleteTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineDefinitionOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelineDefinitionOptions) SetPipelineID ¶
func (_options *DeleteTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineDefinitionOptions
SetPipelineID : Allow user to set PipelineID
type DeleteTektonPipelineOptions ¶
type DeleteTektonPipelineOptions struct { // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelineOptions : The DeleteTektonPipeline options.
func (*DeleteTektonPipelineOptions) SetHeaders ¶
func (options *DeleteTektonPipelineOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelineOptions) SetID ¶
func (_options *DeleteTektonPipelineOptions) SetID(id string) *DeleteTektonPipelineOptions
SetID : Allow user to set ID
type DeleteTektonPipelinePropertyOptions ¶
type DeleteTektonPipelinePropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelinePropertyOptions : The DeleteTektonPipelineProperty options.
func (*DeleteTektonPipelinePropertyOptions) SetHeaders ¶
func (options *DeleteTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *DeleteTektonPipelinePropertyOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelinePropertyOptions) SetPipelineID ¶
func (_options *DeleteTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelinePropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*DeleteTektonPipelinePropertyOptions) SetPropertyName ¶
func (_options *DeleteTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *DeleteTektonPipelinePropertyOptions
SetPropertyName : Allow user to set PropertyName
type DeleteTektonPipelineRunOptions ¶
type DeleteTektonPipelineRunOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelineRunOptions : The DeleteTektonPipelineRun options.
func (*DeleteTektonPipelineRunOptions) SetHeaders ¶
func (options *DeleteTektonPipelineRunOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineRunOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelineRunOptions) SetID ¶
func (_options *DeleteTektonPipelineRunOptions) SetID(id string) *DeleteTektonPipelineRunOptions
SetID : Allow user to set ID
func (*DeleteTektonPipelineRunOptions) SetPipelineID ¶
func (_options *DeleteTektonPipelineRunOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineRunOptions
SetPipelineID : Allow user to set PipelineID
type DeleteTektonPipelineTriggerOptions ¶
type DeleteTektonPipelineTriggerOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelineTriggerOptions : The DeleteTektonPipelineTrigger options.
func (*DeleteTektonPipelineTriggerOptions) SetHeaders ¶
func (options *DeleteTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineTriggerOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelineTriggerOptions) SetPipelineID ¶
func (_options *DeleteTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineTriggerOptions
SetPipelineID : Allow user to set PipelineID
func (*DeleteTektonPipelineTriggerOptions) SetTriggerID ¶
func (_options *DeleteTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *DeleteTektonPipelineTriggerOptions
SetTriggerID : Allow user to set TriggerID
type DeleteTektonPipelineTriggerPropertyOptions ¶
type DeleteTektonPipelineTriggerPropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
DeleteTektonPipelineTriggerPropertyOptions : The DeleteTektonPipelineTriggerProperty options.
func (*DeleteTektonPipelineTriggerPropertyOptions) SetHeaders ¶
func (options *DeleteTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *DeleteTektonPipelineTriggerPropertyOptions
SetHeaders : Allow user to set Headers
func (*DeleteTektonPipelineTriggerPropertyOptions) SetPipelineID ¶
func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *DeleteTektonPipelineTriggerPropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*DeleteTektonPipelineTriggerPropertyOptions) SetPropertyName ¶
func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *DeleteTektonPipelineTriggerPropertyOptions
SetPropertyName : Allow user to set PropertyName
func (*DeleteTektonPipelineTriggerPropertyOptions) SetTriggerID ¶
func (_options *DeleteTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *DeleteTektonPipelineTriggerPropertyOptions
SetTriggerID : Allow user to set TriggerID
type DuplicateTektonPipelineTriggerOptions ¶
type DuplicateTektonPipelineTriggerOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The ID of the trigger to duplicate. SourceTriggerID *string `json:"source_trigger_id" validate:"required,ne="` // Trigger name. Name *string `json:"name" validate:"required"` // Allows users to set headers on API requests. Headers map[string]string }
DuplicateTektonPipelineTriggerOptions : The DuplicateTektonPipelineTrigger options.
func (*DuplicateTektonPipelineTriggerOptions) SetHeaders ¶
func (options *DuplicateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *DuplicateTektonPipelineTriggerOptions
SetHeaders : Allow user to set Headers
func (*DuplicateTektonPipelineTriggerOptions) SetName ¶
func (_options *DuplicateTektonPipelineTriggerOptions) SetName(name string) *DuplicateTektonPipelineTriggerOptions
SetName : Allow user to set Name
func (*DuplicateTektonPipelineTriggerOptions) SetPipelineID ¶
func (_options *DuplicateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *DuplicateTektonPipelineTriggerOptions
SetPipelineID : Allow user to set PipelineID
func (*DuplicateTektonPipelineTriggerOptions) SetSourceTriggerID ¶
func (_options *DuplicateTektonPipelineTriggerOptions) SetSourceTriggerID(sourceTriggerID string) *DuplicateTektonPipelineTriggerOptions
SetSourceTriggerID : Allow user to set SourceTriggerID
type GenericSecret ¶
type GenericSecret struct { // Secret type. Type *string `json:"type,omitempty"` // Secret value, not needed if secret type is `internal_validation`. Value *string `json:"value,omitempty"` // Secret location, not needed if secret type is `internal_validation`. Source *string `json:"source,omitempty"` // Secret name, not needed if type is `internal_validation`. KeyName *string `json:"key_name,omitempty"` // Algorithm used for `digest_matches` secret type. Only needed for `digest_matches` secret type. Algorithm *string `json:"algorithm,omitempty"` }
GenericSecret : Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger.
type GetTektonPipelineDefinitionOptions ¶
type GetTektonPipelineDefinitionOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The definition ID. DefinitionID *string `json:"definition_id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineDefinitionOptions : The GetTektonPipelineDefinition options.
func (*GetTektonPipelineDefinitionOptions) SetDefinitionID ¶
func (_options *GetTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *GetTektonPipelineDefinitionOptions
SetDefinitionID : Allow user to set DefinitionID
func (*GetTektonPipelineDefinitionOptions) SetHeaders ¶
func (options *GetTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *GetTektonPipelineDefinitionOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineDefinitionOptions) SetPipelineID ¶
func (_options *GetTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *GetTektonPipelineDefinitionOptions
SetPipelineID : Allow user to set PipelineID
type GetTektonPipelineOptions ¶
type GetTektonPipelineOptions struct { // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineOptions : The GetTektonPipeline options.
func (*GetTektonPipelineOptions) SetHeaders ¶
func (options *GetTektonPipelineOptions) SetHeaders(param map[string]string) *GetTektonPipelineOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineOptions) SetID ¶
func (_options *GetTektonPipelineOptions) SetID(id string) *GetTektonPipelineOptions
SetID : Allow user to set ID
type GetTektonPipelinePropertyOptions ¶
type GetTektonPipelinePropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelinePropertyOptions : The GetTektonPipelineProperty options.
func (*GetTektonPipelinePropertyOptions) SetHeaders ¶
func (options *GetTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *GetTektonPipelinePropertyOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelinePropertyOptions) SetPipelineID ¶
func (_options *GetTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *GetTektonPipelinePropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*GetTektonPipelinePropertyOptions) SetPropertyName ¶
func (_options *GetTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *GetTektonPipelinePropertyOptions
SetPropertyName : Allow user to set PropertyName
type GetTektonPipelineRunLogContentOptions ¶
type GetTektonPipelineRunLogContentOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The Tekton pipeline run ID. PipelineRunID *string `json:"pipeline_run_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineRunLogContentOptions : The GetTektonPipelineRunLogContent options.
func (*GetTektonPipelineRunLogContentOptions) SetHeaders ¶
func (options *GetTektonPipelineRunLogContentOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunLogContentOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineRunLogContentOptions) SetID ¶
func (_options *GetTektonPipelineRunLogContentOptions) SetID(id string) *GetTektonPipelineRunLogContentOptions
SetID : Allow user to set ID
func (*GetTektonPipelineRunLogContentOptions) SetPipelineID ¶
func (_options *GetTektonPipelineRunLogContentOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunLogContentOptions
SetPipelineID : Allow user to set PipelineID
func (*GetTektonPipelineRunLogContentOptions) SetPipelineRunID ¶
func (_options *GetTektonPipelineRunLogContentOptions) SetPipelineRunID(pipelineRunID string) *GetTektonPipelineRunLogContentOptions
SetPipelineRunID : Allow user to set PipelineRunID
type GetTektonPipelineRunLogsOptions ¶
type GetTektonPipelineRunLogsOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineRunLogsOptions : The GetTektonPipelineRunLogs options.
func (*GetTektonPipelineRunLogsOptions) SetHeaders ¶
func (options *GetTektonPipelineRunLogsOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunLogsOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineRunLogsOptions) SetID ¶
func (_options *GetTektonPipelineRunLogsOptions) SetID(id string) *GetTektonPipelineRunLogsOptions
SetID : Allow user to set ID
func (*GetTektonPipelineRunLogsOptions) SetPipelineID ¶
func (_options *GetTektonPipelineRunLogsOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunLogsOptions
SetPipelineID : Allow user to set PipelineID
type GetTektonPipelineRunOptions ¶
type GetTektonPipelineRunOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Defines if response includes definition metadata. Includes *string `json:"includes,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineRunOptions : The GetTektonPipelineRun options.
func (*GetTektonPipelineRunOptions) SetHeaders ¶
func (options *GetTektonPipelineRunOptions) SetHeaders(param map[string]string) *GetTektonPipelineRunOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineRunOptions) SetID ¶
func (_options *GetTektonPipelineRunOptions) SetID(id string) *GetTektonPipelineRunOptions
SetID : Allow user to set ID
func (*GetTektonPipelineRunOptions) SetIncludes ¶
func (_options *GetTektonPipelineRunOptions) SetIncludes(includes string) *GetTektonPipelineRunOptions
SetIncludes : Allow user to set Includes
func (*GetTektonPipelineRunOptions) SetPipelineID ¶
func (_options *GetTektonPipelineRunOptions) SetPipelineID(pipelineID string) *GetTektonPipelineRunOptions
SetPipelineID : Allow user to set PipelineID
type GetTektonPipelineTriggerOptions ¶
type GetTektonPipelineTriggerOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineTriggerOptions : The GetTektonPipelineTrigger options.
func (*GetTektonPipelineTriggerOptions) SetHeaders ¶
func (options *GetTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *GetTektonPipelineTriggerOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineTriggerOptions) SetPipelineID ¶
func (_options *GetTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *GetTektonPipelineTriggerOptions
SetPipelineID : Allow user to set PipelineID
func (*GetTektonPipelineTriggerOptions) SetTriggerID ¶
func (_options *GetTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *GetTektonPipelineTriggerOptions
SetTriggerID : Allow user to set TriggerID
type GetTektonPipelineTriggerPropertyOptions ¶
type GetTektonPipelineTriggerPropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
GetTektonPipelineTriggerPropertyOptions : The GetTektonPipelineTriggerProperty options.
func (*GetTektonPipelineTriggerPropertyOptions) SetHeaders ¶
func (options *GetTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *GetTektonPipelineTriggerPropertyOptions
SetHeaders : Allow user to set Headers
func (*GetTektonPipelineTriggerPropertyOptions) SetPipelineID ¶
func (_options *GetTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *GetTektonPipelineTriggerPropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*GetTektonPipelineTriggerPropertyOptions) SetPropertyName ¶
func (_options *GetTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *GetTektonPipelineTriggerPropertyOptions
SetPropertyName : Allow user to set PropertyName
func (*GetTektonPipelineTriggerPropertyOptions) SetTriggerID ¶
func (_options *GetTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *GetTektonPipelineTriggerPropertyOptions
SetTriggerID : Allow user to set TriggerID
type ListTektonPipelineDefinitionsOptions ¶
type ListTektonPipelineDefinitionsOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
ListTektonPipelineDefinitionsOptions : The ListTektonPipelineDefinitions options.
func (*ListTektonPipelineDefinitionsOptions) SetHeaders ¶
func (options *ListTektonPipelineDefinitionsOptions) SetHeaders(param map[string]string) *ListTektonPipelineDefinitionsOptions
SetHeaders : Allow user to set Headers
func (*ListTektonPipelineDefinitionsOptions) SetPipelineID ¶
func (_options *ListTektonPipelineDefinitionsOptions) SetPipelineID(pipelineID string) *ListTektonPipelineDefinitionsOptions
SetPipelineID : Allow user to set PipelineID
type ListTektonPipelinePropertiesOptions ¶
type ListTektonPipelinePropertiesOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Filters the collection to resources with the specified property name. Name *string `json:"name,omitempty"` // Filters the collection to resources with the specified property type. Type []string `json:"type,omitempty"` // Sorts the returned properties by name, in ascending order using `name` or in descending order using `-name`. Sort *string `json:"sort,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ListTektonPipelinePropertiesOptions : The ListTektonPipelineProperties options.
func (*ListTektonPipelinePropertiesOptions) SetHeaders ¶
func (options *ListTektonPipelinePropertiesOptions) SetHeaders(param map[string]string) *ListTektonPipelinePropertiesOptions
SetHeaders : Allow user to set Headers
func (*ListTektonPipelinePropertiesOptions) SetName ¶
func (_options *ListTektonPipelinePropertiesOptions) SetName(name string) *ListTektonPipelinePropertiesOptions
SetName : Allow user to set Name
func (*ListTektonPipelinePropertiesOptions) SetPipelineID ¶
func (_options *ListTektonPipelinePropertiesOptions) SetPipelineID(pipelineID string) *ListTektonPipelinePropertiesOptions
SetPipelineID : Allow user to set PipelineID
func (*ListTektonPipelinePropertiesOptions) SetSort ¶
func (_options *ListTektonPipelinePropertiesOptions) SetSort(sort string) *ListTektonPipelinePropertiesOptions
SetSort : Allow user to set Sort
func (*ListTektonPipelinePropertiesOptions) SetType ¶
func (_options *ListTektonPipelinePropertiesOptions) SetType(typeVar []string) *ListTektonPipelinePropertiesOptions
SetType : Allow user to set Type
type ListTektonPipelineRunsOptions ¶
type ListTektonPipelineRunsOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // A page token that identifies the start point of the list of pipeline runs. This value is included in the response // body of each request to fetch pipeline runs. Start *string `json:"start,omitempty"` // The number of pipeline runs to return, sorted by creation time, most recent first. Limit *int64 `json:"limit,omitempty"` // Filters the collection to resources with the specified status. Status *string `json:"status,omitempty"` // Filters the collection to resources with the specified trigger name. TriggerName *string `json:"trigger.name,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ListTektonPipelineRunsOptions : The ListTektonPipelineRuns options.
func (*ListTektonPipelineRunsOptions) SetHeaders ¶
func (options *ListTektonPipelineRunsOptions) SetHeaders(param map[string]string) *ListTektonPipelineRunsOptions
SetHeaders : Allow user to set Headers
func (*ListTektonPipelineRunsOptions) SetLimit ¶
func (_options *ListTektonPipelineRunsOptions) SetLimit(limit int64) *ListTektonPipelineRunsOptions
SetLimit : Allow user to set Limit
func (*ListTektonPipelineRunsOptions) SetPipelineID ¶
func (_options *ListTektonPipelineRunsOptions) SetPipelineID(pipelineID string) *ListTektonPipelineRunsOptions
SetPipelineID : Allow user to set PipelineID
func (*ListTektonPipelineRunsOptions) SetStart ¶
func (_options *ListTektonPipelineRunsOptions) SetStart(start string) *ListTektonPipelineRunsOptions
SetStart : Allow user to set Start
func (*ListTektonPipelineRunsOptions) SetStatus ¶
func (_options *ListTektonPipelineRunsOptions) SetStatus(status string) *ListTektonPipelineRunsOptions
SetStatus : Allow user to set Status
func (*ListTektonPipelineRunsOptions) SetTriggerName ¶
func (_options *ListTektonPipelineRunsOptions) SetTriggerName(triggerName string) *ListTektonPipelineRunsOptions
SetTriggerName : Allow user to set TriggerName
type ListTektonPipelineTriggerPropertiesOptions ¶
type ListTektonPipelineTriggerPropertiesOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // Filter properties by `name`. Name *string `json:"name,omitempty"` // Filter properties by `type`. Valid types are `secure`, `text`, `integration`, `single_select`, `appconfig`. Type *string `json:"type,omitempty"` // Sort properties by name. They can be sorted in ascending order using `name` or in descending order using `-name`. Sort *string `json:"sort,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ListTektonPipelineTriggerPropertiesOptions : The ListTektonPipelineTriggerProperties options.
func (*ListTektonPipelineTriggerPropertiesOptions) SetHeaders ¶
func (options *ListTektonPipelineTriggerPropertiesOptions) SetHeaders(param map[string]string) *ListTektonPipelineTriggerPropertiesOptions
SetHeaders : Allow user to set Headers
func (*ListTektonPipelineTriggerPropertiesOptions) SetName ¶
func (_options *ListTektonPipelineTriggerPropertiesOptions) SetName(name string) *ListTektonPipelineTriggerPropertiesOptions
SetName : Allow user to set Name
func (*ListTektonPipelineTriggerPropertiesOptions) SetPipelineID ¶
func (_options *ListTektonPipelineTriggerPropertiesOptions) SetPipelineID(pipelineID string) *ListTektonPipelineTriggerPropertiesOptions
SetPipelineID : Allow user to set PipelineID
func (*ListTektonPipelineTriggerPropertiesOptions) SetSort ¶
func (_options *ListTektonPipelineTriggerPropertiesOptions) SetSort(sort string) *ListTektonPipelineTriggerPropertiesOptions
SetSort : Allow user to set Sort
func (*ListTektonPipelineTriggerPropertiesOptions) SetTriggerID ¶
func (_options *ListTektonPipelineTriggerPropertiesOptions) SetTriggerID(triggerID string) *ListTektonPipelineTriggerPropertiesOptions
SetTriggerID : Allow user to set TriggerID
func (*ListTektonPipelineTriggerPropertiesOptions) SetType ¶
func (_options *ListTektonPipelineTriggerPropertiesOptions) SetType(typeVar string) *ListTektonPipelineTriggerPropertiesOptions
SetType : Allow user to set Type
type ListTektonPipelineTriggersOptions ¶
type ListTektonPipelineTriggersOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // Optional filter by "type", accepts a comma separated list of types. Valid types are "manual", "scm", "generic", and // "timer". Type *string `json:"type,omitempty"` // Optional filter by "name", accepts a single string value. Name *string `json:"name,omitempty"` // Optional filter by "event_listener", accepts a single string value. EventListener *string `json:"event_listener,omitempty"` // Optional filter by "worker.id", accepts a single string value. WorkerID *string `json:"worker.id,omitempty"` // Optional filter by "worker.name", accepts a single string value. WorkerName *string `json:"worker.name,omitempty"` // Optional filter by "disabled" state, possible values are "true" or "false". Disabled *string `json:"disabled,omitempty"` // Optional filter by "tags", accepts a comma separated list of tags. The response lists triggers having at least one // matching tag. Tags *string `json:"tags,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ListTektonPipelineTriggersOptions : The ListTektonPipelineTriggers options.
func (*ListTektonPipelineTriggersOptions) SetDisabled ¶
func (_options *ListTektonPipelineTriggersOptions) SetDisabled(disabled string) *ListTektonPipelineTriggersOptions
SetDisabled : Allow user to set Disabled
func (*ListTektonPipelineTriggersOptions) SetEventListener ¶
func (_options *ListTektonPipelineTriggersOptions) SetEventListener(eventListener string) *ListTektonPipelineTriggersOptions
SetEventListener : Allow user to set EventListener
func (*ListTektonPipelineTriggersOptions) SetHeaders ¶
func (options *ListTektonPipelineTriggersOptions) SetHeaders(param map[string]string) *ListTektonPipelineTriggersOptions
SetHeaders : Allow user to set Headers
func (*ListTektonPipelineTriggersOptions) SetName ¶
func (_options *ListTektonPipelineTriggersOptions) SetName(name string) *ListTektonPipelineTriggersOptions
SetName : Allow user to set Name
func (*ListTektonPipelineTriggersOptions) SetPipelineID ¶
func (_options *ListTektonPipelineTriggersOptions) SetPipelineID(pipelineID string) *ListTektonPipelineTriggersOptions
SetPipelineID : Allow user to set PipelineID
func (*ListTektonPipelineTriggersOptions) SetTags ¶
func (_options *ListTektonPipelineTriggersOptions) SetTags(tags string) *ListTektonPipelineTriggersOptions
SetTags : Allow user to set Tags
func (*ListTektonPipelineTriggersOptions) SetType ¶
func (_options *ListTektonPipelineTriggersOptions) SetType(typeVar string) *ListTektonPipelineTriggersOptions
SetType : Allow user to set Type
func (*ListTektonPipelineTriggersOptions) SetWorkerID ¶
func (_options *ListTektonPipelineTriggersOptions) SetWorkerID(workerID string) *ListTektonPipelineTriggersOptions
SetWorkerID : Allow user to set WorkerID
func (*ListTektonPipelineTriggersOptions) SetWorkerName ¶
func (_options *ListTektonPipelineTriggersOptions) SetWorkerName(workerName string) *ListTektonPipelineTriggersOptions
SetWorkerName : Allow user to set WorkerName
type Log ¶
type Log struct { // API for getting log content. Href *string `json:"href,omitempty"` // Step log ID. ID *string `json:"id" validate:"required"` // <podName>/<containerName> of this log. Name *string `json:"name" validate:"required"` }
Log : Log data for Tekton pipeline run steps.
type LogsCollection ¶
type LogsCollection struct { // The list of pipeline run log objects. Logs []Log `json:"logs" validate:"required"` }
LogsCollection : List of pipeline run log objects.
type PipelineRun ¶
type PipelineRun struct { // Universally Unique Identifier. ID *string `json:"id" validate:"required"` // General href URL. Href *string `json:"href,omitempty"` // Information about the user that triggered a pipeline run. Only included for pipeline runs that were manually // triggered. UserInfo *UserInfo `json:"user_info,omitempty"` // Status of the pipeline run. Status *string `json:"status" validate:"required"` // The aggregated definition ID. DefinitionID *string `json:"definition_id" validate:"required"` // Reference to the pipeline definition of a pipeline run. Definition *RunDefinition `json:"definition,omitempty"` // Optional description for the created PipelineRun. Description *string `json:"description,omitempty"` // Worker details used in this pipeline run. Worker *PipelineRunWorker `json:"worker" validate:"required"` // The ID of the pipeline to which this pipeline run belongs. PipelineID *string `json:"pipeline_id" validate:"required"` // Reference to the pipeline to which a pipeline run belongs. Pipeline *RunPipeline `json:"pipeline,omitempty"` // Listener name used to start the run. ListenerName *string `json:"listener_name" validate:"required"` // Tekton pipeline trigger. Trigger TriggerIntf `json:"trigger" validate:"required"` // Event parameters object in String format that was passed in upon creation of this pipeline run, the contents depends // on the type of trigger. For example, the Git event payload is included for Git triggers, or in the case of a manual // trigger the override and added properties are included. EventParamsBlob *string `json:"event_params_blob" validate:"required"` // Trigger headers object in String format that was passed in upon creation of this pipeline run. Omitted if no // trigger_headers object was provided when creating the pipeline run. TriggerHeaders *string `json:"trigger_headers,omitempty"` // Properties used in this Tekton pipeline run. Not included when fetching the list of pipeline runs. Properties []Property `json:"properties,omitempty"` // Standard RFC 3339 Date Time String. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // Standard RFC 3339 Date Time String. Only included if the run has been updated since it was created. UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` // URL for the details page of this pipeline run. RunURL *string `json:"run_url" validate:"required"` // Error message that provides details when a pipeline run encounters an error. ErrorMessage *string `json:"error_message,omitempty"` }
PipelineRun : Single Tekton pipeline run object.
type PipelineRunTrigger ¶
type PipelineRunTrigger struct { // Trigger name. Name *string `json:"name" validate:"required"` // An object containing string values only. It provides additional 'text' properties or overrides existing // pipeline/trigger properties that can be used in the created run. Properties map[string]interface{} `json:"properties,omitempty"` // An object containing string values only. It provides additional `secure` properties or overrides existing `secure` // pipeline/trigger properties that can be used in the created run. SecureProperties map[string]interface{} `json:"secure_properties,omitempty"` // An object containing string values only that provides the request headers. Use `$(header.header_key_name)` to access // it in a TriggerBinding. Most commonly used as part of a Generic Webhook to provide a verification token or signature // in the request headers. HeadersVar map[string]interface{} `json:"headers,omitempty"` // An object that provides the request body. Use `$(body.body_key_name)` to access it in a TriggerBinding. Most // commonly used to pass in additional properties or override properties for the pipeline run that is created. Body map[string]interface{} `json:"body,omitempty"` }
PipelineRunTrigger : Trigger details passed when triggering a Tekton pipeline run.
type PipelineRunWorker ¶
type PipelineRunWorker struct { // Name of the worker. Computed based on the worker ID. Name *string `json:"name,omitempty"` // The agent ID of the corresponding private worker integration used for this pipeline run. AgentID *string `json:"agent_id,omitempty"` // The Service ID of the corresponding private worker integration used for this pipeline run. ServiceID *string `json:"service_id,omitempty"` // Universally Unique Identifier. ID *string `json:"id" validate:"required"` }
PipelineRunWorker : Worker details used in this pipeline run.
type PipelineRunsCollection ¶
type PipelineRunsCollection struct { // Tekton pipeline runs list. PipelineRuns []PipelineRun `json:"pipeline_runs" validate:"required"` // The number of pipeline runs to return, sorted by creation time, most recent first. Limit *int64 `json:"limit" validate:"required"` // First page of pipeline runs. First *RunsFirstPage `json:"first" validate:"required"` // Next page of pipeline runs relative to the `start` and `limit` params. Only included when there are more pages // available. Next *RunsNextPage `json:"next,omitempty"` // Last page of pipeline runs relative to the `start` and `limit` params. Only included when the last page has been // reached. Last *RunsLastPage `json:"last,omitempty"` }
PipelineRunsCollection : Tekton pipeline runs object.
func (*PipelineRunsCollection) GetNextStart ¶
func (resp *PipelineRunsCollection) GetNextStart() (*string, error)
Retrieve the value to be passed to a request to access the next page of results
type PropertiesCollection ¶
type PropertiesCollection struct { // Pipeline properties list. Properties []Property `json:"properties" validate:"required"` }
PropertiesCollection : Pipeline properties object.
type Property ¶
type Property struct { // Property name. Name *string `json:"name" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // API URL for interacting with the property. Href *string `json:"href,omitempty"` // Options for `single_select` property type. Only needed when using `single_select` property type. Enum []string `json:"enum,omitempty"` // Property type. Type *string `json:"type" validate:"required"` // When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will // result in run requests being rejected. The default is false. Locked *bool `json:"locked,omitempty"` // A dot notation path for `integration` type properties only, that selects a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` }
Property : Property object.
type ReplaceTektonPipelineDefinitionOptions ¶
type ReplaceTektonPipelineDefinitionOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The definition ID. DefinitionID *string `json:"definition_id" validate:"required,ne="` // Source repository containing the Tekton pipeline definition. Source *DefinitionSource `json:"source" validate:"required"` // Allows users to set headers on API requests. Headers map[string]string }
ReplaceTektonPipelineDefinitionOptions : The ReplaceTektonPipelineDefinition options.
func (*ReplaceTektonPipelineDefinitionOptions) SetDefinitionID ¶
func (_options *ReplaceTektonPipelineDefinitionOptions) SetDefinitionID(definitionID string) *ReplaceTektonPipelineDefinitionOptions
SetDefinitionID : Allow user to set DefinitionID
func (*ReplaceTektonPipelineDefinitionOptions) SetHeaders ¶
func (options *ReplaceTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelineDefinitionOptions
SetHeaders : Allow user to set Headers
func (*ReplaceTektonPipelineDefinitionOptions) SetPipelineID ¶
func (_options *ReplaceTektonPipelineDefinitionOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelineDefinitionOptions
SetPipelineID : Allow user to set PipelineID
func (*ReplaceTektonPipelineDefinitionOptions) SetSource ¶
func (_options *ReplaceTektonPipelineDefinitionOptions) SetSource(source *DefinitionSource) *ReplaceTektonPipelineDefinitionOptions
SetSource : Allow user to set Source
type ReplaceTektonPipelinePropertyOptions ¶
type ReplaceTektonPipelinePropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Property name. Name *string `json:"name" validate:"required"` // Property type. Type *string `json:"type" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // Options for `single_select` property type. Only needed when using `single_select` property type. Enum []string `json:"enum,omitempty"` // When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will // result in run requests being rejected. The default is false. Locked *bool `json:"locked,omitempty"` // A dot notation path for `integration` type properties only, to select a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ReplaceTektonPipelinePropertyOptions : The ReplaceTektonPipelineProperty options.
func (*ReplaceTektonPipelinePropertyOptions) SetEnum ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetEnum(enum []string) *ReplaceTektonPipelinePropertyOptions
SetEnum : Allow user to set Enum
func (*ReplaceTektonPipelinePropertyOptions) SetHeaders ¶
func (options *ReplaceTektonPipelinePropertyOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelinePropertyOptions
SetHeaders : Allow user to set Headers
func (*ReplaceTektonPipelinePropertyOptions) SetLocked ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetLocked(locked bool) *ReplaceTektonPipelinePropertyOptions
SetLocked : Allow user to set Locked
func (*ReplaceTektonPipelinePropertyOptions) SetName ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetName(name string) *ReplaceTektonPipelinePropertyOptions
SetName : Allow user to set Name
func (*ReplaceTektonPipelinePropertyOptions) SetPath ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetPath(path string) *ReplaceTektonPipelinePropertyOptions
SetPath : Allow user to set Path
func (*ReplaceTektonPipelinePropertyOptions) SetPipelineID ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelinePropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*ReplaceTektonPipelinePropertyOptions) SetPropertyName ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetPropertyName(propertyName string) *ReplaceTektonPipelinePropertyOptions
SetPropertyName : Allow user to set PropertyName
func (*ReplaceTektonPipelinePropertyOptions) SetType ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetType(typeVar string) *ReplaceTektonPipelinePropertyOptions
SetType : Allow user to set Type
func (*ReplaceTektonPipelinePropertyOptions) SetValue ¶
func (_options *ReplaceTektonPipelinePropertyOptions) SetValue(value string) *ReplaceTektonPipelinePropertyOptions
SetValue : Allow user to set Value
type ReplaceTektonPipelineTriggerPropertyOptions ¶
type ReplaceTektonPipelineTriggerPropertyOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // The property name. PropertyName *string `json:"property_name" validate:"required,ne="` // Property name. Name *string `json:"name" validate:"required"` // Property type. Type *string `json:"type" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // Options for `single_select` property type. Only needed for `single_select` property type. Enum []string `json:"enum,omitempty"` // A dot notation path for `integration` type properties only, to select a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` // When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests // being rejected. The default is false. Locked *bool `json:"locked,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
ReplaceTektonPipelineTriggerPropertyOptions : The ReplaceTektonPipelineTriggerProperty options.
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetEnum ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetEnum(enum []string) *ReplaceTektonPipelineTriggerPropertyOptions
SetEnum : Allow user to set Enum
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetHeaders ¶
func (options *ReplaceTektonPipelineTriggerPropertyOptions) SetHeaders(param map[string]string) *ReplaceTektonPipelineTriggerPropertyOptions
SetHeaders : Allow user to set Headers
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetLocked ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetLocked(locked bool) *ReplaceTektonPipelineTriggerPropertyOptions
SetLocked : Allow user to set Locked
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetName ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetName(name string) *ReplaceTektonPipelineTriggerPropertyOptions
SetName : Allow user to set Name
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetPath ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPath(path string) *ReplaceTektonPipelineTriggerPropertyOptions
SetPath : Allow user to set Path
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetPipelineID ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPipelineID(pipelineID string) *ReplaceTektonPipelineTriggerPropertyOptions
SetPipelineID : Allow user to set PipelineID
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetPropertyName ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetPropertyName(propertyName string) *ReplaceTektonPipelineTriggerPropertyOptions
SetPropertyName : Allow user to set PropertyName
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetTriggerID ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetTriggerID(triggerID string) *ReplaceTektonPipelineTriggerPropertyOptions
SetTriggerID : Allow user to set TriggerID
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetType ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetType(typeVar string) *ReplaceTektonPipelineTriggerPropertyOptions
SetType : Allow user to set Type
func (*ReplaceTektonPipelineTriggerPropertyOptions) SetValue ¶
func (_options *ReplaceTektonPipelineTriggerPropertyOptions) SetValue(value string) *ReplaceTektonPipelineTriggerPropertyOptions
SetValue : Allow user to set Value
type RerunTektonPipelineRunOptions ¶
type RerunTektonPipelineRunOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // ID of current instance. ID *string `json:"id" validate:"required,ne="` // Allows users to set headers on API requests. Headers map[string]string }
RerunTektonPipelineRunOptions : The RerunTektonPipelineRun options.
func (*RerunTektonPipelineRunOptions) SetHeaders ¶
func (options *RerunTektonPipelineRunOptions) SetHeaders(param map[string]string) *RerunTektonPipelineRunOptions
SetHeaders : Allow user to set Headers
func (*RerunTektonPipelineRunOptions) SetID ¶
func (_options *RerunTektonPipelineRunOptions) SetID(id string) *RerunTektonPipelineRunOptions
SetID : Allow user to set ID
func (*RerunTektonPipelineRunOptions) SetPipelineID ¶
func (_options *RerunTektonPipelineRunOptions) SetPipelineID(pipelineID string) *RerunTektonPipelineRunOptions
SetPipelineID : Allow user to set PipelineID
type ResourceGroupReference ¶
type ResourceGroupReference struct { // ID. ID *string `json:"id,omitempty"` }
ResourceGroupReference : The resource group in which the pipeline was created.
type RunDefinition ¶
type RunDefinition struct { // The ID of the definition used for a pipeline run. ID *string `json:"id,omitempty"` }
RunDefinition : Reference to the pipeline definition of a pipeline run.
type RunPipeline ¶
type RunPipeline struct { // The ID of the pipeline to which a pipeline run belongs. ID *string `json:"id,omitempty"` }
RunPipeline : Reference to the pipeline to which a pipeline run belongs.
type RunsFirstPage ¶
type RunsFirstPage struct { // General href URL. Href *string `json:"href" validate:"required"` }
RunsFirstPage : First page of pipeline runs.
type RunsLastPage ¶
type RunsLastPage struct { // General href URL. Href *string `json:"href" validate:"required"` }
RunsLastPage : Last page of pipeline runs relative to the `start` and `limit` params. Only included when the last page has been reached.
type RunsNextPage ¶
type RunsNextPage struct { // General href URL. Href *string `json:"href" validate:"required"` }
RunsNextPage : Next page of pipeline runs relative to the `start` and `limit` params. Only included when there are more pages available.
type StepLog ¶
type StepLog struct { // The raw log content of the step. Only included when fetching an individual log object. Data *string `json:"data" validate:"required"` // Step log ID. ID *string `json:"id" validate:"required"` }
StepLog : Logs for a Tekton pipeline run step.
type TektonPipeline ¶
type TektonPipeline struct { // String. Name *string `json:"name" validate:"required"` // Pipeline status. Status *string `json:"status" validate:"required"` // The resource group in which the pipeline was created. ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"` // Toolchain object containing references to the parent toolchain. Toolchain *ToolchainReference `json:"toolchain" validate:"required"` // Universally Unique Identifier. ID *string `json:"id" validate:"required"` // Definition list. Definitions []Definition `json:"definitions" validate:"required"` // Tekton pipeline's environment properties. Properties []Property `json:"properties" validate:"required"` // Standard RFC 3339 Date Time String. UpdatedAt *strfmt.DateTime `json:"updated_at" validate:"required"` // Standard RFC 3339 Date Time String. CreatedAt *strfmt.DateTime `json:"created_at" validate:"required"` // Tekton pipeline triggers list. Triggers []TriggerIntf `json:"triggers" validate:"required"` // Details of the worker used to run the pipeline. Worker *Worker `json:"worker" validate:"required"` // URL for this pipeline showing the list of pipeline runs. RunsURL *string `json:"runs_url" validate:"required"` // API URL for interacting with the pipeline. Href *string `json:"href,omitempty"` // The latest pipeline run build number. If this property is absent, the pipeline hasn't had any pipeline runs. BuildNumber *int64 `json:"build_number" validate:"required"` // The build number that will be used for the next pipeline run. NextBuildNumber *int64 `json:"next_build_number,omitempty"` // Flag to enable notifications for this pipeline. If enabled, the Tekton pipeline run events will be published to all // the destinations specified by the Slack and Event Notifications integrations in the parent toolchain. If omitted, // this feature is disabled by default. EnableNotifications *bool `json:"enable_notifications" validate:"required"` // Flag to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the // paths specified in definition repositories are read and cloned, this means that symbolic links might not work. If // omitted, this feature is disabled by default. EnablePartialCloning *bool `json:"enable_partial_cloning" validate:"required"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled" validate:"required"` }
TektonPipeline : Tekton pipeline object.
type TektonPipelinePatch ¶
type TektonPipelinePatch struct { // Specify the build number that will be used for the next pipeline run. Build numbers can be any positive whole number // between 0 and 100000000000000. NextBuildNumber *int64 `json:"next_build_number,omitempty"` // Flag to enable notifications for this pipeline. If enabled, the Tekton pipeline run events will be published to all // the destinations specified by the Slack and Event Notifications integrations in the parent toolchain. EnableNotifications *bool `json:"enable_notifications,omitempty"` // Flag to enable partial cloning for this pipeline. When partial clone is enabled, only the files contained within the // paths specified in definition repositories are read and cloned, this means that symbolic links might not work. EnablePartialCloning *bool `json:"enable_partial_cloning,omitempty"` // Specify the worker that is to be used to run the trigger, indicated by a worker object with only the worker ID. If // not specified or set as `worker: { id: 'public' }`, the IBM Managed shared workers are used. Worker *WorkerIdentity `json:"worker,omitempty"` }
TektonPipelinePatch : Request body used to update this pipeline.
func (*TektonPipelinePatch) AsPatch ¶
func (tektonPipelinePatch *TektonPipelinePatch) AsPatch() (_patch map[string]interface{}, err error)
AsPatch returns a generic map representation of the TektonPipelinePatch
type TektonPipelineRunsPager ¶
type TektonPipelineRunsPager struct {
// contains filtered or unexported fields
}
TektonPipelineRunsPager can be used to simplify the use of the "ListTektonPipelineRuns" method.
func (*TektonPipelineRunsPager) GetAll ¶
func (pager *TektonPipelineRunsPager) GetAll() (allItems []PipelineRun, err error)
GetAll invokes GetAllWithContext() using context.Background() as the Context parameter.
func (*TektonPipelineRunsPager) GetAllWithContext ¶
func (pager *TektonPipelineRunsPager) GetAllWithContext(ctx context.Context) (allItems []PipelineRun, err error)
GetAllWithContext returns all results by invoking GetNextWithContext() repeatedly until all pages of results have been retrieved.
func (*TektonPipelineRunsPager) GetNext ¶
func (pager *TektonPipelineRunsPager) GetNext() (page []PipelineRun, err error)
GetNext invokes GetNextWithContext() using context.Background() as the Context parameter.
func (*TektonPipelineRunsPager) GetNextWithContext ¶
func (pager *TektonPipelineRunsPager) GetNextWithContext(ctx context.Context) (page []PipelineRun, err error)
GetNextWithContext returns the next page of results using the specified Context.
func (*TektonPipelineRunsPager) HasNext ¶
func (pager *TektonPipelineRunsPager) HasNext() bool
HasNext returns true if there are potentially more results to be retrieved.
type Tool ¶
type Tool struct { // ID of the repository tool instance in the parent toolchain. ID *string `json:"id" validate:"required"` }
Tool : Reference to the repository tool in the parent toolchain.
type ToolchainReference ¶
type ToolchainReference struct { // Universally Unique Identifier. ID *string `json:"id" validate:"required"` // The CRN for the toolchain that contains the Tekton pipeline. CRN *string `json:"crn" validate:"required"` }
ToolchainReference : Toolchain object containing references to the parent toolchain.
type Trigger ¶
type Trigger struct { // Trigger type. Type *string `json:"type,omitempty"` // Trigger name. Name *string `json:"name,omitempty"` // API URL for interacting with the trigger. Only included when fetching the list of pipeline triggers. Href *string `json:"href,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener,omitempty"` // The Trigger ID. ID *string `json:"id,omitempty"` // Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline // run. Properties []TriggerProperty `json:"properties,omitempty"` // Optional trigger tags array. Tags []string `json:"tags"` // Details of the worker used to run the trigger. Worker *Worker `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled,omitempty"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // When enabled, pull request events from forks of the selected repository will trigger a pipeline run. EnableEventsFromForks *bool `json:"enable_events_from_forks,omitempty"` // Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the // URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API // https://cloud.ibm.com/apidocs/toolchain#list-tools. Source *TriggerSource `json:"source,omitempty"` // Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger // listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the // 'merge request' term, they correspond to the generic term i.e. 'pull request'. Events []string `json:"events"` // Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used // for event filtering against the Git webhook payloads. Filter *string `json:"filter,omitempty"` // Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is // every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. // Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours. Cron *string `json:"cron,omitempty"` // Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates // this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. // Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. Timezone *string `json:"timezone,omitempty"` // Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Secret *GenericSecret `json:"secret,omitempty"` // Webhook URL that can be used to trigger pipeline runs. WebhookURL *string `json:"webhook_url,omitempty"` }
Trigger : Tekton pipeline trigger. Models which "extend" this model: - TriggerManualTrigger - TriggerScmTrigger - TriggerTimerTrigger - TriggerGenericTrigger
type TriggerGenericTrigger ¶
type TriggerGenericTrigger struct { // Trigger type. Type *string `json:"type" validate:"required"` // Trigger name. Name *string `json:"name" validate:"required"` // API URL for interacting with the trigger. Only included when fetching the list of pipeline triggers. Href *string `json:"href,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener" validate:"required"` // The Trigger ID. ID *string `json:"id" validate:"required"` // Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline // run. Properties []TriggerProperty `json:"properties,omitempty"` // Optional trigger tags array. Tags []string `json:"tags"` // Details of the worker used to run the trigger. Worker *Worker `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled" validate:"required"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Secret *GenericSecret `json:"secret,omitempty"` // Webhook URL that can be used to trigger pipeline runs. WebhookURL *string `json:"webhook_url,omitempty"` // Stores the CEL (Common Expression Language) expression value which is used for event filtering against the webhook // payloads. Filter *string `json:"filter,omitempty"` }
TriggerGenericTrigger : Generic webhook trigger, which triggers a pipeline run when the Tekton Pipeline Service receives a POST event with secrets. This model "extends" Trigger
type TriggerIntf ¶
type TriggerIntf interface {
// contains filtered or unexported methods
}
type TriggerManualTrigger ¶
type TriggerManualTrigger struct { // Trigger type. Type *string `json:"type" validate:"required"` // Trigger name. Name *string `json:"name" validate:"required"` // API URL for interacting with the trigger. Only included when fetching the list of pipeline triggers. Href *string `json:"href,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener" validate:"required"` // The Trigger ID. ID *string `json:"id" validate:"required"` // Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline // run. Properties []TriggerProperty `json:"properties,omitempty"` // Optional trigger tags array. Tags []string `json:"tags"` // Details of the worker used to run the trigger. Worker *Worker `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled" validate:"required"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` }
TriggerManualTrigger : Manual trigger. This model "extends" Trigger
type TriggerPatch ¶
type TriggerPatch struct { // Trigger type. Type *string `json:"type,omitempty"` // Trigger name. Name *string `json:"name,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener,omitempty"` // Trigger tags array. Optional tags for the trigger. Tags []string `json:"tags"` // Specify the worker used to run the trigger. Use `worker: { id: 'public' }` to use the IBM Managed workers. Use // `worker: { id: 'inherit' }` to inherit the worker used by the pipeline. Worker *WorkerIdentity `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If set to 0 then the custom concurrency limit is // disabled for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Defines if this trigger is enabled. Enabled *bool `json:"enabled,omitempty"` // Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Secret *GenericSecret `json:"secret,omitempty"` // Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is // every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. // Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours. Cron *string `json:"cron,omitempty"` // Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates // this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. // Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. Timezone *string `json:"timezone,omitempty"` // Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the // URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API // https://cloud.ibm.com/apidocs/toolchain#list-tools. Source *TriggerSourcePrototype `json:"source,omitempty"` // Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger // listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the // 'merge request' term, they correspond to the generic term i.e. 'pull request'. Events []string `json:"events"` // Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used // for event filtering against the Git webhook payloads. Filter *string `json:"filter,omitempty"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // Only used for SCM triggers. When enabled, pull request events from forks of the selected repository will trigger a // pipeline run. EnableEventsFromForks *bool `json:"enable_events_from_forks,omitempty"` }
TriggerPatch : Tekton pipeline trigger object used for updating the trigger.
func (*TriggerPatch) AsPatch ¶
func (triggerPatch *TriggerPatch) AsPatch() (_patch map[string]interface{}, err error)
AsPatch returns a generic map representation of the TriggerPatch
type TriggerPropertiesCollection ¶
type TriggerPropertiesCollection struct { // Trigger properties list. Properties []TriggerProperty `json:"properties" validate:"required"` }
TriggerPropertiesCollection : Trigger properties object.
type TriggerProperty ¶
type TriggerProperty struct { // Property name. Name *string `json:"name" validate:"required"` // Property value. Any string value is valid. Value *string `json:"value,omitempty"` // API URL for interacting with the trigger property. Href *string `json:"href,omitempty"` // Options for `single_select` property type. Only needed for `single_select` property type. Enum []string `json:"enum,omitempty"` // Property type. Type *string `json:"type" validate:"required"` // A dot notation path for `integration` type properties only, that selects a value from the tool integration. If left // blank the full tool integration data will be used. Path *string `json:"path,omitempty"` // When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests // being rejected. The default is false. Locked *bool `json:"locked,omitempty"` }
TriggerProperty : Trigger property object.
type TriggerScmTrigger ¶
type TriggerScmTrigger struct { // Trigger type. Type *string `json:"type" validate:"required"` // Trigger name. Name *string `json:"name" validate:"required"` // API URL for interacting with the trigger. Only included when fetching the list of pipeline triggers. Href *string `json:"href,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener" validate:"required"` // The Trigger ID. ID *string `json:"id" validate:"required"` // Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline // run. Properties []TriggerProperty `json:"properties,omitempty"` // Optional trigger tags array. Tags []string `json:"tags"` // Details of the worker used to run the trigger. Worker *Worker `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled" validate:"required"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // When enabled, pull request events from forks of the selected repository will trigger a pipeline run. EnableEventsFromForks *bool `json:"enable_events_from_forks,omitempty"` // Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the // URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API // https://cloud.ibm.com/apidocs/toolchain#list-tools. Source *TriggerSource `json:"source,omitempty"` // Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger // listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the // 'merge request' term, they correspond to the generic term i.e. 'pull request'. Events []string `json:"events"` // Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used // for event filtering against the Git webhook payloads. Filter *string `json:"filter,omitempty"` }
TriggerScmTrigger : Git trigger type. It automatically triggers a pipeline run when the Tekton Pipeline Service receives a corresponding Git webhook event. This model "extends" Trigger
type TriggerSource ¶
type TriggerSource struct { // The only supported source type is "git", indicating that the source is a git repository. Type *string `json:"type" validate:"required"` // Properties of the source, which define the URL of the repository and a branch or pattern. Properties *TriggerSourceProperties `json:"properties" validate:"required"` }
TriggerSource : Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools.
type TriggerSourceProperties ¶
type TriggerSourceProperties struct { // URL of the repository to which the trigger is listening. URL *string `json:"url" validate:"required"` // Name of a branch from the repo. Only one of branch, pattern, or filter should be specified. Branch *string `json:"branch,omitempty"` // The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against // multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash // documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of // branch, pattern, or filter should be specified. Pattern *string `json:"pattern,omitempty"` // True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the // connection details you provide. BlindConnection *bool `json:"blind_connection" validate:"required"` // Repository webhook ID. It is generated upon trigger creation. HookID *string `json:"hook_id,omitempty"` // Reference to the repository tool in the parent toolchain. Tool *Tool `json:"tool" validate:"required"` }
TriggerSourceProperties : Properties of the source, which define the URL of the repository and a branch or pattern.
type TriggerSourcePropertiesPrototype ¶
type TriggerSourcePropertiesPrototype struct { // URL of the repository to which the trigger is listening. URL *string `json:"url" validate:"required"` // Name of a branch from the repo. Only one of branch, pattern, or filter should be specified. Branch *string `json:"branch,omitempty"` // The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against // multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash // documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of // branch, pattern, or filter should be specified. Pattern *string `json:"pattern,omitempty"` }
TriggerSourcePropertiesPrototype : Properties of the source, which define the URL of the repository and a branch or pattern.
type TriggerSourcePrototype ¶
type TriggerSourcePrototype struct { // The only supported source type is "git", indicating that the source is a git repository. Type *string `json:"type" validate:"required"` // Properties of the source, which define the URL of the repository and a branch or pattern. Properties *TriggerSourcePropertiesPrototype `json:"properties" validate:"required"` }
TriggerSourcePrototype : Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools.
type TriggerTimerTrigger ¶
type TriggerTimerTrigger struct { // Trigger type. Type *string `json:"type" validate:"required"` // Trigger name. Name *string `json:"name" validate:"required"` // API URL for interacting with the trigger. Only included when fetching the list of pipeline triggers. Href *string `json:"href,omitempty"` // Event listener name. The name of the event listener to which the trigger is associated. The event listeners are // defined in the definition repositories of the Tekton pipeline. EventListener *string `json:"event_listener" validate:"required"` // The Trigger ID. ID *string `json:"id" validate:"required"` // Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline // run. Properties []TriggerProperty `json:"properties,omitempty"` // Optional trigger tags array. Tags []string `json:"tags"` // Details of the worker used to run the trigger. Worker *Worker `json:"worker,omitempty"` // Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled // for this trigger. MaxConcurrentRuns *int64 `json:"max_concurrent_runs,omitempty"` // Flag to check if the trigger is enabled. Enabled *bool `json:"enabled" validate:"required"` // Mark the trigger as a favorite. Favorite *bool `json:"favorite,omitempty"` // Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is // every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. // Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours. Cron *string `json:"cron,omitempty"` // Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates // this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. // Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones. Timezone *string `json:"timezone,omitempty"` }
TriggerTimerTrigger : Timer trigger, which triggers pipeline runs according to the provided CRON value and timezone. This model "extends" Trigger
type TriggersCollection ¶
type TriggersCollection struct { // Tekton pipeline triggers list. Triggers []TriggerIntf `json:"triggers" validate:"required"` }
TriggersCollection : Tekton pipeline triggers object.
type UpdateTektonPipelineOptions ¶
type UpdateTektonPipelineOptions struct { // ID of current instance. ID *string `json:"id" validate:"required,ne="` // JSON Merge-Patch content for update_tekton_pipeline. TektonPipelinePatch map[string]interface{} `json:"TektonPipelinePatch,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
UpdateTektonPipelineOptions : The UpdateTektonPipeline options.
func (*UpdateTektonPipelineOptions) SetHeaders ¶
func (options *UpdateTektonPipelineOptions) SetHeaders(param map[string]string) *UpdateTektonPipelineOptions
SetHeaders : Allow user to set Headers
func (*UpdateTektonPipelineOptions) SetID ¶
func (_options *UpdateTektonPipelineOptions) SetID(id string) *UpdateTektonPipelineOptions
SetID : Allow user to set ID
func (*UpdateTektonPipelineOptions) SetTektonPipelinePatch ¶
func (_options *UpdateTektonPipelineOptions) SetTektonPipelinePatch(tektonPipelinePatch map[string]interface{}) *UpdateTektonPipelineOptions
SetTektonPipelinePatch : Allow user to set TektonPipelinePatch
type UpdateTektonPipelineTriggerOptions ¶
type UpdateTektonPipelineTriggerOptions struct { // The Tekton pipeline ID. PipelineID *string `json:"pipeline_id" validate:"required,ne="` // The trigger ID. TriggerID *string `json:"trigger_id" validate:"required,ne="` // JSON Merge-Patch content for update_tekton_pipeline_trigger. TriggerPatch map[string]interface{} `json:"TriggerPatch,omitempty"` // Allows users to set headers on API requests. Headers map[string]string }
UpdateTektonPipelineTriggerOptions : The UpdateTektonPipelineTrigger options.
func (*UpdateTektonPipelineTriggerOptions) SetHeaders ¶
func (options *UpdateTektonPipelineTriggerOptions) SetHeaders(param map[string]string) *UpdateTektonPipelineTriggerOptions
SetHeaders : Allow user to set Headers
func (*UpdateTektonPipelineTriggerOptions) SetPipelineID ¶
func (_options *UpdateTektonPipelineTriggerOptions) SetPipelineID(pipelineID string) *UpdateTektonPipelineTriggerOptions
SetPipelineID : Allow user to set PipelineID
func (*UpdateTektonPipelineTriggerOptions) SetTriggerID ¶
func (_options *UpdateTektonPipelineTriggerOptions) SetTriggerID(triggerID string) *UpdateTektonPipelineTriggerOptions
SetTriggerID : Allow user to set TriggerID
func (*UpdateTektonPipelineTriggerOptions) SetTriggerPatch ¶
func (_options *UpdateTektonPipelineTriggerOptions) SetTriggerPatch(triggerPatch map[string]interface{}) *UpdateTektonPipelineTriggerOptions
SetTriggerPatch : Allow user to set TriggerPatch
type UserInfo ¶
type UserInfo struct { // IBM Cloud IAM ID. IamID *string `json:"iam_id" validate:"required"` // User email address. Sub *string `json:"sub" validate:"required"` }
UserInfo : Information about the user that triggered a pipeline run. Only included for pipeline runs that were manually triggered.
type Worker ¶
type Worker struct { // Name of the worker. Computed based on the worker ID. Name *string `json:"name,omitempty"` // Type of the worker. Computed based on the worker ID. Type *string `json:"type,omitempty"` // ID of the worker. ID *string `json:"id" validate:"required"` }
Worker : Details of the worker used to run the pipeline.
type WorkerIdentity ¶
type WorkerIdentity struct { // ID of the worker. ID *string `json:"id" validate:"required"` }
WorkerIdentity : Specify the worker that is to be used to run the trigger, indicated by a worker object with only the worker ID. If not specified or set as `worker: { id: 'public' }`, the IBM Managed shared workers are used.