v1beta1

package
v0.73.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	Footer       *string                              `json:"footer,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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL