conditions

package
v0.0.0-...-ff628f3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntityConditionRequest

func NewEntityConditionRequest() *entityConditionRequest

func NewEventConditionRequest

func NewEventConditionRequest() *eventConditionRequest

func NewProcessingChannelConditionRequest

func NewProcessingChannelConditionRequest() *processingChannelConditionRequest

Types

type Conditions

Responses

type ConditionsRequest

type ConditionsRequest interface {
	GetType() WorkflowConditionType
}

Requests

type ConditionsResponse

type ConditionsResponse struct {
	Id   string                `json:"id,omitempty"`
	Type WorkflowConditionType `json:"type,omitempty"`
	Conditions
	Links map[string]common.Link `json:"_links,omitempty"`
}

Responses

type EntitiesCondition

type EntitiesCondition struct {
	Entities []string `json:"entities,omitempty"`
}

Responses

type EventsCondition

type EventsCondition struct {
	Events map[string][]string `json:"events,omitempty"`
}

Responses

type ProcessingChannelCondition

type ProcessingChannelCondition struct {
	ProcessingChannels []string `json:"processing_channels,omitempty"`
}

Responses

type WorkflowConditionType

type WorkflowConditionType string
const (
	Event             WorkflowConditionType = "event"
	Entity            WorkflowConditionType = "entity"
	ProcessingChannel WorkflowConditionType = "processing_channel"
)

type WorkflowConditions

type WorkflowConditions struct {
	Type WorkflowConditionType `json:"type,omitempty"`
}

Requests

Jump to

Keyboard shortcuts

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