Skip to content

events.v1alpha1.eventDependency

Index

Fields

fn withEventName

withEventName(eventName)

fn withEventSourceName

withEventSourceName(eventSourceName)

fn withFiltersLogicalOperator

withFiltersLogicalOperator(filtersLogicalOperator)

"FiltersLogicalOperator defines how different filters are evaluated together.\nAvailable values: and (&&), or (||)\nIs optional and if left blank treated as and (&&)."

fn withName

withName(name)

obj filters

"EventDependencyFilter defines filters and constraints for a io.argoproj.workflow.v1alpha1."

fn filters.withData

withData(data)

fn filters.withDataLogicalOperator

withDataLogicalOperator(dataLogicalOperator)

"DataLogicalOperator defines how multiple Data filters (if defined) are evaluated together.\nAvailable values: and (&&), or (||)\nIs optional and if left blank treated as and (&&)."

fn filters.withDataMixin

withDataMixin(data)

Note: This function appends passed data to existing values

fn filters.withExprLogicalOperator

withExprLogicalOperator(exprLogicalOperator)

"ExprLogicalOperator defines how multiple Exprs filters (if defined) are evaluated together.\nAvailable values: and (&&), or (||)\nIs optional and if left blank treated as and (&&)."

fn filters.withExprs

withExprs(exprs)

"Exprs contains the list of expressions evaluated against the event payload."

fn filters.withExprsMixin

withExprsMixin(exprs)

"Exprs contains the list of expressions evaluated against the event payload."

Note: This function appends passed data to existing values

fn filters.withScript

withScript(script)

"Script refers to a Lua script evaluated to determine the validity of an io.argoproj.workflow.v1alpha1."

obj filters.context

fn filters.context.withDatacontenttype

withDatacontenttype(datacontenttype)

"DataContentType - A MIME (RFC2046) string describing the media type of data."

fn filters.context.withId

withId(id)

"ID of the event; must be non-empty and unique within the scope of the producer."

fn filters.context.withSource

withSource(source)

"Source - A URI describing the event producer."

fn filters.context.withSpecversion

withSpecversion(specversion)

"SpecVersion - The version of the CloudEvents specification used by the io.argoproj.workflow.v1alpha1."

fn filters.context.withSubject

withSubject(subject)

fn filters.context.withTime

withTime(time)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn filters.context.withType

withType(type)

"Type - The type of the occurrence which has happened."

obj filters.time

"TimeFilter describes a window in time.\nIt filters out events that occur outside the time limits.\nIn other words, only events that occur after Start and before Stop\nwill pass this filter."

fn filters.time.withStart

withStart(start)

"Start is the beginning of a time window in UTC.\nBefore this time, events for this dependency are ignored.\nFormat is hh:mm:ss."

fn filters.time.withStop

withStop(stop)

"Stop is the end of a time window in UTC.\nAfter or equal to this time, events for this dependency are ignored and\nFormat is hh:mm:ss.\nIf it is smaller than Start, it is treated as next day of Start\n(e.g.: 22:00:00-01:00:00 means 22:00:00-25:00:00)."

obj transform

fn transform.withJq

withJq(jq)

fn transform.withScript

withScript(script)