Packages:

argoproj.io/v1alpha1

Package v1alpha1 is the v1alpha1 version of the API.

Resource Types:

AMQPEventSource

(Appears on: EventSourceSpec)

AMQPEventSource refers to an event-source for AMQP stream events

Field Description
url
string

URL for rabbitmq service

exchangeName
string

ExchangeName is the exchange name For more information, visit https://www.rabbitmq.com/tutorials/amqp-concepts.html

exchangeType
string

ExchangeType is rabbitmq exchange type

routingKey
string

Routing key for bindings

connectionBackoff
github.com/argoproj/argo-events/common.Backoff
(Optional)

Backoff holds parameters applied to connection.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

tls
TLSConfig
(Optional)

TLS configuration for the amqp client.

AzureEventsHubEventSource

(Appears on: EventSourceSpec)

AzureEventsHubEventSource describes the event source for azure events hub More info at https://docs.microsoft.com/en-us/azure/event-hubs/

Field Description
fqdn
string

FQDN of the EventHubs namespace you created More info at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string

sharedAccessKeyName
Kubernetes core/v1.SecretKeySelector

SharedAccessKeyName is the name you chose for your application’s SAS keys

sharedAccessKey
Kubernetes core/v1.SecretKeySelector

SharedAccessKey is the the generated value of the key

hubName
string

Event Hub path/name

namespace
string
(Optional)

Namespace refers to Kubernetes namespace which is used to retrieve the shared access key and name from.

CalendarEventSource

(Appears on: EventSourceSpec)

CalendarEventSource describes a time based dependency. One of the fields (schedule, interval, or recurrence) must be passed. Schedule takes precedence over interval; interval takes precedence over recurrence

Field Description
schedule
string

Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron

interval
string

Interval is a string that describes an interval duration, e.g. 1s, 30m, 2h…

exclusionDates
[]string

ExclusionDates defines the list of DATE-TIME exceptions for recurring events.

timezone
string
(Optional)

Timezone in which to run the schedule

userPayload
encoding/json.RawMessage
(Optional)

UserPayload will be sent to sensor as extra data once the event is triggered

EmitterEventSource

(Appears on: EventSourceSpec)

EmitterEventSource describes the event source for emitter More info at https://emitter.io/develop/getting-started/

Field Description
broker
string

Broker URI to connect to.

channelKey
string

ChannelKey refers to the channel key

channelName
string

ChannelName refers to the channel name

namespace
string
(Optional)

Namespace to use to retrieve the channel key and optional username/password

username
Kubernetes core/v1.SecretKeySelector
(Optional)

Username to use to connect to broker

password
Kubernetes core/v1.SecretKeySelector
(Optional)

Password to use to connect to broker

connectionBackoff
github.com/argoproj/argo-events/common.Backoff
(Optional)

Backoff holds parameters applied to connection.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

tls
TLSConfig
(Optional)

TLS configuration for the emitter client.

EventSource

EventSource is the definition of a eventsource resource

Field Description
metadata
Kubernetes meta/v1.ObjectMeta
Refer to the Kubernetes API documentation for the fields of the metadata field.
status
EventSourceStatus
spec
EventSourceSpec


EventSourceSpec

(Appears on: EventSource)

EventSourceSpec refers to specification of event-source resource

Field Description
minio
map[string]github.com/argoproj/argo-events/pkg/apis/common.S3Artifact

Minio event sources

calendar
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.CalendarEventSource

Calendar event sources

file
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.FileEventSource

File event sources

resource
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.ResourceEventSource

Resource event sources

webhook
map[string]github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook event sources

amqp
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.AMQPEventSource

AMQP event sources

kafka
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.KafkaEventSource

Kafka event sources

mqtt
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.MQTTEventSource

MQTT event sources

nats
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.NATSEventsSource

NATS event sources

sns
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.SNSEventSource

SNS event sources

sqs
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.SQSEventSource

SQS event sources

pubSub
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.PubSubEventSource

PubSub eevnt sources

github
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.GithubEventSource

Github event sources

gitlab
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.GitlabEventSource

Gitlab event sources

hdfs
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.HDFSEventSource

HDFS event sources

slack
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.SlackEventSource

Slack event sources

storageGrid
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.StorageGridEventSource

StorageGrid event sources

azureEventsHub
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.AzureEventsHubEventSource

AzureEventsHub event sources

stripe
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.StripeEventSource

Stripe event sources

emitter
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.EmitterEventSource

Emitter event source

redis
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.RedisEventSource

Redis event source

nsq
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.NSQEventSource

NSQ event source

generic
map[string]github.com/argoproj/argo-events/pkg/apis/eventsources/v1alpha1.GenericEventSource

Generic event source

type
Argo Events common.EventSourceType

Type of the event source

EventSourceStatus

(Appears on: EventSource)

EventSourceStatus holds the status of the event-source resource

Field Description
createdAt
Kubernetes meta/v1.Time

FileEventSource

(Appears on: EventSourceSpec)

FileEventSource describes an event-source for file related events.

Field Description
eventType
string

Type of file operations to watch Refer https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more information

watchPathConfig
github.com/argoproj/argo-events/gateways/server/common/fsevent.WatchPathConfig

WatchPathConfig contains configuration about the file path to watch

GenericEventSource

(Appears on: EventSourceSpec)

GenericEventSource refers to a generic event source. It can be used to implement a custom event source.

Field Description
value
string

Value of the event source

GithubEventSource

(Appears on: EventSourceSpec)

GithubEventSource refers to event-source for github related events

Field Description
id
int64

Id is the webhook’s id

webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook refers to the configuration required to run a http server

owner
string

Owner refers to GitHub owner name i.e. argoproj

repository
string

Repository refers to GitHub repo name i.e. argo-events

events
[]string

Events refer to Github events to subscribe to which the gateway will subscribe

apiToken
Kubernetes core/v1.SecretKeySelector

APIToken refers to a K8s secret containing github api token

webhookSecret
Kubernetes core/v1.SecretKeySelector
(Optional)

WebhookSecret refers to K8s secret containing GitHub webhook secret https://developer.github.com/webhooks/securing/

insecure
bool

Insecure tls verification

active
bool
(Optional)

Active refers to status of the webhook for event deliveries. https://developer.github.com/webhooks/creating/#active

contentType
string

ContentType of the event delivery

githubBaseURL
string
(Optional)

GitHub base URL (for GitHub Enterprise)

githubUploadURL
string
(Optional)

GitHub upload URL (for GitHub Enterprise)

namespace
string
(Optional)

Namespace refers to Kubernetes namespace which is used to retrieve webhook secret and api token from.

deleteHookOnFinish
bool
(Optional)

DeleteHookOnFinish determines whether to delete the GitHub hook for the repository once the event source is stopped.

GitlabEventSource

(Appears on: EventSourceSpec)

GitlabEventSource refers to event-source related to Gitlab events

Field Description
webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook holds configuration to run a http server

projectId
string

ProjectId is the id of project for which integration needs to setup

event
string

Event is a gitlab event to listen to. Refer https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794.

accessToken
Kubernetes core/v1.SecretKeySelector

AccessToken is reference to k8 secret which holds the gitlab api access information

enableSSLVerification
bool
(Optional)

EnableSSLVerification to enable ssl verification

gitlabBaseURL
string

GitlabBaseURL is the base URL for API requests to a custom endpoint

namespace
string
(Optional)

Namespace refers to Kubernetes namespace which is used to retrieve access token from.

deleteHookOnFinish
bool
(Optional)

DeleteHookOnFinish determines whether to delete the GitLab hook for the project once the event source is stopped.

allowDuplicate
bool

AllowDuplicate allows the gateway to register the same webhook integrations for multiple event source configurations. Defaults to false.

HDFSEventSource

(Appears on: EventSourceSpec)

HDFSEventSource refers to event-source for HDFS related events

Field Description
WatchPathConfig
github.com/argoproj/argo-events/gateways/server/common/fsevent.WatchPathConfig

(Members of WatchPathConfig are embedded into this type.)

type
string

Type of file operations to watch

checkInterval
string

CheckInterval is a string that describes an interval duration to check the directory state, e.g. 1s, 30m, 2h… (defaults to 1m)

addresses
[]string

Addresses is accessible addresses of HDFS name nodes

hdfsUser
string

HDFSUser is the user to access HDFS file system. It is ignored if either ccache or keytab is used.

krbCCacheSecret
Kubernetes core/v1.SecretKeySelector

KrbCCacheSecret is the secret selector for Kerberos ccache Either ccache or keytab can be set to use Kerberos.

krbKeytabSecret
Kubernetes core/v1.SecretKeySelector

KrbKeytabSecret is the secret selector for Kerberos keytab Either ccache or keytab can be set to use Kerberos.

krbUsername
string

KrbUsername is the Kerberos username used with Kerberos keytab It must be set if keytab is used.

krbRealm
string

KrbRealm is the Kerberos realm used with Kerberos keytab It must be set if keytab is used.

krbConfigConfigMap
Kubernetes core/v1.ConfigMapKeySelector

KrbConfig is the configmap selector for Kerberos config as string It must be set if either ccache or keytab is used.

krbServicePrincipalName
string

KrbServicePrincipalName is the principal name of Kerberos service It must be set if either ccache or keytab is used.

namespace
string
(Optional)

Namespace refers to Kubernetes namespace which is used to retrieve cache secret and ket tab secret from.

KafkaEventSource

(Appears on: EventSourceSpec)

KafkaEventSource refers to event-source for Kafka related events

Field Description
url
string

URL to kafka cluster

partition
string

Partition name

topic
string

Topic name

connectionBackoff
github.com/argoproj/argo-events/common.Backoff

Backoff holds parameters applied to connection.

tls
TLSConfig
(Optional)

TLS configuration for the kafka client.

MQTTEventSource

(Appears on: EventSourceSpec)

MQTTEventSource refers to event-source for MQTT related events

Field Description
url
string

URL to connect to broker

topic
string

Topic name

clientId
string

ClientID is the id of the client

connectionBackoff
github.com/argoproj/argo-events/common.Backoff

ConnectionBackoff holds backoff applied to connection.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

tls
TLSConfig
(Optional)

TLS configuration for the mqtt client.

NATSEventsSource

(Appears on: EventSourceSpec)

NATSEventSource refers to event-source for NATS related events

Field Description
url
string

URL to connect to NATS cluster

subject
string

Subject holds the name of the subject onto which messages are published

connectionBackoff
github.com/argoproj/argo-events/common.Backoff

ConnectionBackoff holds backoff applied to connection.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

tls
TLSConfig
(Optional)

TLS configuration for the nats client.

NSQEventSource

(Appears on: EventSourceSpec)

NSQEventSource describes the event source for NSQ PubSub More info at https://godoc.org/github.com/nsqio/go-nsq

Field Description
hostAddress
string

HostAddress is the address of the host for NSQ lookup

topic
string

Topic to subscribe to.

channel
string

Channel used for subscription

connectionBackoff
github.com/argoproj/argo-events/common.Backoff
(Optional)

Backoff holds parameters applied to connection.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

tls
TLSConfig
(Optional)

TLS configuration for the nsq client.

PubSubEventSource

(Appears on: EventSourceSpec)

PubSubEventSource refers to event-source for GCP PubSub related events.

Field Description
projectID
string

ProjectID is the unique identifier for your project on GCP

topicProjectID
string

TopicProjectID identifies the project where the topic should exist or be created (assumed to be the same as ProjectID by default)

topic
string

Topic on which a subscription will be created

credentialsFile
string

CredentialsFile is the file that contains credentials to authenticate for GCP

deleteSubscriptionOnFinish
bool
(Optional)

DeleteSubscriptionOnFinish determines whether to delete the GCP PubSub subscription once the event source is stopped.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

RedisEventSource

(Appears on: EventSourceSpec)

RedisEventSource describes an event source for the Redis PubSub. More info at https://godoc.org/github.com/go-redis/redis#example-PubSub

Field Description
hostAddress
string

HostAddress refers to the address of the Redis host/server

password
Kubernetes core/v1.SecretKeySelector
(Optional)

Password required for authentication if any.

namespace
string
(Optional)

Namespace to use to retrieve the password from. It should only be specified if password is declared

db
int
(Optional)

DB to use. If not specified, default DB 0 will be used.

channels
[]string

Channels to subscribe to listen events.

tls
TLSConfig
(Optional)

TLS configuration for the redis client.

ResourceEventSource

(Appears on: EventSourceSpec)

ResourceEventSource refers to a event-source for K8s resource related events.

Field Description
namespace
string

Namespace where resource is deployed

filter
ResourceFilter
(Optional)

Filter is applied on the metadata of the resource If you apply filter, then the internal event informer will only monitor objects that pass the filter.

GroupVersionResource
Kubernetes meta/v1.GroupVersionResource

(Members of GroupVersionResource are embedded into this type.)

Group of the resource

eventTypes
[]ResourceEventType

EventTypes is the list of event type to watch. Possible values are - ADD, UPDATE and DELETE.

ResourceEventType (string alias)

(Appears on: ResourceEventSource)

ResourceEventType is the type of event for the K8s resource mutation

ResourceFilter

(Appears on: ResourceEventSource)

ResourceFilter contains K8 ObjectMeta information to further filter resource event objects

Field Description
prefix
string
(Optional)

Prefix filter is applied on the resource name.

labels
[]Selector
(Optional)

Labels provide listing options to K8s API to watch resource/s. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/label-selectors/ for more info.

fields
[]Selector
(Optional)

Fields provide listing options to K8s API to watch resource/s. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/ for more info.

createdBy
Kubernetes meta/v1.Time
(Optional)

If resource is created before the specified time then the event is treated as valid.

SNSEventSource

(Appears on: EventSourceSpec)

SNSEventSource refers to event-source for AWS SNS related events

Field Description
webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook configuration for http server

topicArn
string

TopicArn

accessKey
Kubernetes core/v1.SecretKeySelector

AccessKey refers K8 secret containing aws access key

secretKey
Kubernetes core/v1.SecretKeySelector

SecretKey refers K8 secret containing aws secret key

namespace
string
(Optional)

Namespace refers to Kubernetes namespace to read access related secret from.

region
string

Region is AWS region

roleARN
string
(Optional)

RoleARN is the Amazon Resource Name (ARN) of the role to assume.

SQSEventSource

(Appears on: EventSourceSpec)

SQSEventSource refers to event-source for AWS SQS related events

Field Description
accessKey
Kubernetes core/v1.SecretKeySelector

AccessKey refers K8 secret containing aws access key

secretKey
Kubernetes core/v1.SecretKeySelector

SecretKey refers K8 secret containing aws secret key

region
string

Region is AWS region

queue
string

Queue is AWS SQS queue to listen to for messages

waitTimeSeconds
int64

WaitTimeSeconds is The duration (in seconds) for which the call waits for a message to arrive in the queue before returning.

namespace
string
(Optional)

Namespace refers to Kubernetes namespace to read access related secret from.

roleARN
string
(Optional)

RoleARN is the Amazon Resource Name (ARN) of the role to assume.

jsonBody
bool
(Optional)

JSONBody specifies that all event body payload coming from this source will be JSON

queueAccountId
string
(Optional)

QueueAccountId is the ID of the account that created the queue to monitor

Selector

(Appears on: ResourceFilter)

Selector represents conditional operation to select K8s objects.

Field Description
key
string

Key name

operation
string
(Optional)

Supported operations like ==, !=, <=, >= etc. Defaults to ==. Refer https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors for more info.

value
string

Value

SlackEventSource

(Appears on: EventSourceSpec)

SlackEventSource refers to event-source for Slack related events

Field Description
signingSecret
Kubernetes core/v1.SecretKeySelector

Slack App signing secret

token
Kubernetes core/v1.SecretKeySelector

Token for URL verification handshake

webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook holds configuration for a REST endpoint

namespace
string
(Optional)

Namespace refers to Kubernetes namespace which is used to retrieve token and signing secret from.

StorageGridEventSource

(Appears on: EventSourceSpec)

StorageGridEventSource refers to event-source for StorageGrid related events

Field Description
webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook holds configuration for a REST endpoint

events
[]string

Events are s3 bucket notification events. For more information on s3 notifications, follow https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations Note that storage grid notifications do not contain s3:

filter
StorageGridFilter

Filter on object key which caused the notification.

StorageGridFilter

(Appears on: StorageGridEventSource)

Filter represents filters to apply to bucket notifications for specifying constraints on objects

Field Description
prefix
string
suffix
string

StripeEventSource

(Appears on: EventSourceSpec)

StripeEventSource describes the event source for stripe webhook notifications More info at https://stripe.com/docs/webhooks

Field Description
webhook
github.com/argoproj/argo-events/gateways/server/common/webhook.Context

Webhook holds configuration for a REST endpoint

createWebhook
bool
(Optional)

CreateWebhook if specified creates a new webhook programmatically.

apiKey
Kubernetes core/v1.SecretKeySelector
(Optional)

APIKey refers to K8s secret that holds Stripe API key. Used only if CreateWebhook is enabled.

namespace
string
(Optional)

Namespace to retrieve the APIKey secret from. Must be specified in order to read API key from APIKey K8s secret.

eventFilter
[]string
(Optional)

EventFilter describes the type of events to listen to. If not specified, all types of events will be processed. More info at https://stripe.com/docs/api/events/list

TLSConfig

(Appears on: AMQPEventSource, EmitterEventSource, KafkaEventSource, MQTTEventSource, NATSEventsSource, NSQEventSource, RedisEventSource)

TLSConfig refers to TLS configuration for a client.

Field Description
caCertPath
string

CACertPath refers the file path that contains the CA cert.

clientCertPath
string

ClientCertPath refers the file path that contains client cert.

clientKeyPath
string

ClientKeyPath refers the file path that contains client key.


Generated with gen-crd-api-reference-docs on git commit 81d8555.