Documentation
¶
Index ¶
- func NewPipelineRestClient(config settings.Config) (*pipelineRestClient, error)
- type CheckoutSource
- type CheckoutSourceResponse
- type ConfigSource
- type ConfigSourceResponse
- type CreatePipelineInfo
- type GetPipelineDefinitionOptions
- type GetPipelineDefinitionResponse
- type PipelineClient
- type PipelineDefinition
- type Repo
- type RepoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPipelineRestClient ¶
NewPipelineRestClient returns a new pipelineRestClient satisfying the api.PipelineInterface interface via the REST API.
Types ¶
type CheckoutSource ¶
type CheckoutSourceResponse ¶
type CheckoutSourceResponse struct {
Provider string `json:"provider"`
Repo RepoResponse `json:"repo"`
}
type ConfigSource ¶
type ConfigSourceResponse ¶
type ConfigSourceResponse struct {
Provider string `json:"provider"`
Repo RepoResponse `json:"repo"`
FilePath string `json:"file_path"`
}
type CreatePipelineInfo ¶
type GetPipelineDefinitionOptions ¶ added in v0.1.32145
type GetPipelineDefinitionResponse ¶ added in v0.1.32145
type GetPipelineDefinitionResponse struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
CreatedAt string `json:"created_at"`
ConfigSource ConfigSourceResponse `json:"config_source"`
CheckoutSource CheckoutSourceResponse `json:"checkout_source"`
}
type PipelineClient ¶
type PipelineClient interface {
CreatePipeline(projectID string, name string, description string, repoID string, configRepoID string, filePath string) (*CreatePipelineInfo, error)
GetPipelineDefinition(options GetPipelineDefinitionOptions) (*PipelineDefinition, error)
}
PipelineClient is the interface to interact with pipeline and it's components.
type PipelineDefinition ¶ added in v0.1.32145
type RepoResponse ¶
Click to show internal directories.
Click to hide internal directories.