Skip to content

events.v1alpha1.pubSubEventSource

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

Index

Fields

fn withDeleteSubscriptionOnFinish

withDeleteSubscriptionOnFinish(deleteSubscriptionOnFinish)

fn withJsonBody

withJsonBody(jsonBody)

fn withMetadata

withMetadata(metadata)

fn withMetadataMixin

withMetadataMixin(metadata)

Note: This function appends passed data to existing values

fn withProjectID

withProjectID(projectID)

fn withSubscriptionID

withSubscriptionID(subscriptionID)

fn withTopic

withTopic(topic)

fn withTopicProjectID

withTopicProjectID(topicProjectID)

obj credentialSecret

"SecretKeySelector selects a key of a Secret."

fn credentialSecret.withKey

withKey(key)

"The key of the secret to select from. Must be a valid secret key."

fn credentialSecret.withName

withName(name)

"Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"

fn credentialSecret.withOptional

withOptional(optional)

"Specify whether the Secret or its key must be defined"

obj filter

fn filter.withExpression

withExpression(expression)