Documentation ¶
Index ¶
- type AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithAPIVersion(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithGenerateName(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithGeneration(value int64) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithKind(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithName(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithNamespace(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithResourceVersion(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithSpec(value *AlertmanagerConfigSpecApplyConfiguration) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithUID(value types.UID) *AlertmanagerConfigApplyConfiguration
- type AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules(values ...*InhibitRuleApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithReceivers(values ...*ReceiverApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithRoute(value *RouteApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithTimeIntervals(values ...*TimeIntervalApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- type DayOfMonthRangeApplyConfiguration
- type DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithMessage(value string) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithSendResolved(value bool) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithTitle(value string) *DiscordConfigApplyConfiguration
- type EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthIdentity(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthPassword(value *SecretKeySelectorApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthSecret(value *SecretKeySelectorApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthUsername(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithFrom(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHTML(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHeaders(values ...*KeyValueApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHello(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithRequireTLS(value bool) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithSendResolved(value bool) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithSmarthost(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithText(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithTo(value string) *EmailConfigApplyConfiguration
- type HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithBearerTokenSecret(value *SecretKeySelectorApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithProxyURL(value string) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HTTPConfigApplyConfiguration
- type InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithEqual(values ...string) *InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithSourceMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithTargetMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
- type KeyValueApplyConfiguration
- type MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithSendResolved(value bool) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithSummary(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithText(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithTitle(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithWebhookURL(value v1.SecretKeySelector) *MSTeamsConfigApplyConfiguration
- type MatcherApplyConfiguration
- type OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithAPIKey(value *SecretKeySelectorApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithAPIURL(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithActions(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithDescription(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithEntity(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithMessage(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithNote(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithPriority(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithResponders(values ...*OpsGenieConfigResponderApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithSendResolved(value bool) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithSource(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithTags(value string) *OpsGenieConfigApplyConfiguration
- type OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithID(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithName(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithType(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithUsername(value string) *OpsGenieConfigResponderApplyConfiguration
- type PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClass(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClient(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClientURL(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithComponent(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithDescription(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithGroup(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs(values ...*PagerDutyImageConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs(values ...*PagerDutyLinkConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithRoutingKey(value *SecretKeySelectorApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithSendResolved(value bool) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithServiceKey(value *SecretKeySelectorApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithSeverity(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithURL(value string) *PagerDutyConfigApplyConfiguration
- type PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithAlt(value string) *PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithHref(value string) *PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithSrc(value string) *PagerDutyImageConfigApplyConfiguration
- type PagerDutyLinkConfigApplyConfiguration
- type PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithDevice(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithExpire(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithHTML(value bool) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithMessage(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithPriority(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithRetry(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithSendResolved(value bool) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithSound(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithTitle(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithToken(value *SecretKeySelectorApplyConfiguration) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithTokenFile(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithURL(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithURLTitle(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithUserKey(value *SecretKeySelectorApplyConfiguration) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithUserKeyFile(value string) *PushoverConfigApplyConfiguration
- type ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithDiscordConfigs(values ...*DiscordConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithEmailConfigs(values ...*EmailConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithMSTeamsConfigs(values ...*MSTeamsConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithName(value string) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithOpsGenieConfigs(values ...*OpsGenieConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithPagerDutyConfigs(values ...*PagerDutyConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithPushoverConfigs(values ...*PushoverConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithSNSConfigs(values ...*SNSConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithSlackConfigs(values ...*SlackConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithTelegramConfigs(values ...*TelegramConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithVictorOpsConfigs(values ...*VictorOpsConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWeChatConfigs(values ...*WeChatConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWebexConfigs(values ...*WebexConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWebhookConfigs(values ...*WebhookConfigApplyConfiguration) *ReceiverApplyConfiguration
- type RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithActiveTimeIntervals(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithContinue(value bool) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupBy(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupInterval(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupWait(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithMatchers(values ...*MatcherApplyConfiguration) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithMuteTimeIntervals(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithReceiver(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithRepeatInterval(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithRoutes(values ...v1.JSON) *RouteApplyConfiguration
- type SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithApiURL(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithAttributes(entries map[string]string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithMessage(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithPhoneNumber(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSendResolved(value bool) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSigv4(value *v1.Sigv4ApplyConfiguration) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSubject(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithTargetARN(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithTopicARN(value string) *SNSConfigApplyConfiguration
- type SecretKeySelectorApplyConfiguration
- type SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithConfirmField(value *SlackConfirmationFieldApplyConfiguration) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithName(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithStyle(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithText(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithType(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithURL(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithValue(value string) *SlackActionApplyConfiguration
- type SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithAPIURL(value *SecretKeySelectorApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithActions(values ...*SlackActionApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithCallbackID(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithChannel(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithColor(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFallback(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFields(values ...*SlackFieldApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFooter(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithIconEmoji(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithIconURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithImageURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithLinkNames(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithMrkdwnIn(values ...string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithPretext(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithSendResolved(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithShortFields(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithText(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithThumbURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithTitle(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithTitleLink(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithUsername(value string) *SlackConfigApplyConfiguration
- type SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithDismissText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithOkText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithTitle(value string) *SlackConfirmationFieldApplyConfiguration
- type SlackFieldApplyConfiguration
- type TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithAPIURL(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithBotToken(value *SecretKeySelectorApplyConfiguration) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithBotTokenFile(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithChatID(value int64) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithDisableNotifications(value bool) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithMessage(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithParseMode(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithSendResolved(value bool) *TelegramConfigApplyConfiguration
- type TimeIntervalApplyConfiguration
- type TimePeriodApplyConfiguration
- func (b *TimePeriodApplyConfiguration) WithDaysOfMonth(values ...*DayOfMonthRangeApplyConfiguration) *TimePeriodApplyConfiguration
- func (b *TimePeriodApplyConfiguration) WithMonths(values ...monitoringv1beta1.MonthRange) *TimePeriodApplyConfiguration
- func (b *TimePeriodApplyConfiguration) WithTimes(values ...*TimeRangeApplyConfiguration) *TimePeriodApplyConfiguration
- func (b *TimePeriodApplyConfiguration) WithWeekdays(values ...monitoringv1beta1.WeekdayRange) *TimePeriodApplyConfiguration
- func (b *TimePeriodApplyConfiguration) WithYears(values ...monitoringv1beta1.YearRange) *TimePeriodApplyConfiguration
- type TimeRangeApplyConfiguration
- type VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithAPIKey(value *SecretKeySelectorApplyConfiguration) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithAPIURL(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithCustomFields(values ...*KeyValueApplyConfiguration) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithEntityDisplayName(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithMessageType(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithMonitoringTool(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithRoutingKey(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithSendResolved(value bool) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithStateMessage(value string) *VictorOpsConfigApplyConfiguration
- type WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAPISecret(value *SecretKeySelectorApplyConfiguration) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAPIURL(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAgentID(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithCorpID(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithMessage(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithMessageType(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithSendResolved(value bool) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToParty(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToTag(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToUser(value string) *WeChatConfigApplyConfiguration
- type WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithAPIURL(value v1beta1.URL) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithMessage(value string) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithRoomID(value string) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithSendResolved(value bool) *WebexConfigApplyConfiguration
- type WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithMaxAlerts(value int32) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithSendResolved(value bool) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithURL(value string) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithURLSecret(value *SecretKeySelectorApplyConfiguration) *WebhookConfigApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertmanagerConfigApplyConfiguration ¶
type AlertmanagerConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AlertmanagerConfigSpecApplyConfiguration `json:"spec,omitempty"` }
AlertmanagerConfigApplyConfiguration represents an declarative configuration of the AlertmanagerConfig type for use with apply.
func AlertmanagerConfig ¶
func AlertmanagerConfig(name, namespace string) *AlertmanagerConfigApplyConfiguration
AlertmanagerConfig constructs an declarative configuration of the AlertmanagerConfig type for use with apply.
func (*AlertmanagerConfigApplyConfiguration) WithAPIVersion ¶
func (b *AlertmanagerConfigApplyConfiguration) WithAPIVersion(value string) *AlertmanagerConfigApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithAnnotations ¶
func (b *AlertmanagerConfigApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerConfigApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*AlertmanagerConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *AlertmanagerConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerConfigApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithFinalizers ¶
func (b *AlertmanagerConfigApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerConfigApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*AlertmanagerConfigApplyConfiguration) WithGenerateName ¶
func (b *AlertmanagerConfigApplyConfiguration) WithGenerateName(value string) *AlertmanagerConfigApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithGeneration ¶
func (b *AlertmanagerConfigApplyConfiguration) WithGeneration(value int64) *AlertmanagerConfigApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithKind ¶
func (b *AlertmanagerConfigApplyConfiguration) WithKind(value string) *AlertmanagerConfigApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithLabels ¶
func (b *AlertmanagerConfigApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerConfigApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*AlertmanagerConfigApplyConfiguration) WithName ¶
func (b *AlertmanagerConfigApplyConfiguration) WithName(value string) *AlertmanagerConfigApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithNamespace ¶
func (b *AlertmanagerConfigApplyConfiguration) WithNamespace(value string) *AlertmanagerConfigApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithOwnerReferences ¶
func (b *AlertmanagerConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerConfigApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*AlertmanagerConfigApplyConfiguration) WithResourceVersion ¶
func (b *AlertmanagerConfigApplyConfiguration) WithResourceVersion(value string) *AlertmanagerConfigApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithSpec ¶
func (b *AlertmanagerConfigApplyConfiguration) WithSpec(value *AlertmanagerConfigSpecApplyConfiguration) *AlertmanagerConfigApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithUID ¶
func (b *AlertmanagerConfigApplyConfiguration) WithUID(value types.UID) *AlertmanagerConfigApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type AlertmanagerConfigSpecApplyConfiguration ¶
type AlertmanagerConfigSpecApplyConfiguration struct { Route *RouteApplyConfiguration `json:"route,omitempty"` Receivers []ReceiverApplyConfiguration `json:"receivers,omitempty"` InhibitRules []InhibitRuleApplyConfiguration `json:"inhibitRules,omitempty"` TimeIntervals []TimeIntervalApplyConfiguration `json:"timeIntervals,omitempty"` }
AlertmanagerConfigSpecApplyConfiguration represents an declarative configuration of the AlertmanagerConfigSpec type for use with apply.
func AlertmanagerConfigSpec ¶
func AlertmanagerConfigSpec() *AlertmanagerConfigSpecApplyConfiguration
AlertmanagerConfigSpecApplyConfiguration constructs an declarative configuration of the AlertmanagerConfigSpec type for use with apply.
func (*AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules(values ...*InhibitRuleApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithInhibitRules adds the given value to the InhibitRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InhibitRules field.
func (*AlertmanagerConfigSpecApplyConfiguration) WithReceivers ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithReceivers(values ...*ReceiverApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithReceivers adds the given value to the Receivers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Receivers field.
func (*AlertmanagerConfigSpecApplyConfiguration) WithRoute ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithRoute(value *RouteApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithRoute sets the Route field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Route field is set to the value of the last call.
func (*AlertmanagerConfigSpecApplyConfiguration) WithTimeIntervals ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithTimeIntervals(values ...*TimeIntervalApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithTimeIntervals adds the given value to the TimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TimeIntervals field.
type DayOfMonthRangeApplyConfiguration ¶
type DayOfMonthRangeApplyConfiguration struct { Start *int `json:"start,omitempty"` End *int `json:"end,omitempty"` }
DayOfMonthRangeApplyConfiguration represents an declarative configuration of the DayOfMonthRange type for use with apply.
func DayOfMonthRange ¶
func DayOfMonthRange() *DayOfMonthRangeApplyConfiguration
DayOfMonthRangeApplyConfiguration constructs an declarative configuration of the DayOfMonthRange type for use with apply.
func (*DayOfMonthRangeApplyConfiguration) WithEnd ¶
func (b *DayOfMonthRangeApplyConfiguration) WithEnd(value int) *DayOfMonthRangeApplyConfiguration
WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.
func (*DayOfMonthRangeApplyConfiguration) WithStart ¶
func (b *DayOfMonthRangeApplyConfiguration) WithStart(value int) *DayOfMonthRangeApplyConfiguration
WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.
type DiscordConfigApplyConfiguration ¶ added in v0.67.0
type DiscordConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIURL *v1.SecretKeySelector `json:"apiURL,omitempty"` Title *string `json:"title,omitempty"` Message *string `json:"message,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
DiscordConfigApplyConfiguration represents an declarative configuration of the DiscordConfig type for use with apply.
func DiscordConfig ¶ added in v0.67.0
func DiscordConfig() *DiscordConfigApplyConfiguration
DiscordConfigApplyConfiguration constructs an declarative configuration of the DiscordConfig type for use with apply.
func (*DiscordConfigApplyConfiguration) WithAPIURL ¶ added in v0.67.0
func (b *DiscordConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *DiscordConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithHTTPConfig ¶ added in v0.67.0
func (b *DiscordConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *DiscordConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithMessage ¶ added in v0.67.0
func (b *DiscordConfigApplyConfiguration) WithMessage(value string) *DiscordConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithSendResolved ¶ added in v0.67.0
func (b *DiscordConfigApplyConfiguration) WithSendResolved(value bool) *DiscordConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithTitle ¶ added in v0.67.0
func (b *DiscordConfigApplyConfiguration) WithTitle(value string) *DiscordConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
type EmailConfigApplyConfiguration ¶
type EmailConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` To *string `json:"to,omitempty"` From *string `json:"from,omitempty"` Hello *string `json:"hello,omitempty"` Smarthost *string `json:"smarthost,omitempty"` AuthUsername *string `json:"authUsername,omitempty"` AuthPassword *SecretKeySelectorApplyConfiguration `json:"authPassword,omitempty"` AuthSecret *SecretKeySelectorApplyConfiguration `json:"authSecret,omitempty"` AuthIdentity *string `json:"authIdentity,omitempty"` Headers []KeyValueApplyConfiguration `json:"headers,omitempty"` HTML *string `json:"html,omitempty"` Text *string `json:"text,omitempty"` RequireTLS *bool `json:"requireTLS,omitempty"` TLSConfig *v1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` }
EmailConfigApplyConfiguration represents an declarative configuration of the EmailConfig type for use with apply.
func EmailConfig ¶
func EmailConfig() *EmailConfigApplyConfiguration
EmailConfigApplyConfiguration constructs an declarative configuration of the EmailConfig type for use with apply.
func (*EmailConfigApplyConfiguration) WithAuthIdentity ¶
func (b *EmailConfigApplyConfiguration) WithAuthIdentity(value string) *EmailConfigApplyConfiguration
WithAuthIdentity sets the AuthIdentity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthIdentity field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthPassword ¶
func (b *EmailConfigApplyConfiguration) WithAuthPassword(value *SecretKeySelectorApplyConfiguration) *EmailConfigApplyConfiguration
WithAuthPassword sets the AuthPassword field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthPassword field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthSecret ¶
func (b *EmailConfigApplyConfiguration) WithAuthSecret(value *SecretKeySelectorApplyConfiguration) *EmailConfigApplyConfiguration
WithAuthSecret sets the AuthSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthSecret field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthUsername ¶
func (b *EmailConfigApplyConfiguration) WithAuthUsername(value string) *EmailConfigApplyConfiguration
WithAuthUsername sets the AuthUsername field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthUsername field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithFrom ¶
func (b *EmailConfigApplyConfiguration) WithFrom(value string) *EmailConfigApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithHTML ¶
func (b *EmailConfigApplyConfiguration) WithHTML(value string) *EmailConfigApplyConfiguration
WithHTML sets the HTML field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTML field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithHeaders ¶
func (b *EmailConfigApplyConfiguration) WithHeaders(values ...*KeyValueApplyConfiguration) *EmailConfigApplyConfiguration
WithHeaders adds the given value to the Headers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Headers field.
func (*EmailConfigApplyConfiguration) WithHello ¶
func (b *EmailConfigApplyConfiguration) WithHello(value string) *EmailConfigApplyConfiguration
WithHello sets the Hello field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hello field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithRequireTLS ¶
func (b *EmailConfigApplyConfiguration) WithRequireTLS(value bool) *EmailConfigApplyConfiguration
WithRequireTLS sets the RequireTLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequireTLS field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithSendResolved ¶
func (b *EmailConfigApplyConfiguration) WithSendResolved(value bool) *EmailConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithSmarthost ¶
func (b *EmailConfigApplyConfiguration) WithSmarthost(value string) *EmailConfigApplyConfiguration
WithSmarthost sets the Smarthost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Smarthost field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithTLSConfig ¶
func (b *EmailConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *EmailConfigApplyConfiguration
WithTLSConfig sets the TLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSConfig field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithText ¶
func (b *EmailConfigApplyConfiguration) WithText(value string) *EmailConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithTo ¶
func (b *EmailConfigApplyConfiguration) WithTo(value string) *EmailConfigApplyConfiguration
WithTo sets the To field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the To field is set to the value of the last call.
type HTTPConfigApplyConfiguration ¶
type HTTPConfigApplyConfiguration struct { Authorization *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` BasicAuth *v1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *v1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` BearerTokenSecret *SecretKeySelectorApplyConfiguration `json:"bearerTokenSecret,omitempty"` TLSConfig *v1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyURL *string `json:"proxyURL,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` }
HTTPConfigApplyConfiguration represents an declarative configuration of the HTTPConfig type for use with apply.
func HTTPConfig ¶
func HTTPConfig() *HTTPConfigApplyConfiguration
HTTPConfigApplyConfiguration constructs an declarative configuration of the HTTPConfig type for use with apply.
func (*HTTPConfigApplyConfiguration) WithAuthorization ¶
func (b *HTTPConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HTTPConfigApplyConfiguration
WithAuthorization sets the Authorization field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Authorization field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithBasicAuth ¶
func (b *HTTPConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HTTPConfigApplyConfiguration
WithBasicAuth sets the BasicAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BasicAuth field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithBearerTokenSecret ¶
func (b *HTTPConfigApplyConfiguration) WithBearerTokenSecret(value *SecretKeySelectorApplyConfiguration) *HTTPConfigApplyConfiguration
WithBearerTokenSecret sets the BearerTokenSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenSecret field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithFollowRedirects ¶
func (b *HTTPConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPConfigApplyConfiguration
WithFollowRedirects sets the FollowRedirects field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FollowRedirects field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithOAuth2 ¶
func (b *HTTPConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HTTPConfigApplyConfiguration
WithOAuth2 sets the OAuth2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OAuth2 field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithProxyURL ¶
func (b *HTTPConfigApplyConfiguration) WithProxyURL(value string) *HTTPConfigApplyConfiguration
WithProxyURL sets the ProxyURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyURL field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithTLSConfig ¶
func (b *HTTPConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HTTPConfigApplyConfiguration
WithTLSConfig sets the TLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSConfig field is set to the value of the last call.
type InhibitRuleApplyConfiguration ¶
type InhibitRuleApplyConfiguration struct { TargetMatch []MatcherApplyConfiguration `json:"targetMatch,omitempty"` SourceMatch []MatcherApplyConfiguration `json:"sourceMatch,omitempty"` Equal []string `json:"equal,omitempty"` }
InhibitRuleApplyConfiguration represents an declarative configuration of the InhibitRule type for use with apply.
func InhibitRule ¶
func InhibitRule() *InhibitRuleApplyConfiguration
InhibitRuleApplyConfiguration constructs an declarative configuration of the InhibitRule type for use with apply.
func (*InhibitRuleApplyConfiguration) WithEqual ¶
func (b *InhibitRuleApplyConfiguration) WithEqual(values ...string) *InhibitRuleApplyConfiguration
WithEqual adds the given value to the Equal field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Equal field.
func (*InhibitRuleApplyConfiguration) WithSourceMatch ¶
func (b *InhibitRuleApplyConfiguration) WithSourceMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
WithSourceMatch adds the given value to the SourceMatch field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SourceMatch field.
func (*InhibitRuleApplyConfiguration) WithTargetMatch ¶
func (b *InhibitRuleApplyConfiguration) WithTargetMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
WithTargetMatch adds the given value to the TargetMatch field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TargetMatch field.
type KeyValueApplyConfiguration ¶
type KeyValueApplyConfiguration struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
KeyValueApplyConfiguration represents an declarative configuration of the KeyValue type for use with apply.
func KeyValue ¶
func KeyValue() *KeyValueApplyConfiguration
KeyValueApplyConfiguration constructs an declarative configuration of the KeyValue type for use with apply.
func (*KeyValueApplyConfiguration) WithKey ¶
func (b *KeyValueApplyConfiguration) WithKey(value string) *KeyValueApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*KeyValueApplyConfiguration) WithValue ¶
func (b *KeyValueApplyConfiguration) WithValue(value string) *KeyValueApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type MSTeamsConfigApplyConfiguration ¶ added in v0.69.0
type MSTeamsConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` WebhookURL *v1.SecretKeySelector `json:"webhookUrl,omitempty"` Title *string `json:"title,omitempty"` Summary *string `json:"summary,omitempty"` Text *string `json:"text,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
MSTeamsConfigApplyConfiguration represents an declarative configuration of the MSTeamsConfig type for use with apply.
func MSTeamsConfig ¶ added in v0.69.0
func MSTeamsConfig() *MSTeamsConfigApplyConfiguration
MSTeamsConfigApplyConfiguration constructs an declarative configuration of the MSTeamsConfig type for use with apply.
func (*MSTeamsConfigApplyConfiguration) WithHTTPConfig ¶ added in v0.69.0
func (b *MSTeamsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *MSTeamsConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithSendResolved ¶ added in v0.69.0
func (b *MSTeamsConfigApplyConfiguration) WithSendResolved(value bool) *MSTeamsConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithSummary ¶ added in v0.73.0
func (b *MSTeamsConfigApplyConfiguration) WithSummary(value string) *MSTeamsConfigApplyConfiguration
WithSummary sets the Summary field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Summary field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithText ¶ added in v0.69.0
func (b *MSTeamsConfigApplyConfiguration) WithText(value string) *MSTeamsConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithTitle ¶ added in v0.69.0
func (b *MSTeamsConfigApplyConfiguration) WithTitle(value string) *MSTeamsConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithWebhookURL ¶ added in v0.69.0
func (b *MSTeamsConfigApplyConfiguration) WithWebhookURL(value v1.SecretKeySelector) *MSTeamsConfigApplyConfiguration
WithWebhookURL sets the WebhookURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WebhookURL field is set to the value of the last call.
type MatcherApplyConfiguration ¶
type MatcherApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` MatchType *v1beta1.MatchType `json:"matchType,omitempty"` }
MatcherApplyConfiguration represents an declarative configuration of the Matcher type for use with apply.
func Matcher ¶
func Matcher() *MatcherApplyConfiguration
MatcherApplyConfiguration constructs an declarative configuration of the Matcher type for use with apply.
func (*MatcherApplyConfiguration) WithMatchType ¶
func (b *MatcherApplyConfiguration) WithMatchType(value v1beta1.MatchType) *MatcherApplyConfiguration
WithMatchType sets the MatchType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchType field is set to the value of the last call.
func (*MatcherApplyConfiguration) WithName ¶
func (b *MatcherApplyConfiguration) WithName(value string) *MatcherApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*MatcherApplyConfiguration) WithValue ¶
func (b *MatcherApplyConfiguration) WithValue(value string) *MatcherApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type OpsGenieConfigApplyConfiguration ¶
type OpsGenieConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIKey *SecretKeySelectorApplyConfiguration `json:"apiKey,omitempty"` APIURL *string `json:"apiURL,omitempty"` Message *string `json:"message,omitempty"` Description *string `json:"description,omitempty"` Source *string `json:"source,omitempty"` Tags *string `json:"tags,omitempty"` Note *string `json:"note,omitempty"` Priority *string `json:"priority,omitempty"` Details []KeyValueApplyConfiguration `json:"details,omitempty"` Responders []OpsGenieConfigResponderApplyConfiguration `json:"responders,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` Entity *string `json:"entity,omitempty"` Actions *string `json:"actions,omitempty"` }
OpsGenieConfigApplyConfiguration represents an declarative configuration of the OpsGenieConfig type for use with apply.
func OpsGenieConfig ¶
func OpsGenieConfig() *OpsGenieConfigApplyConfiguration
OpsGenieConfigApplyConfiguration constructs an declarative configuration of the OpsGenieConfig type for use with apply.
func (*OpsGenieConfigApplyConfiguration) WithAPIKey ¶
func (b *OpsGenieConfigApplyConfiguration) WithAPIKey(value *SecretKeySelectorApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithAPIKey sets the APIKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIKey field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithAPIURL ¶
func (b *OpsGenieConfigApplyConfiguration) WithAPIURL(value string) *OpsGenieConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithActions ¶
func (b *OpsGenieConfigApplyConfiguration) WithActions(value string) *OpsGenieConfigApplyConfiguration
WithActions sets the Actions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Actions field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithDescription ¶
func (b *OpsGenieConfigApplyConfiguration) WithDescription(value string) *OpsGenieConfigApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithDetails ¶
func (b *OpsGenieConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithDetails adds the given value to the Details field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Details field.
func (*OpsGenieConfigApplyConfiguration) WithEntity ¶
func (b *OpsGenieConfigApplyConfiguration) WithEntity(value string) *OpsGenieConfigApplyConfiguration
WithEntity sets the Entity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Entity field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithHTTPConfig ¶
func (b *OpsGenieConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithMessage ¶
func (b *OpsGenieConfigApplyConfiguration) WithMessage(value string) *OpsGenieConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithNote ¶
func (b *OpsGenieConfigApplyConfiguration) WithNote(value string) *OpsGenieConfigApplyConfiguration
WithNote sets the Note field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Note field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithPriority ¶
func (b *OpsGenieConfigApplyConfiguration) WithPriority(value string) *OpsGenieConfigApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithResponders ¶
func (b *OpsGenieConfigApplyConfiguration) WithResponders(values ...*OpsGenieConfigResponderApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithResponders adds the given value to the Responders field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Responders field.
func (*OpsGenieConfigApplyConfiguration) WithSendResolved ¶
func (b *OpsGenieConfigApplyConfiguration) WithSendResolved(value bool) *OpsGenieConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithSource ¶
func (b *OpsGenieConfigApplyConfiguration) WithSource(value string) *OpsGenieConfigApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithTags ¶
func (b *OpsGenieConfigApplyConfiguration) WithTags(value string) *OpsGenieConfigApplyConfiguration
WithTags sets the Tags field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tags field is set to the value of the last call.
type OpsGenieConfigResponderApplyConfiguration ¶
type OpsGenieConfigResponderApplyConfiguration struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Username *string `json:"username,omitempty"` Type *string `json:"type,omitempty"` }
OpsGenieConfigResponderApplyConfiguration represents an declarative configuration of the OpsGenieConfigResponder type for use with apply.
func OpsGenieConfigResponder ¶
func OpsGenieConfigResponder() *OpsGenieConfigResponderApplyConfiguration
OpsGenieConfigResponderApplyConfiguration constructs an declarative configuration of the OpsGenieConfigResponder type for use with apply.
func (*OpsGenieConfigResponderApplyConfiguration) WithID ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithID(value string) *OpsGenieConfigResponderApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithName ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithName(value string) *OpsGenieConfigResponderApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithType ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithType(value string) *OpsGenieConfigResponderApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithUsername ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithUsername(value string) *OpsGenieConfigResponderApplyConfiguration
WithUsername sets the Username field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Username field is set to the value of the last call.
type PagerDutyConfigApplyConfiguration ¶
type PagerDutyConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` RoutingKey *SecretKeySelectorApplyConfiguration `json:"routingKey,omitempty"` ServiceKey *SecretKeySelectorApplyConfiguration `json:"serviceKey,omitempty"` URL *string `json:"url,omitempty"` Client *string `json:"client,omitempty"` ClientURL *string `json:"clientURL,omitempty"` Description *string `json:"description,omitempty"` Severity *string `json:"severity,omitempty"` Class *string `json:"class,omitempty"` Group *string `json:"group,omitempty"` Component *string `json:"component,omitempty"` Details []KeyValueApplyConfiguration `json:"details,omitempty"` PagerDutyImageConfigs []PagerDutyImageConfigApplyConfiguration `json:"pagerDutyImageConfigs,omitempty"` PagerDutyLinkConfigs []PagerDutyLinkConfigApplyConfiguration `json:"pagerDutyLinkConfigs,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
PagerDutyConfigApplyConfiguration represents an declarative configuration of the PagerDutyConfig type for use with apply.
func PagerDutyConfig ¶
func PagerDutyConfig() *PagerDutyConfigApplyConfiguration
PagerDutyConfigApplyConfiguration constructs an declarative configuration of the PagerDutyConfig type for use with apply.
func (*PagerDutyConfigApplyConfiguration) WithClass ¶
func (b *PagerDutyConfigApplyConfiguration) WithClass(value string) *PagerDutyConfigApplyConfiguration
WithClass sets the Class field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Class field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithClient ¶
func (b *PagerDutyConfigApplyConfiguration) WithClient(value string) *PagerDutyConfigApplyConfiguration
WithClient sets the Client field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Client field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithClientURL ¶
func (b *PagerDutyConfigApplyConfiguration) WithClientURL(value string) *PagerDutyConfigApplyConfiguration
WithClientURL sets the ClientURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientURL field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithComponent ¶
func (b *PagerDutyConfigApplyConfiguration) WithComponent(value string) *PagerDutyConfigApplyConfiguration
WithComponent sets the Component field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Component field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithDescription ¶
func (b *PagerDutyConfigApplyConfiguration) WithDescription(value string) *PagerDutyConfigApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithDetails ¶
func (b *PagerDutyConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithDetails adds the given value to the Details field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Details field.
func (*PagerDutyConfigApplyConfiguration) WithGroup ¶
func (b *PagerDutyConfigApplyConfiguration) WithGroup(value string) *PagerDutyConfigApplyConfiguration
WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithHTTPConfig ¶
func (b *PagerDutyConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs ¶
func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs(values ...*PagerDutyImageConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithPagerDutyImageConfigs adds the given value to the PagerDutyImageConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyImageConfigs field.
func (*PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs ¶
func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs(values ...*PagerDutyLinkConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithPagerDutyLinkConfigs adds the given value to the PagerDutyLinkConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyLinkConfigs field.
func (*PagerDutyConfigApplyConfiguration) WithRoutingKey ¶
func (b *PagerDutyConfigApplyConfiguration) WithRoutingKey(value *SecretKeySelectorApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithRoutingKey sets the RoutingKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingKey field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithSendResolved ¶
func (b *PagerDutyConfigApplyConfiguration) WithSendResolved(value bool) *PagerDutyConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithServiceKey ¶
func (b *PagerDutyConfigApplyConfiguration) WithServiceKey(value *SecretKeySelectorApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithServiceKey sets the ServiceKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceKey field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithSeverity ¶
func (b *PagerDutyConfigApplyConfiguration) WithSeverity(value string) *PagerDutyConfigApplyConfiguration
WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithURL ¶
func (b *PagerDutyConfigApplyConfiguration) WithURL(value string) *PagerDutyConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
type PagerDutyImageConfigApplyConfiguration ¶
type PagerDutyImageConfigApplyConfiguration struct { Src *string `json:"src,omitempty"` Href *string `json:"href,omitempty"` Alt *string `json:"alt,omitempty"` }
PagerDutyImageConfigApplyConfiguration represents an declarative configuration of the PagerDutyImageConfig type for use with apply.
func PagerDutyImageConfig ¶
func PagerDutyImageConfig() *PagerDutyImageConfigApplyConfiguration
PagerDutyImageConfigApplyConfiguration constructs an declarative configuration of the PagerDutyImageConfig type for use with apply.
func (*PagerDutyImageConfigApplyConfiguration) WithAlt ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithAlt(value string) *PagerDutyImageConfigApplyConfiguration
WithAlt sets the Alt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alt field is set to the value of the last call.
func (*PagerDutyImageConfigApplyConfiguration) WithHref ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithHref(value string) *PagerDutyImageConfigApplyConfiguration
WithHref sets the Href field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Href field is set to the value of the last call.
func (*PagerDutyImageConfigApplyConfiguration) WithSrc ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithSrc(value string) *PagerDutyImageConfigApplyConfiguration
WithSrc sets the Src field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Src field is set to the value of the last call.
type PagerDutyLinkConfigApplyConfiguration ¶
type PagerDutyLinkConfigApplyConfiguration struct { Href *string `json:"href,omitempty"` Text *string `json:"alt,omitempty"` }
PagerDutyLinkConfigApplyConfiguration represents an declarative configuration of the PagerDutyLinkConfig type for use with apply.
func PagerDutyLinkConfig ¶
func PagerDutyLinkConfig() *PagerDutyLinkConfigApplyConfiguration
PagerDutyLinkConfigApplyConfiguration constructs an declarative configuration of the PagerDutyLinkConfig type for use with apply.
func (*PagerDutyLinkConfigApplyConfiguration) WithHref ¶
func (b *PagerDutyLinkConfigApplyConfiguration) WithHref(value string) *PagerDutyLinkConfigApplyConfiguration
WithHref sets the Href field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Href field is set to the value of the last call.
func (*PagerDutyLinkConfigApplyConfiguration) WithText ¶
func (b *PagerDutyLinkConfigApplyConfiguration) WithText(value string) *PagerDutyLinkConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
type PushoverConfigApplyConfiguration ¶
type PushoverConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` UserKey *SecretKeySelectorApplyConfiguration `json:"userKey,omitempty"` UserKeyFile *string `json:"userKeyFile,omitempty"` Token *SecretKeySelectorApplyConfiguration `json:"token,omitempty"` TokenFile *string `json:"tokenFile,omitempty"` Title *string `json:"title,omitempty"` Message *string `json:"message,omitempty"` URL *string `json:"url,omitempty"` URLTitle *string `json:"urlTitle,omitempty"` Device *string `json:"device,omitempty"` Sound *string `json:"sound,omitempty"` Priority *string `json:"priority,omitempty"` Retry *string `json:"retry,omitempty"` Expire *string `json:"expire,omitempty"` HTML *bool `json:"html,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
PushoverConfigApplyConfiguration represents an declarative configuration of the PushoverConfig type for use with apply.
func PushoverConfig ¶
func PushoverConfig() *PushoverConfigApplyConfiguration
PushoverConfigApplyConfiguration constructs an declarative configuration of the PushoverConfig type for use with apply.
func (*PushoverConfigApplyConfiguration) WithDevice ¶ added in v0.70.0
func (b *PushoverConfigApplyConfiguration) WithDevice(value string) *PushoverConfigApplyConfiguration
WithDevice sets the Device field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Device field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithExpire ¶
func (b *PushoverConfigApplyConfiguration) WithExpire(value string) *PushoverConfigApplyConfiguration
WithExpire sets the Expire field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Expire field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithHTML ¶
func (b *PushoverConfigApplyConfiguration) WithHTML(value bool) *PushoverConfigApplyConfiguration
WithHTML sets the HTML field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTML field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithHTTPConfig ¶
func (b *PushoverConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PushoverConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithMessage ¶
func (b *PushoverConfigApplyConfiguration) WithMessage(value string) *PushoverConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithPriority ¶
func (b *PushoverConfigApplyConfiguration) WithPriority(value string) *PushoverConfigApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithRetry ¶
func (b *PushoverConfigApplyConfiguration) WithRetry(value string) *PushoverConfigApplyConfiguration
WithRetry sets the Retry field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Retry field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithSendResolved ¶
func (b *PushoverConfigApplyConfiguration) WithSendResolved(value bool) *PushoverConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithSound ¶
func (b *PushoverConfigApplyConfiguration) WithSound(value string) *PushoverConfigApplyConfiguration
WithSound sets the Sound field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Sound field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithTitle ¶
func (b *PushoverConfigApplyConfiguration) WithTitle(value string) *PushoverConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithToken ¶
func (b *PushoverConfigApplyConfiguration) WithToken(value *SecretKeySelectorApplyConfiguration) *PushoverConfigApplyConfiguration
WithToken sets the Token field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Token field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithTokenFile ¶ added in v0.69.0
func (b *PushoverConfigApplyConfiguration) WithTokenFile(value string) *PushoverConfigApplyConfiguration
WithTokenFile sets the TokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TokenFile field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithURL ¶
func (b *PushoverConfigApplyConfiguration) WithURL(value string) *PushoverConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithURLTitle ¶
func (b *PushoverConfigApplyConfiguration) WithURLTitle(value string) *PushoverConfigApplyConfiguration
WithURLTitle sets the URLTitle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URLTitle field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithUserKey ¶
func (b *PushoverConfigApplyConfiguration) WithUserKey(value *SecretKeySelectorApplyConfiguration) *PushoverConfigApplyConfiguration
WithUserKey sets the UserKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserKey field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithUserKeyFile ¶ added in v0.69.0
func (b *PushoverConfigApplyConfiguration) WithUserKeyFile(value string) *PushoverConfigApplyConfiguration
WithUserKeyFile sets the UserKeyFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserKeyFile field is set to the value of the last call.
type ReceiverApplyConfiguration ¶
type ReceiverApplyConfiguration struct { Name *string `json:"name,omitempty"` OpsGenieConfigs []OpsGenieConfigApplyConfiguration `json:"opsgenieConfigs,omitempty"` PagerDutyConfigs []PagerDutyConfigApplyConfiguration `json:"pagerdutyConfigs,omitempty"` DiscordConfigs []DiscordConfigApplyConfiguration `json:"discordConfigs,omitempty"` SlackConfigs []SlackConfigApplyConfiguration `json:"slackConfigs,omitempty"` WebhookConfigs []WebhookConfigApplyConfiguration `json:"webhookConfigs,omitempty"` WeChatConfigs []WeChatConfigApplyConfiguration `json:"wechatConfigs,omitempty"` EmailConfigs []EmailConfigApplyConfiguration `json:"emailConfigs,omitempty"` VictorOpsConfigs []VictorOpsConfigApplyConfiguration `json:"victoropsConfigs,omitempty"` PushoverConfigs []PushoverConfigApplyConfiguration `json:"pushoverConfigs,omitempty"` SNSConfigs []SNSConfigApplyConfiguration `json:"snsConfigs,omitempty"` TelegramConfigs []TelegramConfigApplyConfiguration `json:"telegramConfigs,omitempty"` WebexConfigs []WebexConfigApplyConfiguration `json:"webexConfigs,omitempty"` MSTeamsConfigs []MSTeamsConfigApplyConfiguration `json:"msteamsConfigs,omitempty"` }
ReceiverApplyConfiguration represents an declarative configuration of the Receiver type for use with apply.
func Receiver ¶
func Receiver() *ReceiverApplyConfiguration
ReceiverApplyConfiguration constructs an declarative configuration of the Receiver type for use with apply.
func (*ReceiverApplyConfiguration) WithDiscordConfigs ¶ added in v0.67.0
func (b *ReceiverApplyConfiguration) WithDiscordConfigs(values ...*DiscordConfigApplyConfiguration) *ReceiverApplyConfiguration
WithDiscordConfigs adds the given value to the DiscordConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DiscordConfigs field.
func (*ReceiverApplyConfiguration) WithEmailConfigs ¶
func (b *ReceiverApplyConfiguration) WithEmailConfigs(values ...*EmailConfigApplyConfiguration) *ReceiverApplyConfiguration
WithEmailConfigs adds the given value to the EmailConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EmailConfigs field.
func (*ReceiverApplyConfiguration) WithMSTeamsConfigs ¶ added in v0.69.0
func (b *ReceiverApplyConfiguration) WithMSTeamsConfigs(values ...*MSTeamsConfigApplyConfiguration) *ReceiverApplyConfiguration
WithMSTeamsConfigs adds the given value to the MSTeamsConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MSTeamsConfigs field.
func (*ReceiverApplyConfiguration) WithName ¶
func (b *ReceiverApplyConfiguration) WithName(value string) *ReceiverApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ReceiverApplyConfiguration) WithOpsGenieConfigs ¶
func (b *ReceiverApplyConfiguration) WithOpsGenieConfigs(values ...*OpsGenieConfigApplyConfiguration) *ReceiverApplyConfiguration
WithOpsGenieConfigs adds the given value to the OpsGenieConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OpsGenieConfigs field.
func (*ReceiverApplyConfiguration) WithPagerDutyConfigs ¶
func (b *ReceiverApplyConfiguration) WithPagerDutyConfigs(values ...*PagerDutyConfigApplyConfiguration) *ReceiverApplyConfiguration
WithPagerDutyConfigs adds the given value to the PagerDutyConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyConfigs field.
func (*ReceiverApplyConfiguration) WithPushoverConfigs ¶
func (b *ReceiverApplyConfiguration) WithPushoverConfigs(values ...*PushoverConfigApplyConfiguration) *ReceiverApplyConfiguration
WithPushoverConfigs adds the given value to the PushoverConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PushoverConfigs field.
func (*ReceiverApplyConfiguration) WithSNSConfigs ¶
func (b *ReceiverApplyConfiguration) WithSNSConfigs(values ...*SNSConfigApplyConfiguration) *ReceiverApplyConfiguration
WithSNSConfigs adds the given value to the SNSConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SNSConfigs field.
func (*ReceiverApplyConfiguration) WithSlackConfigs ¶
func (b *ReceiverApplyConfiguration) WithSlackConfigs(values ...*SlackConfigApplyConfiguration) *ReceiverApplyConfiguration
WithSlackConfigs adds the given value to the SlackConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SlackConfigs field.
func (*ReceiverApplyConfiguration) WithTelegramConfigs ¶
func (b *ReceiverApplyConfiguration) WithTelegramConfigs(values ...*TelegramConfigApplyConfiguration) *ReceiverApplyConfiguration
WithTelegramConfigs adds the given value to the TelegramConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TelegramConfigs field.
func (*ReceiverApplyConfiguration) WithVictorOpsConfigs ¶
func (b *ReceiverApplyConfiguration) WithVictorOpsConfigs(values ...*VictorOpsConfigApplyConfiguration) *ReceiverApplyConfiguration
WithVictorOpsConfigs adds the given value to the VictorOpsConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the VictorOpsConfigs field.
func (*ReceiverApplyConfiguration) WithWeChatConfigs ¶
func (b *ReceiverApplyConfiguration) WithWeChatConfigs(values ...*WeChatConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWeChatConfigs adds the given value to the WeChatConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WeChatConfigs field.
func (*ReceiverApplyConfiguration) WithWebexConfigs ¶ added in v0.68.0
func (b *ReceiverApplyConfiguration) WithWebexConfigs(values ...*WebexConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWebexConfigs adds the given value to the WebexConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WebexConfigs field.
func (*ReceiverApplyConfiguration) WithWebhookConfigs ¶
func (b *ReceiverApplyConfiguration) WithWebhookConfigs(values ...*WebhookConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWebhookConfigs adds the given value to the WebhookConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WebhookConfigs field.
type RouteApplyConfiguration ¶
type RouteApplyConfiguration struct { Receiver *string `json:"receiver,omitempty"` GroupBy []string `json:"groupBy,omitempty"` GroupWait *string `json:"groupWait,omitempty"` GroupInterval *string `json:"groupInterval,omitempty"` RepeatInterval *string `json:"repeatInterval,omitempty"` Matchers []MatcherApplyConfiguration `json:"matchers,omitempty"` Continue *bool `json:"continue,omitempty"` Routes []v1.JSON `json:"routes,omitempty"` MuteTimeIntervals []string `json:"muteTimeIntervals,omitempty"` ActiveTimeIntervals []string `json:"activeTimeIntervals,omitempty"` }
RouteApplyConfiguration represents an declarative configuration of the Route type for use with apply.
func Route ¶
func Route() *RouteApplyConfiguration
RouteApplyConfiguration constructs an declarative configuration of the Route type for use with apply.
func (*RouteApplyConfiguration) WithActiveTimeIntervals ¶
func (b *RouteApplyConfiguration) WithActiveTimeIntervals(values ...string) *RouteApplyConfiguration
WithActiveTimeIntervals adds the given value to the ActiveTimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ActiveTimeIntervals field.
func (*RouteApplyConfiguration) WithContinue ¶
func (b *RouteApplyConfiguration) WithContinue(value bool) *RouteApplyConfiguration
WithContinue sets the Continue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Continue field is set to the value of the last call.
func (*RouteApplyConfiguration) WithGroupBy ¶
func (b *RouteApplyConfiguration) WithGroupBy(values ...string) *RouteApplyConfiguration
WithGroupBy adds the given value to the GroupBy field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the GroupBy field.
func (*RouteApplyConfiguration) WithGroupInterval ¶
func (b *RouteApplyConfiguration) WithGroupInterval(value string) *RouteApplyConfiguration
WithGroupInterval sets the GroupInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupInterval field is set to the value of the last call.
func (*RouteApplyConfiguration) WithGroupWait ¶
func (b *RouteApplyConfiguration) WithGroupWait(value string) *RouteApplyConfiguration
WithGroupWait sets the GroupWait field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupWait field is set to the value of the last call.
func (*RouteApplyConfiguration) WithMatchers ¶
func (b *RouteApplyConfiguration) WithMatchers(values ...*MatcherApplyConfiguration) *RouteApplyConfiguration
WithMatchers adds the given value to the Matchers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Matchers field.
func (*RouteApplyConfiguration) WithMuteTimeIntervals ¶
func (b *RouteApplyConfiguration) WithMuteTimeIntervals(values ...string) *RouteApplyConfiguration
WithMuteTimeIntervals adds the given value to the MuteTimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MuteTimeIntervals field.
func (*RouteApplyConfiguration) WithReceiver ¶
func (b *RouteApplyConfiguration) WithReceiver(value string) *RouteApplyConfiguration
WithReceiver sets the Receiver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Receiver field is set to the value of the last call.
func (*RouteApplyConfiguration) WithRepeatInterval ¶
func (b *RouteApplyConfiguration) WithRepeatInterval(value string) *RouteApplyConfiguration
WithRepeatInterval sets the RepeatInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RepeatInterval field is set to the value of the last call.
func (*RouteApplyConfiguration) WithRoutes ¶
func (b *RouteApplyConfiguration) WithRoutes(values ...v1.JSON) *RouteApplyConfiguration
WithRoutes adds the given value to the Routes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Routes field.
type SNSConfigApplyConfiguration ¶
type SNSConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` ApiURL *string `json:"apiURL,omitempty"` Sigv4 *v1.Sigv4ApplyConfiguration `json:"sigv4,omitempty"` TopicARN *string `json:"topicARN,omitempty"` Subject *string `json:"subject,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` TargetARN *string `json:"targetARN,omitempty"` Message *string `json:"message,omitempty"` Attributes map[string]string `json:"attributes,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
SNSConfigApplyConfiguration represents an declarative configuration of the SNSConfig type for use with apply.
func SNSConfig ¶
func SNSConfig() *SNSConfigApplyConfiguration
SNSConfigApplyConfiguration constructs an declarative configuration of the SNSConfig type for use with apply.
func (*SNSConfigApplyConfiguration) WithApiURL ¶
func (b *SNSConfigApplyConfiguration) WithApiURL(value string) *SNSConfigApplyConfiguration
WithApiURL sets the ApiURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApiURL field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithAttributes ¶
func (b *SNSConfigApplyConfiguration) WithAttributes(entries map[string]string) *SNSConfigApplyConfiguration
WithAttributes puts the entries into the Attributes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Attributes field, overwriting an existing map entries in Attributes field with the same key.
func (*SNSConfigApplyConfiguration) WithHTTPConfig ¶
func (b *SNSConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SNSConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithMessage ¶
func (b *SNSConfigApplyConfiguration) WithMessage(value string) *SNSConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithPhoneNumber ¶
func (b *SNSConfigApplyConfiguration) WithPhoneNumber(value string) *SNSConfigApplyConfiguration
WithPhoneNumber sets the PhoneNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhoneNumber field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSendResolved ¶
func (b *SNSConfigApplyConfiguration) WithSendResolved(value bool) *SNSConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSigv4 ¶
func (b *SNSConfigApplyConfiguration) WithSigv4(value *v1.Sigv4ApplyConfiguration) *SNSConfigApplyConfiguration
WithSigv4 sets the Sigv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Sigv4 field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSubject ¶
func (b *SNSConfigApplyConfiguration) WithSubject(value string) *SNSConfigApplyConfiguration
WithSubject sets the Subject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subject field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithTargetARN ¶
func (b *SNSConfigApplyConfiguration) WithTargetARN(value string) *SNSConfigApplyConfiguration
WithTargetARN sets the TargetARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetARN field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithTopicARN ¶
func (b *SNSConfigApplyConfiguration) WithTopicARN(value string) *SNSConfigApplyConfiguration
WithTopicARN sets the TopicARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopicARN field is set to the value of the last call.
type SecretKeySelectorApplyConfiguration ¶
type SecretKeySelectorApplyConfiguration struct { Name *string `json:"name,omitempty"` Key *string `json:"key,omitempty"` }
SecretKeySelectorApplyConfiguration represents an declarative configuration of the SecretKeySelector type for use with apply.
func SecretKeySelector ¶
func SecretKeySelector() *SecretKeySelectorApplyConfiguration
SecretKeySelectorApplyConfiguration constructs an declarative configuration of the SecretKeySelector type for use with apply.
func (*SecretKeySelectorApplyConfiguration) WithKey ¶
func (b *SecretKeySelectorApplyConfiguration) WithKey(value string) *SecretKeySelectorApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*SecretKeySelectorApplyConfiguration) WithName ¶
func (b *SecretKeySelectorApplyConfiguration) WithName(value string) *SecretKeySelectorApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type SlackActionApplyConfiguration ¶
type SlackActionApplyConfiguration struct { Type *string `json:"type,omitempty"` Text *string `json:"text,omitempty"` URL *string `json:"url,omitempty"` Style *string `json:"style,omitempty"` Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` ConfirmField *SlackConfirmationFieldApplyConfiguration `json:"confirm,omitempty"` }
SlackActionApplyConfiguration represents an declarative configuration of the SlackAction type for use with apply.
func SlackAction ¶
func SlackAction() *SlackActionApplyConfiguration
SlackActionApplyConfiguration constructs an declarative configuration of the SlackAction type for use with apply.
func (*SlackActionApplyConfiguration) WithConfirmField ¶
func (b *SlackActionApplyConfiguration) WithConfirmField(value *SlackConfirmationFieldApplyConfiguration) *SlackActionApplyConfiguration
WithConfirmField sets the ConfirmField field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfirmField field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithName ¶
func (b *SlackActionApplyConfiguration) WithName(value string) *SlackActionApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithStyle ¶
func (b *SlackActionApplyConfiguration) WithStyle(value string) *SlackActionApplyConfiguration
WithStyle sets the Style field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Style field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithText ¶
func (b *SlackActionApplyConfiguration) WithText(value string) *SlackActionApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithType ¶
func (b *SlackActionApplyConfiguration) WithType(value string) *SlackActionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithURL ¶
func (b *SlackActionApplyConfiguration) WithURL(value string) *SlackActionApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithValue ¶
func (b *SlackActionApplyConfiguration) WithValue(value string) *SlackActionApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type SlackConfigApplyConfiguration ¶
type SlackConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIURL *SecretKeySelectorApplyConfiguration `json:"apiURL,omitempty"` Channel *string `json:"channel,omitempty"` Username *string `json:"username,omitempty"` Color *string `json:"color,omitempty"` Title *string `json:"title,omitempty"` TitleLink *string `json:"titleLink,omitempty"` Pretext *string `json:"pretext,omitempty"` Text *string `json:"text,omitempty"` Fields []SlackFieldApplyConfiguration `json:"fields,omitempty"` ShortFields *bool `json:"shortFields,omitempty"` Fallback *string `json:"fallback,omitempty"` CallbackID *string `json:"callbackId,omitempty"` IconEmoji *string `json:"iconEmoji,omitempty"` IconURL *string `json:"iconURL,omitempty"` ImageURL *string `json:"imageURL,omitempty"` ThumbURL *string `json:"thumbURL,omitempty"` LinkNames *bool `json:"linkNames,omitempty"` MrkdwnIn []string `json:"mrkdwnIn,omitempty"` Actions []SlackActionApplyConfiguration `json:"actions,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
SlackConfigApplyConfiguration represents an declarative configuration of the SlackConfig type for use with apply.
func SlackConfig ¶
func SlackConfig() *SlackConfigApplyConfiguration
SlackConfigApplyConfiguration constructs an declarative configuration of the SlackConfig type for use with apply.
func (*SlackConfigApplyConfiguration) WithAPIURL ¶
func (b *SlackConfigApplyConfiguration) WithAPIURL(value *SecretKeySelectorApplyConfiguration) *SlackConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithActions ¶
func (b *SlackConfigApplyConfiguration) WithActions(values ...*SlackActionApplyConfiguration) *SlackConfigApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*SlackConfigApplyConfiguration) WithCallbackID ¶
func (b *SlackConfigApplyConfiguration) WithCallbackID(value string) *SlackConfigApplyConfiguration
WithCallbackID sets the CallbackID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CallbackID field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithChannel ¶
func (b *SlackConfigApplyConfiguration) WithChannel(value string) *SlackConfigApplyConfiguration
WithChannel sets the Channel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Channel field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithColor ¶
func (b *SlackConfigApplyConfiguration) WithColor(value string) *SlackConfigApplyConfiguration
WithColor sets the Color field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Color field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithFallback ¶
func (b *SlackConfigApplyConfiguration) WithFallback(value string) *SlackConfigApplyConfiguration
WithFallback sets the Fallback field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Fallback field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithFields ¶
func (b *SlackConfigApplyConfiguration) WithFields(values ...*SlackFieldApplyConfiguration) *SlackConfigApplyConfiguration
WithFields adds the given value to the Fields field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Fields field.
func (*SlackConfigApplyConfiguration) WithFooter ¶
func (b *SlackConfigApplyConfiguration) WithFooter(value string) *SlackConfigApplyConfiguration
WithFooter sets the Footer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Footer field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithHTTPConfig ¶
func (b *SlackConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SlackConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithIconEmoji ¶
func (b *SlackConfigApplyConfiguration) WithIconEmoji(value string) *SlackConfigApplyConfiguration
WithIconEmoji sets the IconEmoji field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IconEmoji field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithIconURL ¶
func (b *SlackConfigApplyConfiguration) WithIconURL(value string) *SlackConfigApplyConfiguration
WithIconURL sets the IconURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IconURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithImageURL ¶
func (b *SlackConfigApplyConfiguration) WithImageURL(value string) *SlackConfigApplyConfiguration
WithImageURL sets the ImageURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithLinkNames ¶
func (b *SlackConfigApplyConfiguration) WithLinkNames(value bool) *SlackConfigApplyConfiguration
WithLinkNames sets the LinkNames field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LinkNames field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithMrkdwnIn ¶
func (b *SlackConfigApplyConfiguration) WithMrkdwnIn(values ...string) *SlackConfigApplyConfiguration
WithMrkdwnIn adds the given value to the MrkdwnIn field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MrkdwnIn field.
func (*SlackConfigApplyConfiguration) WithPretext ¶
func (b *SlackConfigApplyConfiguration) WithPretext(value string) *SlackConfigApplyConfiguration
WithPretext sets the Pretext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pretext field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithSendResolved ¶
func (b *SlackConfigApplyConfiguration) WithSendResolved(value bool) *SlackConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithShortFields ¶
func (b *SlackConfigApplyConfiguration) WithShortFields(value bool) *SlackConfigApplyConfiguration
WithShortFields sets the ShortFields field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShortFields field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithText ¶
func (b *SlackConfigApplyConfiguration) WithText(value string) *SlackConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithThumbURL ¶
func (b *SlackConfigApplyConfiguration) WithThumbURL(value string) *SlackConfigApplyConfiguration
WithThumbURL sets the ThumbURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ThumbURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithTitle ¶
func (b *SlackConfigApplyConfiguration) WithTitle(value string) *SlackConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithTitleLink ¶
func (b *SlackConfigApplyConfiguration) WithTitleLink(value string) *SlackConfigApplyConfiguration
WithTitleLink sets the TitleLink field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TitleLink field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithUsername ¶
func (b *SlackConfigApplyConfiguration) WithUsername(value string) *SlackConfigApplyConfiguration
WithUsername sets the Username field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Username field is set to the value of the last call.
type SlackConfirmationFieldApplyConfiguration ¶
type SlackConfirmationFieldApplyConfiguration struct { Text *string `json:"text,omitempty"` Title *string `json:"title,omitempty"` OkText *string `json:"okText,omitempty"` DismissText *string `json:"dismissText,omitempty"` }
SlackConfirmationFieldApplyConfiguration represents an declarative configuration of the SlackConfirmationField type for use with apply.
func SlackConfirmationField ¶
func SlackConfirmationField() *SlackConfirmationFieldApplyConfiguration
SlackConfirmationFieldApplyConfiguration constructs an declarative configuration of the SlackConfirmationField type for use with apply.
func (*SlackConfirmationFieldApplyConfiguration) WithDismissText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithDismissText(value string) *SlackConfirmationFieldApplyConfiguration
WithDismissText sets the DismissText field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DismissText field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithOkText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithOkText(value string) *SlackConfirmationFieldApplyConfiguration
WithOkText sets the OkText field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OkText field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithText(value string) *SlackConfirmationFieldApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithTitle ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithTitle(value string) *SlackConfirmationFieldApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
type SlackFieldApplyConfiguration ¶
type SlackFieldApplyConfiguration struct { Title *string `json:"title,omitempty"` Value *string `json:"value,omitempty"` Short *bool `json:"short,omitempty"` }
SlackFieldApplyConfiguration represents an declarative configuration of the SlackField type for use with apply.
func SlackField ¶
func SlackField() *SlackFieldApplyConfiguration
SlackFieldApplyConfiguration constructs an declarative configuration of the SlackField type for use with apply.
func (*SlackFieldApplyConfiguration) WithShort ¶
func (b *SlackFieldApplyConfiguration) WithShort(value bool) *SlackFieldApplyConfiguration
WithShort sets the Short field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Short field is set to the value of the last call.
func (*SlackFieldApplyConfiguration) WithTitle ¶
func (b *SlackFieldApplyConfiguration) WithTitle(value string) *SlackFieldApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*SlackFieldApplyConfiguration) WithValue ¶
func (b *SlackFieldApplyConfiguration) WithValue(value string) *SlackFieldApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type TelegramConfigApplyConfiguration ¶
type TelegramConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIURL *string `json:"apiURL,omitempty"` BotToken *SecretKeySelectorApplyConfiguration `json:"botToken,omitempty"` BotTokenFile *string `json:"botTokenFile,omitempty"` ChatID *int64 `json:"chatID,omitempty"` Message *string `json:"message,omitempty"` DisableNotifications *bool `json:"disableNotifications,omitempty"` ParseMode *string `json:"parseMode,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
TelegramConfigApplyConfiguration represents an declarative configuration of the TelegramConfig type for use with apply.
func TelegramConfig ¶
func TelegramConfig() *TelegramConfigApplyConfiguration
TelegramConfigApplyConfiguration constructs an declarative configuration of the TelegramConfig type for use with apply.
func (*TelegramConfigApplyConfiguration) WithAPIURL ¶
func (b *TelegramConfigApplyConfiguration) WithAPIURL(value string) *TelegramConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithBotToken ¶
func (b *TelegramConfigApplyConfiguration) WithBotToken(value *SecretKeySelectorApplyConfiguration) *TelegramConfigApplyConfiguration
WithBotToken sets the BotToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BotToken field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithBotTokenFile ¶ added in v0.68.0
func (b *TelegramConfigApplyConfiguration) WithBotTokenFile(value string) *TelegramConfigApplyConfiguration
WithBotTokenFile sets the BotTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BotTokenFile field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithChatID ¶
func (b *TelegramConfigApplyConfiguration) WithChatID(value int64) *TelegramConfigApplyConfiguration
WithChatID sets the ChatID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ChatID field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithDisableNotifications ¶
func (b *TelegramConfigApplyConfiguration) WithDisableNotifications(value bool) *TelegramConfigApplyConfiguration
WithDisableNotifications sets the DisableNotifications field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableNotifications field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithHTTPConfig ¶
func (b *TelegramConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *TelegramConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithMessage ¶
func (b *TelegramConfigApplyConfiguration) WithMessage(value string) *TelegramConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithParseMode ¶
func (b *TelegramConfigApplyConfiguration) WithParseMode(value string) *TelegramConfigApplyConfiguration
WithParseMode sets the ParseMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ParseMode field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithSendResolved ¶
func (b *TelegramConfigApplyConfiguration) WithSendResolved(value bool) *TelegramConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
type TimeIntervalApplyConfiguration ¶
type TimeIntervalApplyConfiguration struct { Name *string `json:"name,omitempty"` TimeIntervals []TimePeriodApplyConfiguration `json:"timeIntervals,omitempty"` }
TimeIntervalApplyConfiguration represents an declarative configuration of the TimeInterval type for use with apply.
func TimeInterval ¶
func TimeInterval() *TimeIntervalApplyConfiguration
TimeIntervalApplyConfiguration constructs an declarative configuration of the TimeInterval type for use with apply.
func (*TimeIntervalApplyConfiguration) WithName ¶
func (b *TimeIntervalApplyConfiguration) WithName(value string) *TimeIntervalApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*TimeIntervalApplyConfiguration) WithTimeIntervals ¶
func (b *TimeIntervalApplyConfiguration) WithTimeIntervals(values ...*TimePeriodApplyConfiguration) *TimeIntervalApplyConfiguration
WithTimeIntervals adds the given value to the TimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TimeIntervals field.
type TimePeriodApplyConfiguration ¶
type TimePeriodApplyConfiguration struct { Times []TimeRangeApplyConfiguration `json:"times,omitempty"` Weekdays []monitoringv1beta1.WeekdayRange `json:"weekdays,omitempty"` DaysOfMonth []DayOfMonthRangeApplyConfiguration `json:"daysOfMonth,omitempty"` Months []monitoringv1beta1.MonthRange `json:"months,omitempty"` Years []monitoringv1beta1.YearRange `json:"years,omitempty"` }
TimePeriodApplyConfiguration represents an declarative configuration of the TimePeriod type for use with apply.
func TimePeriod ¶
func TimePeriod() *TimePeriodApplyConfiguration
TimePeriodApplyConfiguration constructs an declarative configuration of the TimePeriod type for use with apply.
func (*TimePeriodApplyConfiguration) WithDaysOfMonth ¶
func (b *TimePeriodApplyConfiguration) WithDaysOfMonth(values ...*DayOfMonthRangeApplyConfiguration) *TimePeriodApplyConfiguration
WithDaysOfMonth adds the given value to the DaysOfMonth field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DaysOfMonth field.
func (*TimePeriodApplyConfiguration) WithMonths ¶
func (b *TimePeriodApplyConfiguration) WithMonths(values ...monitoringv1beta1.MonthRange) *TimePeriodApplyConfiguration
WithMonths adds the given value to the Months field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Months field.
func (*TimePeriodApplyConfiguration) WithTimes ¶
func (b *TimePeriodApplyConfiguration) WithTimes(values ...*TimeRangeApplyConfiguration) *TimePeriodApplyConfiguration
WithTimes adds the given value to the Times field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Times field.
func (*TimePeriodApplyConfiguration) WithWeekdays ¶
func (b *TimePeriodApplyConfiguration) WithWeekdays(values ...monitoringv1beta1.WeekdayRange) *TimePeriodApplyConfiguration
WithWeekdays adds the given value to the Weekdays field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Weekdays field.
func (*TimePeriodApplyConfiguration) WithYears ¶
func (b *TimePeriodApplyConfiguration) WithYears(values ...monitoringv1beta1.YearRange) *TimePeriodApplyConfiguration
WithYears adds the given value to the Years field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Years field.
type TimeRangeApplyConfiguration ¶
type TimeRangeApplyConfiguration struct { StartTime *v1beta1.Time `json:"startTime,omitempty"` EndTime *v1beta1.Time `json:"endTime,omitempty"` }
TimeRangeApplyConfiguration represents an declarative configuration of the TimeRange type for use with apply.
func TimeRange ¶
func TimeRange() *TimeRangeApplyConfiguration
TimeRangeApplyConfiguration constructs an declarative configuration of the TimeRange type for use with apply.
func (*TimeRangeApplyConfiguration) WithEndTime ¶
func (b *TimeRangeApplyConfiguration) WithEndTime(value v1beta1.Time) *TimeRangeApplyConfiguration
WithEndTime sets the EndTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndTime field is set to the value of the last call.
func (*TimeRangeApplyConfiguration) WithStartTime ¶
func (b *TimeRangeApplyConfiguration) WithStartTime(value v1beta1.Time) *TimeRangeApplyConfiguration
WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.
type VictorOpsConfigApplyConfiguration ¶
type VictorOpsConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIKey *SecretKeySelectorApplyConfiguration `json:"apiKey,omitempty"` APIURL *string `json:"apiUrl,omitempty"` RoutingKey *string `json:"routingKey,omitempty"` MessageType *string `json:"messageType,omitempty"` EntityDisplayName *string `json:"entityDisplayName,omitempty"` StateMessage *string `json:"stateMessage,omitempty"` MonitoringTool *string `json:"monitoringTool,omitempty"` CustomFields []KeyValueApplyConfiguration `json:"customFields,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
VictorOpsConfigApplyConfiguration represents an declarative configuration of the VictorOpsConfig type for use with apply.
func VictorOpsConfig ¶
func VictorOpsConfig() *VictorOpsConfigApplyConfiguration
VictorOpsConfigApplyConfiguration constructs an declarative configuration of the VictorOpsConfig type for use with apply.
func (*VictorOpsConfigApplyConfiguration) WithAPIKey ¶
func (b *VictorOpsConfigApplyConfiguration) WithAPIKey(value *SecretKeySelectorApplyConfiguration) *VictorOpsConfigApplyConfiguration
WithAPIKey sets the APIKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIKey field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithAPIURL ¶
func (b *VictorOpsConfigApplyConfiguration) WithAPIURL(value string) *VictorOpsConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithCustomFields ¶
func (b *VictorOpsConfigApplyConfiguration) WithCustomFields(values ...*KeyValueApplyConfiguration) *VictorOpsConfigApplyConfiguration
WithCustomFields adds the given value to the CustomFields field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CustomFields field.
func (*VictorOpsConfigApplyConfiguration) WithEntityDisplayName ¶
func (b *VictorOpsConfigApplyConfiguration) WithEntityDisplayName(value string) *VictorOpsConfigApplyConfiguration
WithEntityDisplayName sets the EntityDisplayName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EntityDisplayName field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithHTTPConfig ¶
func (b *VictorOpsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *VictorOpsConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithMessageType ¶
func (b *VictorOpsConfigApplyConfiguration) WithMessageType(value string) *VictorOpsConfigApplyConfiguration
WithMessageType sets the MessageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageType field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithMonitoringTool ¶
func (b *VictorOpsConfigApplyConfiguration) WithMonitoringTool(value string) *VictorOpsConfigApplyConfiguration
WithMonitoringTool sets the MonitoringTool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MonitoringTool field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithRoutingKey ¶
func (b *VictorOpsConfigApplyConfiguration) WithRoutingKey(value string) *VictorOpsConfigApplyConfiguration
WithRoutingKey sets the RoutingKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingKey field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithSendResolved ¶
func (b *VictorOpsConfigApplyConfiguration) WithSendResolved(value bool) *VictorOpsConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithStateMessage ¶
func (b *VictorOpsConfigApplyConfiguration) WithStateMessage(value string) *VictorOpsConfigApplyConfiguration
WithStateMessage sets the StateMessage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StateMessage field is set to the value of the last call.
type WeChatConfigApplyConfiguration ¶
type WeChatConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APISecret *SecretKeySelectorApplyConfiguration `json:"apiSecret,omitempty"` APIURL *string `json:"apiURL,omitempty"` CorpID *string `json:"corpID,omitempty"` AgentID *string `json:"agentID,omitempty"` ToUser *string `json:"toUser,omitempty"` ToParty *string `json:"toParty,omitempty"` ToTag *string `json:"toTag,omitempty"` Message *string `json:"message,omitempty"` MessageType *string `json:"messageType,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
WeChatConfigApplyConfiguration represents an declarative configuration of the WeChatConfig type for use with apply.
func WeChatConfig ¶
func WeChatConfig() *WeChatConfigApplyConfiguration
WeChatConfigApplyConfiguration constructs an declarative configuration of the WeChatConfig type for use with apply.
func (*WeChatConfigApplyConfiguration) WithAPISecret ¶
func (b *WeChatConfigApplyConfiguration) WithAPISecret(value *SecretKeySelectorApplyConfiguration) *WeChatConfigApplyConfiguration
WithAPISecret sets the APISecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APISecret field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithAPIURL ¶
func (b *WeChatConfigApplyConfiguration) WithAPIURL(value string) *WeChatConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithAgentID ¶
func (b *WeChatConfigApplyConfiguration) WithAgentID(value string) *WeChatConfigApplyConfiguration
WithAgentID sets the AgentID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AgentID field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithCorpID ¶
func (b *WeChatConfigApplyConfiguration) WithCorpID(value string) *WeChatConfigApplyConfiguration
WithCorpID sets the CorpID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CorpID field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithHTTPConfig ¶
func (b *WeChatConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WeChatConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithMessage ¶
func (b *WeChatConfigApplyConfiguration) WithMessage(value string) *WeChatConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithMessageType ¶
func (b *WeChatConfigApplyConfiguration) WithMessageType(value string) *WeChatConfigApplyConfiguration
WithMessageType sets the MessageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageType field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithSendResolved ¶
func (b *WeChatConfigApplyConfiguration) WithSendResolved(value bool) *WeChatConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToParty ¶
func (b *WeChatConfigApplyConfiguration) WithToParty(value string) *WeChatConfigApplyConfiguration
WithToParty sets the ToParty field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToParty field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToTag ¶
func (b *WeChatConfigApplyConfiguration) WithToTag(value string) *WeChatConfigApplyConfiguration
WithToTag sets the ToTag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToTag field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToUser ¶
func (b *WeChatConfigApplyConfiguration) WithToUser(value string) *WeChatConfigApplyConfiguration
WithToUser sets the ToUser field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToUser field is set to the value of the last call.
type WebexConfigApplyConfiguration ¶ added in v0.68.0
type WebexConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIURL *v1beta1.URL `json:"apiURL,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` Message *string `json:"message,omitempty"` RoomID *string `json:"roomID,omitempty"` }
WebexConfigApplyConfiguration represents an declarative configuration of the WebexConfig type for use with apply.
func WebexConfig ¶ added in v0.68.0
func WebexConfig() *WebexConfigApplyConfiguration
WebexConfigApplyConfiguration constructs an declarative configuration of the WebexConfig type for use with apply.
func (*WebexConfigApplyConfiguration) WithAPIURL ¶ added in v0.68.0
func (b *WebexConfigApplyConfiguration) WithAPIURL(value v1beta1.URL) *WebexConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithHTTPConfig ¶ added in v0.68.0
func (b *WebexConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebexConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithMessage ¶ added in v0.68.0
func (b *WebexConfigApplyConfiguration) WithMessage(value string) *WebexConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithRoomID ¶ added in v0.68.0
func (b *WebexConfigApplyConfiguration) WithRoomID(value string) *WebexConfigApplyConfiguration
WithRoomID sets the RoomID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoomID field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithSendResolved ¶ added in v0.68.0
func (b *WebexConfigApplyConfiguration) WithSendResolved(value bool) *WebexConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
type WebhookConfigApplyConfiguration ¶
type WebhookConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` URL *string `json:"url,omitempty"` URLSecret *SecretKeySelectorApplyConfiguration `json:"urlSecret,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` MaxAlerts *int32 `json:"maxAlerts,omitempty"` }
WebhookConfigApplyConfiguration represents an declarative configuration of the WebhookConfig type for use with apply.
func WebhookConfig ¶
func WebhookConfig() *WebhookConfigApplyConfiguration
WebhookConfigApplyConfiguration constructs an declarative configuration of the WebhookConfig type for use with apply.
func (*WebhookConfigApplyConfiguration) WithHTTPConfig ¶
func (b *WebhookConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebhookConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithMaxAlerts ¶
func (b *WebhookConfigApplyConfiguration) WithMaxAlerts(value int32) *WebhookConfigApplyConfiguration
WithMaxAlerts sets the MaxAlerts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxAlerts field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithSendResolved ¶
func (b *WebhookConfigApplyConfiguration) WithSendResolved(value bool) *WebhookConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithURL ¶
func (b *WebhookConfigApplyConfiguration) WithURL(value string) *WebhookConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithURLSecret ¶
func (b *WebhookConfigApplyConfiguration) WithURLSecret(value *SecretKeySelectorApplyConfiguration) *WebhookConfigApplyConfiguration
WithURLSecret sets the URLSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URLSecret field is set to the value of the last call.
Source Files ¶
- alertmanagerconfig.go
- alertmanagerconfigspec.go
- dayofmonthrange.go
- discordconfig.go
- emailconfig.go
- httpconfig.go
- inhibitrule.go
- keyvalue.go
- matcher.go
- msteamsconfig.go
- opsgenieconfig.go
- opsgenieconfigresponder.go
- pagerdutyconfig.go
- pagerdutyimageconfig.go
- pagerdutylinkconfig.go
- pushoverconfig.go
- receiver.go
- route.go
- secretkeyselector.go
- slackaction.go
- slackconfig.go
- slackconfirmationfield.go
- slackfield.go
- snsconfig.go
- telegramconfig.go
- timeinterval.go
- timeperiod.go
- timerange.go
- victoropsconfig.go
- webexconfig.go
- webhookconfig.go
- wechatconfig.go