Documentation
¶
Index ¶
- Constants
- type ExecutionMetadata
- type NodeMetadata
- type Parameter
- type Project
- type Semaphore
- func (s *Semaphore) Actions() []core.Action
- func (s *Semaphore) Cancel(ctx core.ExecutionContext) error
- func (s *Semaphore) Color() string
- func (s *Semaphore) Configuration() []configuration.Field
- func (s *Semaphore) Description() string
- func (s *Semaphore) Execute(ctx core.ExecutionContext) error
- func (s *Semaphore) HandleAction(ctx core.ActionContext) error
- func (s *Semaphore) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
- func (s *Semaphore) Icon() string
- func (s *Semaphore) Label() string
- func (s *Semaphore) Name() string
- func (s *Semaphore) OutputChannels(configuration any) []core.OutputChannel
- func (s *Semaphore) ProcessQueueItem(ctx core.ProcessQueueContext) (*uuid.UUID, error)
- func (s *Semaphore) Setup(ctx core.SetupContext) error
- type Spec
- type Workflow
Constants ¶
View Source
const ComponentName = "semaphore"
View Source
const FailedOutputChannel = "failed"
View Source
const PassedOutputChannel = "passed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionMetadata ¶
type NodeMetadata ¶
type NodeMetadata struct {
Project *Project `json:"project"`
}
type Semaphore ¶
type Semaphore struct{}
func (*Semaphore) Configuration ¶
func (s *Semaphore) Configuration() []configuration.Field
func (*Semaphore) Description ¶
func (*Semaphore) HandleAction ¶
func (s *Semaphore) HandleAction(ctx core.ActionContext) error
func (*Semaphore) HandleWebhook ¶
func (s *Semaphore) HandleWebhook(ctx core.WebhookRequestContext) (int, error)
func (*Semaphore) OutputChannels ¶
func (s *Semaphore) OutputChannels(configuration any) []core.OutputChannel
func (*Semaphore) ProcessQueueItem ¶
Click to show internal directories.
Click to hide internal directories.