v1alpha1

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: 9 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"`
	MuteTimeIntervals []MuteTimeIntervalApplyConfiguration `json:"muteTimeIntervals,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) WithMuteTimeIntervals

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 (*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.

type AttachMetadataApplyConfiguration added in v0.71.0

type AttachMetadataApplyConfiguration struct {
	Node *bool `json:"node,omitempty"`
}

AttachMetadataApplyConfiguration represents an declarative configuration of the AttachMetadata type for use with apply.

func AttachMetadata added in v0.71.0

func AttachMetadata() *AttachMetadataApplyConfiguration

AttachMetadataApplyConfiguration constructs an declarative configuration of the AttachMetadata type for use with apply.

func (*AttachMetadataApplyConfiguration) WithNode added in v0.71.0

WithNode sets the Node field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Node field is set to the value of the last call.

type AzureSDConfigApplyConfiguration added in v0.70.0

type AzureSDConfigApplyConfiguration struct {
	Environment          *string                `json:"environment,omitempty"`
	AuthenticationMethod *string                `json:"authenticationMethod,omitempty"`
	SubscriptionID       *string                `json:"subscriptionID,omitempty"`
	TenantID             *string                `json:"tenantID,omitempty"`
	ClientID             *string                `json:"clientID,omitempty"`
	ClientSecret         *v1.SecretKeySelector  `json:"clientSecret,omitempty"`
	ResourceGroup        *string                `json:"resourceGroup,omitempty"`
	RefreshInterval      *monitoringv1.Duration `json:"refreshInterval,omitempty"`
	Port                 *int                   `json:"port,omitempty"`
}

AzureSDConfigApplyConfiguration represents an declarative configuration of the AzureSDConfig type for use with apply.

func AzureSDConfig added in v0.70.0

func AzureSDConfig() *AzureSDConfigApplyConfiguration

AzureSDConfigApplyConfiguration constructs an declarative configuration of the AzureSDConfig type for use with apply.

func (*AzureSDConfigApplyConfiguration) WithAuthenticationMethod added in v0.70.0

func (b *AzureSDConfigApplyConfiguration) WithAuthenticationMethod(value string) *AzureSDConfigApplyConfiguration

WithAuthenticationMethod sets the AuthenticationMethod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthenticationMethod field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithClientID added in v0.70.0

WithClientID sets the ClientID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientID field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithClientSecret added in v0.70.0

WithClientSecret sets the ClientSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientSecret field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithEnvironment added in v0.70.0

WithEnvironment sets the Environment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Environment field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithPort added in v0.70.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithRefreshInterval added in v0.70.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithResourceGroup added in v0.70.0

WithResourceGroup sets the ResourceGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceGroup field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithSubscriptionID added in v0.70.0

WithSubscriptionID sets the SubscriptionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubscriptionID field is set to the value of the last call.

func (*AzureSDConfigApplyConfiguration) WithTenantID added in v0.70.0

WithTenantID sets the TenantID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TenantID field is set to the value of the last call.

type ConsulSDConfigApplyConfiguration added in v0.67.0

type ConsulSDConfigApplyConfiguration struct {
	Server                                                       *string                                                             `json:"server,omitempty"`
	TokenRef                                                     *v1.SecretKeySelector                                               `json:"tokenRef,omitempty"`
	Datacenter                                                   *string                                                             `json:"datacenter,omitempty"`
	Namespace                                                    *string                                                             `json:"namespace,omitempty"`
	Partition                                                    *string                                                             `json:"partition,omitempty"`
	Scheme                                                       *string                                                             `json:"scheme,omitempty"`
	Services                                                     []string                                                            `json:"services,omitempty"`
	Tags                                                         []string                                                            `json:"tags,omitempty"`
	TagSeparator                                                 *string                                                             `json:"tagSeparator,omitempty"`
	NodeMeta                                                     map[string]string                                                   `json:"nodeMeta,omitempty"`
	AllowStale                                                   *bool                                                               `json:"allowStale,omitempty"`
	RefreshInterval                                              *monitoringv1.Duration                                              `json:"refreshInterval,omitempty"`
	BasicAuth                                                    *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                                                *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	Oauth2                                                       *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	applyconfigurationmonitoringv1.ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects                                              *bool                                                           `json:"followRedirects,omitempty"`
	EnableHttp2                                                  *bool                                                           `json:"enableHTTP2,omitempty"`
	TLSConfig                                                    *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
}

ConsulSDConfigApplyConfiguration represents an declarative configuration of the ConsulSDConfig type for use with apply.

func ConsulSDConfig added in v0.67.0

func ConsulSDConfig() *ConsulSDConfigApplyConfiguration

ConsulSDConfigApplyConfiguration constructs an declarative configuration of the ConsulSDConfig type for use with apply.

func (*ConsulSDConfigApplyConfiguration) WithAllowStale added in v0.67.0

WithAllowStale sets the AllowStale field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowStale field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithAuthorization added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithBasicAuth added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithDatacenter added in v0.67.0

WithDatacenter sets the Datacenter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Datacenter field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithEnableHttp2 added in v0.67.0

WithEnableHttp2 sets the EnableHttp2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHttp2 field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithFollowRedirects added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithNamespace added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithNoProxy added in v0.67.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithNodeMeta added in v0.67.0

WithNodeMeta puts the entries into the NodeMeta 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 NodeMeta field, overwriting an existing map entries in NodeMeta field with the same key.

func (*ConsulSDConfigApplyConfiguration) WithOauth2 added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithPartition added in v0.67.0

WithPartition sets the Partition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Partition field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.67.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*ConsulSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.67.0

func (b *ConsulSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ConsulSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*ConsulSDConfigApplyConfiguration) WithRefreshInterval added in v0.67.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithScheme added in v0.67.0

WithScheme sets the Scheme field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Scheme field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithServer added in v0.67.0

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithServices added in v0.67.0

WithServices adds the given value to the Services 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 Services field.

func (*ConsulSDConfigApplyConfiguration) WithTLSConfig added in v0.67.0

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 (*ConsulSDConfigApplyConfiguration) WithTagSeparator added in v0.67.0

WithTagSeparator sets the TagSeparator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TagSeparator field is set to the value of the last call.

func (*ConsulSDConfigApplyConfiguration) WithTags added in v0.67.0

WithTags adds the given value to the Tags 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 Tags field.

func (*ConsulSDConfigApplyConfiguration) WithTokenRef added in v0.67.0

WithTokenRef sets the TokenRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TokenRef field is set to the value of the last call.

type DNSSDConfigApplyConfiguration added in v0.68.0

type DNSSDConfigApplyConfiguration struct {
	Names           []string     `json:"names,omitempty"`
	RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"`
	Type            *string      `json:"type,omitempty"`
	Port            *int         `json:"port,omitempty"`
}

DNSSDConfigApplyConfiguration represents an declarative configuration of the DNSSDConfig type for use with apply.

func DNSSDConfig added in v0.68.0

func DNSSDConfig() *DNSSDConfigApplyConfiguration

DNSSDConfigApplyConfiguration constructs an declarative configuration of the DNSSDConfig type for use with apply.

func (*DNSSDConfigApplyConfiguration) WithNames added in v0.68.0

WithNames adds the given value to the Names 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 Names field.

func (*DNSSDConfigApplyConfiguration) WithPort added in v0.68.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*DNSSDConfigApplyConfiguration) WithRefreshInterval added in v0.68.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*DNSSDConfigApplyConfiguration) WithType added in v0.68.0

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.

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 DigitalOceanSDConfigApplyConfiguration added in v0.72.0

type DigitalOceanSDConfigApplyConfiguration struct {
	Authorization                    *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                           *v1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	v1.ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects                  *bool                               `json:"followRedirects,omitempty"`
	EnableHTTP2                      *bool                               `json:"enableHTTP2,omitempty"`
	TLSConfig                        *v1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
	Port                             *int                                `json:"port,omitempty"`
	RefreshInterval                  *monitoringv1.Duration              `json:"refreshInterval,omitempty"`
}

DigitalOceanSDConfigApplyConfiguration represents an declarative configuration of the DigitalOceanSDConfig type for use with apply.

func DigitalOceanSDConfig added in v0.72.0

func DigitalOceanSDConfig() *DigitalOceanSDConfigApplyConfiguration

DigitalOceanSDConfigApplyConfiguration constructs an declarative configuration of the DigitalOceanSDConfig type for use with apply.

func (*DigitalOceanSDConfigApplyConfiguration) WithAuthorization added in v0.72.0

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 (*DigitalOceanSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.72.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*DigitalOceanSDConfigApplyConfiguration) WithFollowRedirects added in v0.72.0

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 (*DigitalOceanSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*DigitalOceanSDConfigApplyConfiguration) WithOAuth2 added in v0.72.0

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 (*DigitalOceanSDConfigApplyConfiguration) WithPort added in v0.72.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*DigitalOceanSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*DigitalOceanSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*DigitalOceanSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*DigitalOceanSDConfigApplyConfiguration) WithRefreshInterval added in v0.72.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*DigitalOceanSDConfigApplyConfiguration) WithTLSConfig added in v0.72.0

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 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 DockerFilterApplyConfiguration added in v0.73.0

type DockerFilterApplyConfiguration struct {
	Name   *string  `json:"name,omitempty"`
	Values []string `json:"values,omitempty"`
}

DockerFilterApplyConfiguration represents an declarative configuration of the DockerFilter type for use with apply.

func DockerFilter added in v0.73.0

func DockerFilter() *DockerFilterApplyConfiguration

DockerFilterApplyConfiguration constructs an declarative configuration of the DockerFilter type for use with apply.

func (*DockerFilterApplyConfiguration) WithName added in v0.73.0

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 (*DockerFilterApplyConfiguration) WithValues added in v0.73.0

WithValues adds the given value to the Values 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 Values field.

type DockerSDConfigApplyConfiguration added in v0.73.0

type DockerSDConfigApplyConfiguration struct {
	Host                             *string `json:"host,omitempty"`
	v1.ProxyConfigApplyConfiguration `json:",inline"`
	TLSConfig                        *v1.SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	Port                             *int                                    `json:"port,omitempty"`
	HostNetworkingHost               *string                                 `json:"hostNetworkingHost,omitempty"`
	Filters                          *[]DockerFilterApplyConfiguration       `json:"filters,omitempty"`
	RefreshInterval                  *monitoringv1.Duration                  `json:"refreshInterval,omitempty"`
	BasicAuth                        *v1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                    *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                           *v1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	FollowRedirects                  *bool                                   `json:"followRedirects,omitempty"`
	EnableHTTP2                      *bool                                   `json:"enableHTTP2,omitempty"`
}

DockerSDConfigApplyConfiguration represents an declarative configuration of the DockerSDConfig type for use with apply.

func DockerSDConfig added in v0.73.0

func DockerSDConfig() *DockerSDConfigApplyConfiguration

DockerSDConfigApplyConfiguration constructs an declarative configuration of the DockerSDConfig type for use with apply.

func (*DockerSDConfigApplyConfiguration) WithAuthorization added in v0.73.0

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 (*DockerSDConfigApplyConfiguration) WithBasicAuth added in v0.73.0

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 (*DockerSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.73.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithFilters added in v0.73.0

WithFilters adds the given value to the Filters 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 Filters field.

func (*DockerSDConfigApplyConfiguration) WithFollowRedirects added in v0.73.0

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 (*DockerSDConfigApplyConfiguration) WithHost added in v0.73.0

WithHost sets the Host field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Host field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithHostNetworkingHost added in v0.73.0

WithHostNetworkingHost sets the HostNetworkingHost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostNetworkingHost field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithOAuth2 added in v0.73.0

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 (*DockerSDConfigApplyConfiguration) WithPort added in v0.73.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*DockerSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

func (b *DockerSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DockerSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*DockerSDConfigApplyConfiguration) WithRefreshInterval added in v0.73.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*DockerSDConfigApplyConfiguration) WithTLSConfig added in v0.73.0

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 EC2FilterApplyConfiguration added in v0.69.0

type EC2FilterApplyConfiguration struct {
	Name   *string  `json:"name,omitempty"`
	Values []string `json:"values,omitempty"`
}

EC2FilterApplyConfiguration represents an declarative configuration of the EC2Filter type for use with apply.

func EC2Filter added in v0.69.0

func EC2Filter() *EC2FilterApplyConfiguration

EC2FilterApplyConfiguration constructs an declarative configuration of the EC2Filter type for use with apply.

func (*EC2FilterApplyConfiguration) WithName added in v0.69.0

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 (*EC2FilterApplyConfiguration) WithValues added in v0.69.0

WithValues adds the given value to the Values 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 Values field.

type EC2SDConfigApplyConfiguration added in v0.69.0

type EC2SDConfigApplyConfiguration struct {
	Region          *string                `json:"region,omitempty"`
	AccessKey       *v1.SecretKeySelector  `json:"accessKey,omitempty"`
	SecretKey       *v1.SecretKeySelector  `json:"secretKey,omitempty"`
	RoleARN         *string                `json:"roleARN,omitempty"`
	RefreshInterval *monitoringv1.Duration `json:"refreshInterval,omitempty"`
	Port            *int                   `json:"port,omitempty"`
	Filters         []*v1alpha1.EC2Filter  `json:"filters,omitempty"`
}

EC2SDConfigApplyConfiguration represents an declarative configuration of the EC2SDConfig type for use with apply.

func EC2SDConfig added in v0.69.0

func EC2SDConfig() *EC2SDConfigApplyConfiguration

EC2SDConfigApplyConfiguration constructs an declarative configuration of the EC2SDConfig type for use with apply.

func (*EC2SDConfigApplyConfiguration) WithAccessKey added in v0.69.0

WithAccessKey sets the AccessKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AccessKey field is set to the value of the last call.

func (*EC2SDConfigApplyConfiguration) WithFilters added in v0.69.0

WithFilters adds the given value to the Filters 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 Filters field.

func (*EC2SDConfigApplyConfiguration) WithPort added in v0.69.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*EC2SDConfigApplyConfiguration) WithRefreshInterval added in v0.69.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*EC2SDConfigApplyConfiguration) WithRegion added in v0.69.0

WithRegion sets the Region field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Region field is set to the value of the last call.

func (*EC2SDConfigApplyConfiguration) WithRoleARN added in v0.69.0

WithRoleARN sets the RoleARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoleARN field is set to the value of the last call.

func (*EC2SDConfigApplyConfiguration) WithSecretKey added in v0.69.0

WithSecretKey sets the SecretKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretKey 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 *v1.SecretKeySelector                         `json:"authPassword,omitempty"`
	AuthSecret   *v1.SecretKeySelector                         `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    *monitoringv1.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 EurekaSDConfigApplyConfiguration added in v0.73.0

type EurekaSDConfigApplyConfiguration struct {
	Server                           *string                                 `json:"server,omitempty"`
	BasicAuth                        *v1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                    *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                           *v1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	TLSConfig                        *v1.SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	v1.ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects                  *bool                  `json:"followRedirects,omitempty"`
	EnableHTTP2                      *bool                  `json:"enableHTTP2,omitempty"`
	RefreshInterval                  *monitoringv1.Duration `json:"refreshInterval,omitempty"`
}

EurekaSDConfigApplyConfiguration represents an declarative configuration of the EurekaSDConfig type for use with apply.

func EurekaSDConfig added in v0.73.0

func EurekaSDConfig() *EurekaSDConfigApplyConfiguration

EurekaSDConfigApplyConfiguration constructs an declarative configuration of the EurekaSDConfig type for use with apply.

func (*EurekaSDConfigApplyConfiguration) WithAuthorization added in v0.73.0

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 (*EurekaSDConfigApplyConfiguration) WithBasicAuth added in v0.73.0

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 (*EurekaSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.73.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*EurekaSDConfigApplyConfiguration) WithFollowRedirects added in v0.73.0

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 (*EurekaSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*EurekaSDConfigApplyConfiguration) WithOAuth2 added in v0.73.0

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 (*EurekaSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*EurekaSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

func (b *EurekaSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *EurekaSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*EurekaSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*EurekaSDConfigApplyConfiguration) WithRefreshInterval added in v0.73.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*EurekaSDConfigApplyConfiguration) WithServer added in v0.73.0

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

func (*EurekaSDConfigApplyConfiguration) WithTLSConfig added in v0.73.0

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 FileSDConfigApplyConfiguration added in v0.65.0

type FileSDConfigApplyConfiguration struct {
	Files           []v1alpha1.SDFile `json:"files,omitempty"`
	RefreshInterval *v1.Duration      `json:"refreshInterval,omitempty"`
}

FileSDConfigApplyConfiguration represents an declarative configuration of the FileSDConfig type for use with apply.

func FileSDConfig added in v0.65.0

func FileSDConfig() *FileSDConfigApplyConfiguration

FileSDConfigApplyConfiguration constructs an declarative configuration of the FileSDConfig type for use with apply.

func (*FileSDConfigApplyConfiguration) WithFiles added in v0.65.0

WithFiles adds the given value to the Files 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 Files field.

func (*FileSDConfigApplyConfiguration) WithRefreshInterval added in v0.65.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

type GCESDConfigApplyConfiguration added in v0.70.0

type GCESDConfigApplyConfiguration struct {
	Project         *string      `json:"project,omitempty"`
	Zone            *string      `json:"zone,omitempty"`
	Filter          *string      `json:"filter,omitempty"`
	RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"`
	Port            *int         `json:"port,omitempty"`
	TagSeparator    *string      `json:"tagSeparator,omitempty"`
}

GCESDConfigApplyConfiguration represents an declarative configuration of the GCESDConfig type for use with apply.

func GCESDConfig added in v0.70.0

func GCESDConfig() *GCESDConfigApplyConfiguration

GCESDConfigApplyConfiguration constructs an declarative configuration of the GCESDConfig type for use with apply.

func (*GCESDConfigApplyConfiguration) WithFilter added in v0.70.0

WithFilter sets the Filter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filter field is set to the value of the last call.

func (*GCESDConfigApplyConfiguration) WithPort added in v0.70.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*GCESDConfigApplyConfiguration) WithProject added in v0.70.0

WithProject sets the Project field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Project field is set to the value of the last call.

func (*GCESDConfigApplyConfiguration) WithRefreshInterval added in v0.70.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*GCESDConfigApplyConfiguration) WithTagSeparator added in v0.70.0

WithTagSeparator sets the TagSeparator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TagSeparator field is set to the value of the last call.

func (*GCESDConfigApplyConfiguration) WithZone added in v0.70.0

WithZone sets the Zone field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Zone 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 *corev1.SecretKeySelector               `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 HTTPSDConfigApplyConfiguration added in v0.65.0

type HTTPSDConfigApplyConfiguration struct {
	URL                                        *string                                           `json:"url,omitempty"`
	RefreshInterval                            *v1.Duration                                      `json:"refreshInterval,omitempty"`
	BasicAuth                                  *monitoringv1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                              *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	TLSConfig                                  *monitoringv1.SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	monitoringv1.ProxyConfigApplyConfiguration `json:",inline"`
}

HTTPSDConfigApplyConfiguration represents an declarative configuration of the HTTPSDConfig type for use with apply.

func HTTPSDConfig added in v0.65.0

func HTTPSDConfig() *HTTPSDConfigApplyConfiguration

HTTPSDConfigApplyConfiguration constructs an declarative configuration of the HTTPSDConfig type for use with apply.

func (*HTTPSDConfigApplyConfiguration) WithAuthorization added in v0.66.0

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 (*HTTPSDConfigApplyConfiguration) WithBasicAuth added in v0.66.0

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 (*HTTPSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*HTTPSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*HTTPSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

func (b *HTTPSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HTTPSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*HTTPSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*HTTPSDConfigApplyConfiguration) WithRefreshInterval added in v0.65.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*HTTPSDConfigApplyConfiguration) WithTLSConfig added in v0.67.0

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 (*HTTPSDConfigApplyConfiguration) WithURL added in v0.65.0

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 HetznerSDConfigApplyConfiguration added in v0.73.0

type HetznerSDConfigApplyConfiguration struct {
	Role                             *string                                 `json:"role,omitempty"`
	BasicAuth                        *v1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                    *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                           *v1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	v1.ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects                  *bool                               `json:"followRedirects,omitempty"`
	EnableHTTP2                      *bool                               `json:"enableHTTP2,omitempty"`
	TLSConfig                        *v1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
	Port                             *int                                `json:"port,omitempty"`
	RefreshInterval                  *monitoringv1.Duration              `json:"refreshInterval,omitempty"`
}

HetznerSDConfigApplyConfiguration represents an declarative configuration of the HetznerSDConfig type for use with apply.

func HetznerSDConfig added in v0.73.0

func HetznerSDConfig() *HetznerSDConfigApplyConfiguration

HetznerSDConfigApplyConfiguration constructs an declarative configuration of the HetznerSDConfig type for use with apply.

func (*HetznerSDConfigApplyConfiguration) WithAuthorization added in v0.73.0

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 (*HetznerSDConfigApplyConfiguration) WithBasicAuth added in v0.73.0

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 (*HetznerSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.73.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithFollowRedirects added in v0.73.0

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 (*HetznerSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithOAuth2 added in v0.73.0

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 (*HetznerSDConfigApplyConfiguration) WithPort added in v0.73.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*HetznerSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

func (b *HetznerSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HetznerSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*HetznerSDConfigApplyConfiguration) WithRefreshInterval added in v0.73.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithRole added in v0.73.0

WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.

func (*HetznerSDConfigApplyConfiguration) WithTLSConfig added in v0.73.0

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 K8SSelectorConfigApplyConfiguration added in v0.69.0

type K8SSelectorConfigApplyConfiguration struct {
	Role  *v1alpha1.Role `json:"role,omitempty"`
	Label *string        `json:"label,omitempty"`
	Field *string        `json:"field,omitempty"`
}

K8SSelectorConfigApplyConfiguration represents an declarative configuration of the K8SSelectorConfig type for use with apply.

func K8SSelectorConfig added in v0.69.0

func K8SSelectorConfig() *K8SSelectorConfigApplyConfiguration

K8SSelectorConfigApplyConfiguration constructs an declarative configuration of the K8SSelectorConfig type for use with apply.

func (*K8SSelectorConfigApplyConfiguration) WithField added in v0.69.0

WithField sets the Field field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Field field is set to the value of the last call.

func (*K8SSelectorConfigApplyConfiguration) WithLabel added in v0.69.0

WithLabel sets the Label field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Label field is set to the value of the last call.

func (*K8SSelectorConfigApplyConfiguration) WithRole added in v0.69.0

WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.

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 KubernetesSDConfigApplyConfiguration added in v0.67.0

type KubernetesSDConfigApplyConfiguration struct {
	APIServer                        *string                                 `json:"apiServer,omitempty"`
	Role                             *v1alpha1.Role                          `json:"role,omitempty"`
	BasicAuth                        *v1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                    *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                           *v1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	v1.ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects                  *bool                                 `json:"followRedirects,omitempty"`
	EnableHTTP2                      *bool                                 `json:"enableHTTP2,omitempty"`
	TLSConfig                        *v1.SafeTLSConfigApplyConfiguration   `json:"tlsConfig,omitempty"`
	Namespaces                       *NamespaceDiscoveryApplyConfiguration `json:"namespaces,omitempty"`
	AttachMetadata                   *AttachMetadataApplyConfiguration     `json:"attachMetadata,omitempty"`
	Selectors                        []K8SSelectorConfigApplyConfiguration `json:"selectors,omitempty"`
}

KubernetesSDConfigApplyConfiguration represents an declarative configuration of the KubernetesSDConfig type for use with apply.

func KubernetesSDConfig added in v0.67.0

func KubernetesSDConfig() *KubernetesSDConfigApplyConfiguration

KubernetesSDConfigApplyConfiguration constructs an declarative configuration of the KubernetesSDConfig type for use with apply.

func (*KubernetesSDConfigApplyConfiguration) WithAPIServer added in v0.71.0

WithAPIServer sets the APIServer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIServer field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithAttachMetadata added in v0.71.0

WithAttachMetadata sets the AttachMetadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AttachMetadata field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithAuthorization added in v0.71.0

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 (*KubernetesSDConfigApplyConfiguration) WithBasicAuth added in v0.71.0

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 (*KubernetesSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.71.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithFollowRedirects added in v0.71.0

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 (*KubernetesSDConfigApplyConfiguration) WithNamespaces added in v0.71.0

WithNamespaces sets the Namespaces field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespaces field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithOAuth2 added in v0.71.0

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 (*KubernetesSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*KubernetesSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*KubernetesSDConfigApplyConfiguration) WithRole added in v0.67.0

WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.

func (*KubernetesSDConfigApplyConfiguration) WithSelectors added in v0.69.0

WithSelectors adds the given value to the Selectors 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 Selectors field.

func (*KubernetesSDConfigApplyConfiguration) WithTLSConfig added in v0.71.0

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 KumaSDConfigApplyConfiguration added in v0.73.0

type KumaSDConfigApplyConfiguration struct {
	Server                                     *string      `json:"server,omitempty"`
	ClientID                                   *string      `json:"clientID,omitempty"`
	RefreshInterval                            *v1.Duration `json:"refreshInterval,omitempty"`
	FetchTimeout                               *v1.Duration `json:"fetchTimeout,omitempty"`
	monitoringv1.ProxyConfigApplyConfiguration `json:",inline"`
	TLSConfig                                  *monitoringv1.SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	BasicAuth                                  *monitoringv1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                              *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	OAuth2                                     *monitoringv1.OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	FollowRedirects                            *bool                                             `json:"followRedirects,omitempty"`
	EnableHTTP2                                *bool                                             `json:"enableHTTP2,omitempty"`
}

KumaSDConfigApplyConfiguration represents an declarative configuration of the KumaSDConfig type for use with apply.

func KumaSDConfig added in v0.73.0

func KumaSDConfig() *KumaSDConfigApplyConfiguration

KumaSDConfigApplyConfiguration constructs an declarative configuration of the KumaSDConfig type for use with apply.

func (*KumaSDConfigApplyConfiguration) WithAuthorization added in v0.73.0

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 (*KumaSDConfigApplyConfiguration) WithBasicAuth added in v0.73.0

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 (*KumaSDConfigApplyConfiguration) WithClientID added in v0.73.0

WithClientID sets the ClientID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientID field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithEnableHTTP2 added in v0.73.0

WithEnableHTTP2 sets the EnableHTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableHTTP2 field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithFetchTimeout added in v0.73.0

WithFetchTimeout sets the FetchTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FetchTimeout field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithFollowRedirects added in v0.73.0

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 (*KumaSDConfigApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithOAuth2 added in v0.73.0

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 (*KumaSDConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*KumaSDConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

func (b *KumaSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *KumaSDConfigApplyConfiguration

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithProxyURL added in v0.73.0

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 (*KumaSDConfigApplyConfiguration) WithRefreshInterval added in v0.73.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithServer added in v0.73.0

WithServer sets the Server field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Server field is set to the value of the last call.

func (*KumaSDConfigApplyConfiguration) WithTLSConfig added in v0.73.0

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 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 *v1alpha1.MatchType `json:"matchType,omitempty"`
	Regex     *bool               `json:"regex,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) WithRegex

WithRegex sets the Regex field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Regex 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 MuteTimeIntervalApplyConfiguration

type MuteTimeIntervalApplyConfiguration struct {
	Name          *string                          `json:"name,omitempty"`
	TimeIntervals []TimeIntervalApplyConfiguration `json:"timeIntervals,omitempty"`
}

MuteTimeIntervalApplyConfiguration represents an declarative configuration of the MuteTimeInterval type for use with apply.

func MuteTimeInterval

func MuteTimeInterval() *MuteTimeIntervalApplyConfiguration

MuteTimeIntervalApplyConfiguration constructs an declarative configuration of the MuteTimeInterval type for use with apply.

func (*MuteTimeIntervalApplyConfiguration) 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 (*MuteTimeIntervalApplyConfiguration) 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 NamespaceDiscoveryApplyConfiguration added in v0.71.0

type NamespaceDiscoveryApplyConfiguration struct {
	IncludeOwnNamespace *bool    `json:"ownNamespace,omitempty"`
	Names               []string `json:"names,omitempty"`
}

NamespaceDiscoveryApplyConfiguration represents an declarative configuration of the NamespaceDiscovery type for use with apply.

func NamespaceDiscovery added in v0.71.0

func NamespaceDiscovery() *NamespaceDiscoveryApplyConfiguration

NamespaceDiscoveryApplyConfiguration constructs an declarative configuration of the NamespaceDiscovery type for use with apply.

func (*NamespaceDiscoveryApplyConfiguration) WithIncludeOwnNamespace added in v0.71.0

WithIncludeOwnNamespace sets the IncludeOwnNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IncludeOwnNamespace field is set to the value of the last call.

func (*NamespaceDiscoveryApplyConfiguration) WithNames added in v0.71.0

WithNames adds the given value to the Names 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 Names field.

type OpenStackSDConfigApplyConfiguration added in v0.71.0

type OpenStackSDConfigApplyConfiguration struct {
	Role                        *string                                                         `json:"role,omitempty"`
	Region                      *string                                                         `json:"region,omitempty"`
	IdentityEndpoint            *string                                                         `json:"identityEndpoint,omitempty"`
	Username                    *string                                                         `json:"username,omitempty"`
	UserID                      *string                                                         `json:"userid,omitempty"`
	Password                    *v1.SecretKeySelector                                           `json:"password,omitempty"`
	DomainName                  *string                                                         `json:"domainName,omitempty"`
	DomainID                    *string                                                         `json:"domainID,omitempty"`
	ProjectName                 *string                                                         `json:"projectName,omitempty"`
	ProjectID                   *string                                                         `json:"projectID,omitempty"`
	ApplicationCredentialName   *string                                                         `json:"applicationCredentialName,omitempty"`
	ApplicationCredentialID     *string                                                         `json:"applicationCredentialId,omitempty"`
	ApplicationCredentialSecret *v1.SecretKeySelector                                           `json:"applicationCredentialSecret,omitempty"`
	AllTenants                  *bool                                                           `json:"allTenants,omitempty"`
	RefreshInterval             *monitoringv1.Duration                                          `json:"refreshInterval,omitempty"`
	Port                        *int                                                            `json:"port,omitempty"`
	Availability                *string                                                         `json:"availability,omitempty"`
	TLSConfig                   *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
}

OpenStackSDConfigApplyConfiguration represents an declarative configuration of the OpenStackSDConfig type for use with apply.

func OpenStackSDConfig added in v0.71.0

func OpenStackSDConfig() *OpenStackSDConfigApplyConfiguration

OpenStackSDConfigApplyConfiguration constructs an declarative configuration of the OpenStackSDConfig type for use with apply.

func (*OpenStackSDConfigApplyConfiguration) WithAllTenants added in v0.71.0

WithAllTenants sets the AllTenants field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllTenants field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithApplicationCredentialID added in v0.71.0

WithApplicationCredentialID sets the ApplicationCredentialID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApplicationCredentialID field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithApplicationCredentialName added in v0.71.0

func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialName(value string) *OpenStackSDConfigApplyConfiguration

WithApplicationCredentialName sets the ApplicationCredentialName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApplicationCredentialName field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithApplicationCredentialSecret added in v0.71.0

WithApplicationCredentialSecret sets the ApplicationCredentialSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApplicationCredentialSecret field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithAvailability added in v0.71.0

WithAvailability sets the Availability field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Availability field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithDomainID added in v0.71.0

WithDomainID sets the DomainID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainID field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithDomainName added in v0.71.0

WithDomainName sets the DomainName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DomainName field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithIdentityEndpoint added in v0.71.0

WithIdentityEndpoint sets the IdentityEndpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IdentityEndpoint field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithPassword added in v0.71.0

WithPassword sets the Password field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Password field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithPort added in v0.71.0

WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithProjectID added in v0.71.0

WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithProjectName added in v0.71.0

WithProjectName sets the ProjectName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectName field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithRefreshInterval added in v0.71.0

WithRefreshInterval sets the RefreshInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshInterval field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithRegion added in v0.71.0

WithRegion sets the Region field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Region field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithRole added in v0.71.0

WithRole sets the Role field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Role field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithTLSConfig added in v0.71.0

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 (*OpenStackSDConfigApplyConfiguration) WithUserID added in v0.71.0

WithUserID sets the UserID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserID field is set to the value of the last call.

func (*OpenStackSDConfigApplyConfiguration) WithUsername added in v0.71.0

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 OpsGenieConfigApplyConfiguration

type OpsGenieConfigApplyConfiguration struct {
	SendResolved *bool                                       `json:"sendResolved,omitempty"`
	APIKey       *v1.SecretKeySelector                       `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"`
	UpdateAlerts *bool                                       `json:"updateAlerts,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.

func (*OpsGenieConfigApplyConfiguration) WithUpdateAlerts

WithUpdateAlerts sets the UpdateAlerts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdateAlerts 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            *v1.SecretKeySelector                    `json:"routingKey,omitempty"`
	ServiceKey            *v1.SecretKeySelector                    `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 PrometheusAgentApplyConfiguration added in v0.64.0

type PrometheusAgentApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PrometheusAgentSpecApplyConfiguration           `json:"spec,omitempty"`
	Status                           *monitoringv1.PrometheusStatusApplyConfiguration `json:"status,omitempty"`
}

PrometheusAgentApplyConfiguration represents an declarative configuration of the PrometheusAgent type for use with apply.

func PrometheusAgent added in v0.64.0

func PrometheusAgent(name, namespace string) *PrometheusAgentApplyConfiguration

PrometheusAgent constructs an declarative configuration of the PrometheusAgent type for use with apply.

func (*PrometheusAgentApplyConfiguration) WithAPIVersion added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithAnnotations added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithCreationTimestamp added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.64.0

func (b *PrometheusAgentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusAgentApplyConfiguration

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 (*PrometheusAgentApplyConfiguration) WithDeletionTimestamp added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithFinalizers added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithGenerateName added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithGeneration added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithKind added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithLabels added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithName added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithNamespace added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithOwnerReferences added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithResourceVersion added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithSpec added in v0.64.0

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 (*PrometheusAgentApplyConfiguration) WithStatus added in v0.64.0

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*PrometheusAgentApplyConfiguration) WithUID added in v0.64.0

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 PrometheusAgentSpecApplyConfiguration added in v0.64.0

type PrometheusAgentSpecApplyConfiguration struct {
	v1.CommonPrometheusFieldsApplyConfiguration `json:",inline"`
}

PrometheusAgentSpecApplyConfiguration represents an declarative configuration of the PrometheusAgentSpec type for use with apply.

func PrometheusAgentSpec added in v0.64.0

func PrometheusAgentSpec() *PrometheusAgentSpecApplyConfiguration

PrometheusAgentSpecApplyConfiguration constructs an declarative configuration of the PrometheusAgentSpec type for use with apply.

func (*PrometheusAgentSpecApplyConfiguration) WithAPIServerConfig added in v0.64.0

WithAPIServerConfig sets the APIServerConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIServerConfig field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithAdditionalArgs added in v0.64.0

WithAdditionalArgs adds the given value to the AdditionalArgs 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 AdditionalArgs field.

func (*PrometheusAgentSpecApplyConfiguration) WithAdditionalScrapeConfigs added in v0.64.0

WithAdditionalScrapeConfigs sets the AdditionalScrapeConfigs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdditionalScrapeConfigs field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithAffinity added in v0.64.0

WithAffinity sets the Affinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Affinity field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs added in v0.64.0

WithArbitraryFSAccessThroughSMs sets the ArbitraryFSAccessThroughSMs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ArbitraryFSAccessThroughSMs field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithBodySizeLimit added in v0.67.0

WithBodySizeLimit sets the BodySizeLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BodySizeLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithConfigMaps added in v0.64.0

WithConfigMaps adds the given value to the ConfigMaps 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 ConfigMaps field.

func (*PrometheusAgentSpecApplyConfiguration) WithContainers added in v0.64.0

WithContainers adds the given value to the Containers 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 Containers field.

func (*PrometheusAgentSpecApplyConfiguration) WithEnableFeatures added in v0.64.0

WithEnableFeatures adds the given value to the EnableFeatures 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 EnableFeatures field.

func (*PrometheusAgentSpecApplyConfiguration) WithEnableRemoteWriteReceiver added in v0.64.0

func (b *PrometheusAgentSpecApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *PrometheusAgentSpecApplyConfiguration

WithEnableRemoteWriteReceiver sets the EnableRemoteWriteReceiver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableRemoteWriteReceiver field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedBodySizeLimit added in v0.64.0

WithEnforcedBodySizeLimit sets the EnforcedBodySizeLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedBodySizeLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedKeepDroppedTargets added in v0.68.0

WithEnforcedKeepDroppedTargets sets the EnforcedKeepDroppedTargets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedKeepDroppedTargets field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelLimit added in v0.64.0

WithEnforcedLabelLimit sets the EnforcedLabelLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedLabelLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit added in v0.64.0

func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration

WithEnforcedLabelNameLengthLimit sets the EnforcedLabelNameLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedLabelNameLengthLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit added in v0.64.0

func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration

WithEnforcedLabelValueLengthLimit sets the EnforcedLabelValueLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedLabelValueLengthLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedNamespaceLabel added in v0.64.0

WithEnforcedNamespaceLabel sets the EnforcedNamespaceLabel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedNamespaceLabel field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedSampleLimit added in v0.64.0

WithEnforcedSampleLimit sets the EnforcedSampleLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedSampleLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithEnforcedTargetLimit added in v0.64.0

WithEnforcedTargetLimit sets the EnforcedTargetLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnforcedTargetLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithExcludedFromEnforcement added in v0.64.0

WithExcludedFromEnforcement adds the given value to the ExcludedFromEnforcement 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 ExcludedFromEnforcement field.

func (*PrometheusAgentSpecApplyConfiguration) WithExternalLabels added in v0.64.0

WithExternalLabels puts the entries into the ExternalLabels 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 ExternalLabels field, overwriting an existing map entries in ExternalLabels field with the same key.

func (*PrometheusAgentSpecApplyConfiguration) WithExternalURL added in v0.64.0

WithExternalURL sets the ExternalURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExternalURL field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithHostAliases added in v0.64.0

WithHostAliases adds the given value to the HostAliases 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 HostAliases field.

func (*PrometheusAgentSpecApplyConfiguration) WithHostNetwork added in v0.64.0

WithHostNetwork sets the HostNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostNetwork field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithIgnoreNamespaceSelectors added in v0.64.0

WithIgnoreNamespaceSelectors sets the IgnoreNamespaceSelectors field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreNamespaceSelectors field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithImage added in v0.64.0

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithImagePullPolicy added in v0.64.0

WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithImagePullSecrets added in v0.64.0

WithImagePullSecrets adds the given value to the ImagePullSecrets 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 ImagePullSecrets field.

func (*PrometheusAgentSpecApplyConfiguration) WithInitContainers added in v0.64.0

WithInitContainers adds the given value to the InitContainers 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 InitContainers field.

func (*PrometheusAgentSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

WithKeepDroppedTargets sets the KeepDroppedTargets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeepDroppedTargets field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithLabelLimit added in v0.67.0

WithLabelLimit sets the LabelLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithLabelNameLengthLimit added in v0.67.0

WithLabelNameLengthLimit sets the LabelNameLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelNameLengthLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithLabelValueLengthLimit added in v0.67.0

WithLabelValueLengthLimit sets the LabelValueLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelValueLengthLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithListenLocal added in v0.64.0

WithListenLocal sets the ListenLocal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ListenLocal field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithLogFormat added in v0.64.0

WithLogFormat sets the LogFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogFormat field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithLogLevel added in v0.64.0

WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithMaximumStartupDurationSeconds added in v0.71.0

func (b *PrometheusAgentSpecApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *PrometheusAgentSpecApplyConfiguration

WithMaximumStartupDurationSeconds sets the MaximumStartupDurationSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaximumStartupDurationSeconds field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithMinReadySeconds added in v0.64.0

WithMinReadySeconds sets the MinReadySeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinReadySeconds field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithNodeSelector added in v0.64.0

WithNodeSelector puts the entries into the NodeSelector 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 NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.

func (*PrometheusAgentSpecApplyConfiguration) WithOverrideHonorLabels added in v0.64.0

WithOverrideHonorLabels sets the OverrideHonorLabels field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OverrideHonorLabels field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithOverrideHonorTimestamps added in v0.64.0

WithOverrideHonorTimestamps sets the OverrideHonorTimestamps field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OverrideHonorTimestamps field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPaused added in v0.64.0

WithPaused sets the Paused field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Paused field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy added in v0.70.0

WithPersistentVolumeClaimRetentionPolicy sets the PersistentVolumeClaimRetentionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PersistentVolumeClaimRetentionPolicy field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPodMetadata added in v0.64.0

WithPodMetadata sets the PodMetadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodMetadata field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPodMonitorNamespaceSelector added in v0.64.0

WithPodMonitorNamespaceSelector sets the PodMonitorNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodMonitorNamespaceSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPodMonitorSelector added in v0.64.0

WithPodMonitorSelector sets the PodMonitorSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodMonitorSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPodTargetLabels added in v0.64.0

WithPodTargetLabels adds the given value to the PodTargetLabels 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 PodTargetLabels field.

func (*PrometheusAgentSpecApplyConfiguration) WithPortName added in v0.64.0

WithPortName sets the PortName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PortName field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPriorityClassName added in v0.64.0

WithPriorityClassName sets the PriorityClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PriorityClassName field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithProbeNamespaceSelector added in v0.64.0

WithProbeNamespaceSelector sets the ProbeNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProbeNamespaceSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithProbeSelector added in v0.64.0

WithProbeSelector sets the ProbeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProbeSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithPrometheusExternalLabelName added in v0.64.0

func (b *PrometheusAgentSpecApplyConfiguration) WithPrometheusExternalLabelName(value string) *PrometheusAgentSpecApplyConfiguration

WithPrometheusExternalLabelName sets the PrometheusExternalLabelName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrometheusExternalLabelName field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithReloadStrategy added in v0.70.0

WithReloadStrategy sets the ReloadStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReloadStrategy field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithRemoteWrite added in v0.64.0

WithRemoteWrite adds the given value to the RemoteWrite 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 RemoteWrite field.

func (*PrometheusAgentSpecApplyConfiguration) WithReplicaExternalLabelName added in v0.64.0

WithReplicaExternalLabelName sets the ReplicaExternalLabelName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReplicaExternalLabelName field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithReplicas added in v0.64.0

WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithResources added in v0.64.0

WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithRoutePrefix added in v0.64.0

WithRoutePrefix sets the RoutePrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutePrefix field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithSampleLimit added in v0.67.0

WithSampleLimit sets the SampleLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SampleLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeClasses added in v0.72.0

WithScrapeClasses adds the given value to the ScrapeClasses 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 ScrapeClasses field.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeConfigNamespaceSelector added in v0.65.0

WithScrapeConfigNamespaceSelector sets the ScrapeConfigNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeConfigNamespaceSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeConfigSelector added in v0.65.0

WithScrapeConfigSelector sets the ScrapeConfigSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeConfigSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeInterval added in v0.64.0

WithScrapeInterval sets the ScrapeInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeInterval field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols 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 ScrapeProtocols field.

func (*PrometheusAgentSpecApplyConfiguration) WithScrapeTimeout added in v0.64.0

WithScrapeTimeout sets the ScrapeTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeTimeout field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithSecrets added in v0.64.0

WithSecrets adds the given value to the Secrets 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 Secrets field.

func (*PrometheusAgentSpecApplyConfiguration) WithSecurityContext added in v0.64.0

WithSecurityContext sets the SecurityContext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecurityContext field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithServiceAccountName added in v0.64.0

WithServiceAccountName sets the ServiceAccountName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccountName field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithServiceMonitorNamespaceSelector added in v0.64.0

WithServiceMonitorNamespaceSelector sets the ServiceMonitorNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceMonitorNamespaceSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithServiceMonitorSelector added in v0.64.0

WithServiceMonitorSelector sets the ServiceMonitorSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceMonitorSelector field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithShards added in v0.64.0

WithShards sets the Shards field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Shards field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithStorage added in v0.64.0

WithStorage sets the Storage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Storage field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithTargetLimit added in v0.67.0

WithTargetLimit sets the TargetLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetLimit field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithTolerations added in v0.64.0

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

func (*PrometheusAgentSpecApplyConfiguration) WithTopologySpreadConstraints added in v0.64.0

WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints 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 TopologySpreadConstraints field.

func (*PrometheusAgentSpecApplyConfiguration) WithTracingConfig added in v0.66.0

WithTracingConfig sets the TracingConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TracingConfig field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithVersion added in v0.64.0

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithVolumeMounts added in v0.64.0

WithVolumeMounts adds the given value to the VolumeMounts 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 VolumeMounts field.

func (*PrometheusAgentSpecApplyConfiguration) WithVolumes added in v0.64.0

WithVolumes adds the given value to the Volumes 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 Volumes field.

func (*PrometheusAgentSpecApplyConfiguration) WithWALCompression added in v0.64.0

WithWALCompression sets the WALCompression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WALCompression field is set to the value of the last call.

func (*PrometheusAgentSpecApplyConfiguration) WithWeb added in v0.64.0

WithWeb sets the Web field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Web field is set to the value of the last call.

type PushoverConfigApplyConfiguration

type PushoverConfigApplyConfiguration struct {
	SendResolved *bool                         `json:"sendResolved,omitempty"`
	UserKey      *v1.SecretKeySelector         `json:"userKey,omitempty"`
	UserKeyFile  *string                       `json:"userKeyFile,omitempty"`
	Token        *v1.SecretKeySelector         `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 ScrapeConfigApplyConfiguration added in v0.65.0

type ScrapeConfigApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ScrapeConfigSpecApplyConfiguration `json:"spec,omitempty"`
}

ScrapeConfigApplyConfiguration represents an declarative configuration of the ScrapeConfig type for use with apply.

func ScrapeConfig added in v0.65.0

func ScrapeConfig(name, namespace string) *ScrapeConfigApplyConfiguration

ScrapeConfig constructs an declarative configuration of the ScrapeConfig type for use with apply.

func (*ScrapeConfigApplyConfiguration) WithAPIVersion added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithAnnotations added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithCreationTimestamp added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.65.0

func (b *ScrapeConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ScrapeConfigApplyConfiguration

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 (*ScrapeConfigApplyConfiguration) WithDeletionTimestamp added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithFinalizers added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithGenerateName added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithGeneration added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithKind added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithLabels added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithName added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithNamespace added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithOwnerReferences added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithResourceVersion added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithSpec added in v0.65.0

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 (*ScrapeConfigApplyConfiguration) WithUID added in v0.65.0

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 ScrapeConfigSpecApplyConfiguration added in v0.65.0

type ScrapeConfigSpecApplyConfiguration struct {
	StaticConfigs                              []StaticConfigApplyConfiguration                  `json:"staticConfigs,omitempty"`
	FileSDConfigs                              []FileSDConfigApplyConfiguration                  `json:"fileSDConfigs,omitempty"`
	HTTPSDConfigs                              []HTTPSDConfigApplyConfiguration                  `json:"httpSDConfigs,omitempty"`
	KubernetesSDConfigs                        []KubernetesSDConfigApplyConfiguration            `json:"kubernetesSDConfigs,omitempty"`
	ConsulSDConfigs                            []ConsulSDConfigApplyConfiguration                `json:"consulSDConfigs,omitempty"`
	DNSSDConfigs                               []DNSSDConfigApplyConfiguration                   `json:"dnsSDConfigs,omitempty"`
	EC2SDConfigs                               []EC2SDConfigApplyConfiguration                   `json:"ec2SDConfigs,omitempty"`
	AzureSDConfigs                             []AzureSDConfigApplyConfiguration                 `json:"azureSDConfigs,omitempty"`
	GCESDConfigs                               []GCESDConfigApplyConfiguration                   `json:"gceSDConfigs,omitempty"`
	OpenStackSDConfigs                         []OpenStackSDConfigApplyConfiguration             `json:"openstackSDConfigs,omitempty"`
	DigitalOceanSDConfigs                      []DigitalOceanSDConfigApplyConfiguration          `json:"digitalOceanSDConfigs,omitempty"`
	KumaSDConfigs                              []KumaSDConfigApplyConfiguration                  `json:"kumaSDConfigs,omitempty"`
	EurekaSDConfigs                            []EurekaSDConfigApplyConfiguration                `json:"eurekaSDConfigs,omitempty"`
	DockerSDConfigs                            []DockerSDConfigApplyConfiguration                `json:"dockerSDConfigs,omitempty"`
	HetznerSDConfigs                           []HetznerSDConfigApplyConfiguration               `json:"hetznerSDConfigs,omitempty"`
	RelabelConfigs                             []*v1.RelabelConfig                               `json:"relabelings,omitempty"`
	MetricsPath                                *string                                           `json:"metricsPath,omitempty"`
	ScrapeInterval                             *v1.Duration                                      `json:"scrapeInterval,omitempty"`
	ScrapeTimeout                              *v1.Duration                                      `json:"scrapeTimeout,omitempty"`
	ScrapeProtocols                            []v1.ScrapeProtocol                               `json:"scrapeProtocols,omitempty"`
	HonorTimestamps                            *bool                                             `json:"honorTimestamps,omitempty"`
	TrackTimestampsStaleness                   *bool                                             `json:"trackTimestampsStaleness,omitempty"`
	HonorLabels                                *bool                                             `json:"honorLabels,omitempty"`
	Params                                     map[string][]string                               `json:"params,omitempty"`
	Scheme                                     *string                                           `json:"scheme,omitempty"`
	EnableCompression                          *bool                                             `json:"enableCompression,omitempty"`
	BasicAuth                                  *monitoringv1.BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	Authorization                              *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	TLSConfig                                  *monitoringv1.SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	SampleLimit                                *uint64                                           `json:"sampleLimit,omitempty"`
	TargetLimit                                *uint64                                           `json:"targetLimit,omitempty"`
	LabelLimit                                 *uint64                                           `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                       *uint64                                           `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                      *uint64                                           `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets                         *uint64                                           `json:"keepDroppedTargets,omitempty"`
	MetricRelabelConfigs                       []*v1.RelabelConfig                               `json:"metricRelabelings,omitempty"`
	monitoringv1.ProxyConfigApplyConfiguration `json:",inline"`
	ScrapeClassName                            *string `json:"scrapeClass,omitempty"`
}

ScrapeConfigSpecApplyConfiguration represents an declarative configuration of the ScrapeConfigSpec type for use with apply.

func ScrapeConfigSpec added in v0.65.0

func ScrapeConfigSpec() *ScrapeConfigSpecApplyConfiguration

ScrapeConfigSpecApplyConfiguration constructs an declarative configuration of the ScrapeConfigSpec type for use with apply.

func (*ScrapeConfigSpecApplyConfiguration) WithAuthorization added in v0.66.0

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 (*ScrapeConfigSpecApplyConfiguration) WithAzureSDConfigs added in v0.70.0

WithAzureSDConfigs adds the given value to the AzureSDConfigs 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 AzureSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithBasicAuth added in v0.66.0

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 (*ScrapeConfigSpecApplyConfiguration) WithConsulSDConfigs added in v0.67.0

WithConsulSDConfigs adds the given value to the ConsulSDConfigs 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 ConsulSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithDNSSDConfigs added in v0.68.0

WithDNSSDConfigs adds the given value to the DNSSDConfigs 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 DNSSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithDigitalOceanSDConfigs added in v0.72.0

WithDigitalOceanSDConfigs adds the given value to the DigitalOceanSDConfigs 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 DigitalOceanSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithDockerSDConfigs added in v0.73.0

WithDockerSDConfigs adds the given value to the DockerSDConfigs 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 DockerSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithEC2SDConfigs added in v0.69.0

WithEC2SDConfigs adds the given value to the EC2SDConfigs 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 EC2SDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithEnableCompression added in v0.72.0

WithEnableCompression sets the EnableCompression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableCompression field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithEurekaSDConfigs added in v0.73.0

WithEurekaSDConfigs adds the given value to the EurekaSDConfigs 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 EurekaSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithFileSDConfigs added in v0.65.0

WithFileSDConfigs adds the given value to the FileSDConfigs 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 FileSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithGCESDConfigs added in v0.70.0

WithGCESDConfigs adds the given value to the GCESDConfigs 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 GCESDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithHTTPSDConfigs added in v0.65.0

WithHTTPSDConfigs adds the given value to the HTTPSDConfigs 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 HTTPSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithHetznerSDConfigs added in v0.73.0

WithHetznerSDConfigs adds the given value to the HetznerSDConfigs 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 HetznerSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithHonorLabels added in v0.65.0

WithHonorLabels sets the HonorLabels field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HonorLabels field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithHonorTimestamps added in v0.65.0

WithHonorTimestamps sets the HonorTimestamps field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HonorTimestamps field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

WithKeepDroppedTargets sets the KeepDroppedTargets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeepDroppedTargets field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithKubernetesSDConfigs added in v0.67.0

WithKubernetesSDConfigs adds the given value to the KubernetesSDConfigs 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 KubernetesSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithKumaSDConfigs added in v0.73.0

WithKumaSDConfigs adds the given value to the KumaSDConfigs 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 KumaSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithLabelLimit added in v0.67.0

WithLabelLimit sets the LabelLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelLimit field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithLabelNameLengthLimit added in v0.67.0

WithLabelNameLengthLimit sets the LabelNameLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelNameLengthLimit field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithLabelValueLengthLimit added in v0.67.0

WithLabelValueLengthLimit sets the LabelValueLengthLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelValueLengthLimit field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithMetricRelabelConfigs added in v0.68.0

WithMetricRelabelConfigs adds the given value to the MetricRelabelConfigs 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 MetricRelabelConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithMetricsPath added in v0.65.0

WithMetricsPath sets the MetricsPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MetricsPath field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithNoProxy added in v0.73.0

WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithOpenStackSDConfigs added in v0.71.0

WithOpenStackSDConfigs adds the given value to the OpenStackSDConfigs 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 OpenStackSDConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithParams added in v0.67.0

WithParams puts the entries into the Params 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 Params field, overwriting an existing map entries in Params field with the same key.

func (*ScrapeConfigSpecApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader 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 ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*ScrapeConfigSpecApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

WithProxyFromEnvironment sets the ProxyFromEnvironment field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyFromEnvironment field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithProxyURL added in v0.73.0

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 (*ScrapeConfigSpecApplyConfiguration) WithRelabelConfigs added in v0.65.0

WithRelabelConfigs adds the given value to the RelabelConfigs 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 RelabelConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithSampleLimit added in v0.67.0

WithSampleLimit sets the SampleLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SampleLimit field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithScheme added in v0.67.0

WithScheme sets the Scheme field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Scheme field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithScrapeClassName added in v0.72.0

WithScrapeClassName sets the ScrapeClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeClassName field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithScrapeInterval added in v0.67.0

WithScrapeInterval sets the ScrapeInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeInterval field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols 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 ScrapeProtocols field.

func (*ScrapeConfigSpecApplyConfiguration) WithScrapeTimeout added in v0.67.0

WithScrapeTimeout sets the ScrapeTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeTimeout field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithStaticConfigs added in v0.65.0

WithStaticConfigs adds the given value to the StaticConfigs 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 StaticConfigs field.

func (*ScrapeConfigSpecApplyConfiguration) WithTLSConfig added in v0.67.0

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 (*ScrapeConfigSpecApplyConfiguration) WithTargetLimit added in v0.67.0

WithTargetLimit sets the TargetLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetLimit field is set to the value of the last call.

func (*ScrapeConfigSpecApplyConfiguration) WithTrackTimestampsStaleness added in v0.70.0

func (b *ScrapeConfigSpecApplyConfiguration) WithTrackTimestampsStaleness(value bool) *ScrapeConfigSpecApplyConfiguration

WithTrackTimestampsStaleness sets the TrackTimestampsStaleness field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TrackTimestampsStaleness 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       *v1.SecretKeySelector           `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 StaticConfigApplyConfiguration added in v0.65.0

type StaticConfigApplyConfiguration struct {
	Targets []v1alpha1.Target       `json:"targets,omitempty"`
	Labels  map[v1.LabelName]string `json:"labels,omitempty"`
}

StaticConfigApplyConfiguration represents an declarative configuration of the StaticConfig type for use with apply.

func StaticConfig added in v0.65.0

func StaticConfig() *StaticConfigApplyConfiguration

StaticConfigApplyConfiguration constructs an declarative configuration of the StaticConfig type for use with apply.

func (*StaticConfigApplyConfiguration) WithLabels added in v0.65.0

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 (*StaticConfigApplyConfiguration) WithTargets added in v0.65.0

WithTargets adds the given value to the Targets 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 Targets field.

type TelegramConfigApplyConfiguration

type TelegramConfigApplyConfiguration struct {
	SendResolved         *bool                         `json:"sendResolved,omitempty"`
	APIURL               *string                       `json:"apiURL,omitempty"`
	BotToken             *v1.SecretKeySelector         `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 {
	Times       []TimeRangeApplyConfiguration       `json:"times,omitempty"`
	Weekdays    []monitoringv1alpha1.WeekdayRange   `json:"weekdays,omitempty"`
	DaysOfMonth []DayOfMonthRangeApplyConfiguration `json:"daysOfMonth,omitempty"`
	Months      []monitoringv1alpha1.MonthRange     `json:"months,omitempty"`
	Years       []monitoringv1alpha1.YearRange      `json:"years,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) 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 (*TimeIntervalApplyConfiguration) 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 (*TimeIntervalApplyConfiguration) 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 (*TimeIntervalApplyConfiguration) 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 (*TimeIntervalApplyConfiguration) 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 *v1alpha1.Time `json:"startTime,omitempty"`
	EndTime   *v1alpha1.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            *v1.SecretKeySelector         `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    *v1.SecretKeySelector         `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       *v1alpha1.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    *v1.SecretKeySelector         `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