Skip to content

events.v1alpha1.eventDependencyFilter

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

Index

Fields

fn withData

withData(data)

fn 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 withDataMixin

withDataMixin(data)

Note: This function appends passed data to existing values

fn 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 withExprs

withExprs(exprs)

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

fn withExprsMixin

withExprsMixin(exprs)

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

Note: This function appends passed data to existing values

fn withScript

withScript(script)

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

obj context

fn context.withDatacontenttype

withDatacontenttype(datacontenttype)

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

fn context.withId

withId(id)

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

fn context.withSource

withSource(source)

"Source - A URI describing the event producer."

fn context.withSpecversion

withSpecversion(specversion)

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

fn context.withSubject

withSubject(subject)

fn 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 context.withType

withType(type)

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

obj 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 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 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)."