opentoolchainv1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Package opentoolchainv1 : Operations and models for the OpenToolchainV1 service

Index

Constants

View Source
const DefaultServiceName = "open_toolchain"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://cloud.ibm.com"

DefaultServiceURL is the default URL to make service requests to.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

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 UnmarshalCreateTektonPipelineDefinitionParamsInputsItem added in v0.2.0

func UnmarshalCreateTektonPipelineDefinitionParamsInputsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCreateTektonPipelineDefinitionParamsInputsItem unmarshals an instance of CreateTektonPipelineDefinitionParamsInputsItem from the specified map of raw messages.

func UnmarshalCreateTektonPipelineDefinitionParamsInputsItemScmSource added in v0.2.0

func UnmarshalCreateTektonPipelineDefinitionParamsInputsItemScmSource(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCreateTektonPipelineDefinitionParamsInputsItemScmSource unmarshals an instance of CreateTektonPipelineDefinitionParamsInputsItemScmSource from the specified map of raw messages.

func UnmarshalCreateTektonPipelineDefinitionResponse added in v0.2.0

func UnmarshalCreateTektonPipelineDefinitionResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCreateTektonPipelineDefinitionResponse unmarshals an instance of CreateTektonPipelineDefinitionResponse from the specified map of raw messages.

func UnmarshalCreateTektonPipelineDefinitionResponseDefinition added in v0.2.0

func UnmarshalCreateTektonPipelineDefinitionResponseDefinition(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCreateTektonPipelineDefinitionResponseDefinition unmarshals an instance of CreateTektonPipelineDefinitionResponseDefinition 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 UnmarshalGetServiceInstanceResponse added in v0.2.0

func UnmarshalGetServiceInstanceResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalGetServiceInstanceResponse unmarshals an instance of GetServiceInstanceResponse from the specified map of raw messages.

func UnmarshalGetServiceInstanceResponseServiceInstance added in v0.2.0

func UnmarshalGetServiceInstanceResponseServiceInstance(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalGetServiceInstanceResponseServiceInstance unmarshals an instance of GetServiceInstanceResponseServiceInstance from the specified map of raw messages.

func UnmarshalGetTektonPipelineDefinitionResponse added in v0.2.0

func UnmarshalGetTektonPipelineDefinitionResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalGetTektonPipelineDefinitionResponse unmarshals an instance of GetTektonPipelineDefinitionResponse 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 UnmarshalTektonPipelineInput added in v0.2.0

func UnmarshalTektonPipelineInput(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTektonPipelineInput unmarshals an instance of TektonPipelineInput from the specified map of raw messages.

func UnmarshalTektonPipelineInputScmSource added in v0.2.0

func UnmarshalTektonPipelineInputScmSource(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalTektonPipelineInputScmSource unmarshals an instance of TektonPipelineInputScmSource 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 Container

type Container struct {
	GUID *string `json:"guid,omitempty"`

	Type *string `json:"type,omitempty"`
}

Container : Container struct

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

SetEnvID : Allow user to set EnvID

func (*CreateServiceInstanceOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateServiceInstanceOptions) SetParameters

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 {
	APIKey *string `json:"api_key,omitempty"`

	ServiceKey *string `json:"service_key,omitempty"`

	KeyType *string `json:"key_type,omitempty"`

	ServiceID *string `json:"service_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceURL *string `json:"service_url,omitempty"`

	UserEmail *string `json:"user_email,omitempty"`

	UserPhone *string `json:"user_phone,omitempty"`

	Authorized *string `json:"authorized,omitempty"`

	ChannelName *string `json:"channel_name,omitempty"`

	TeamURL *string `json:"team_url,omitempty"`

	PipelineStart *bool `json:"pipeline_start,omitempty"`

	PipelineSuccess *bool `json:"pipeline_success,omitempty"`

	PipelineFail *bool `json:"pipeline_fail,omitempty"`

	ToolchainBind *bool `json:"toolchain_bind,omitempty"`

	ToolchainUnbind *bool `json:"toolchain_unbind,omitempty"`

	APIToken *string `json:"api_token,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"`

	InstanceName *string `json:"instance-name,omitempty"`

	IntegrationStatus *string `json:"integration-status,omitempty"`

	Region *string `json:"region,omitempty"`

	ResourceGroup *string `json:"resource-group,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 CreateTektonPipelineDefinitionOptions added in v0.2.0

type CreateTektonPipelineDefinitionOptions struct {
	// GUID of the pipeline.
	GUID *string `validate:"required,ne="`

	// Environment ID.
	EnvID *string `validate:"required"`

	Inputs []CreateTektonPipelineDefinitionParamsInputsItem

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateTektonPipelineDefinitionOptions : The CreateTektonPipelineDefinition options.

func (*CreateTektonPipelineDefinitionOptions) SetEnvID added in v0.2.0

SetEnvID : Allow user to set EnvID

func (*CreateTektonPipelineDefinitionOptions) SetGUID added in v0.2.0

SetGUID : Allow user to set GUID

func (*CreateTektonPipelineDefinitionOptions) SetHeaders added in v0.2.0

SetHeaders : Allow user to set Headers

func (*CreateTektonPipelineDefinitionOptions) SetInputs added in v0.2.0

SetInputs : Allow user to set Inputs

type CreateTektonPipelineDefinitionParamsInputsItem added in v0.2.0

type CreateTektonPipelineDefinitionParamsInputsItem struct {
	ScmSource *CreateTektonPipelineDefinitionParamsInputsItemScmSource `json:"scmSource,omitempty"`

	Type *string `json:"type,omitempty"`

	ServiceInstanceID *string `json:"serviceInstanceId,omitempty"`

	ShardDefinitionID *string `json:"shardDefinitionId,omitempty"`
}

CreateTektonPipelineDefinitionParamsInputsItem : CreateTektonPipelineDefinitionParamsInputsItem struct

type CreateTektonPipelineDefinitionParamsInputsItemScmSource added in v0.2.0

type CreateTektonPipelineDefinitionParamsInputsItemScmSource struct {
	Path *string `json:"path,omitempty"`

	URL *string `json:"url,omitempty"`

	Type *string `json:"type,omitempty"`

	BlindConnection *bool `json:"blindConnection,omitempty"`

	Branch *string `json:"branch,omitempty"`
}

CreateTektonPipelineDefinitionParamsInputsItemScmSource : CreateTektonPipelineDefinitionParamsInputsItemScmSource struct

type CreateTektonPipelineDefinitionResponse added in v0.2.0

type CreateTektonPipelineDefinitionResponse struct {
	Definition *CreateTektonPipelineDefinitionResponseDefinition `json:"definition,omitempty"`

	Inputs []TektonPipelineInput `json:"inputs,omitempty"`
}

CreateTektonPipelineDefinitionResponse : CreateTektonPipelineDefinitionResponse struct

type CreateTektonPipelineDefinitionResponseDefinition added in v0.2.0

type CreateTektonPipelineDefinitionResponseDefinition struct {
	PipelineID *string `json:"pipelineId,omitempty"`

	RepoURL *string `json:"repoUrl,omitempty"`

	Branch *string `json:"branch,omitempty"`

	Path *string `json:"path,omitempty"`

	Sha *string `json:"sha,omitempty"`

	ID *string `json:"id,omitempty"`
}

CreateTektonPipelineDefinitionResponseDefinition : CreateTektonPipelineDefinitionResponseDefinition 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

SetEnvID : Allow user to set EnvID

func (*DeleteServiceInstanceOptions) SetGUID

SetGUID : Allow user to set GUID

func (*DeleteServiceInstanceOptions) SetHeaders

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 GetServiceInstanceOptions added in v0.2.0

type GetServiceInstanceOptions struct {
	// GUID of the service instance.
	GUID *string `validate:"required,ne="`

	// Environment ID.
	EnvID *string `validate:"required"`

	// Toolchain ID.
	ToolchainID *string `validate:"required"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetServiceInstanceOptions : The GetServiceInstance options.

func (*GetServiceInstanceOptions) SetEnvID added in v0.2.0

SetEnvID : Allow user to set EnvID

func (*GetServiceInstanceOptions) SetGUID added in v0.2.0

SetGUID : Allow user to set GUID

func (*GetServiceInstanceOptions) SetHeaders added in v0.2.0

func (options *GetServiceInstanceOptions) SetHeaders(param map[string]string) *GetServiceInstanceOptions

SetHeaders : Allow user to set Headers

func (*GetServiceInstanceOptions) SetToolchainID added in v0.2.0

func (options *GetServiceInstanceOptions) SetToolchainID(toolchainID string) *GetServiceInstanceOptions

SetToolchainID : Allow user to set ToolchainID

type GetServiceInstanceResponse added in v0.2.0

type GetServiceInstanceResponse struct {
	ServiceInstance *GetServiceInstanceResponseServiceInstance `json:"serviceInstance,omitempty"`
}

GetServiceInstanceResponse : GetServiceInstanceResponse struct

type GetServiceInstanceResponseServiceInstance added in v0.2.0

type GetServiceInstanceResponseServiceInstance struct {
	InstanceID *string `json:"instance_id,omitempty"`

	DashboardURL *string `json:"dashboard_url,omitempty"`

	ServiceID *string `json:"service_id,omitempty"`

	Parameters map[string]interface{} `json:"parameters,omitempty"`
}

GetServiceInstanceResponseServiceInstance : GetServiceInstanceResponseServiceInstance 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

SetEnvID : Allow user to set EnvID

func (*GetTektonPipelineDefinitionOptions) SetGUID

SetGUID : Allow user to set GUID

func (*GetTektonPipelineDefinitionOptions) SetHeaders

SetHeaders : Allow user to set Headers

type GetTektonPipelineDefinitionResponse added in v0.2.0

type GetTektonPipelineDefinitionResponse 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"`
}

GetTektonPipelineDefinitionResponse : GetTektonPipelineDefinitionResponse struct

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

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) CreateTektonPipelineDefinition added in v0.2.0

func (openToolchain *OpenToolchainV1) CreateTektonPipelineDefinition(createTektonPipelineDefinitionOptions *CreateTektonPipelineDefinitionOptions) (result *CreateTektonPipelineDefinitionResponse, response *core.DetailedResponse, err error)

CreateTektonPipelineDefinition : Create tekton pipeline definition

func (*OpenToolchainV1) CreateTektonPipelineDefinitionWithContext added in v0.2.0

func (openToolchain *OpenToolchainV1) CreateTektonPipelineDefinitionWithContext(ctx context.Context, createTektonPipelineDefinitionOptions *CreateTektonPipelineDefinitionOptions) (result *CreateTektonPipelineDefinitionResponse, response *core.DetailedResponse, err error)

CreateTektonPipelineDefinitionWithContext is an alternate form of the CreateTektonPipelineDefinition 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) GetServiceInstance added in v0.2.0

func (openToolchain *OpenToolchainV1) GetServiceInstance(getServiceInstanceOptions *GetServiceInstanceOptions) (result *GetServiceInstanceResponse, response *core.DetailedResponse, err error)

GetServiceInstance : Returns details about a particular service instance

func (*OpenToolchainV1) GetServiceInstanceWithContext added in v0.2.0

func (openToolchain *OpenToolchainV1) GetServiceInstanceWithContext(ctx context.Context, getServiceInstanceOptions *GetServiceInstanceOptions) (result *GetServiceInstanceResponse, response *core.DetailedResponse, err error)

GetServiceInstanceWithContext is an alternate form of the GetServiceInstance method which supports a Context parameter

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 *GetTektonPipelineDefinitionResponse, response *core.DetailedResponse, err error)

GetTektonPipelineDefinition : Get tekton pipeline definition

func (*OpenToolchainV1) GetTektonPipelineDefinitionWithContext

func (openToolchain *OpenToolchainV1) GetTektonPipelineDefinitionWithContext(ctx context.Context, getTektonPipelineDefinitionOptions *GetTektonPipelineDefinitionOptions) (result *GetTektonPipelineDefinitionResponse, 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) NewCreateTektonPipelineDefinitionOptions added in v0.2.0

func (*OpenToolchainV1) NewCreateTektonPipelineDefinitionOptions(guid string, envID string) *CreateTektonPipelineDefinitionOptions

NewCreateTektonPipelineDefinitionOptions : Instantiate CreateTektonPipelineDefinitionOptions

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) NewGetServiceInstanceOptions added in v0.2.0

func (*OpenToolchainV1) NewGetServiceInstanceOptions(guid string, envID string, toolchainID string) *GetServiceInstanceOptions

NewGetServiceInstanceOptions : Instantiate GetServiceInstanceOptions

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, 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

SetEnvID : Allow user to set EnvID

func (*PatchServiceInstanceOptions) SetGUID

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

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 {
	APIKey *string `json:"api_key,omitempty"`

	ServiceKey *string `json:"service_key,omitempty"`

	KeyType *string `json:"key_type,omitempty"`

	ServiceID *string `json:"service_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceURL *string `json:"service_url,omitempty"`

	UserEmail *string `json:"user_email,omitempty"`

	UserPhone *string `json:"user_phone,omitempty"`

	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"`

	InstanceName *string `json:"instance-name,omitempty"`

	IntegrationStatus *string `json:"integration-status,omitempty"`

	Region *string `json:"region,omitempty"`

	ResourceGroup *string `json:"resource-group,omitempty"`

	ChannelName *string `json:"channel_name,omitempty"`

	TeamURL *string `json:"team_url,omitempty"`

	PipelineStart *bool `json:"pipeline_start,omitempty"`

	PipelineSuccess *bool `json:"pipeline_success,omitempty"`

	PipelineFail *bool `json:"pipeline_fail,omitempty"`

	ToolchainBind *bool `json:"toolchain_bind,omitempty"`

	ToolchainUnbind *bool `json:"toolchain_unbind,omitempty"`

	APIToken *string `json:"api_token,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

	Inputs []TektonPipelineInput

	Triggers []TektonPipelineTrigger

	PipelineDefinitionID *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

PatchTektonPipelineOptions : The PatchTektonPipeline options.

func (*PatchTektonPipelineOptions) SetEnvID

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

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) SetInputs added in v0.2.0

SetInputs : Allow user to set Inputs

func (*PatchTektonPipelineOptions) SetPipelineDefinitionID added in v0.2.0

func (options *PatchTektonPipelineOptions) SetPipelineDefinitionID(pipelineDefinitionID string) *PatchTektonPipelineOptions

SetPipelineDefinitionID : Allow user to set PipelineDefinitionID

func (*PatchTektonPipelineOptions) SetTriggers

SetTriggers : Allow user to set Triggers

func (*PatchTektonPipelineOptions) SetWorker

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"`

	Inputs []TektonPipelineInput `json:"inputs,omitempty"`

	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 TektonPipelineInput added in v0.2.0

type TektonPipelineInput struct {
	Type *string `json:"type,omitempty"`

	ServiceInstanceID *string `json:"serviceInstanceId,omitempty"`

	ShardDefinitionID *string `json:"shardDefinitionId,omitempty"`

	ScmSource *TektonPipelineInputScmSource `json:"scmSource,omitempty"`
}

TektonPipelineInput : TektonPipelineInput struct

type TektonPipelineInputScmSource added in v0.2.0

type TektonPipelineInputScmSource struct {
	Path *string `json:"path,omitempty"`

	URL *string `json:"url,omitempty"`

	Type *string `json:"type,omitempty"`

	BlindConnection *bool `json:"blindConnection,omitempty"`

	Branch *string `json:"branch,omitempty"`
}

TektonPipelineInputScmSource : TektonPipelineInputScmSource 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,omitempty"`

	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL