trigger

package
v0.1.47860 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTriggerRestClient

func NewTriggerRestClient(config settings.Config) (*triggerRestClient, error)

NewTriggerRestClient returns a new triggerRestClient satisfying the api.TriggerInterface interface via the REST API.

Types

type CreateTriggerInfo

type CreateTriggerInfo struct {
	Id string
}

type CreateTriggerOptions

type CreateTriggerOptions struct {
	ProjectID            string
	PipelineDefinitionID string
	RepoID               string
	EventPreset          string
	ConfigRef            string
	CheckoutRef          string
}

type EventSource

type EventSource struct {
	Provider string `json:"provider"`
	Repo     Repo   `json:"repo"`
}

type GetPipelineDefinitionOptions added in v0.1.32111

type GetPipelineDefinitionOptions struct {
	ProjectID            string
	PipelineDefinitionID string
}

type Repo

type Repo struct {
	ExternalID string `json:"external_id"`
}

type RepoResponse

type RepoResponse struct {
	ExternalID string `json:"external_id"`
}

type TriggerClient

type TriggerClient interface {
	CreateTrigger(options CreateTriggerOptions) (*CreateTriggerInfo, error)
}

TriggerClient is the interface to interact with trigger

Jump to

Keyboard shortcuts

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