Skip to content

events.v1alpha1.slackTrigger

"SlackTrigger refers to the specification of the slack notification trigger."

Index

Fields

fn withAttachments

withAttachments(attachments)

fn withBlocks

withBlocks(blocks)

fn withChannel

withChannel(channel)

fn withMessage

withMessage(message)

fn withParameters

withParameters(parameters)

fn withParametersMixin

withParametersMixin(parameters)

Note: This function appends passed data to existing values

obj sender

fn sender.withIcon

withIcon(icon)

fn sender.withUsername

withUsername(username)

obj slackToken

"SecretKeySelector selects a key of a Secret."

fn slackToken.withKey

withKey(key)

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

fn slackToken.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 slackToken.withOptional

withOptional(optional)

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

obj thread

fn thread.withBroadcastMessageToChannel

withBroadcastMessageToChannel(broadcastMessageToChannel)

fn thread.withMessageAggregationKey

withMessageAggregationKey(messageAggregationKey)