Documentation ¶
Overview ¶
Package opentoolchainv1 : Operations and models for the OpenToolchainV1 service
Index ¶
- Constants
- func GetServiceURLForRegion(region string) (string, error)
- func UnmarshalContainer(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateServiceInstanceParamsParameters(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalCreateServiceInstanceResponse(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalEnvProperty(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPatchServiceInstanceParamsParameters(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalPatchTektonPipelineParamsWorker(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalService(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalServiceStatus(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalServiceToolchainBinding(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalServiceToolchainBindingStatus(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalShardRepo(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipeline(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipelineDefinition(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipelineTrigger(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipelineTriggerEvents(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalTektonPipelineTriggerScmSource(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalToolchain(m map[string]json.RawMessage, result interface{}) (err error)
- func UnmarshalToolchainTemplate(m map[string]json.RawMessage, result interface{}) (err error)
- type Container
- type CreateServiceInstanceOptions
- func (options *CreateServiceInstanceOptions) SetEnvID(envID string) *CreateServiceInstanceOptions
- func (options *CreateServiceInstanceOptions) SetHeaders(param map[string]string) *CreateServiceInstanceOptions
- func (options *CreateServiceInstanceOptions) SetParameters(parameters *CreateServiceInstanceParamsParameters) *CreateServiceInstanceOptions
- func (options *CreateServiceInstanceOptions) SetServiceID(serviceID string) *CreateServiceInstanceOptions
- func (options *CreateServiceInstanceOptions) SetToolchainID(toolchainID string) *CreateServiceInstanceOptions
- type CreateServiceInstanceParamsParameters
- type CreateServiceInstanceResponse
- type CreateToolchainOptions
- func (o *CreateToolchainOptions) GetProperties() map[string]interface{}
- func (options *CreateToolchainOptions) SetAutocreate(autocreate bool) *CreateToolchainOptions
- func (options *CreateToolchainOptions) SetBranch(branch string) *CreateToolchainOptions
- func (options *CreateToolchainOptions) SetEnvID(envID string) *CreateToolchainOptions
- func (options *CreateToolchainOptions) SetHeaders(param map[string]string) *CreateToolchainOptions
- func (o *CreateToolchainOptions) SetProperty(key string, value interface{})
- func (options *CreateToolchainOptions) SetRepository(repository string) *CreateToolchainOptions
- func (options *CreateToolchainOptions) SetRepositoryToken(repositoryToken string) *CreateToolchainOptions
- func (options *CreateToolchainOptions) SetResourceGroupID(resourceGroupID string) *CreateToolchainOptions
- type DeleteServiceInstanceOptions
- func (options *DeleteServiceInstanceOptions) SetEnvID(envID string) *DeleteServiceInstanceOptions
- func (options *DeleteServiceInstanceOptions) SetGUID(guid string) *DeleteServiceInstanceOptions
- func (options *DeleteServiceInstanceOptions) SetHeaders(param map[string]string) *DeleteServiceInstanceOptions
- func (options *DeleteServiceInstanceOptions) SetToolchainID(toolchainID string) *DeleteServiceInstanceOptions
- type DeleteToolchainOptions
- type EnvProperty
- type GetTektonPipelineDefinitionOptions
- func (options *GetTektonPipelineDefinitionOptions) SetEnvID(envID string) *GetTektonPipelineDefinitionOptions
- func (options *GetTektonPipelineDefinitionOptions) SetGUID(guid string) *GetTektonPipelineDefinitionOptions
- func (options *GetTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *GetTektonPipelineDefinitionOptions
- type GetTektonPipelineOptions
- type GetToolchainOptions
- type OpenToolchainV1
- func (openToolchain *OpenToolchainV1) Clone() *OpenToolchainV1
- func (openToolchain *OpenToolchainV1) CreateServiceInstance(createServiceInstanceOptions *CreateServiceInstanceOptions) (result *CreateServiceInstanceResponse, response *core.DetailedResponse, ...)
- func (openToolchain *OpenToolchainV1) CreateServiceInstanceWithContext(ctx context.Context, ...) (result *CreateServiceInstanceResponse, response *core.DetailedResponse, ...)
- func (openToolchain *OpenToolchainV1) CreateToolchain(createToolchainOptions *CreateToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) CreateToolchainWithContext(ctx context.Context, createToolchainOptions *CreateToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) DeleteServiceInstance(deleteServiceInstanceOptions *DeleteServiceInstanceOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) DeleteServiceInstanceWithContext(ctx context.Context, ...) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) DeleteToolchain(deleteToolchainOptions *DeleteToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) DeleteToolchainWithContext(ctx context.Context, deleteToolchainOptions *DeleteToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) DisableRetries()
- func (openToolchain *OpenToolchainV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)
- func (openToolchain *OpenToolchainV1) GetEnableGzipCompression() bool
- func (openToolchain *OpenToolchainV1) GetServiceURL() string
- func (openToolchain *OpenToolchainV1) GetTektonPipeline(getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) GetTektonPipelineDefinition(getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *TektonPipelineDefinition, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) GetTektonPipelineDefinitionWithContext(ctx context.Context, ...) (result *TektonPipelineDefinition, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) GetTektonPipelineWithContext(ctx context.Context, getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) GetToolchain(getToolchainOptions *GetToolchainOptions) (result *Toolchain, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) GetToolchainWithContext(ctx context.Context, getToolchainOptions *GetToolchainOptions) (result *Toolchain, response *core.DetailedResponse, err error)
- func (*OpenToolchainV1) NewCreateServiceInstanceOptions(envID string) *CreateServiceInstanceOptions
- func (*OpenToolchainV1) NewCreateToolchainOptions(envID string, repository string) *CreateToolchainOptions
- func (*OpenToolchainV1) NewDeleteServiceInstanceOptions(guid string, envID string) *DeleteServiceInstanceOptions
- func (*OpenToolchainV1) NewDeleteToolchainOptions(guid string, envID string) *DeleteToolchainOptions
- func (*OpenToolchainV1) NewEnvProperty(name string, value string, typeVar string) (model *EnvProperty, err error)
- func (*OpenToolchainV1) NewGetTektonPipelineDefinitionOptions(guid string, envID string) *GetTektonPipelineDefinitionOptions
- func (*OpenToolchainV1) NewGetTektonPipelineOptions(guid string, envID string) *GetTektonPipelineOptions
- func (*OpenToolchainV1) NewGetToolchainOptions(guid string, envID string) *GetToolchainOptions
- func (*OpenToolchainV1) NewPatchServiceInstanceOptions(guid string, envID string) *PatchServiceInstanceOptions
- func (*OpenToolchainV1) NewPatchTektonPipelineOptions(guid string, envID string) *PatchTektonPipelineOptions
- func (*OpenToolchainV1) NewPatchToolchainOptions(guid string, envID string) *PatchToolchainOptions
- func (*OpenToolchainV1) NewTektonPipelineTrigger(eventListener string, disabled bool, typeVar string) (model *TektonPipelineTrigger, err error)
- func (openToolchain *OpenToolchainV1) PatchServiceInstance(patchServiceInstanceOptions *PatchServiceInstanceOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) PatchServiceInstanceWithContext(ctx context.Context, patchServiceInstanceOptions *PatchServiceInstanceOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) PatchTektonPipeline(patchTektonPipelineOptions *PatchTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) PatchTektonPipelineWithContext(ctx context.Context, patchTektonPipelineOptions *PatchTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) PatchToolchain(patchToolchainOptions *PatchToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) PatchToolchainWithContext(ctx context.Context, patchToolchainOptions *PatchToolchainOptions) (response *core.DetailedResponse, err error)
- func (openToolchain *OpenToolchainV1) SetDefaultHeaders(headers http.Header)
- func (openToolchain *OpenToolchainV1) SetEnableGzipCompression(enableGzip bool)
- func (openToolchain *OpenToolchainV1) SetServiceURL(url string) error
- type OpenToolchainV1Options
- type PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetEnvID(envID string) *PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetGUID(guid string) *PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetHeaders(param map[string]string) *PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetParameters(parameters *PatchServiceInstanceParamsParameters) *PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetServiceID(serviceID string) *PatchServiceInstanceOptions
- func (options *PatchServiceInstanceOptions) SetToolchainID(toolchainID string) *PatchServiceInstanceOptions
- type PatchServiceInstanceParamsParameters
- type PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetEnvID(envID string) *PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetEnvProperties(envProperties []EnvProperty) *PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetGUID(guid string) *PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetHeaders(param map[string]string) *PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetTriggers(triggers []TektonPipelineTrigger) *PatchTektonPipelineOptions
- func (options *PatchTektonPipelineOptions) SetWorker(worker *PatchTektonPipelineParamsWorker) *PatchTektonPipelineOptions
- type PatchTektonPipelineParamsWorker
- type PatchToolchainOptions
- func (options *PatchToolchainOptions) SetEnvID(envID string) *PatchToolchainOptions
- func (options *PatchToolchainOptions) SetGUID(guid string) *PatchToolchainOptions
- func (options *PatchToolchainOptions) SetHeaders(param map[string]string) *PatchToolchainOptions
- func (options *PatchToolchainOptions) SetName(name string) *PatchToolchainOptions
- type Service
- type ServiceStatus
- type ServiceToolchainBinding
- type ServiceToolchainBindingStatus
- type ShardRepo
- type TektonPipeline
- type TektonPipelineDefinition
- type TektonPipelineTrigger
- type TektonPipelineTriggerEvents
- type TektonPipelineTriggerScmSource
- type Toolchain
- type ToolchainTemplate
Constants ¶
const DefaultServiceName = "open_toolchain"
DefaultServiceName is the default key used to find external configuration information.
const DefaultServiceURL = "https://cloud.ibm.com"
DefaultServiceURL is the default URL to make service requests to.
Variables ¶
This section is empty.
Functions ¶
func GetServiceURLForRegion ¶
GetServiceURLForRegion returns the service URL to be used for the specified region
func UnmarshalContainer ¶
func UnmarshalContainer(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalContainer unmarshals an instance of Container from the specified map of raw messages.
func UnmarshalCreateServiceInstanceParamsParameters ¶
func UnmarshalCreateServiceInstanceParamsParameters(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateServiceInstanceParamsParameters unmarshals an instance of CreateServiceInstanceParamsParameters from the specified map of raw messages.
func UnmarshalCreateServiceInstanceResponse ¶
func UnmarshalCreateServiceInstanceResponse(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalCreateServiceInstanceResponse unmarshals an instance of CreateServiceInstanceResponse from the specified map of raw messages.
func UnmarshalEnvProperty ¶
func UnmarshalEnvProperty(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalEnvProperty unmarshals an instance of EnvProperty from the specified map of raw messages.
func UnmarshalPatchServiceInstanceParamsParameters ¶
func UnmarshalPatchServiceInstanceParamsParameters(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPatchServiceInstanceParamsParameters unmarshals an instance of PatchServiceInstanceParamsParameters from the specified map of raw messages.
func UnmarshalPatchTektonPipelineParamsWorker ¶
func UnmarshalPatchTektonPipelineParamsWorker(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalPatchTektonPipelineParamsWorker unmarshals an instance of PatchTektonPipelineParamsWorker from the specified map of raw messages.
func UnmarshalService ¶
func UnmarshalService(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalService unmarshals an instance of Service from the specified map of raw messages.
func UnmarshalServiceStatus ¶
func UnmarshalServiceStatus(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalServiceStatus unmarshals an instance of ServiceStatus from the specified map of raw messages.
func UnmarshalServiceToolchainBinding ¶
func UnmarshalServiceToolchainBinding(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalServiceToolchainBinding unmarshals an instance of ServiceToolchainBinding from the specified map of raw messages.
func UnmarshalServiceToolchainBindingStatus ¶
func UnmarshalServiceToolchainBindingStatus(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalServiceToolchainBindingStatus unmarshals an instance of ServiceToolchainBindingStatus from the specified map of raw messages.
func UnmarshalShardRepo ¶
func UnmarshalShardRepo(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalShardRepo unmarshals an instance of ShardRepo 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 UnmarshalTektonPipelineDefinition ¶
func UnmarshalTektonPipelineDefinition(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipelineDefinition unmarshals an instance of TektonPipelineDefinition from the specified map of raw messages.
func UnmarshalTektonPipelineTrigger ¶
func UnmarshalTektonPipelineTrigger(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipelineTrigger unmarshals an instance of TektonPipelineTrigger from the specified map of raw messages.
func UnmarshalTektonPipelineTriggerEvents ¶
func UnmarshalTektonPipelineTriggerEvents(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipelineTriggerEvents unmarshals an instance of TektonPipelineTriggerEvents from the specified map of raw messages.
func UnmarshalTektonPipelineTriggerScmSource ¶
func UnmarshalTektonPipelineTriggerScmSource(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalTektonPipelineTriggerScmSource unmarshals an instance of TektonPipelineTriggerScmSource from the specified map of raw messages.
func UnmarshalToolchain ¶
func UnmarshalToolchain(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalToolchain unmarshals an instance of Toolchain from the specified map of raw messages.
func UnmarshalToolchainTemplate ¶
func UnmarshalToolchainTemplate(m map[string]json.RawMessage, result interface{}) (err error)
UnmarshalToolchainTemplate unmarshals an instance of ToolchainTemplate from the specified map of raw messages.
Types ¶
type CreateServiceInstanceOptions ¶
type CreateServiceInstanceOptions struct { // Environment ID. EnvID *string `validate:"required"` ToolchainID *string ServiceID *string Parameters *CreateServiceInstanceParamsParameters // Allows users to set headers on API requests Headers map[string]string }
CreateServiceInstanceOptions : The CreateServiceInstance options.
func (*CreateServiceInstanceOptions) SetEnvID ¶
func (options *CreateServiceInstanceOptions) SetEnvID(envID string) *CreateServiceInstanceOptions
SetEnvID : Allow user to set EnvID
func (*CreateServiceInstanceOptions) SetHeaders ¶
func (options *CreateServiceInstanceOptions) SetHeaders(param map[string]string) *CreateServiceInstanceOptions
SetHeaders : Allow user to set Headers
func (*CreateServiceInstanceOptions) SetParameters ¶
func (options *CreateServiceInstanceOptions) SetParameters(parameters *CreateServiceInstanceParamsParameters) *CreateServiceInstanceOptions
SetParameters : Allow user to set Parameters
func (*CreateServiceInstanceOptions) SetServiceID ¶
func (options *CreateServiceInstanceOptions) SetServiceID(serviceID string) *CreateServiceInstanceOptions
SetServiceID : Allow user to set ServiceID
func (*CreateServiceInstanceOptions) SetToolchainID ¶
func (options *CreateServiceInstanceOptions) SetToolchainID(toolchainID string) *CreateServiceInstanceOptions
SetToolchainID : Allow user to set ToolchainID
type CreateServiceInstanceParamsParameters ¶
type CreateServiceInstanceParamsParameters struct { Authorized *string `json:"authorized,omitempty"` GitID *string `json:"git_id,omitempty"` APIRootURL *string `json:"api_root_url,omitempty"` Legal *bool `json:"legal,omitempty"` RepoURL *string `json:"repo_url,omitempty"` TokenURL *string `json:"token_url,omitempty"` PrivateRepo *bool `json:"private_repo,omitempty"` HasIssues *bool `json:"has_issues,omitempty"` EnableTraceability *bool `json:"enable_traceability,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` UIPipeline *bool `json:"ui_pipeline,omitempty"` }
CreateServiceInstanceParamsParameters : CreateServiceInstanceParamsParameters struct
type CreateServiceInstanceResponse ¶
type CreateServiceInstanceResponse struct {
Status *string `json:"status,omitempty"`
}
CreateServiceInstanceResponse : CreateServiceInstanceResponse struct
type CreateToolchainOptions ¶
type CreateToolchainOptions struct { // Environment ID. EnvID *string `validate:"required"` // The URL of the Git repository containing the template. // (For example:- https://github.com/open-toolchain/simple-toolchain). Repository *string `validate:"required"` // If this param is not provided, then the creation will be ignored and it will just load the toolchain creation page. Autocreate *bool // The GUID of resource group where toolchain will be created. Pass this parameter, if you want to create the toolchain // inside the resource group instead of an org. ResourceGroupID *string // Optional git api token to access template repository. RepositoryToken *string // The Git branch name that the template will be read from. Optional. Defaults to `master`. Branch *string // Allows users to set headers on API requests Headers map[string]string // contains filtered or unexported fields }
CreateToolchainOptions : The CreateToolchain options.
func (*CreateToolchainOptions) GetProperties ¶
func (o *CreateToolchainOptions) GetProperties() map[string]interface{}
GetProperties allows the user to retrieve the map of arbitrary properties from an instance of CreateToolchainParams
func (*CreateToolchainOptions) SetAutocreate ¶
func (options *CreateToolchainOptions) SetAutocreate(autocreate bool) *CreateToolchainOptions
SetAutocreate : Allow user to set Autocreate
func (*CreateToolchainOptions) SetBranch ¶
func (options *CreateToolchainOptions) SetBranch(branch string) *CreateToolchainOptions
SetBranch : Allow user to set Branch
func (*CreateToolchainOptions) SetEnvID ¶
func (options *CreateToolchainOptions) SetEnvID(envID string) *CreateToolchainOptions
SetEnvID : Allow user to set EnvID
func (*CreateToolchainOptions) SetHeaders ¶
func (options *CreateToolchainOptions) SetHeaders(param map[string]string) *CreateToolchainOptions
SetHeaders : Allow user to set Headers
func (*CreateToolchainOptions) SetProperty ¶
func (o *CreateToolchainOptions) SetProperty(key string, value interface{})
SetProperty allows the user to set an arbitrary property on an instance of CreateToolchainParams
func (*CreateToolchainOptions) SetRepository ¶
func (options *CreateToolchainOptions) SetRepository(repository string) *CreateToolchainOptions
SetRepository : Allow user to set Repository
func (*CreateToolchainOptions) SetRepositoryToken ¶
func (options *CreateToolchainOptions) SetRepositoryToken(repositoryToken string) *CreateToolchainOptions
SetRepositoryToken : Allow user to set RepositoryToken
func (*CreateToolchainOptions) SetResourceGroupID ¶
func (options *CreateToolchainOptions) SetResourceGroupID(resourceGroupID string) *CreateToolchainOptions
SetResourceGroupID : Allow user to set ResourceGroupID
type DeleteServiceInstanceOptions ¶
type DeleteServiceInstanceOptions struct { // GUID of the service instance. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` ToolchainID *string // Allows users to set headers on API requests Headers map[string]string }
DeleteServiceInstanceOptions : The DeleteServiceInstance options.
func (*DeleteServiceInstanceOptions) SetEnvID ¶
func (options *DeleteServiceInstanceOptions) SetEnvID(envID string) *DeleteServiceInstanceOptions
SetEnvID : Allow user to set EnvID
func (*DeleteServiceInstanceOptions) SetGUID ¶
func (options *DeleteServiceInstanceOptions) SetGUID(guid string) *DeleteServiceInstanceOptions
SetGUID : Allow user to set GUID
func (*DeleteServiceInstanceOptions) SetHeaders ¶
func (options *DeleteServiceInstanceOptions) SetHeaders(param map[string]string) *DeleteServiceInstanceOptions
SetHeaders : Allow user to set Headers
func (*DeleteServiceInstanceOptions) SetToolchainID ¶
func (options *DeleteServiceInstanceOptions) SetToolchainID(toolchainID string) *DeleteServiceInstanceOptions
SetToolchainID : Allow user to set ToolchainID
type DeleteToolchainOptions ¶
type DeleteToolchainOptions struct { // GUID of the toolchain. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
DeleteToolchainOptions : The DeleteToolchain options.
func (*DeleteToolchainOptions) SetEnvID ¶
func (options *DeleteToolchainOptions) SetEnvID(envID string) *DeleteToolchainOptions
SetEnvID : Allow user to set EnvID
func (*DeleteToolchainOptions) SetGUID ¶
func (options *DeleteToolchainOptions) SetGUID(guid string) *DeleteToolchainOptions
SetGUID : Allow user to set GUID
func (*DeleteToolchainOptions) SetHeaders ¶
func (options *DeleteToolchainOptions) SetHeaders(param map[string]string) *DeleteToolchainOptions
SetHeaders : Allow user to set Headers
type EnvProperty ¶
type EnvProperty struct { Name *string `json:"name" validate:"required"` Value *string `json:"value" validate:"required"` Type *string `json:"type" validate:"required"` }
EnvProperty : EnvProperty struct
type GetTektonPipelineDefinitionOptions ¶
type GetTektonPipelineDefinitionOptions struct { // GUID of the pipeline. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
GetTektonPipelineDefinitionOptions : The GetTektonPipelineDefinition options.
func (*GetTektonPipelineDefinitionOptions) SetEnvID ¶
func (options *GetTektonPipelineDefinitionOptions) SetEnvID(envID string) *GetTektonPipelineDefinitionOptions
SetEnvID : Allow user to set EnvID
func (*GetTektonPipelineDefinitionOptions) SetGUID ¶
func (options *GetTektonPipelineDefinitionOptions) SetGUID(guid string) *GetTektonPipelineDefinitionOptions
SetGUID : Allow user to set GUID
func (*GetTektonPipelineDefinitionOptions) SetHeaders ¶
func (options *GetTektonPipelineDefinitionOptions) SetHeaders(param map[string]string) *GetTektonPipelineDefinitionOptions
SetHeaders : Allow user to set Headers
type GetTektonPipelineOptions ¶
type GetTektonPipelineOptions struct { // GUID of the pipeline. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
GetTektonPipelineOptions : The GetTektonPipeline options.
func (*GetTektonPipelineOptions) SetEnvID ¶
func (options *GetTektonPipelineOptions) SetEnvID(envID string) *GetTektonPipelineOptions
SetEnvID : Allow user to set EnvID
func (*GetTektonPipelineOptions) SetGUID ¶
func (options *GetTektonPipelineOptions) SetGUID(guid string) *GetTektonPipelineOptions
SetGUID : Allow user to set GUID
func (*GetTektonPipelineOptions) SetHeaders ¶
func (options *GetTektonPipelineOptions) SetHeaders(param map[string]string) *GetTektonPipelineOptions
SetHeaders : Allow user to set Headers
type GetToolchainOptions ¶
type GetToolchainOptions struct { // GUID of the toolchain. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` // Allows users to set headers on API requests Headers map[string]string }
GetToolchainOptions : The GetToolchain options.
func (*GetToolchainOptions) SetEnvID ¶
func (options *GetToolchainOptions) SetEnvID(envID string) *GetToolchainOptions
SetEnvID : Allow user to set EnvID
func (*GetToolchainOptions) SetGUID ¶
func (options *GetToolchainOptions) SetGUID(guid string) *GetToolchainOptions
SetGUID : Allow user to set GUID
func (*GetToolchainOptions) SetHeaders ¶
func (options *GetToolchainOptions) SetHeaders(param map[string]string) *GetToolchainOptions
SetHeaders : Allow user to set Headers
type OpenToolchainV1 ¶
type OpenToolchainV1 struct {
Service *core.BaseService
}
OpenToolchainV1 : No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Version: 1.0.0
func NewOpenToolchainV1 ¶
func NewOpenToolchainV1(options *OpenToolchainV1Options) (service *OpenToolchainV1, err error)
NewOpenToolchainV1 : constructs an instance of OpenToolchainV1 with passed in options.
func NewOpenToolchainV1UsingExternalConfig ¶
func NewOpenToolchainV1UsingExternalConfig(options *OpenToolchainV1Options) (openToolchain *OpenToolchainV1, err error)
NewOpenToolchainV1UsingExternalConfig : constructs an instance of OpenToolchainV1 with passed in options and external configuration.
func (*OpenToolchainV1) Clone ¶
func (openToolchain *OpenToolchainV1) Clone() *OpenToolchainV1
Clone makes a copy of "openToolchain" suitable for processing requests.
func (*OpenToolchainV1) CreateServiceInstance ¶
func (openToolchain *OpenToolchainV1) CreateServiceInstance(createServiceInstanceOptions *CreateServiceInstanceOptions) (result *CreateServiceInstanceResponse, response *core.DetailedResponse, err error)
CreateServiceInstance : Service Instance Creation using POST
func (*OpenToolchainV1) CreateServiceInstanceWithContext ¶
func (openToolchain *OpenToolchainV1) CreateServiceInstanceWithContext(ctx context.Context, createServiceInstanceOptions *CreateServiceInstanceOptions) (result *CreateServiceInstanceResponse, response *core.DetailedResponse, err error)
CreateServiceInstanceWithContext is an alternate form of the CreateServiceInstance method which supports a Context parameter
func (*OpenToolchainV1) CreateToolchain ¶
func (openToolchain *OpenToolchainV1) CreateToolchain(createToolchainOptions *CreateToolchainOptions) (response *core.DetailedResponse, err error)
CreateToolchain : Headless Toolchain Creation/Update using POST This info is from the document:-
https://github.com/open-toolchain/sdk/wiki/Toolchain-Creation-page-parameters.
func (*OpenToolchainV1) CreateToolchainWithContext ¶
func (openToolchain *OpenToolchainV1) CreateToolchainWithContext(ctx context.Context, createToolchainOptions *CreateToolchainOptions) (response *core.DetailedResponse, err error)
CreateToolchainWithContext is an alternate form of the CreateToolchain method which supports a Context parameter
func (*OpenToolchainV1) DeleteServiceInstance ¶
func (openToolchain *OpenToolchainV1) DeleteServiceInstance(deleteServiceInstanceOptions *DeleteServiceInstanceOptions) (response *core.DetailedResponse, err error)
DeleteServiceInstance : The DeleteServiceInstance operation. Delete service instance.
func (*OpenToolchainV1) DeleteServiceInstanceWithContext ¶
func (openToolchain *OpenToolchainV1) DeleteServiceInstanceWithContext(ctx context.Context, deleteServiceInstanceOptions *DeleteServiceInstanceOptions) (response *core.DetailedResponse, err error)
DeleteServiceInstanceWithContext is an alternate form of the DeleteServiceInstance method which supports a Context parameter
func (*OpenToolchainV1) DeleteToolchain ¶
func (openToolchain *OpenToolchainV1) DeleteToolchain(deleteToolchainOptions *DeleteToolchainOptions) (response *core.DetailedResponse, err error)
DeleteToolchain : The DeleteToolchain operation. Delete existing toolchain.
func (*OpenToolchainV1) DeleteToolchainWithContext ¶
func (openToolchain *OpenToolchainV1) DeleteToolchainWithContext(ctx context.Context, deleteToolchainOptions *DeleteToolchainOptions) (response *core.DetailedResponse, err error)
DeleteToolchainWithContext is an alternate form of the DeleteToolchain method which supports a Context parameter
func (*OpenToolchainV1) DisableRetries ¶
func (openToolchain *OpenToolchainV1) DisableRetries()
DisableRetries disables automatic retries for requests invoked for this service instance.
func (*OpenToolchainV1) EnableRetries ¶
func (openToolchain *OpenToolchainV1) 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 (*OpenToolchainV1) GetEnableGzipCompression ¶
func (openToolchain *OpenToolchainV1) GetEnableGzipCompression() bool
GetEnableGzipCompression returns the service's EnableGzipCompression field
func (*OpenToolchainV1) GetServiceURL ¶
func (openToolchain *OpenToolchainV1) GetServiceURL() string
GetServiceURL returns the service URL
func (*OpenToolchainV1) GetTektonPipeline ¶
func (openToolchain *OpenToolchainV1) GetTektonPipeline(getTektonPipelineOptions *GetTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
GetTektonPipeline : Returns details about a particular tekton pipeline
func (*OpenToolchainV1) GetTektonPipelineDefinition ¶
func (openToolchain *OpenToolchainV1) GetTektonPipelineDefinition(getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *TektonPipelineDefinition, response *core.DetailedResponse, err error)
GetTektonPipelineDefinition : Get tekton pipeline definition
func (*OpenToolchainV1) GetTektonPipelineDefinitionWithContext ¶
func (openToolchain *OpenToolchainV1) GetTektonPipelineDefinitionWithContext(ctx context.Context, getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *TektonPipelineDefinition, response *core.DetailedResponse, err error)
GetTektonPipelineDefinitionWithContext is an alternate form of the GetTektonPipelineDefinition method which supports a Context parameter
func (*OpenToolchainV1) GetTektonPipelineWithContext ¶
func (openToolchain *OpenToolchainV1) 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 (*OpenToolchainV1) GetToolchain ¶
func (openToolchain *OpenToolchainV1) GetToolchain(getToolchainOptions *GetToolchainOptions) (result *Toolchain, response *core.DetailedResponse, err error)
GetToolchain : Returns details about a particular toolchain
func (*OpenToolchainV1) GetToolchainWithContext ¶
func (openToolchain *OpenToolchainV1) GetToolchainWithContext(ctx context.Context, getToolchainOptions *GetToolchainOptions) (result *Toolchain, response *core.DetailedResponse, err error)
GetToolchainWithContext is an alternate form of the GetToolchain method which supports a Context parameter
func (*OpenToolchainV1) NewCreateServiceInstanceOptions ¶
func (*OpenToolchainV1) NewCreateServiceInstanceOptions(envID string) *CreateServiceInstanceOptions
NewCreateServiceInstanceOptions : Instantiate CreateServiceInstanceOptions
func (*OpenToolchainV1) NewCreateToolchainOptions ¶
func (*OpenToolchainV1) NewCreateToolchainOptions(envID string, repository string) *CreateToolchainOptions
NewCreateToolchainOptions : Instantiate CreateToolchainOptions
func (*OpenToolchainV1) NewDeleteServiceInstanceOptions ¶
func (*OpenToolchainV1) NewDeleteServiceInstanceOptions(guid string, envID string) *DeleteServiceInstanceOptions
NewDeleteServiceInstanceOptions : Instantiate DeleteServiceInstanceOptions
func (*OpenToolchainV1) NewDeleteToolchainOptions ¶
func (*OpenToolchainV1) NewDeleteToolchainOptions(guid string, envID string) *DeleteToolchainOptions
NewDeleteToolchainOptions : Instantiate DeleteToolchainOptions
func (*OpenToolchainV1) NewEnvProperty ¶
func (*OpenToolchainV1) NewEnvProperty(name string, value string, typeVar string) (model *EnvProperty, err error)
NewEnvProperty : Instantiate EnvProperty (Generic Model Constructor)
func (*OpenToolchainV1) NewGetTektonPipelineDefinitionOptions ¶
func (*OpenToolchainV1) NewGetTektonPipelineDefinitionOptions(guid string, envID string) *GetTektonPipelineDefinitionOptions
NewGetTektonPipelineDefinitionOptions : Instantiate GetTektonPipelineDefinitionOptions
func (*OpenToolchainV1) NewGetTektonPipelineOptions ¶
func (*OpenToolchainV1) NewGetTektonPipelineOptions(guid string, envID string) *GetTektonPipelineOptions
NewGetTektonPipelineOptions : Instantiate GetTektonPipelineOptions
func (*OpenToolchainV1) NewGetToolchainOptions ¶
func (*OpenToolchainV1) NewGetToolchainOptions(guid string, envID string) *GetToolchainOptions
NewGetToolchainOptions : Instantiate GetToolchainOptions
func (*OpenToolchainV1) NewPatchServiceInstanceOptions ¶
func (*OpenToolchainV1) NewPatchServiceInstanceOptions(guid string, envID string) *PatchServiceInstanceOptions
NewPatchServiceInstanceOptions : Instantiate PatchServiceInstanceOptions
func (*OpenToolchainV1) NewPatchTektonPipelineOptions ¶
func (*OpenToolchainV1) NewPatchTektonPipelineOptions(guid string, envID string) *PatchTektonPipelineOptions
NewPatchTektonPipelineOptions : Instantiate PatchTektonPipelineOptions
func (*OpenToolchainV1) NewPatchToolchainOptions ¶
func (*OpenToolchainV1) NewPatchToolchainOptions(guid string, envID string) *PatchToolchainOptions
NewPatchToolchainOptions : Instantiate PatchToolchainOptions
func (*OpenToolchainV1) NewTektonPipelineTrigger ¶
func (*OpenToolchainV1) NewTektonPipelineTrigger(eventListener string, disabled bool, typeVar string) (model *TektonPipelineTrigger, err error)
NewTektonPipelineTrigger : Instantiate TektonPipelineTrigger (Generic Model Constructor)
func (*OpenToolchainV1) PatchServiceInstance ¶
func (openToolchain *OpenToolchainV1) PatchServiceInstance(patchServiceInstanceOptions *PatchServiceInstanceOptions) (response *core.DetailedResponse, err error)
PatchServiceInstance : Patch service instance
func (*OpenToolchainV1) PatchServiceInstanceWithContext ¶
func (openToolchain *OpenToolchainV1) PatchServiceInstanceWithContext(ctx context.Context, patchServiceInstanceOptions *PatchServiceInstanceOptions) (response *core.DetailedResponse, err error)
PatchServiceInstanceWithContext is an alternate form of the PatchServiceInstance method which supports a Context parameter
func (*OpenToolchainV1) PatchTektonPipeline ¶
func (openToolchain *OpenToolchainV1) PatchTektonPipeline(patchTektonPipelineOptions *PatchTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
PatchTektonPipeline : Update tekton pipeline parameters
func (*OpenToolchainV1) PatchTektonPipelineWithContext ¶
func (openToolchain *OpenToolchainV1) PatchTektonPipelineWithContext(ctx context.Context, patchTektonPipelineOptions *PatchTektonPipelineOptions) (result *TektonPipeline, response *core.DetailedResponse, err error)
PatchTektonPipelineWithContext is an alternate form of the PatchTektonPipeline method which supports a Context parameter
func (*OpenToolchainV1) PatchToolchain ¶
func (openToolchain *OpenToolchainV1) PatchToolchain(patchToolchainOptions *PatchToolchainOptions) (response *core.DetailedResponse, err error)
PatchToolchain : Update toolchain parameters
func (*OpenToolchainV1) PatchToolchainWithContext ¶
func (openToolchain *OpenToolchainV1) PatchToolchainWithContext(ctx context.Context, patchToolchainOptions *PatchToolchainOptions) (response *core.DetailedResponse, err error)
PatchToolchainWithContext is an alternate form of the PatchToolchain method which supports a Context parameter
func (*OpenToolchainV1) SetDefaultHeaders ¶
func (openToolchain *OpenToolchainV1) SetDefaultHeaders(headers http.Header)
SetDefaultHeaders sets HTTP headers to be sent in every request
func (*OpenToolchainV1) SetEnableGzipCompression ¶
func (openToolchain *OpenToolchainV1) SetEnableGzipCompression(enableGzip bool)
SetEnableGzipCompression sets the service's EnableGzipCompression field
func (*OpenToolchainV1) SetServiceURL ¶
func (openToolchain *OpenToolchainV1) SetServiceURL(url string) error
SetServiceURL sets the service URL
type OpenToolchainV1Options ¶
type OpenToolchainV1Options struct { ServiceName string URL string Authenticator core.Authenticator }
OpenToolchainV1Options : Service options
type PatchServiceInstanceOptions ¶
type PatchServiceInstanceOptions struct { // GUID of the instance. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` ToolchainID *string ServiceID *string Parameters *PatchServiceInstanceParamsParameters // Allows users to set headers on API requests Headers map[string]string }
PatchServiceInstanceOptions : The PatchServiceInstance options.
func (*PatchServiceInstanceOptions) SetEnvID ¶
func (options *PatchServiceInstanceOptions) SetEnvID(envID string) *PatchServiceInstanceOptions
SetEnvID : Allow user to set EnvID
func (*PatchServiceInstanceOptions) SetGUID ¶
func (options *PatchServiceInstanceOptions) SetGUID(guid string) *PatchServiceInstanceOptions
SetGUID : Allow user to set GUID
func (*PatchServiceInstanceOptions) SetHeaders ¶
func (options *PatchServiceInstanceOptions) SetHeaders(param map[string]string) *PatchServiceInstanceOptions
SetHeaders : Allow user to set Headers
func (*PatchServiceInstanceOptions) SetParameters ¶
func (options *PatchServiceInstanceOptions) SetParameters(parameters *PatchServiceInstanceParamsParameters) *PatchServiceInstanceOptions
SetParameters : Allow user to set Parameters
func (*PatchServiceInstanceOptions) SetServiceID ¶
func (options *PatchServiceInstanceOptions) SetServiceID(serviceID string) *PatchServiceInstanceOptions
SetServiceID : Allow user to set ServiceID
func (*PatchServiceInstanceOptions) SetToolchainID ¶
func (options *PatchServiceInstanceOptions) SetToolchainID(toolchainID string) *PatchServiceInstanceOptions
SetToolchainID : Allow user to set ToolchainID
type PatchServiceInstanceParamsParameters ¶
type PatchServiceInstanceParamsParameters struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` UIPipeline *bool `json:"ui_pipeline,omitempty"` RepoURL *string `json:"repo_url,omitempty"` PrivateRepo *bool `json:"private_repo,omitempty"` HasIssues *bool `json:"has_issues,omitempty"` EnableTraceability *bool `json:"enable_traceability,omitempty"` }
PatchServiceInstanceParamsParameters : PatchServiceInstanceParamsParameters struct
type PatchTektonPipelineOptions ¶
type PatchTektonPipelineOptions struct { // GUID of the pipeline. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` Worker *PatchTektonPipelineParamsWorker EnvProperties []EnvProperty Triggers []TektonPipelineTrigger // Allows users to set headers on API requests Headers map[string]string }
PatchTektonPipelineOptions : The PatchTektonPipeline options.
func (*PatchTektonPipelineOptions) SetEnvID ¶
func (options *PatchTektonPipelineOptions) SetEnvID(envID string) *PatchTektonPipelineOptions
SetEnvID : Allow user to set EnvID
func (*PatchTektonPipelineOptions) SetEnvProperties ¶
func (options *PatchTektonPipelineOptions) SetEnvProperties(envProperties []EnvProperty) *PatchTektonPipelineOptions
SetEnvProperties : Allow user to set EnvProperties
func (*PatchTektonPipelineOptions) SetGUID ¶
func (options *PatchTektonPipelineOptions) SetGUID(guid string) *PatchTektonPipelineOptions
SetGUID : Allow user to set GUID
func (*PatchTektonPipelineOptions) SetHeaders ¶
func (options *PatchTektonPipelineOptions) SetHeaders(param map[string]string) *PatchTektonPipelineOptions
SetHeaders : Allow user to set Headers
func (*PatchTektonPipelineOptions) SetTriggers ¶
func (options *PatchTektonPipelineOptions) SetTriggers(triggers []TektonPipelineTrigger) *PatchTektonPipelineOptions
SetTriggers : Allow user to set Triggers
func (*PatchTektonPipelineOptions) SetWorker ¶
func (options *PatchTektonPipelineOptions) SetWorker(worker *PatchTektonPipelineParamsWorker) *PatchTektonPipelineOptions
SetWorker : Allow user to set Worker
type PatchTektonPipelineParamsWorker ¶
type PatchTektonPipelineParamsWorker struct { WorkerID *string `json:"workerId,omitempty"` WorkerName *string `json:"workerName,omitempty"` WorkerType *string `json:"workerType,omitempty"` }
PatchTektonPipelineParamsWorker : PatchTektonPipelineParamsWorker struct
type PatchToolchainOptions ¶
type PatchToolchainOptions struct { // GUID of the toolchain. GUID *string `validate:"required,ne="` // Environment ID. EnvID *string `validate:"required"` // Toolchain name. Name *string // Allows users to set headers on API requests Headers map[string]string }
PatchToolchainOptions : The PatchToolchain options.
func (*PatchToolchainOptions) SetEnvID ¶
func (options *PatchToolchainOptions) SetEnvID(envID string) *PatchToolchainOptions
SetEnvID : Allow user to set EnvID
func (*PatchToolchainOptions) SetGUID ¶
func (options *PatchToolchainOptions) SetGUID(guid string) *PatchToolchainOptions
SetGUID : Allow user to set GUID
func (*PatchToolchainOptions) SetHeaders ¶
func (options *PatchToolchainOptions) SetHeaders(param map[string]string) *PatchToolchainOptions
SetHeaders : Allow user to set Headers
func (*PatchToolchainOptions) SetName ¶
func (options *PatchToolchainOptions) SetName(name string) *PatchToolchainOptions
SetName : Allow user to set Name
type Service ¶
type Service struct { BrokerID *string `json:"broker_id,omitempty"` ServiceID *string `json:"service_id" validate:"required"` Container *Container `json:"container,omitempty"` UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` Parameters map[string]interface{} `json:"parameters,omitempty"` Status *ServiceStatus `json:"status,omitempty"` DashboardURL *string `json:"dashboard_url,omitempty"` RegionID *string `json:"region_id,omitempty"` InstanceID *string `json:"instance_id,omitempty"` Description *string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` URL *string `json:"url,omitempty"` ToolchainBinding *ServiceToolchainBinding `json:"toolchain_binding,omitempty"` }
Service : Service struct
type ServiceStatus ¶
type ServiceStatus struct {
State *string `json:"state,omitempty"`
}
ServiceStatus : ServiceStatus struct
type ServiceToolchainBinding ¶
type ServiceToolchainBinding struct { Status *ServiceToolchainBindingStatus `json:"status,omitempty"` Name *string `json:"name,omitempty"` WebhookID *string `json:"webhook_id,omitempty"` }
ServiceToolchainBinding : ServiceToolchainBinding struct
type ServiceToolchainBindingStatus ¶
type ServiceToolchainBindingStatus struct {
State *string `json:"state,omitempty"`
}
ServiceToolchainBindingStatus : ServiceToolchainBindingStatus struct
type ShardRepo ¶
type ShardRepo struct { Sha *string `json:"sha,omitempty"` ShardDefinitionID *string `json:"shardDefinitionId" validate:"required"` RepoURL *string `json:"repoUrl" validate:"required"` Path *string `json:"path,omitempty"` }
ShardRepo : ShardRepo struct
type TektonPipeline ¶
type TektonPipeline struct { Name *string `json:"name" validate:"required"` DashboardURL *string `json:"dashboard_url,omitempty"` ResourceGroupID *string `json:"resourceGroupId,omitempty"` ID *string `json:"id" validate:"required"` ToolchainID *string `json:"toolchainId" validate:"required"` PipelineOwner *string `json:"pipelineOwner,omitempty"` Enabled *bool `json:"enabled,omitempty"` Type *string `json:"type,omitempty"` Created *strfmt.DateTime `json:"created,omitempty"` UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` UpdatedAtTimestamp *float64 `json:"updated_at_timestamp,omitempty"` CreatedTimestamp *float64 `json:"created_timestamp,omitempty"` EnvProperties []EnvProperty `json:"envProperties" validate:"required"` Triggers []TektonPipelineTrigger `json:"triggers,omitempty"` Status *string `json:"status,omitempty"` URL *string `json:"url,omitempty"` RunsURL *string `json:"runs_url,omitempty"` ToolchainCRN *string `json:"toolchainCRN,omitempty"` PipelineDefinitionID *string `json:"pipelineDefinitionId,omitempty"` }
TektonPipeline : TektonPipeline struct
type TektonPipelineDefinition ¶
type TektonPipelineDefinition struct { PipelineID *string `json:"pipelineId" validate:"required"` RepoURL *string `json:"repoUrl,omitempty"` Branch *string `json:"branch,omitempty"` Path *string `json:"path,omitempty"` Sha *string `json:"sha,omitempty"` Type *string `json:"type,omitempty"` ID *string `json:"id" validate:"required"` ShardRepos []ShardRepo `json:"shardRepos,omitempty"` }
TektonPipelineDefinition : TektonPipelineDefinition struct
type TektonPipelineTrigger ¶
type TektonPipelineTrigger struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` EventListener *string `json:"eventListener" validate:"required"` Disabled *bool `json:"disabled" validate:"required"` ScmSource *TektonPipelineTriggerScmSource `json:"scmSource,omitempty"` Type *string `json:"type" validate:"required"` Events *TektonPipelineTriggerEvents `json:"events,omitempty"` ServiceInstanceID *string `json:"serviceInstanceId,omitempty"` }
TektonPipelineTrigger : TektonPipelineTrigger struct
type TektonPipelineTriggerEvents ¶
type TektonPipelineTriggerEvents struct { Push *bool `json:"push,omitempty"` PullRequest *bool `json:"pull_request,omitempty"` PullRequestClosed *bool `json:"pull_request_closed,omitempty"` }
TektonPipelineTriggerEvents : TektonPipelineTriggerEvents struct
type TektonPipelineTriggerScmSource ¶
type TektonPipelineTriggerScmSource struct { URL *string `json:"url,omitempty"` Type *string `json:"type,omitempty"` Branch *string `json:"branch,omitempty"` Pattern *string `json:"pattern,omitempty"` }
TektonPipelineTriggerScmSource : TektonPipelineTriggerScmSource struct
type Toolchain ¶
type Toolchain struct { ToolchainGUID *string `json:"toolchain_guid" validate:"required"` Name *string `json:"name" validate:"required"` Description *string `json:"description,omitempty"` Key *string `json:"key,omitempty"` Container *Container `json:"container,omitempty"` CRN *string `json:"crn,omitempty"` Created *strfmt.DateTime `json:"created,omitempty"` UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"` Creator *string `json:"creator,omitempty"` Generator *string `json:"generator,omitempty"` Template *ToolchainTemplate `json:"template,omitempty"` Tags []string `json:"tags,omitempty"` LifecycleMessagingWebhookID *string `json:"lifecycle_messaging_webhook_id,omitempty"` RegionID *string `json:"region_id,omitempty"` Services []Service `json:"services,omitempty"` }
Toolchain : Toolchain struct
type ToolchainTemplate ¶
type ToolchainTemplate struct { GettingStarted *string `json:"getting_started,omitempty"` ServicesTotal *int64 `json:"services_total,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` URL *string `json:"url,omitempty"` Source *string `json:"source,omitempty"` Locale *string `json:"locale,omitempty"` }
ToolchainTemplate : ToolchainTemplate struct