Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTriggerRestClient ¶
NewTriggerRestClient returns a new triggerRestClient satisfying the api.TriggerInterface interface via the REST API.
Types ¶
type CreateTriggerInfo ¶
type CreateTriggerOptions ¶
type EventSource ¶
type GetPipelineDefinitionOptions ¶ added in v0.1.32111
type GetPipelineDefinitionResponse ¶ added in v0.1.32111
type GetPipelineDefinitionResponse struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
CreatedAt string `json:"created_at"`
ConfigSource pipeline.ConfigSourceResponse `json:"config_source"`
CheckoutSource pipeline.CheckoutSourceResponse `json:"checkout_source"`
}
type PipelineDefinition ¶ added in v0.1.32111
type RepoResponse ¶
type RepoResponse struct {
ExternalID string `json:"external_id"`
}
type TriggerClient ¶
type TriggerClient interface {
CreateTrigger(options CreateTriggerOptions) (*CreateTriggerInfo, error)
GetPipelineDefinition(options GetPipelineDefinitionOptions) (*PipelineDefinition, error)
}
TriggerClient is the interface to interact with trigger
Click to show internal directories.
Click to hide internal directories.