Documentation ¶
Index ¶
- type AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) GetName() *string
- func (b *AlertmanagerConfigApplyConfiguration) WithAPIVersion(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithGenerateName(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithGeneration(value int64) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithKind(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithName(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithNamespace(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithResourceVersion(value string) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithSpec(value *AlertmanagerConfigSpecApplyConfiguration) *AlertmanagerConfigApplyConfiguration
- func (b *AlertmanagerConfigApplyConfiguration) WithUID(value types.UID) *AlertmanagerConfigApplyConfiguration
- type AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules(values ...*InhibitRuleApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithMuteTimeIntervals(values ...*MuteTimeIntervalApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithReceivers(values ...*ReceiverApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- func (b *AlertmanagerConfigSpecApplyConfiguration) WithRoute(value *RouteApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
- type AttachMetadataApplyConfiguration
- type AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithAuthenticationMethod(value string) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithClientID(value string) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithClientSecret(value v1.SecretKeySelector) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithEnvironment(value string) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithPort(value int) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithResourceGroup(value string) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithSubscriptionID(value string) *AzureSDConfigApplyConfiguration
- func (b *AzureSDConfigApplyConfiguration) WithTenantID(value string) *AzureSDConfigApplyConfiguration
- type ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithAllowStale(value bool) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithAuthorization(value *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithBasicAuth(value *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithDatacenter(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithEnableHttp2(value bool) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithFollowRedirects(value bool) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithNamespace(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithNoProxy(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithNodeMeta(entries map[string]string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithOauth2(value *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithPartition(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithProxyURL(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithScheme(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithServer(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithServices(values ...string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithTagSeparator(value string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithTags(values ...string) *ConsulSDConfigApplyConfiguration
- func (b *ConsulSDConfigApplyConfiguration) WithTokenRef(value v1.SecretKeySelector) *ConsulSDConfigApplyConfiguration
- type DNSSDConfigApplyConfiguration
- func (b *DNSSDConfigApplyConfiguration) WithNames(values ...string) *DNSSDConfigApplyConfiguration
- func (b *DNSSDConfigApplyConfiguration) WithPort(value int32) *DNSSDConfigApplyConfiguration
- func (b *DNSSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *DNSSDConfigApplyConfiguration
- func (b *DNSSDConfigApplyConfiguration) WithType(value v1alpha1.DNSRecordType) *DNSSDConfigApplyConfiguration
- type DayOfMonthRangeApplyConfiguration
- type DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithNoProxy(value string) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithPort(value int) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyURL(value string) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *DigitalOceanSDConfigApplyConfiguration
- func (b *DigitalOceanSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
- type DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithMessage(value string) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithSendResolved(value bool) *DiscordConfigApplyConfiguration
- func (b *DiscordConfigApplyConfiguration) WithTitle(value string) *DiscordConfigApplyConfiguration
- type DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithHost(value string) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithHostNetworkingHost(value string) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithMatchFirstNetwork(value bool) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithNoProxy(value string) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithPort(value int) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithProxyURL(value string) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *DockerSDConfigApplyConfiguration
- func (b *DockerSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *DockerSDConfigApplyConfiguration
- type DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithHost(value string) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithNoProxy(value string) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithPort(value int32) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyURL(value string) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithRole(value string) *DockerSwarmSDConfigApplyConfiguration
- func (b *DockerSwarmSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
- type EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithEnableHTTP2(value bool) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithFollowRedirects(value bool) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithNoProxy(value string) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithPort(value int32) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithProxyURL(value string) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithRegion(value string) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithRoleARN(value string) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
- func (b *EC2SDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *EC2SDConfigApplyConfiguration
- type EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthIdentity(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthPassword(value v1.SecretKeySelector) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthSecret(value v1.SecretKeySelector) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithAuthUsername(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithFrom(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHTML(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHeaders(values ...*KeyValueApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithHello(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithRequireTLS(value bool) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithSendResolved(value bool) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithSmarthost(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithText(value string) *EmailConfigApplyConfiguration
- func (b *EmailConfigApplyConfiguration) WithTo(value string) *EmailConfigApplyConfiguration
- type EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithFollowRedirects(value bool) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithNoProxy(value string) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithProxyURL(value string) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithServer(value string) *EurekaSDConfigApplyConfiguration
- func (b *EurekaSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *EurekaSDConfigApplyConfiguration
- type FileSDConfigApplyConfiguration
- type FilterApplyConfiguration
- type GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithFilter(value string) *GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithPort(value int) *GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithProject(value string) *GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithTagSeparator(value string) *GCESDConfigApplyConfiguration
- func (b *GCESDConfigApplyConfiguration) WithZone(value string) *GCESDConfigApplyConfiguration
- type HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithNoProxy(value string) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithProxyURL(value string) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HTTPConfigApplyConfiguration
- type HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithNoProxy(value string) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithProxyURL(value string) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *HTTPSDConfigApplyConfiguration
- func (b *HTTPSDConfigApplyConfiguration) WithURL(value string) *HTTPSDConfigApplyConfiguration
- type HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithFollowRedirects(value bool) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithNoProxy(value string) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithPort(value int) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithProxyURL(value string) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithRole(value string) *HetznerSDConfigApplyConfiguration
- func (b *HetznerSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HetznerSDConfigApplyConfiguration
- type InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithEqual(values ...string) *InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithSourceMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
- func (b *InhibitRuleApplyConfiguration) WithTargetMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
- type IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithDataCenterID(value string) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithFollowRedirects(value bool) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithNoProxy(value string) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithPort(value int32) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithProxyURL(value string) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *IonosSDConfigApplyConfiguration
- func (b *IonosSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *IonosSDConfigApplyConfiguration
- type K8SSelectorConfigApplyConfiguration
- func (b *K8SSelectorConfigApplyConfiguration) WithField(value string) *K8SSelectorConfigApplyConfiguration
- func (b *K8SSelectorConfigApplyConfiguration) WithLabel(value string) *K8SSelectorConfigApplyConfiguration
- func (b *K8SSelectorConfigApplyConfiguration) WithRole(value v1alpha1.KubernetesRole) *K8SSelectorConfigApplyConfiguration
- type KeyValueApplyConfiguration
- type KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithAPIServer(value string) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithFollowRedirects(value bool) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithNamespaces(value *NamespaceDiscoveryApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithNoProxy(value string) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithProxyURL(value string) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithRole(value v1alpha1.KubernetesRole) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithSelectors(values ...*K8SSelectorConfigApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- func (b *KubernetesSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *KubernetesSDConfigApplyConfiguration
- type KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithClientID(value string) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithFetchTimeout(value v1.Duration) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithFollowRedirects(value bool) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithNoProxy(value string) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithProxyURL(value string) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithServer(value string) *KumaSDConfigApplyConfiguration
- func (b *KumaSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *KumaSDConfigApplyConfiguration
- type LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithAuthorization(value *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithBasicAuth(value *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithEndpoint(value string) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithFollowRedirects(value bool) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithNoProxy(value string) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithOAuth2(value *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithPort(value int32) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithProxyURL(value string) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithRegion(value string) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithRoleARN(value string) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
- func (b *LightSailSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *LightSailSDConfigApplyConfiguration
- type LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithFollowRedirects(value bool) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithNoProxy(value string) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithPort(value int32) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithProxyURL(value string) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithRegion(value string) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *LinodeSDConfigApplyConfiguration
- func (b *LinodeSDConfigApplyConfiguration) WithTagSeparator(value string) *LinodeSDConfigApplyConfiguration
- type MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithSendResolved(value bool) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithSummary(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithText(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithTitle(value string) *MSTeamsConfigApplyConfiguration
- func (b *MSTeamsConfigApplyConfiguration) WithWebhookURL(value v1.SecretKeySelector) *MSTeamsConfigApplyConfiguration
- type MatcherApplyConfiguration
- func (b *MatcherApplyConfiguration) WithMatchType(value v1alpha1.MatchType) *MatcherApplyConfiguration
- func (b *MatcherApplyConfiguration) WithName(value string) *MatcherApplyConfiguration
- func (b *MatcherApplyConfiguration) WithRegex(value bool) *MatcherApplyConfiguration
- func (b *MatcherApplyConfiguration) WithValue(value string) *MatcherApplyConfiguration
- type MuteTimeIntervalApplyConfiguration
- type NamespaceDiscoveryApplyConfiguration
- type NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithAllowStale(value bool) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithFollowRedirects(value bool) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithNamespace(value string) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithNoProxy(value string) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithProxyURL(value string) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithRegion(value string) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithServer(value string) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *NomadSDConfigApplyConfiguration
- func (b *NomadSDConfigApplyConfiguration) WithTagSeparator(value string) *NomadSDConfigApplyConfiguration
- type OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithApplicationKey(value string) *OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithApplicationSecret(value v1.SecretKeySelector) *OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithConsumerKey(value v1.SecretKeySelector) *OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithEndpoint(value string) *OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *OVHCloudSDConfigApplyConfiguration
- func (b *OVHCloudSDConfigApplyConfiguration) WithService(value v1alpha1.OVHService) *OVHCloudSDConfigApplyConfiguration
- type OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithAllTenants(value bool) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialID(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialName(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialSecret(value v1.SecretKeySelector) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithAvailability(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithDomainID(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithDomainName(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithIdentityEndpoint(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithPassword(value v1.SecretKeySelector) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithPort(value int) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithProjectID(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithProjectName(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithRegion(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithRole(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithUserID(value string) *OpenStackSDConfigApplyConfiguration
- func (b *OpenStackSDConfigApplyConfiguration) WithUsername(value string) *OpenStackSDConfigApplyConfiguration
- type OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithAPIKey(value v1.SecretKeySelector) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithAPIURL(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithActions(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithDescription(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithEntity(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithMessage(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithNote(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithPriority(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithResponders(values ...*OpsGenieConfigResponderApplyConfiguration) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithSendResolved(value bool) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithSource(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithTags(value string) *OpsGenieConfigApplyConfiguration
- func (b *OpsGenieConfigApplyConfiguration) WithUpdateAlerts(value bool) *OpsGenieConfigApplyConfiguration
- type OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithID(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithName(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithType(value string) *OpsGenieConfigResponderApplyConfiguration
- func (b *OpsGenieConfigResponderApplyConfiguration) WithUsername(value string) *OpsGenieConfigResponderApplyConfiguration
- type PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClass(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClient(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithClientURL(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithComponent(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithDescription(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithGroup(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs(values ...*PagerDutyImageConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs(values ...*PagerDutyLinkConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithRoutingKey(value v1.SecretKeySelector) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithSendResolved(value bool) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithServiceKey(value v1.SecretKeySelector) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithSeverity(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithSource(value string) *PagerDutyConfigApplyConfiguration
- func (b *PagerDutyConfigApplyConfiguration) WithURL(value string) *PagerDutyConfigApplyConfiguration
- type PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithAlt(value string) *PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithHref(value string) *PagerDutyImageConfigApplyConfiguration
- func (b *PagerDutyImageConfigApplyConfiguration) WithSrc(value string) *PagerDutyImageConfigApplyConfiguration
- type PagerDutyLinkConfigApplyConfiguration
- type PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) GetName() *string
- func (b *PrometheusAgentApplyConfiguration) WithAPIVersion(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithFinalizers(values ...string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithGenerateName(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithGeneration(value int64) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithKind(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithLabels(entries map[string]string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithName(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithNamespace(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithResourceVersion(value string) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithSpec(value *PrometheusAgentSpecApplyConfiguration) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithStatus(value *monitoringv1.PrometheusStatusApplyConfiguration) *PrometheusAgentApplyConfiguration
- func (b *PrometheusAgentApplyConfiguration) WithUID(value types.UID) *PrometheusAgentApplyConfiguration
- type PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithAPIServerConfig(value *v1.APIServerConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithAdditionalArgs(values ...*v1.ArgumentApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *v1.ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithConfigMaps(values ...string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithContainers(values ...corev1.Container) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithDNSConfig(value *v1.PodDNSConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedSampleLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedTargetLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*v1.ObjectReferenceApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithExternalLabels(entries map[string]string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithExternalURL(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithHostAliases(values ...*v1.HostAliasApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithHostNetwork(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithImage(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithLabelLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithListenLocal(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithLogFormat(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithLogLevel(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithMinReadySeconds(value uint32) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithMode(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithOTLP(value *v1.OTLPConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithOverrideHonorLabels(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithOverrideHonorTimestamps(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPaused(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPodMetadata(value *v1.EmbeddedObjectMetadataApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPortName(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPriorityClassName(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithPrometheusExternalLabelName(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithRemoteWrite(values ...*v1.RemoteWriteSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithReplicaExternalLabelName(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithReplicas(value int32) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithRoutePrefix(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithSampleLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeClasses(values ...*v1.ScrapeClassApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithSecrets(values ...string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithServiceAccountName(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithShards(value int32) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithStorage(value *v1.StorageSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithTSDB(value *v1.TSDBSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithTargetLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*v1.TopologySpreadConstraintApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithTracingConfig(value *v1.PrometheusTracingConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithVersion(value string) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithWALCompression(value bool) *PrometheusAgentSpecApplyConfiguration
- func (b *PrometheusAgentSpecApplyConfiguration) WithWeb(value *v1.PrometheusWebSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
- type PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithFollowRedirects(value bool) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithIncludeParameters(value bool) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithNoProxy(value string) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithPort(value int32) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithProxyURL(value string) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithQuery(value string) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
- func (b *PuppetDBSDConfigApplyConfiguration) WithURL(value string) *PuppetDBSDConfigApplyConfiguration
- type PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithDevice(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithExpire(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithHTML(value bool) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithMessage(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithPriority(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithRetry(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithSendResolved(value bool) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithSound(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithTTL(value monitoringv1.Duration) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithTitle(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithToken(value v1.SecretKeySelector) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithTokenFile(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithURL(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithURLTitle(value string) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithUserKey(value v1.SecretKeySelector) *PushoverConfigApplyConfiguration
- func (b *PushoverConfigApplyConfiguration) WithUserKeyFile(value string) *PushoverConfigApplyConfiguration
- type ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithDiscordConfigs(values ...*DiscordConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithEmailConfigs(values ...*EmailConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithMSTeamsConfigs(values ...*MSTeamsConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithName(value string) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithOpsGenieConfigs(values ...*OpsGenieConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithPagerDutyConfigs(values ...*PagerDutyConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithPushoverConfigs(values ...*PushoverConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithSNSConfigs(values ...*SNSConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithSlackConfigs(values ...*SlackConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithTelegramConfigs(values ...*TelegramConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithVictorOpsConfigs(values ...*VictorOpsConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWeChatConfigs(values ...*WeChatConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWebexConfigs(values ...*WebexConfigApplyConfiguration) *ReceiverApplyConfiguration
- func (b *ReceiverApplyConfiguration) WithWebhookConfigs(values ...*WebhookConfigApplyConfiguration) *ReceiverApplyConfiguration
- type RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithActiveTimeIntervals(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithContinue(value bool) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupBy(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupInterval(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithGroupWait(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithMatchers(values ...*MatcherApplyConfiguration) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithMuteTimeIntervals(values ...string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithReceiver(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithRepeatInterval(value string) *RouteApplyConfiguration
- func (b *RouteApplyConfiguration) WithRoutes(values ...v1.JSON) *RouteApplyConfiguration
- type SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithApiURL(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithAttributes(entries map[string]string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithMessage(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithPhoneNumber(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSendResolved(value bool) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSigv4(value *v1.Sigv4ApplyConfiguration) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithSubject(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithTargetARN(value string) *SNSConfigApplyConfiguration
- func (b *SNSConfigApplyConfiguration) WithTopicARN(value string) *SNSConfigApplyConfiguration
- type ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithAccessKey(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithApiURL(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithEnableHTTP2(value bool) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithFollowRedirects(value bool) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithNameFilter(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithNoProxy(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithPort(value int32) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithProjectID(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithProxyURL(value string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithRole(value v1alpha1.ScalewayRole) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithTagsFilter(values ...string) *ScalewaySDConfigApplyConfiguration
- func (b *ScalewaySDConfigApplyConfiguration) WithZone(value string) *ScalewaySDConfigApplyConfiguration
- type ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) GetName() *string
- func (b *ScrapeConfigApplyConfiguration) WithAPIVersion(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithFinalizers(values ...string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithGenerateName(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithGeneration(value int64) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithKind(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithLabels(entries map[string]string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithName(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithNamespace(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithResourceVersion(value string) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithSpec(value *ScrapeConfigSpecApplyConfiguration) *ScrapeConfigApplyConfiguration
- func (b *ScrapeConfigApplyConfiguration) WithUID(value types.UID) *ScrapeConfigApplyConfiguration
- type ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithAzureSDConfigs(values ...*AzureSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithConsulSDConfigs(values ...*ConsulSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithDNSSDConfigs(values ...*DNSSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithDigitalOceanSDConfigs(values ...*DigitalOceanSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithDockerSDConfigs(values ...*DockerSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithDockerSwarmSDConfigs(values ...*DockerSwarmSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithEC2SDConfigs(values ...*EC2SDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithEnableCompression(value bool) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithEurekaSDConfigs(values ...*EurekaSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithFileSDConfigs(values ...*FileSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithGCESDConfigs(values ...*GCESDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithHTTPSDConfigs(values ...*HTTPSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithHetznerSDConfigs(values ...*HetznerSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithHonorLabels(value bool) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithHonorTimestamps(value bool) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithIonosSDConfigs(values ...*IonosSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithJobName(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithKubernetesSDConfigs(values ...*KubernetesSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithKumaSDConfigs(values ...*KumaSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithLabelLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithLightSailSDConfigs(values ...*LightSailSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithLinodeSDConfigs(values ...*LinodeSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithMetricRelabelConfigs(values ...*v1.RelabelConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithMetricsPath(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithNoProxy(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithNomadSDConfigs(values ...*NomadSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithOVHCloudSDConfigs(values ...*OVHCloudSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithOpenStackSDConfigs(values ...*OpenStackSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithParams(entries map[string][]string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithProxyURL(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithPuppetDBSDConfigs(values ...*PuppetDBSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithRelabelConfigs(values ...*v1.RelabelConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithSampleLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScalewaySDConfigs(values ...*ScalewaySDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScheme(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeClassName(value string) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithStaticConfigs(values ...*StaticConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithTargetLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
- func (b *ScrapeConfigSpecApplyConfiguration) WithTrackTimestampsStaleness(value bool) *ScrapeConfigSpecApplyConfiguration
- type SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithConfirmField(value *SlackConfirmationFieldApplyConfiguration) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithName(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithStyle(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithText(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithType(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithURL(value string) *SlackActionApplyConfiguration
- func (b *SlackActionApplyConfiguration) WithValue(value string) *SlackActionApplyConfiguration
- type SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithActions(values ...*SlackActionApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithCallbackID(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithChannel(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithColor(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFallback(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFields(values ...*SlackFieldApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithFooter(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithIconEmoji(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithIconURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithImageURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithLinkNames(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithMrkdwnIn(values ...string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithPretext(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithSendResolved(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithShortFields(value bool) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithText(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithThumbURL(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithTitle(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithTitleLink(value string) *SlackConfigApplyConfiguration
- func (b *SlackConfigApplyConfiguration) WithUsername(value string) *SlackConfigApplyConfiguration
- type SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithDismissText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithOkText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithText(value string) *SlackConfirmationFieldApplyConfiguration
- func (b *SlackConfirmationFieldApplyConfiguration) WithTitle(value string) *SlackConfirmationFieldApplyConfiguration
- type SlackFieldApplyConfiguration
- type StaticConfigApplyConfiguration
- type TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithAPIURL(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithBotToken(value v1.SecretKeySelector) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithBotTokenFile(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithChatID(value int64) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithDisableNotifications(value bool) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithMessage(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithParseMode(value string) *TelegramConfigApplyConfiguration
- func (b *TelegramConfigApplyConfiguration) WithSendResolved(value bool) *TelegramConfigApplyConfiguration
- type TimeIntervalApplyConfiguration
- func (b *TimeIntervalApplyConfiguration) WithDaysOfMonth(values ...*DayOfMonthRangeApplyConfiguration) *TimeIntervalApplyConfiguration
- func (b *TimeIntervalApplyConfiguration) WithMonths(values ...monitoringv1alpha1.MonthRange) *TimeIntervalApplyConfiguration
- func (b *TimeIntervalApplyConfiguration) WithTimes(values ...*TimeRangeApplyConfiguration) *TimeIntervalApplyConfiguration
- func (b *TimeIntervalApplyConfiguration) WithWeekdays(values ...monitoringv1alpha1.WeekdayRange) *TimeIntervalApplyConfiguration
- func (b *TimeIntervalApplyConfiguration) WithYears(values ...monitoringv1alpha1.YearRange) *TimeIntervalApplyConfiguration
- type TimeRangeApplyConfiguration
- type VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithAPIKey(value v1.SecretKeySelector) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithAPIURL(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithCustomFields(values ...*KeyValueApplyConfiguration) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithEntityDisplayName(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithMessageType(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithMonitoringTool(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithRoutingKey(value string) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithSendResolved(value bool) *VictorOpsConfigApplyConfiguration
- func (b *VictorOpsConfigApplyConfiguration) WithStateMessage(value string) *VictorOpsConfigApplyConfiguration
- type WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAPISecret(value v1.SecretKeySelector) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAPIURL(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithAgentID(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithCorpID(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithMessage(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithMessageType(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithSendResolved(value bool) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToParty(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToTag(value string) *WeChatConfigApplyConfiguration
- func (b *WeChatConfigApplyConfiguration) WithToUser(value string) *WeChatConfigApplyConfiguration
- type WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithAPIURL(value v1alpha1.URL) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithMessage(value string) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithRoomID(value string) *WebexConfigApplyConfiguration
- func (b *WebexConfigApplyConfiguration) WithSendResolved(value bool) *WebexConfigApplyConfiguration
- type WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithMaxAlerts(value int32) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithSendResolved(value bool) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithURL(value string) *WebhookConfigApplyConfiguration
- func (b *WebhookConfigApplyConfiguration) WithURLSecret(value v1.SecretKeySelector) *WebhookConfigApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertmanagerConfigApplyConfiguration ¶
type AlertmanagerConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AlertmanagerConfigSpecApplyConfiguration `json:"spec,omitempty"` }
AlertmanagerConfigApplyConfiguration represents a declarative configuration of the AlertmanagerConfig type for use with apply.
func AlertmanagerConfig ¶
func AlertmanagerConfig(name, namespace string) *AlertmanagerConfigApplyConfiguration
AlertmanagerConfig constructs a declarative configuration of the AlertmanagerConfig type for use with apply.
func (*AlertmanagerConfigApplyConfiguration) GetName ¶
func (b *AlertmanagerConfigApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*AlertmanagerConfigApplyConfiguration) WithAPIVersion ¶
func (b *AlertmanagerConfigApplyConfiguration) WithAPIVersion(value string) *AlertmanagerConfigApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithAnnotations ¶
func (b *AlertmanagerConfigApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerConfigApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*AlertmanagerConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *AlertmanagerConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AlertmanagerConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerConfigApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *AlertmanagerConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerConfigApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithFinalizers ¶
func (b *AlertmanagerConfigApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerConfigApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*AlertmanagerConfigApplyConfiguration) WithGenerateName ¶
func (b *AlertmanagerConfigApplyConfiguration) WithGenerateName(value string) *AlertmanagerConfigApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithGeneration ¶
func (b *AlertmanagerConfigApplyConfiguration) WithGeneration(value int64) *AlertmanagerConfigApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithKind ¶
func (b *AlertmanagerConfigApplyConfiguration) WithKind(value string) *AlertmanagerConfigApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithLabels ¶
func (b *AlertmanagerConfigApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerConfigApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*AlertmanagerConfigApplyConfiguration) WithName ¶
func (b *AlertmanagerConfigApplyConfiguration) WithName(value string) *AlertmanagerConfigApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithNamespace ¶
func (b *AlertmanagerConfigApplyConfiguration) WithNamespace(value string) *AlertmanagerConfigApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithOwnerReferences ¶
func (b *AlertmanagerConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerConfigApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*AlertmanagerConfigApplyConfiguration) WithResourceVersion ¶
func (b *AlertmanagerConfigApplyConfiguration) WithResourceVersion(value string) *AlertmanagerConfigApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithSpec ¶
func (b *AlertmanagerConfigApplyConfiguration) WithSpec(value *AlertmanagerConfigSpecApplyConfiguration) *AlertmanagerConfigApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*AlertmanagerConfigApplyConfiguration) WithUID ¶
func (b *AlertmanagerConfigApplyConfiguration) WithUID(value types.UID) *AlertmanagerConfigApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type AlertmanagerConfigSpecApplyConfiguration ¶
type AlertmanagerConfigSpecApplyConfiguration struct { Route *RouteApplyConfiguration `json:"route,omitempty"` Receivers []ReceiverApplyConfiguration `json:"receivers,omitempty"` InhibitRules []InhibitRuleApplyConfiguration `json:"inhibitRules,omitempty"` MuteTimeIntervals []MuteTimeIntervalApplyConfiguration `json:"muteTimeIntervals,omitempty"` }
AlertmanagerConfigSpecApplyConfiguration represents a declarative configuration of the AlertmanagerConfigSpec type for use with apply.
func AlertmanagerConfigSpec ¶
func AlertmanagerConfigSpec() *AlertmanagerConfigSpecApplyConfiguration
AlertmanagerConfigSpecApplyConfiguration constructs a declarative configuration of the AlertmanagerConfigSpec type for use with apply.
func (*AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithInhibitRules(values ...*InhibitRuleApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithInhibitRules adds the given value to the InhibitRules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InhibitRules field.
func (*AlertmanagerConfigSpecApplyConfiguration) WithMuteTimeIntervals ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithMuteTimeIntervals(values ...*MuteTimeIntervalApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
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 ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithReceivers(values ...*ReceiverApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithReceivers adds the given value to the Receivers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Receivers field.
func (*AlertmanagerConfigSpecApplyConfiguration) WithRoute ¶
func (b *AlertmanagerConfigSpecApplyConfiguration) WithRoute(value *RouteApplyConfiguration) *AlertmanagerConfigSpecApplyConfiguration
WithRoute sets the Route field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Route field is set to the value of the last call.
type AttachMetadataApplyConfiguration ¶
type AttachMetadataApplyConfiguration struct {
Node *bool `json:"node,omitempty"`
}
AttachMetadataApplyConfiguration represents a declarative configuration of the AttachMetadata type for use with apply.
func AttachMetadata ¶
func AttachMetadata() *AttachMetadataApplyConfiguration
AttachMetadataApplyConfiguration constructs a declarative configuration of the AttachMetadata type for use with apply.
func (*AttachMetadataApplyConfiguration) WithNode ¶
func (b *AttachMetadataApplyConfiguration) WithNode(value bool) *AttachMetadataApplyConfiguration
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 ¶
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 a declarative configuration of the AzureSDConfig type for use with apply.
func AzureSDConfig ¶
func AzureSDConfig() *AzureSDConfigApplyConfiguration
AzureSDConfigApplyConfiguration constructs a declarative configuration of the AzureSDConfig type for use with apply.
func (*AzureSDConfigApplyConfiguration) WithAuthenticationMethod ¶
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithClientID(value string) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithClientSecret(value v1.SecretKeySelector) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithEnvironment(value string) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithPort(value int) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithResourceGroup(value string) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithSubscriptionID(value string) *AzureSDConfigApplyConfiguration
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 ¶
func (b *AzureSDConfigApplyConfiguration) WithTenantID(value string) *AzureSDConfigApplyConfiguration
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 ¶
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 a declarative configuration of the ConsulSDConfig type for use with apply.
func ConsulSDConfig ¶
func ConsulSDConfig() *ConsulSDConfigApplyConfiguration
ConsulSDConfigApplyConfiguration constructs a declarative configuration of the ConsulSDConfig type for use with apply.
func (*ConsulSDConfigApplyConfiguration) WithAllowStale ¶
func (b *ConsulSDConfigApplyConfiguration) WithAllowStale(value bool) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithAuthorization(value *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithBasicAuth(value *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithDatacenter(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithEnableHttp2(value bool) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithFollowRedirects(value bool) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithNamespace(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithNoProxy(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithNodeMeta(entries map[string]string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithOauth2(value *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithPartition(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ConsulSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithProxyURL(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithScheme(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithServer(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithServices(values ...string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithTagSeparator(value string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithTags(values ...string) *ConsulSDConfigApplyConfiguration
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 ¶
func (b *ConsulSDConfigApplyConfiguration) WithTokenRef(value v1.SecretKeySelector) *ConsulSDConfigApplyConfiguration
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 ¶
type DNSSDConfigApplyConfiguration struct { Names []string `json:"names,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` Type *v1alpha1.DNSRecordType `json:"type,omitempty"` Port *int32 `json:"port,omitempty"` }
DNSSDConfigApplyConfiguration represents a declarative configuration of the DNSSDConfig type for use with apply.
func DNSSDConfig ¶
func DNSSDConfig() *DNSSDConfigApplyConfiguration
DNSSDConfigApplyConfiguration constructs a declarative configuration of the DNSSDConfig type for use with apply.
func (*DNSSDConfigApplyConfiguration) WithNames ¶
func (b *DNSSDConfigApplyConfiguration) WithNames(values ...string) *DNSSDConfigApplyConfiguration
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 ¶
func (b *DNSSDConfigApplyConfiguration) WithPort(value int32) *DNSSDConfigApplyConfiguration
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 ¶
func (b *DNSSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *DNSSDConfigApplyConfiguration
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 ¶
func (b *DNSSDConfigApplyConfiguration) WithType(value v1alpha1.DNSRecordType) *DNSSDConfigApplyConfiguration
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 a declarative configuration of the DayOfMonthRange type for use with apply.
func DayOfMonthRange ¶
func DayOfMonthRange() *DayOfMonthRangeApplyConfiguration
DayOfMonthRangeApplyConfiguration constructs a declarative configuration of the DayOfMonthRange type for use with apply.
func (*DayOfMonthRangeApplyConfiguration) WithEnd ¶
func (b *DayOfMonthRangeApplyConfiguration) WithEnd(value int) *DayOfMonthRangeApplyConfiguration
WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.
func (*DayOfMonthRangeApplyConfiguration) WithStart ¶
func (b *DayOfMonthRangeApplyConfiguration) WithStart(value int) *DayOfMonthRangeApplyConfiguration
WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.
type DigitalOceanSDConfigApplyConfiguration ¶
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 a declarative configuration of the DigitalOceanSDConfig type for use with apply.
func DigitalOceanSDConfig ¶
func DigitalOceanSDConfig() *DigitalOceanSDConfigApplyConfiguration
DigitalOceanSDConfigApplyConfiguration constructs a declarative configuration of the DigitalOceanSDConfig type for use with apply.
func (*DigitalOceanSDConfigApplyConfiguration) WithAuthorization ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithNoProxy(value string) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithPort(value int) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithProxyURL(value string) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *DigitalOceanSDConfigApplyConfiguration
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 ¶
func (b *DigitalOceanSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *DigitalOceanSDConfigApplyConfiguration
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 ¶
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 a declarative configuration of the DiscordConfig type for use with apply.
func DiscordConfig ¶
func DiscordConfig() *DiscordConfigApplyConfiguration
DiscordConfigApplyConfiguration constructs a declarative configuration of the DiscordConfig type for use with apply.
func (*DiscordConfigApplyConfiguration) WithAPIURL ¶
func (b *DiscordConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *DiscordConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithHTTPConfig ¶
func (b *DiscordConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *DiscordConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithMessage ¶
func (b *DiscordConfigApplyConfiguration) WithMessage(value string) *DiscordConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithSendResolved ¶
func (b *DiscordConfigApplyConfiguration) WithSendResolved(value bool) *DiscordConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*DiscordConfigApplyConfiguration) WithTitle ¶
func (b *DiscordConfigApplyConfiguration) WithTitle(value string) *DiscordConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
type DockerSDConfigApplyConfiguration ¶
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"` MatchFirstNetwork *bool `json:"matchFirstNetwork,omitempty"` Filters *v1alpha1.Filters `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 a declarative configuration of the DockerSDConfig type for use with apply.
func DockerSDConfig ¶
func DockerSDConfig() *DockerSDConfigApplyConfiguration
DockerSDConfigApplyConfiguration constructs a declarative configuration of the DockerSDConfig type for use with apply.
func (*DockerSDConfigApplyConfiguration) WithAuthorization ¶
func (b *DockerSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *DockerSDConfigApplyConfiguration
WithFilters sets the Filters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filters field is set to the value of the last call.
func (*DockerSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *DockerSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithHost(value string) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithHostNetworkingHost(value string) *DockerSDConfigApplyConfiguration
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) WithMatchFirstNetwork ¶
func (b *DockerSDConfigApplyConfiguration) WithMatchFirstNetwork(value bool) *DockerSDConfigApplyConfiguration
WithMatchFirstNetwork sets the MatchFirstNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchFirstNetwork field is set to the value of the last call.
func (*DockerSDConfigApplyConfiguration) WithNoProxy ¶
func (b *DockerSDConfigApplyConfiguration) WithNoProxy(value string) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithPort(value int) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DockerSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithProxyURL(value string) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *DockerSDConfigApplyConfiguration
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 ¶
func (b *DockerSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *DockerSDConfigApplyConfiguration
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 DockerSwarmSDConfigApplyConfiguration ¶
type DockerSwarmSDConfigApplyConfiguration struct { Host *string `json:"host,omitempty"` Role *string `json:"role,omitempty"` Port *int32 `json:"port,omitempty"` Filters *v1alpha1.Filters `json:"filters,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` BasicAuth *monitoringv1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` Authorization *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *monitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
DockerSwarmSDConfigApplyConfiguration represents a declarative configuration of the DockerSwarmSDConfig type for use with apply.
func DockerSwarmSDConfig ¶
func DockerSwarmSDConfig() *DockerSwarmSDConfigApplyConfiguration
DockerSwarmSDConfigApplyConfiguration constructs a declarative configuration of the DockerSwarmSDConfig type for use with apply.
func (*DockerSwarmSDConfigApplyConfiguration) WithAuthorization ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithBasicAuth ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithFilters ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *DockerSwarmSDConfigApplyConfiguration
WithFilters sets the Filters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filters field is set to the value of the last call.
func (*DockerSwarmSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithFollowRedirects(value bool) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithHost ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithHost(value string) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithNoProxy ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithNoProxy(value string) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithOAuth2 ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithPort ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithPort(value int32) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithProxyURL ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithProxyURL(value string) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithRole ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithRole(value string) *DockerSwarmSDConfigApplyConfiguration
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 (*DockerSwarmSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *DockerSwarmSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *DockerSwarmSDConfigApplyConfiguration
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 EC2SDConfigApplyConfiguration ¶
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"` Port *int32 `json:"port,omitempty"` RefreshInterval *monitoringv1.Duration `json:"refreshInterval,omitempty"` Filters *v1alpha1.Filters `json:"filters,omitempty"` applyconfigurationmonitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
EC2SDConfigApplyConfiguration represents a declarative configuration of the EC2SDConfig type for use with apply.
func EC2SDConfig ¶
func EC2SDConfig() *EC2SDConfigApplyConfiguration
EC2SDConfigApplyConfiguration constructs a declarative configuration of the EC2SDConfig type for use with apply.
func (*EC2SDConfigApplyConfiguration) WithAccessKey ¶
func (b *EC2SDConfigApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
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) WithEnableHTTP2 ¶
func (b *EC2SDConfigApplyConfiguration) WithEnableHTTP2(value bool) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithFilters ¶
func (b *EC2SDConfigApplyConfiguration) WithFilters(value v1alpha1.Filters) *EC2SDConfigApplyConfiguration
WithFilters sets the Filters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Filters field is set to the value of the last call.
func (*EC2SDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *EC2SDConfigApplyConfiguration) WithFollowRedirects(value bool) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithNoProxy ¶
func (b *EC2SDConfigApplyConfiguration) WithNoProxy(value string) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithPort ¶
func (b *EC2SDConfigApplyConfiguration) WithPort(value int32) *EC2SDConfigApplyConfiguration
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) WithProxyConnectHeader ¶
func (b *EC2SDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *EC2SDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithProxyURL ¶
func (b *EC2SDConfigApplyConfiguration) WithProxyURL(value string) *EC2SDConfigApplyConfiguration
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 (*EC2SDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *EC2SDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *EC2SDConfigApplyConfiguration
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 ¶
func (b *EC2SDConfigApplyConfiguration) WithRegion(value string) *EC2SDConfigApplyConfiguration
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 ¶
func (b *EC2SDConfigApplyConfiguration) WithRoleARN(value string) *EC2SDConfigApplyConfiguration
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 ¶
func (b *EC2SDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *EC2SDConfigApplyConfiguration
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.
func (*EC2SDConfigApplyConfiguration) WithTLSConfig ¶
func (b *EC2SDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *EC2SDConfigApplyConfiguration
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 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 a declarative configuration of the EmailConfig type for use with apply.
func EmailConfig ¶
func EmailConfig() *EmailConfigApplyConfiguration
EmailConfigApplyConfiguration constructs a declarative configuration of the EmailConfig type for use with apply.
func (*EmailConfigApplyConfiguration) WithAuthIdentity ¶
func (b *EmailConfigApplyConfiguration) WithAuthIdentity(value string) *EmailConfigApplyConfiguration
WithAuthIdentity sets the AuthIdentity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthIdentity field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthPassword ¶
func (b *EmailConfigApplyConfiguration) WithAuthPassword(value v1.SecretKeySelector) *EmailConfigApplyConfiguration
WithAuthPassword sets the AuthPassword field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthPassword field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthSecret ¶
func (b *EmailConfigApplyConfiguration) WithAuthSecret(value v1.SecretKeySelector) *EmailConfigApplyConfiguration
WithAuthSecret sets the AuthSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthSecret field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithAuthUsername ¶
func (b *EmailConfigApplyConfiguration) WithAuthUsername(value string) *EmailConfigApplyConfiguration
WithAuthUsername sets the AuthUsername field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthUsername field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithFrom ¶
func (b *EmailConfigApplyConfiguration) WithFrom(value string) *EmailConfigApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithHTML ¶
func (b *EmailConfigApplyConfiguration) WithHTML(value string) *EmailConfigApplyConfiguration
WithHTML sets the HTML field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTML field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithHeaders ¶
func (b *EmailConfigApplyConfiguration) WithHeaders(values ...*KeyValueApplyConfiguration) *EmailConfigApplyConfiguration
WithHeaders adds the given value to the Headers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Headers field.
func (*EmailConfigApplyConfiguration) WithHello ¶
func (b *EmailConfigApplyConfiguration) WithHello(value string) *EmailConfigApplyConfiguration
WithHello sets the Hello field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hello field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithRequireTLS ¶
func (b *EmailConfigApplyConfiguration) WithRequireTLS(value bool) *EmailConfigApplyConfiguration
WithRequireTLS sets the RequireTLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequireTLS field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithSendResolved ¶
func (b *EmailConfigApplyConfiguration) WithSendResolved(value bool) *EmailConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithSmarthost ¶
func (b *EmailConfigApplyConfiguration) WithSmarthost(value string) *EmailConfigApplyConfiguration
WithSmarthost sets the Smarthost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Smarthost field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithTLSConfig ¶
func (b *EmailConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *EmailConfigApplyConfiguration
WithTLSConfig sets the TLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSConfig field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithText ¶
func (b *EmailConfigApplyConfiguration) WithText(value string) *EmailConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*EmailConfigApplyConfiguration) WithTo ¶
func (b *EmailConfigApplyConfiguration) WithTo(value string) *EmailConfigApplyConfiguration
WithTo sets the To field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the To field is set to the value of the last call.
type EurekaSDConfigApplyConfiguration ¶
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 a declarative configuration of the EurekaSDConfig type for use with apply.
func EurekaSDConfig ¶
func EurekaSDConfig() *EurekaSDConfigApplyConfiguration
EurekaSDConfigApplyConfiguration constructs a declarative configuration of the EurekaSDConfig type for use with apply.
func (*EurekaSDConfigApplyConfiguration) WithAuthorization ¶
func (b *EurekaSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithFollowRedirects(value bool) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithNoProxy(value string) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *EurekaSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithProxyURL(value string) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithServer(value string) *EurekaSDConfigApplyConfiguration
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 ¶
func (b *EurekaSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *EurekaSDConfigApplyConfiguration
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 ¶
type FileSDConfigApplyConfiguration struct { Files []v1alpha1.SDFile `json:"files,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` }
FileSDConfigApplyConfiguration represents a declarative configuration of the FileSDConfig type for use with apply.
func FileSDConfig ¶
func FileSDConfig() *FileSDConfigApplyConfiguration
FileSDConfigApplyConfiguration constructs a declarative configuration of the FileSDConfig type for use with apply.
func (*FileSDConfigApplyConfiguration) WithFiles ¶
func (b *FileSDConfigApplyConfiguration) WithFiles(values ...v1alpha1.SDFile) *FileSDConfigApplyConfiguration
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 ¶
func (b *FileSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *FileSDConfigApplyConfiguration
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 FilterApplyConfiguration ¶
type FilterApplyConfiguration struct { Name *string `json:"name,omitempty"` Values []string `json:"values,omitempty"` }
FilterApplyConfiguration represents a declarative configuration of the Filter type for use with apply.
func Filter ¶
func Filter() *FilterApplyConfiguration
FilterApplyConfiguration constructs a declarative configuration of the Filter type for use with apply.
func (*FilterApplyConfiguration) WithName ¶
func (b *FilterApplyConfiguration) WithName(value string) *FilterApplyConfiguration
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 (*FilterApplyConfiguration) WithValues ¶
func (b *FilterApplyConfiguration) WithValues(values ...string) *FilterApplyConfiguration
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 GCESDConfigApplyConfiguration ¶
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 a declarative configuration of the GCESDConfig type for use with apply.
func GCESDConfig ¶
func GCESDConfig() *GCESDConfigApplyConfiguration
GCESDConfigApplyConfiguration constructs a declarative configuration of the GCESDConfig type for use with apply.
func (*GCESDConfigApplyConfiguration) WithFilter ¶
func (b *GCESDConfigApplyConfiguration) WithFilter(value string) *GCESDConfigApplyConfiguration
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 ¶
func (b *GCESDConfigApplyConfiguration) WithPort(value int) *GCESDConfigApplyConfiguration
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 ¶
func (b *GCESDConfigApplyConfiguration) WithProject(value string) *GCESDConfigApplyConfiguration
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 ¶
func (b *GCESDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *GCESDConfigApplyConfiguration
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 ¶
func (b *GCESDConfigApplyConfiguration) WithTagSeparator(value string) *GCESDConfigApplyConfiguration
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 ¶
func (b *GCESDConfigApplyConfiguration) WithZone(value string) *GCESDConfigApplyConfiguration
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"` v1.ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` }
HTTPConfigApplyConfiguration represents a declarative configuration of the HTTPConfig type for use with apply.
func HTTPConfig ¶
func HTTPConfig() *HTTPConfigApplyConfiguration
HTTPConfigApplyConfiguration constructs a declarative configuration of the HTTPConfig type for use with apply.
func (*HTTPConfigApplyConfiguration) WithAuthorization ¶
func (b *HTTPConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HTTPConfigApplyConfiguration
WithAuthorization sets the Authorization field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Authorization field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithBasicAuth ¶
func (b *HTTPConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HTTPConfigApplyConfiguration
WithBasicAuth sets the BasicAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BasicAuth field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithBearerTokenSecret ¶
func (b *HTTPConfigApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *HTTPConfigApplyConfiguration
WithBearerTokenSecret sets the BearerTokenSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenSecret field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithFollowRedirects ¶
func (b *HTTPConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPConfigApplyConfiguration
WithFollowRedirects sets the FollowRedirects field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FollowRedirects field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithNoProxy ¶
func (b *HTTPConfigApplyConfiguration) WithNoProxy(value string) *HTTPConfigApplyConfiguration
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 (*HTTPConfigApplyConfiguration) WithOAuth2 ¶
func (b *HTTPConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HTTPConfigApplyConfiguration
WithOAuth2 sets the OAuth2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OAuth2 field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *HTTPConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HTTPConfigApplyConfiguration
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 (*HTTPConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *HTTPConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *HTTPConfigApplyConfiguration
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 (*HTTPConfigApplyConfiguration) WithProxyURL ¶
func (b *HTTPConfigApplyConfiguration) WithProxyURL(value string) *HTTPConfigApplyConfiguration
WithProxyURL sets the ProxyURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProxyURL field is set to the value of the last call.
func (*HTTPConfigApplyConfiguration) WithTLSConfig ¶
func (b *HTTPConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HTTPConfigApplyConfiguration
WithTLSConfig sets the TLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSConfig field is set to the value of the last call.
type HTTPSDConfigApplyConfiguration ¶
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"` OAuth2 *monitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
HTTPSDConfigApplyConfiguration represents a declarative configuration of the HTTPSDConfig type for use with apply.
func HTTPSDConfig ¶
func HTTPSDConfig() *HTTPSDConfigApplyConfiguration
HTTPSDConfigApplyConfiguration constructs a declarative configuration of the HTTPSDConfig type for use with apply.
func (*HTTPSDConfigApplyConfiguration) WithAuthorization ¶
func (b *HTTPSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *HTTPSDConfigApplyConfiguration
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 ¶
func (b *HTTPSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *HTTPSDConfigApplyConfiguration
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) WithEnableHTTP2 ¶
func (b *HTTPSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *HTTPSDConfigApplyConfiguration
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 (*HTTPSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *HTTPSDConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPSDConfigApplyConfiguration
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 (*HTTPSDConfigApplyConfiguration) WithNoProxy ¶
func (b *HTTPSDConfigApplyConfiguration) WithNoProxy(value string) *HTTPSDConfigApplyConfiguration
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) WithOAuth2 ¶
func (b *HTTPSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *HTTPSDConfigApplyConfiguration
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 (*HTTPSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *HTTPSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HTTPSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *HTTPSDConfigApplyConfiguration) WithProxyURL(value string) *HTTPSDConfigApplyConfiguration
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 ¶
func (b *HTTPSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *HTTPSDConfigApplyConfiguration
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 ¶
func (b *HTTPSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *HTTPSDConfigApplyConfiguration
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 ¶
func (b *HTTPSDConfigApplyConfiguration) WithURL(value string) *HTTPSDConfigApplyConfiguration
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 ¶
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 a declarative configuration of the HetznerSDConfig type for use with apply.
func HetznerSDConfig ¶
func HetznerSDConfig() *HetznerSDConfigApplyConfiguration
HetznerSDConfigApplyConfiguration constructs a declarative configuration of the HetznerSDConfig type for use with apply.
func (*HetznerSDConfigApplyConfiguration) WithAuthorization ¶
func (b *HetznerSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithFollowRedirects(value bool) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithNoProxy(value string) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithPort(value int) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *HetznerSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithProxyURL(value string) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithRole(value string) *HetznerSDConfigApplyConfiguration
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 ¶
func (b *HetznerSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *HetznerSDConfigApplyConfiguration
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 a declarative configuration of the InhibitRule type for use with apply.
func InhibitRule ¶
func InhibitRule() *InhibitRuleApplyConfiguration
InhibitRuleApplyConfiguration constructs a declarative configuration of the InhibitRule type for use with apply.
func (*InhibitRuleApplyConfiguration) WithEqual ¶
func (b *InhibitRuleApplyConfiguration) WithEqual(values ...string) *InhibitRuleApplyConfiguration
WithEqual adds the given value to the Equal field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Equal field.
func (*InhibitRuleApplyConfiguration) WithSourceMatch ¶
func (b *InhibitRuleApplyConfiguration) WithSourceMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
WithSourceMatch adds the given value to the SourceMatch field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SourceMatch field.
func (*InhibitRuleApplyConfiguration) WithTargetMatch ¶
func (b *InhibitRuleApplyConfiguration) WithTargetMatch(values ...*MatcherApplyConfiguration) *InhibitRuleApplyConfiguration
WithTargetMatch adds the given value to the TargetMatch field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TargetMatch field.
type IonosSDConfigApplyConfiguration ¶
type IonosSDConfigApplyConfiguration struct { DataCenterID *string `json:"datacenterID,omitempty"` Port *int32 `json:"port,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` Authorization *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
IonosSDConfigApplyConfiguration represents a declarative configuration of the IonosSDConfig type for use with apply.
func IonosSDConfig ¶
func IonosSDConfig() *IonosSDConfigApplyConfiguration
IonosSDConfigApplyConfiguration constructs a declarative configuration of the IonosSDConfig type for use with apply.
func (*IonosSDConfigApplyConfiguration) WithAuthorization ¶
func (b *IonosSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithDataCenterID ¶
func (b *IonosSDConfigApplyConfiguration) WithDataCenterID(value string) *IonosSDConfigApplyConfiguration
WithDataCenterID sets the DataCenterID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataCenterID field is set to the value of the last call.
func (*IonosSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *IonosSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *IonosSDConfigApplyConfiguration) WithFollowRedirects(value bool) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithNoProxy ¶
func (b *IonosSDConfigApplyConfiguration) WithNoProxy(value string) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithPort ¶
func (b *IonosSDConfigApplyConfiguration) WithPort(value int32) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *IonosSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *IonosSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithProxyURL ¶
func (b *IonosSDConfigApplyConfiguration) WithProxyURL(value string) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *IonosSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *IonosSDConfigApplyConfiguration
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 (*IonosSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *IonosSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *IonosSDConfigApplyConfiguration
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 K8SSelectorConfigApplyConfiguration ¶
type K8SSelectorConfigApplyConfiguration struct { Role *v1alpha1.KubernetesRole `json:"role,omitempty"` Label *string `json:"label,omitempty"` Field *string `json:"field,omitempty"` }
K8SSelectorConfigApplyConfiguration represents a declarative configuration of the K8SSelectorConfig type for use with apply.
func K8SSelectorConfig ¶
func K8SSelectorConfig() *K8SSelectorConfigApplyConfiguration
K8SSelectorConfigApplyConfiguration constructs a declarative configuration of the K8SSelectorConfig type for use with apply.
func (*K8SSelectorConfigApplyConfiguration) WithField ¶
func (b *K8SSelectorConfigApplyConfiguration) WithField(value string) *K8SSelectorConfigApplyConfiguration
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 ¶
func (b *K8SSelectorConfigApplyConfiguration) WithLabel(value string) *K8SSelectorConfigApplyConfiguration
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 ¶
func (b *K8SSelectorConfigApplyConfiguration) WithRole(value v1alpha1.KubernetesRole) *K8SSelectorConfigApplyConfiguration
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 a declarative configuration of the KeyValue type for use with apply.
func KeyValue ¶
func KeyValue() *KeyValueApplyConfiguration
KeyValueApplyConfiguration constructs a declarative configuration of the KeyValue type for use with apply.
func (*KeyValueApplyConfiguration) WithKey ¶
func (b *KeyValueApplyConfiguration) WithKey(value string) *KeyValueApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*KeyValueApplyConfiguration) WithValue ¶
func (b *KeyValueApplyConfiguration) WithValue(value string) *KeyValueApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type KubernetesSDConfigApplyConfiguration ¶
type KubernetesSDConfigApplyConfiguration struct { APIServer *string `json:"apiServer,omitempty"` Role *v1alpha1.KubernetesRole `json:"role,omitempty"` Namespaces *NamespaceDiscoveryApplyConfiguration `json:"namespaces,omitempty"` AttachMetadata *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"` Selectors []K8SSelectorConfigApplyConfiguration `json:"selectors,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"` }
KubernetesSDConfigApplyConfiguration represents a declarative configuration of the KubernetesSDConfig type for use with apply.
func KubernetesSDConfig ¶
func KubernetesSDConfig() *KubernetesSDConfigApplyConfiguration
KubernetesSDConfigApplyConfiguration constructs a declarative configuration of the KubernetesSDConfig type for use with apply.
func (*KubernetesSDConfigApplyConfiguration) WithAPIServer ¶
func (b *KubernetesSDConfigApplyConfiguration) WithAPIServer(value string) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithFollowRedirects(value bool) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithNamespaces(value *NamespaceDiscoveryApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithNoProxy(value string) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithProxyURL(value string) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithRole(value v1alpha1.KubernetesRole) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithSelectors(values ...*K8SSelectorConfigApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
func (b *KubernetesSDConfigApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *KubernetesSDConfigApplyConfiguration
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 ¶
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 a declarative configuration of the KumaSDConfig type for use with apply.
func KumaSDConfig ¶
func KumaSDConfig() *KumaSDConfigApplyConfiguration
KumaSDConfigApplyConfiguration constructs a declarative configuration of the KumaSDConfig type for use with apply.
func (*KumaSDConfigApplyConfiguration) WithAuthorization ¶
func (b *KumaSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithClientID(value string) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithFetchTimeout(value v1.Duration) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithFollowRedirects(value bool) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithNoProxy(value string) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *KumaSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithProxyURL(value string) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithServer(value string) *KumaSDConfigApplyConfiguration
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 ¶
func (b *KumaSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *KumaSDConfigApplyConfiguration
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 LightSailSDConfigApplyConfiguration ¶
type LightSailSDConfigApplyConfiguration struct { Region *string `json:"region,omitempty"` AccessKey *v1.SecretKeySelector `json:"accessKey,omitempty"` SecretKey *v1.SecretKeySelector `json:"secretKey,omitempty"` RoleARN *string `json:"roleARN,omitempty"` Endpoint *string `json:"endpoint,omitempty"` RefreshInterval *monitoringv1.Duration `json:"refreshInterval,omitempty"` Port *int32 `json:"port,omitempty"` BasicAuth *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` Authorization *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` applyconfigurationmonitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
LightSailSDConfigApplyConfiguration represents a declarative configuration of the LightSailSDConfig type for use with apply.
func LightSailSDConfig ¶
func LightSailSDConfig() *LightSailSDConfigApplyConfiguration
LightSailSDConfigApplyConfiguration constructs a declarative configuration of the LightSailSDConfig type for use with apply.
func (*LightSailSDConfigApplyConfiguration) WithAccessKey ¶
func (b *LightSailSDConfigApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithAuthorization ¶
func (b *LightSailSDConfigApplyConfiguration) WithAuthorization(value *applyconfigurationmonitoringv1.SafeAuthorizationApplyConfiguration) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithBasicAuth ¶
func (b *LightSailSDConfigApplyConfiguration) WithBasicAuth(value *applyconfigurationmonitoringv1.BasicAuthApplyConfiguration) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *LightSailSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithEndpoint ¶
func (b *LightSailSDConfigApplyConfiguration) WithEndpoint(value string) *LightSailSDConfigApplyConfiguration
WithEndpoint sets the Endpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Endpoint field is set to the value of the last call.
func (*LightSailSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *LightSailSDConfigApplyConfiguration) WithFollowRedirects(value bool) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithNoProxy ¶
func (b *LightSailSDConfigApplyConfiguration) WithNoProxy(value string) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithOAuth2 ¶
func (b *LightSailSDConfigApplyConfiguration) WithOAuth2(value *applyconfigurationmonitoringv1.OAuth2ApplyConfiguration) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithPort ¶
func (b *LightSailSDConfigApplyConfiguration) WithPort(value int32) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *LightSailSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *LightSailSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithProxyURL ¶
func (b *LightSailSDConfigApplyConfiguration) WithProxyURL(value string) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *LightSailSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithRegion ¶
func (b *LightSailSDConfigApplyConfiguration) WithRegion(value string) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithRoleARN ¶
func (b *LightSailSDConfigApplyConfiguration) WithRoleARN(value string) *LightSailSDConfigApplyConfiguration
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 (*LightSailSDConfigApplyConfiguration) WithSecretKey ¶
func (b *LightSailSDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *LightSailSDConfigApplyConfiguration
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.
func (*LightSailSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *LightSailSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *LightSailSDConfigApplyConfiguration
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 LinodeSDConfigApplyConfiguration ¶
type LinodeSDConfigApplyConfiguration struct { Region *string `json:"region,omitempty"` Port *int32 `json:"port,omitempty"` TagSeparator *string `json:"tagSeparator,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` Authorization *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *monitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
LinodeSDConfigApplyConfiguration represents a declarative configuration of the LinodeSDConfig type for use with apply.
func LinodeSDConfig ¶
func LinodeSDConfig() *LinodeSDConfigApplyConfiguration
LinodeSDConfigApplyConfiguration constructs a declarative configuration of the LinodeSDConfig type for use with apply.
func (*LinodeSDConfigApplyConfiguration) WithAuthorization ¶
func (b *LinodeSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *LinodeSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *LinodeSDConfigApplyConfiguration) WithFollowRedirects(value bool) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithNoProxy ¶
func (b *LinodeSDConfigApplyConfiguration) WithNoProxy(value string) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithOAuth2 ¶
func (b *LinodeSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithPort ¶
func (b *LinodeSDConfigApplyConfiguration) WithPort(value int32) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *LinodeSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *LinodeSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithProxyURL ¶
func (b *LinodeSDConfigApplyConfiguration) WithProxyURL(value string) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *LinodeSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithRegion ¶
func (b *LinodeSDConfigApplyConfiguration) WithRegion(value string) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *LinodeSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *LinodeSDConfigApplyConfiguration
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 (*LinodeSDConfigApplyConfiguration) WithTagSeparator ¶
func (b *LinodeSDConfigApplyConfiguration) WithTagSeparator(value string) *LinodeSDConfigApplyConfiguration
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.
type MSTeamsConfigApplyConfiguration ¶
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 a declarative configuration of the MSTeamsConfig type for use with apply.
func MSTeamsConfig ¶
func MSTeamsConfig() *MSTeamsConfigApplyConfiguration
MSTeamsConfigApplyConfiguration constructs a declarative configuration of the MSTeamsConfig type for use with apply.
func (*MSTeamsConfigApplyConfiguration) WithHTTPConfig ¶
func (b *MSTeamsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *MSTeamsConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithSendResolved ¶
func (b *MSTeamsConfigApplyConfiguration) WithSendResolved(value bool) *MSTeamsConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithSummary ¶
func (b *MSTeamsConfigApplyConfiguration) WithSummary(value string) *MSTeamsConfigApplyConfiguration
WithSummary sets the Summary field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Summary field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithText ¶
func (b *MSTeamsConfigApplyConfiguration) WithText(value string) *MSTeamsConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithTitle ¶
func (b *MSTeamsConfigApplyConfiguration) WithTitle(value string) *MSTeamsConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*MSTeamsConfigApplyConfiguration) WithWebhookURL ¶
func (b *MSTeamsConfigApplyConfiguration) WithWebhookURL(value v1.SecretKeySelector) *MSTeamsConfigApplyConfiguration
WithWebhookURL sets the WebhookURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WebhookURL field is set to the value of the last call.
type MatcherApplyConfiguration ¶
type MatcherApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` MatchType *v1alpha1.MatchType `json:"matchType,omitempty"` Regex *bool `json:"regex,omitempty"` }
MatcherApplyConfiguration represents a declarative configuration of the Matcher type for use with apply.
func Matcher ¶
func Matcher() *MatcherApplyConfiguration
MatcherApplyConfiguration constructs a declarative configuration of the Matcher type for use with apply.
func (*MatcherApplyConfiguration) WithMatchType ¶
func (b *MatcherApplyConfiguration) WithMatchType(value v1alpha1.MatchType) *MatcherApplyConfiguration
WithMatchType sets the MatchType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchType field is set to the value of the last call.
func (*MatcherApplyConfiguration) WithName ¶
func (b *MatcherApplyConfiguration) WithName(value string) *MatcherApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*MatcherApplyConfiguration) WithRegex ¶
func (b *MatcherApplyConfiguration) WithRegex(value bool) *MatcherApplyConfiguration
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 ¶
func (b *MatcherApplyConfiguration) WithValue(value string) *MatcherApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type MuteTimeIntervalApplyConfiguration ¶
type MuteTimeIntervalApplyConfiguration struct { Name *string `json:"name,omitempty"` TimeIntervals []TimeIntervalApplyConfiguration `json:"timeIntervals,omitempty"` }
MuteTimeIntervalApplyConfiguration represents a declarative configuration of the MuteTimeInterval type for use with apply.
func MuteTimeInterval ¶
func MuteTimeInterval() *MuteTimeIntervalApplyConfiguration
MuteTimeIntervalApplyConfiguration constructs a declarative configuration of the MuteTimeInterval type for use with apply.
func (*MuteTimeIntervalApplyConfiguration) WithName ¶
func (b *MuteTimeIntervalApplyConfiguration) WithName(value string) *MuteTimeIntervalApplyConfiguration
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 ¶
func (b *MuteTimeIntervalApplyConfiguration) WithTimeIntervals(values ...*TimeIntervalApplyConfiguration) *MuteTimeIntervalApplyConfiguration
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 ¶
type NamespaceDiscoveryApplyConfiguration struct { IncludeOwnNamespace *bool `json:"ownNamespace,omitempty"` Names []string `json:"names,omitempty"` }
NamespaceDiscoveryApplyConfiguration represents a declarative configuration of the NamespaceDiscovery type for use with apply.
func NamespaceDiscovery ¶
func NamespaceDiscovery() *NamespaceDiscoveryApplyConfiguration
NamespaceDiscoveryApplyConfiguration constructs a declarative configuration of the NamespaceDiscovery type for use with apply.
func (*NamespaceDiscoveryApplyConfiguration) WithIncludeOwnNamespace ¶
func (b *NamespaceDiscoveryApplyConfiguration) WithIncludeOwnNamespace(value bool) *NamespaceDiscoveryApplyConfiguration
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 ¶
func (b *NamespaceDiscoveryApplyConfiguration) WithNames(values ...string) *NamespaceDiscoveryApplyConfiguration
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 NomadSDConfigApplyConfiguration ¶
type NomadSDConfigApplyConfiguration struct { AllowStale *bool `json:"allowStale,omitempty"` Namespace *string `json:"namespace,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` Region *string `json:"region,omitempty"` Server *string `json:"server,omitempty"` TagSeparator *string `json:"tagSeparator,omitempty"` BasicAuth *monitoringv1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` Authorization *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *monitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
NomadSDConfigApplyConfiguration represents a declarative configuration of the NomadSDConfig type for use with apply.
func NomadSDConfig ¶
func NomadSDConfig() *NomadSDConfigApplyConfiguration
NomadSDConfigApplyConfiguration constructs a declarative configuration of the NomadSDConfig type for use with apply.
func (*NomadSDConfigApplyConfiguration) WithAllowStale ¶
func (b *NomadSDConfigApplyConfiguration) WithAllowStale(value bool) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithAuthorization ¶
func (b *NomadSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithBasicAuth ¶
func (b *NomadSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *NomadSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *NomadSDConfigApplyConfiguration) WithFollowRedirects(value bool) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithNamespace ¶
func (b *NomadSDConfigApplyConfiguration) WithNamespace(value string) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithNoProxy ¶
func (b *NomadSDConfigApplyConfiguration) WithNoProxy(value string) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithOAuth2 ¶
func (b *NomadSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *NomadSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *NomadSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithProxyURL ¶
func (b *NomadSDConfigApplyConfiguration) WithProxyURL(value string) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *NomadSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithRegion ¶
func (b *NomadSDConfigApplyConfiguration) WithRegion(value string) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithServer ¶
func (b *NomadSDConfigApplyConfiguration) WithServer(value string) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *NomadSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *NomadSDConfigApplyConfiguration
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 (*NomadSDConfigApplyConfiguration) WithTagSeparator ¶
func (b *NomadSDConfigApplyConfiguration) WithTagSeparator(value string) *NomadSDConfigApplyConfiguration
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.
type OVHCloudSDConfigApplyConfiguration ¶
type OVHCloudSDConfigApplyConfiguration struct { ApplicationKey *string `json:"applicationKey,omitempty"` ApplicationSecret *v1.SecretKeySelector `json:"applicationSecret,omitempty"` ConsumerKey *v1.SecretKeySelector `json:"consumerKey,omitempty"` Service *v1alpha1.OVHService `json:"service,omitempty"` Endpoint *string `json:"endpoint,omitempty"` RefreshInterval *monitoringv1.Duration `json:"refreshInterval,omitempty"` }
OVHCloudSDConfigApplyConfiguration represents a declarative configuration of the OVHCloudSDConfig type for use with apply.
func OVHCloudSDConfig ¶
func OVHCloudSDConfig() *OVHCloudSDConfigApplyConfiguration
OVHCloudSDConfigApplyConfiguration constructs a declarative configuration of the OVHCloudSDConfig type for use with apply.
func (*OVHCloudSDConfigApplyConfiguration) WithApplicationKey ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithApplicationKey(value string) *OVHCloudSDConfigApplyConfiguration
WithApplicationKey sets the ApplicationKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApplicationKey field is set to the value of the last call.
func (*OVHCloudSDConfigApplyConfiguration) WithApplicationSecret ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithApplicationSecret(value v1.SecretKeySelector) *OVHCloudSDConfigApplyConfiguration
WithApplicationSecret sets the ApplicationSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApplicationSecret field is set to the value of the last call.
func (*OVHCloudSDConfigApplyConfiguration) WithConsumerKey ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithConsumerKey(value v1.SecretKeySelector) *OVHCloudSDConfigApplyConfiguration
WithConsumerKey sets the ConsumerKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConsumerKey field is set to the value of the last call.
func (*OVHCloudSDConfigApplyConfiguration) WithEndpoint ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithEndpoint(value string) *OVHCloudSDConfigApplyConfiguration
WithEndpoint sets the Endpoint field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Endpoint field is set to the value of the last call.
func (*OVHCloudSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *OVHCloudSDConfigApplyConfiguration
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 (*OVHCloudSDConfigApplyConfiguration) WithService ¶
func (b *OVHCloudSDConfigApplyConfiguration) WithService(value v1alpha1.OVHService) *OVHCloudSDConfigApplyConfiguration
WithService sets the Service field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Service field is set to the value of the last call.
type OpenStackSDConfigApplyConfiguration ¶
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 a declarative configuration of the OpenStackSDConfig type for use with apply.
func OpenStackSDConfig ¶
func OpenStackSDConfig() *OpenStackSDConfigApplyConfiguration
OpenStackSDConfigApplyConfiguration constructs a declarative configuration of the OpenStackSDConfig type for use with apply.
func (*OpenStackSDConfigApplyConfiguration) WithAllTenants ¶
func (b *OpenStackSDConfigApplyConfiguration) WithAllTenants(value bool) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialID(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithApplicationCredentialSecret(value v1.SecretKeySelector) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithAvailability(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithDomainID(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithDomainName(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithIdentityEndpoint(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithPassword(value v1.SecretKeySelector) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithPort(value int) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithProjectID(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithProjectName(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithRegion(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithRole(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithUserID(value string) *OpenStackSDConfigApplyConfiguration
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 ¶
func (b *OpenStackSDConfigApplyConfiguration) WithUsername(value string) *OpenStackSDConfigApplyConfiguration
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 a declarative configuration of the OpsGenieConfig type for use with apply.
func OpsGenieConfig ¶
func OpsGenieConfig() *OpsGenieConfigApplyConfiguration
OpsGenieConfigApplyConfiguration constructs a declarative configuration of the OpsGenieConfig type for use with apply.
func (*OpsGenieConfigApplyConfiguration) WithAPIKey ¶
func (b *OpsGenieConfigApplyConfiguration) WithAPIKey(value v1.SecretKeySelector) *OpsGenieConfigApplyConfiguration
WithAPIKey sets the APIKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIKey field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithAPIURL ¶
func (b *OpsGenieConfigApplyConfiguration) WithAPIURL(value string) *OpsGenieConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithActions ¶
func (b *OpsGenieConfigApplyConfiguration) WithActions(value string) *OpsGenieConfigApplyConfiguration
WithActions sets the Actions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Actions field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithDescription ¶
func (b *OpsGenieConfigApplyConfiguration) WithDescription(value string) *OpsGenieConfigApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithDetails ¶
func (b *OpsGenieConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithDetails adds the given value to the Details field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Details field.
func (*OpsGenieConfigApplyConfiguration) WithEntity ¶
func (b *OpsGenieConfigApplyConfiguration) WithEntity(value string) *OpsGenieConfigApplyConfiguration
WithEntity sets the Entity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Entity field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithHTTPConfig ¶
func (b *OpsGenieConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithMessage ¶
func (b *OpsGenieConfigApplyConfiguration) WithMessage(value string) *OpsGenieConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithNote ¶
func (b *OpsGenieConfigApplyConfiguration) WithNote(value string) *OpsGenieConfigApplyConfiguration
WithNote sets the Note field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Note field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithPriority ¶
func (b *OpsGenieConfigApplyConfiguration) WithPriority(value string) *OpsGenieConfigApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithResponders ¶
func (b *OpsGenieConfigApplyConfiguration) WithResponders(values ...*OpsGenieConfigResponderApplyConfiguration) *OpsGenieConfigApplyConfiguration
WithResponders adds the given value to the Responders field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Responders field.
func (*OpsGenieConfigApplyConfiguration) WithSendResolved ¶
func (b *OpsGenieConfigApplyConfiguration) WithSendResolved(value bool) *OpsGenieConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithSource ¶
func (b *OpsGenieConfigApplyConfiguration) WithSource(value string) *OpsGenieConfigApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithTags ¶
func (b *OpsGenieConfigApplyConfiguration) WithTags(value string) *OpsGenieConfigApplyConfiguration
WithTags sets the Tags field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tags field is set to the value of the last call.
func (*OpsGenieConfigApplyConfiguration) WithUpdateAlerts ¶
func (b *OpsGenieConfigApplyConfiguration) WithUpdateAlerts(value bool) *OpsGenieConfigApplyConfiguration
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 a declarative configuration of the OpsGenieConfigResponder type for use with apply.
func OpsGenieConfigResponder ¶
func OpsGenieConfigResponder() *OpsGenieConfigResponderApplyConfiguration
OpsGenieConfigResponderApplyConfiguration constructs a declarative configuration of the OpsGenieConfigResponder type for use with apply.
func (*OpsGenieConfigResponderApplyConfiguration) WithID ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithID(value string) *OpsGenieConfigResponderApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithName ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithName(value string) *OpsGenieConfigResponderApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithType ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithType(value string) *OpsGenieConfigResponderApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
func (*OpsGenieConfigResponderApplyConfiguration) WithUsername ¶
func (b *OpsGenieConfigResponderApplyConfiguration) WithUsername(value string) *OpsGenieConfigResponderApplyConfiguration
WithUsername sets the Username field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Username field is set to the value of the last call.
type PagerDutyConfigApplyConfiguration ¶
type PagerDutyConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` RoutingKey *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"` Source *string `json:"source,omitempty"` }
PagerDutyConfigApplyConfiguration represents a declarative configuration of the PagerDutyConfig type for use with apply.
func PagerDutyConfig ¶
func PagerDutyConfig() *PagerDutyConfigApplyConfiguration
PagerDutyConfigApplyConfiguration constructs a declarative configuration of the PagerDutyConfig type for use with apply.
func (*PagerDutyConfigApplyConfiguration) WithClass ¶
func (b *PagerDutyConfigApplyConfiguration) WithClass(value string) *PagerDutyConfigApplyConfiguration
WithClass sets the Class field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Class field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithClient ¶
func (b *PagerDutyConfigApplyConfiguration) WithClient(value string) *PagerDutyConfigApplyConfiguration
WithClient sets the Client field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Client field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithClientURL ¶
func (b *PagerDutyConfigApplyConfiguration) WithClientURL(value string) *PagerDutyConfigApplyConfiguration
WithClientURL sets the ClientURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientURL field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithComponent ¶
func (b *PagerDutyConfigApplyConfiguration) WithComponent(value string) *PagerDutyConfigApplyConfiguration
WithComponent sets the Component field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Component field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithDescription ¶
func (b *PagerDutyConfigApplyConfiguration) WithDescription(value string) *PagerDutyConfigApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithDetails ¶
func (b *PagerDutyConfigApplyConfiguration) WithDetails(values ...*KeyValueApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithDetails adds the given value to the Details field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Details field.
func (*PagerDutyConfigApplyConfiguration) WithGroup ¶
func (b *PagerDutyConfigApplyConfiguration) WithGroup(value string) *PagerDutyConfigApplyConfiguration
WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithHTTPConfig ¶
func (b *PagerDutyConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs ¶
func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyImageConfigs(values ...*PagerDutyImageConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithPagerDutyImageConfigs adds the given value to the PagerDutyImageConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyImageConfigs field.
func (*PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs ¶
func (b *PagerDutyConfigApplyConfiguration) WithPagerDutyLinkConfigs(values ...*PagerDutyLinkConfigApplyConfiguration) *PagerDutyConfigApplyConfiguration
WithPagerDutyLinkConfigs adds the given value to the PagerDutyLinkConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyLinkConfigs field.
func (*PagerDutyConfigApplyConfiguration) WithRoutingKey ¶
func (b *PagerDutyConfigApplyConfiguration) WithRoutingKey(value v1.SecretKeySelector) *PagerDutyConfigApplyConfiguration
WithRoutingKey sets the RoutingKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingKey field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithSendResolved ¶
func (b *PagerDutyConfigApplyConfiguration) WithSendResolved(value bool) *PagerDutyConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithServiceKey ¶
func (b *PagerDutyConfigApplyConfiguration) WithServiceKey(value v1.SecretKeySelector) *PagerDutyConfigApplyConfiguration
WithServiceKey sets the ServiceKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceKey field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithSeverity ¶
func (b *PagerDutyConfigApplyConfiguration) WithSeverity(value string) *PagerDutyConfigApplyConfiguration
WithSeverity sets the Severity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Severity field is set to the value of the last call.
func (*PagerDutyConfigApplyConfiguration) WithSource ¶
func (b *PagerDutyConfigApplyConfiguration) WithSource(value string) *PagerDutyConfigApplyConfiguration
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 (*PagerDutyConfigApplyConfiguration) WithURL ¶
func (b *PagerDutyConfigApplyConfiguration) WithURL(value string) *PagerDutyConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
type PagerDutyImageConfigApplyConfiguration ¶
type PagerDutyImageConfigApplyConfiguration struct { Src *string `json:"src,omitempty"` Href *string `json:"href,omitempty"` Alt *string `json:"alt,omitempty"` }
PagerDutyImageConfigApplyConfiguration represents a declarative configuration of the PagerDutyImageConfig type for use with apply.
func PagerDutyImageConfig ¶
func PagerDutyImageConfig() *PagerDutyImageConfigApplyConfiguration
PagerDutyImageConfigApplyConfiguration constructs a declarative configuration of the PagerDutyImageConfig type for use with apply.
func (*PagerDutyImageConfigApplyConfiguration) WithAlt ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithAlt(value string) *PagerDutyImageConfigApplyConfiguration
WithAlt sets the Alt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alt field is set to the value of the last call.
func (*PagerDutyImageConfigApplyConfiguration) WithHref ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithHref(value string) *PagerDutyImageConfigApplyConfiguration
WithHref sets the Href field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Href field is set to the value of the last call.
func (*PagerDutyImageConfigApplyConfiguration) WithSrc ¶
func (b *PagerDutyImageConfigApplyConfiguration) WithSrc(value string) *PagerDutyImageConfigApplyConfiguration
WithSrc sets the Src field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Src field is set to the value of the last call.
type PagerDutyLinkConfigApplyConfiguration ¶
type PagerDutyLinkConfigApplyConfiguration struct { Href *string `json:"href,omitempty"` Text *string `json:"alt,omitempty"` }
PagerDutyLinkConfigApplyConfiguration represents a declarative configuration of the PagerDutyLinkConfig type for use with apply.
func PagerDutyLinkConfig ¶
func PagerDutyLinkConfig() *PagerDutyLinkConfigApplyConfiguration
PagerDutyLinkConfigApplyConfiguration constructs a declarative configuration of the PagerDutyLinkConfig type for use with apply.
func (*PagerDutyLinkConfigApplyConfiguration) WithHref ¶
func (b *PagerDutyLinkConfigApplyConfiguration) WithHref(value string) *PagerDutyLinkConfigApplyConfiguration
WithHref sets the Href field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Href field is set to the value of the last call.
func (*PagerDutyLinkConfigApplyConfiguration) WithText ¶
func (b *PagerDutyLinkConfigApplyConfiguration) WithText(value string) *PagerDutyLinkConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
type PrometheusAgentApplyConfiguration ¶
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 a declarative configuration of the PrometheusAgent type for use with apply.
func PrometheusAgent ¶
func PrometheusAgent(name, namespace string) *PrometheusAgentApplyConfiguration
PrometheusAgent constructs a declarative configuration of the PrometheusAgent type for use with apply.
func (*PrometheusAgentApplyConfiguration) GetName ¶
func (b *PrometheusAgentApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PrometheusAgentApplyConfiguration) WithAPIVersion ¶
func (b *PrometheusAgentApplyConfiguration) WithAPIVersion(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusAgentApplyConfiguration
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 ¶
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithFinalizers(values ...string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithGenerateName(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithGeneration(value int64) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithKind(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithLabels(entries map[string]string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithName(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithNamespace(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithResourceVersion(value string) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithSpec(value *PrometheusAgentSpecApplyConfiguration) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithStatus(value *monitoringv1.PrometheusStatusApplyConfiguration) *PrometheusAgentApplyConfiguration
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 ¶
func (b *PrometheusAgentApplyConfiguration) WithUID(value types.UID) *PrometheusAgentApplyConfiguration
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 ¶
type PrometheusAgentSpecApplyConfiguration struct { Mode *string `json:"mode,omitempty"` v1.CommonPrometheusFieldsApplyConfiguration `json:",inline"` }
PrometheusAgentSpecApplyConfiguration represents a declarative configuration of the PrometheusAgentSpec type for use with apply.
func PrometheusAgentSpec ¶
func PrometheusAgentSpec() *PrometheusAgentSpecApplyConfiguration
PrometheusAgentSpecApplyConfiguration constructs a declarative configuration of the PrometheusAgentSpec type for use with apply.
func (*PrometheusAgentSpecApplyConfiguration) WithAPIServerConfig ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithAPIServerConfig(value *v1.APIServerConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithAdditionalArgs(values ...*v1.ArgumentApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *v1.ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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) WithAutomountServiceAccountToken ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PrometheusAgentSpecApplyConfiguration
WithAutomountServiceAccountToken sets the AutomountServiceAccountToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AutomountServiceAccountToken field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithBodySizeLimit ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithConfigMaps(values ...string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithContainers(values ...corev1.Container) *PrometheusAgentSpecApplyConfiguration
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) WithDNSConfig ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithDNSConfig(value *v1.PodDNSConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
WithDNSConfig sets the DNSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSConfig field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithDNSPolicy ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *PrometheusAgentSpecApplyConfiguration
WithDNSPolicy sets the DNSPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSPolicy field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithEnableFeatures ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *PrometheusAgentSpecApplyConfiguration
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 ¶
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedLabelLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
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 ¶
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedSampleLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithEnforcedTargetLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*v1.ObjectReferenceApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithExternalLabels(entries map[string]string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithExternalURL(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithHostAliases(values ...*v1.HostAliasApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithHostNetwork(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithImage(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithLabelLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithListenLocal(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithLogFormat(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithLogLevel(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithMinReadySeconds(value uint32) *PrometheusAgentSpecApplyConfiguration
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) WithMode ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithMode(value string) *PrometheusAgentSpecApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithNodeSelector ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PrometheusAgentSpecApplyConfiguration
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) WithOTLP ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithOTLP(value *v1.OTLPConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
WithOTLP sets the OTLP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OTLP field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithOverrideHonorLabels ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithOverrideHonorLabels(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithOverrideHonorTimestamps(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPaused(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPodMetadata(value *v1.EmbeddedObjectMetadataApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPortName(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithPriorityClassName(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithRemoteWrite(values ...*v1.RemoteWriteSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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) WithRemoteWriteReceiverMessageVersions ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *PrometheusAgentSpecApplyConfiguration
WithRemoteWriteReceiverMessageVersions adds the given value to the RemoteWriteReceiverMessageVersions 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 RemoteWriteReceiverMessageVersions field.
func (*PrometheusAgentSpecApplyConfiguration) WithReplicaExternalLabelName ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithReplicaExternalLabelName(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithReplicas(value int32) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithRoutePrefix(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithSampleLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeClasses(values ...*v1.ScrapeClassApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithSecrets(values ...string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithServiceAccountName(value string) *PrometheusAgentSpecApplyConfiguration
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) WithServiceDiscoveryRole ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *PrometheusAgentSpecApplyConfiguration
WithServiceDiscoveryRole sets the ServiceDiscoveryRole field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceDiscoveryRole field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithServiceMonitorNamespaceSelector ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithShards(value int32) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithStorage(value *v1.StorageSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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) WithTSDB ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithTSDB(value *v1.TSDBSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
WithTSDB sets the TSDB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TSDB field is set to the value of the last call.
func (*PrometheusAgentSpecApplyConfiguration) WithTargetLimit ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithTargetLimit(value uint64) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*v1.TopologySpreadConstraintApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithTracingConfig(value *v1.PrometheusTracingConfigApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithVersion(value string) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithWALCompression(value bool) *PrometheusAgentSpecApplyConfiguration
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 ¶
func (b *PrometheusAgentSpecApplyConfiguration) WithWeb(value *v1.PrometheusWebSpecApplyConfiguration) *PrometheusAgentSpecApplyConfiguration
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 PuppetDBSDConfigApplyConfiguration ¶
type PuppetDBSDConfigApplyConfiguration struct { URL *string `json:"url,omitempty"` Query *string `json:"query,omitempty"` IncludeParameters *bool `json:"includeParameters,omitempty"` RefreshInterval *v1.Duration `json:"refreshInterval,omitempty"` Port *int32 `json:"port,omitempty"` BasicAuth *monitoringv1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` Authorization *monitoringv1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *monitoringv1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` monitoringv1.ProxyConfigApplyConfiguration `json:",inline"` TLSConfig *monitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` }
PuppetDBSDConfigApplyConfiguration represents a declarative configuration of the PuppetDBSDConfig type for use with apply.
func PuppetDBSDConfig ¶
func PuppetDBSDConfig() *PuppetDBSDConfigApplyConfiguration
PuppetDBSDConfigApplyConfiguration constructs a declarative configuration of the PuppetDBSDConfig type for use with apply.
func (*PuppetDBSDConfigApplyConfiguration) WithAuthorization ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithAuthorization(value *monitoringv1.SafeAuthorizationApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithBasicAuth ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithBasicAuth(value *monitoringv1.BasicAuthApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithEnableHTTP2(value bool) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithFollowRedirects(value bool) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithIncludeParameters ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithIncludeParameters(value bool) *PuppetDBSDConfigApplyConfiguration
WithIncludeParameters sets the IncludeParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IncludeParameters field is set to the value of the last call.
func (*PuppetDBSDConfigApplyConfiguration) WithNoProxy ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithNoProxy(value string) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithOAuth2 ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithOAuth2(value *monitoringv1.OAuth2ApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithPort ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithPort(value int32) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithProxyURL ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithProxyURL(value string) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithQuery ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithQuery(value string) *PuppetDBSDConfigApplyConfiguration
WithQuery sets the Query field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Query field is set to the value of the last call.
func (*PuppetDBSDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithRefreshInterval(value v1.Duration) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithTLSConfig ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithTLSConfig(value *monitoringv1.SafeTLSConfigApplyConfiguration) *PuppetDBSDConfigApplyConfiguration
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 (*PuppetDBSDConfigApplyConfiguration) WithURL ¶
func (b *PuppetDBSDConfigApplyConfiguration) WithURL(value string) *PuppetDBSDConfigApplyConfiguration
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 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"` TTL *monitoringv1.Duration `json:"ttl,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 a declarative configuration of the PushoverConfig type for use with apply.
func PushoverConfig ¶
func PushoverConfig() *PushoverConfigApplyConfiguration
PushoverConfigApplyConfiguration constructs a declarative configuration of the PushoverConfig type for use with apply.
func (*PushoverConfigApplyConfiguration) WithDevice ¶
func (b *PushoverConfigApplyConfiguration) WithDevice(value string) *PushoverConfigApplyConfiguration
WithDevice sets the Device field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Device field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithExpire ¶
func (b *PushoverConfigApplyConfiguration) WithExpire(value string) *PushoverConfigApplyConfiguration
WithExpire sets the Expire field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Expire field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithHTML ¶
func (b *PushoverConfigApplyConfiguration) WithHTML(value bool) *PushoverConfigApplyConfiguration
WithHTML sets the HTML field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTML field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithHTTPConfig ¶
func (b *PushoverConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *PushoverConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithMessage ¶
func (b *PushoverConfigApplyConfiguration) WithMessage(value string) *PushoverConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithPriority ¶
func (b *PushoverConfigApplyConfiguration) WithPriority(value string) *PushoverConfigApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithRetry ¶
func (b *PushoverConfigApplyConfiguration) WithRetry(value string) *PushoverConfigApplyConfiguration
WithRetry sets the Retry field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Retry field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithSendResolved ¶
func (b *PushoverConfigApplyConfiguration) WithSendResolved(value bool) *PushoverConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithSound ¶
func (b *PushoverConfigApplyConfiguration) WithSound(value string) *PushoverConfigApplyConfiguration
WithSound sets the Sound field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Sound field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithTTL ¶
func (b *PushoverConfigApplyConfiguration) WithTTL(value monitoringv1.Duration) *PushoverConfigApplyConfiguration
WithTTL sets the TTL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TTL field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithTitle ¶
func (b *PushoverConfigApplyConfiguration) WithTitle(value string) *PushoverConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithToken ¶
func (b *PushoverConfigApplyConfiguration) WithToken(value v1.SecretKeySelector) *PushoverConfigApplyConfiguration
WithToken sets the Token field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Token field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithTokenFile ¶
func (b *PushoverConfigApplyConfiguration) WithTokenFile(value string) *PushoverConfigApplyConfiguration
WithTokenFile sets the TokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TokenFile field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithURL ¶
func (b *PushoverConfigApplyConfiguration) WithURL(value string) *PushoverConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithURLTitle ¶
func (b *PushoverConfigApplyConfiguration) WithURLTitle(value string) *PushoverConfigApplyConfiguration
WithURLTitle sets the URLTitle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URLTitle field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithUserKey ¶
func (b *PushoverConfigApplyConfiguration) WithUserKey(value v1.SecretKeySelector) *PushoverConfigApplyConfiguration
WithUserKey sets the UserKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserKey field is set to the value of the last call.
func (*PushoverConfigApplyConfiguration) WithUserKeyFile ¶
func (b *PushoverConfigApplyConfiguration) WithUserKeyFile(value string) *PushoverConfigApplyConfiguration
WithUserKeyFile sets the UserKeyFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UserKeyFile field is set to the value of the last call.
type ReceiverApplyConfiguration ¶
type ReceiverApplyConfiguration struct { Name *string `json:"name,omitempty"` OpsGenieConfigs []OpsGenieConfigApplyConfiguration `json:"opsgenieConfigs,omitempty"` PagerDutyConfigs []PagerDutyConfigApplyConfiguration `json:"pagerdutyConfigs,omitempty"` DiscordConfigs []DiscordConfigApplyConfiguration `json:"discordConfigs,omitempty"` SlackConfigs []SlackConfigApplyConfiguration `json:"slackConfigs,omitempty"` WebhookConfigs []WebhookConfigApplyConfiguration `json:"webhookConfigs,omitempty"` WeChatConfigs []WeChatConfigApplyConfiguration `json:"wechatConfigs,omitempty"` EmailConfigs []EmailConfigApplyConfiguration `json:"emailConfigs,omitempty"` VictorOpsConfigs []VictorOpsConfigApplyConfiguration `json:"victoropsConfigs,omitempty"` PushoverConfigs []PushoverConfigApplyConfiguration `json:"pushoverConfigs,omitempty"` SNSConfigs []SNSConfigApplyConfiguration `json:"snsConfigs,omitempty"` TelegramConfigs []TelegramConfigApplyConfiguration `json:"telegramConfigs,omitempty"` WebexConfigs []WebexConfigApplyConfiguration `json:"webexConfigs,omitempty"` MSTeamsConfigs []MSTeamsConfigApplyConfiguration `json:"msteamsConfigs,omitempty"` }
ReceiverApplyConfiguration represents a declarative configuration of the Receiver type for use with apply.
func Receiver ¶
func Receiver() *ReceiverApplyConfiguration
ReceiverApplyConfiguration constructs a declarative configuration of the Receiver type for use with apply.
func (*ReceiverApplyConfiguration) WithDiscordConfigs ¶
func (b *ReceiverApplyConfiguration) WithDiscordConfigs(values ...*DiscordConfigApplyConfiguration) *ReceiverApplyConfiguration
WithDiscordConfigs adds the given value to the DiscordConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DiscordConfigs field.
func (*ReceiverApplyConfiguration) WithEmailConfigs ¶
func (b *ReceiverApplyConfiguration) WithEmailConfigs(values ...*EmailConfigApplyConfiguration) *ReceiverApplyConfiguration
WithEmailConfigs adds the given value to the EmailConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EmailConfigs field.
func (*ReceiverApplyConfiguration) WithMSTeamsConfigs ¶
func (b *ReceiverApplyConfiguration) WithMSTeamsConfigs(values ...*MSTeamsConfigApplyConfiguration) *ReceiverApplyConfiguration
WithMSTeamsConfigs adds the given value to the MSTeamsConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MSTeamsConfigs field.
func (*ReceiverApplyConfiguration) WithName ¶
func (b *ReceiverApplyConfiguration) WithName(value string) *ReceiverApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ReceiverApplyConfiguration) WithOpsGenieConfigs ¶
func (b *ReceiverApplyConfiguration) WithOpsGenieConfigs(values ...*OpsGenieConfigApplyConfiguration) *ReceiverApplyConfiguration
WithOpsGenieConfigs adds the given value to the OpsGenieConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OpsGenieConfigs field.
func (*ReceiverApplyConfiguration) WithPagerDutyConfigs ¶
func (b *ReceiverApplyConfiguration) WithPagerDutyConfigs(values ...*PagerDutyConfigApplyConfiguration) *ReceiverApplyConfiguration
WithPagerDutyConfigs adds the given value to the PagerDutyConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PagerDutyConfigs field.
func (*ReceiverApplyConfiguration) WithPushoverConfigs ¶
func (b *ReceiverApplyConfiguration) WithPushoverConfigs(values ...*PushoverConfigApplyConfiguration) *ReceiverApplyConfiguration
WithPushoverConfigs adds the given value to the PushoverConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PushoverConfigs field.
func (*ReceiverApplyConfiguration) WithSNSConfigs ¶
func (b *ReceiverApplyConfiguration) WithSNSConfigs(values ...*SNSConfigApplyConfiguration) *ReceiverApplyConfiguration
WithSNSConfigs adds the given value to the SNSConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SNSConfigs field.
func (*ReceiverApplyConfiguration) WithSlackConfigs ¶
func (b *ReceiverApplyConfiguration) WithSlackConfigs(values ...*SlackConfigApplyConfiguration) *ReceiverApplyConfiguration
WithSlackConfigs adds the given value to the SlackConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SlackConfigs field.
func (*ReceiverApplyConfiguration) WithTelegramConfigs ¶
func (b *ReceiverApplyConfiguration) WithTelegramConfigs(values ...*TelegramConfigApplyConfiguration) *ReceiverApplyConfiguration
WithTelegramConfigs adds the given value to the TelegramConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TelegramConfigs field.
func (*ReceiverApplyConfiguration) WithVictorOpsConfigs ¶
func (b *ReceiverApplyConfiguration) WithVictorOpsConfigs(values ...*VictorOpsConfigApplyConfiguration) *ReceiverApplyConfiguration
WithVictorOpsConfigs adds the given value to the VictorOpsConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the VictorOpsConfigs field.
func (*ReceiverApplyConfiguration) WithWeChatConfigs ¶
func (b *ReceiverApplyConfiguration) WithWeChatConfigs(values ...*WeChatConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWeChatConfigs adds the given value to the WeChatConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WeChatConfigs field.
func (*ReceiverApplyConfiguration) WithWebexConfigs ¶
func (b *ReceiverApplyConfiguration) WithWebexConfigs(values ...*WebexConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWebexConfigs adds the given value to the WebexConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WebexConfigs field.
func (*ReceiverApplyConfiguration) WithWebhookConfigs ¶
func (b *ReceiverApplyConfiguration) WithWebhookConfigs(values ...*WebhookConfigApplyConfiguration) *ReceiverApplyConfiguration
WithWebhookConfigs adds the given value to the WebhookConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WebhookConfigs field.
type RouteApplyConfiguration ¶
type RouteApplyConfiguration struct { Receiver *string `json:"receiver,omitempty"` GroupBy []string `json:"groupBy,omitempty"` GroupWait *string `json:"groupWait,omitempty"` GroupInterval *string `json:"groupInterval,omitempty"` RepeatInterval *string `json:"repeatInterval,omitempty"` Matchers []MatcherApplyConfiguration `json:"matchers,omitempty"` Continue *bool `json:"continue,omitempty"` Routes []v1.JSON `json:"routes,omitempty"` MuteTimeIntervals []string `json:"muteTimeIntervals,omitempty"` ActiveTimeIntervals []string `json:"activeTimeIntervals,omitempty"` }
RouteApplyConfiguration represents a declarative configuration of the Route type for use with apply.
func Route ¶
func Route() *RouteApplyConfiguration
RouteApplyConfiguration constructs a declarative configuration of the Route type for use with apply.
func (*RouteApplyConfiguration) WithActiveTimeIntervals ¶
func (b *RouteApplyConfiguration) WithActiveTimeIntervals(values ...string) *RouteApplyConfiguration
WithActiveTimeIntervals adds the given value to the ActiveTimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ActiveTimeIntervals field.
func (*RouteApplyConfiguration) WithContinue ¶
func (b *RouteApplyConfiguration) WithContinue(value bool) *RouteApplyConfiguration
WithContinue sets the Continue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Continue field is set to the value of the last call.
func (*RouteApplyConfiguration) WithGroupBy ¶
func (b *RouteApplyConfiguration) WithGroupBy(values ...string) *RouteApplyConfiguration
WithGroupBy adds the given value to the GroupBy field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the GroupBy field.
func (*RouteApplyConfiguration) WithGroupInterval ¶
func (b *RouteApplyConfiguration) WithGroupInterval(value string) *RouteApplyConfiguration
WithGroupInterval sets the GroupInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupInterval field is set to the value of the last call.
func (*RouteApplyConfiguration) WithGroupWait ¶
func (b *RouteApplyConfiguration) WithGroupWait(value string) *RouteApplyConfiguration
WithGroupWait sets the GroupWait field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupWait field is set to the value of the last call.
func (*RouteApplyConfiguration) WithMatchers ¶
func (b *RouteApplyConfiguration) WithMatchers(values ...*MatcherApplyConfiguration) *RouteApplyConfiguration
WithMatchers adds the given value to the Matchers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Matchers field.
func (*RouteApplyConfiguration) WithMuteTimeIntervals ¶
func (b *RouteApplyConfiguration) WithMuteTimeIntervals(values ...string) *RouteApplyConfiguration
WithMuteTimeIntervals adds the given value to the MuteTimeIntervals field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MuteTimeIntervals field.
func (*RouteApplyConfiguration) WithReceiver ¶
func (b *RouteApplyConfiguration) WithReceiver(value string) *RouteApplyConfiguration
WithReceiver sets the Receiver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Receiver field is set to the value of the last call.
func (*RouteApplyConfiguration) WithRepeatInterval ¶
func (b *RouteApplyConfiguration) WithRepeatInterval(value string) *RouteApplyConfiguration
WithRepeatInterval sets the RepeatInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RepeatInterval field is set to the value of the last call.
func (*RouteApplyConfiguration) WithRoutes ¶
func (b *RouteApplyConfiguration) WithRoutes(values ...v1.JSON) *RouteApplyConfiguration
WithRoutes adds the given value to the Routes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Routes field.
type SNSConfigApplyConfiguration ¶
type SNSConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` ApiURL *string `json:"apiURL,omitempty"` Sigv4 *v1.Sigv4ApplyConfiguration `json:"sigv4,omitempty"` TopicARN *string `json:"topicARN,omitempty"` Subject *string `json:"subject,omitempty"` PhoneNumber *string `json:"phoneNumber,omitempty"` TargetARN *string `json:"targetARN,omitempty"` Message *string `json:"message,omitempty"` Attributes map[string]string `json:"attributes,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
SNSConfigApplyConfiguration represents a declarative configuration of the SNSConfig type for use with apply.
func SNSConfig ¶
func SNSConfig() *SNSConfigApplyConfiguration
SNSConfigApplyConfiguration constructs a declarative configuration of the SNSConfig type for use with apply.
func (*SNSConfigApplyConfiguration) WithApiURL ¶
func (b *SNSConfigApplyConfiguration) WithApiURL(value string) *SNSConfigApplyConfiguration
WithApiURL sets the ApiURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ApiURL field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithAttributes ¶
func (b *SNSConfigApplyConfiguration) WithAttributes(entries map[string]string) *SNSConfigApplyConfiguration
WithAttributes puts the entries into the Attributes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Attributes field, overwriting an existing map entries in Attributes field with the same key.
func (*SNSConfigApplyConfiguration) WithHTTPConfig ¶
func (b *SNSConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SNSConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithMessage ¶
func (b *SNSConfigApplyConfiguration) WithMessage(value string) *SNSConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithPhoneNumber ¶
func (b *SNSConfigApplyConfiguration) WithPhoneNumber(value string) *SNSConfigApplyConfiguration
WithPhoneNumber sets the PhoneNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PhoneNumber field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSendResolved ¶
func (b *SNSConfigApplyConfiguration) WithSendResolved(value bool) *SNSConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSigv4 ¶
func (b *SNSConfigApplyConfiguration) WithSigv4(value *v1.Sigv4ApplyConfiguration) *SNSConfigApplyConfiguration
WithSigv4 sets the Sigv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Sigv4 field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithSubject ¶
func (b *SNSConfigApplyConfiguration) WithSubject(value string) *SNSConfigApplyConfiguration
WithSubject sets the Subject field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subject field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithTargetARN ¶
func (b *SNSConfigApplyConfiguration) WithTargetARN(value string) *SNSConfigApplyConfiguration
WithTargetARN sets the TargetARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetARN field is set to the value of the last call.
func (*SNSConfigApplyConfiguration) WithTopicARN ¶
func (b *SNSConfigApplyConfiguration) WithTopicARN(value string) *SNSConfigApplyConfiguration
WithTopicARN sets the TopicARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopicARN field is set to the value of the last call.
type ScalewaySDConfigApplyConfiguration ¶
type ScalewaySDConfigApplyConfiguration struct { AccessKey *string `json:"accessKey,omitempty"` SecretKey *v1.SecretKeySelector `json:"secretKey,omitempty"` ProjectID *string `json:"projectID,omitempty"` Role *v1alpha1.ScalewayRole `json:"role,omitempty"` Port *int32 `json:"port,omitempty"` ApiURL *string `json:"apiURL,omitempty"` Zone *string `json:"zone,omitempty"` NameFilter *string `json:"nameFilter,omitempty"` TagsFilter []string `json:"tagsFilter,omitempty"` RefreshInterval *monitoringv1.Duration `json:"refreshInterval,omitempty"` applyconfigurationmonitoringv1.ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHTTP2 *bool `json:"enableHTTP2,omitempty"` TLSConfig *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` }
ScalewaySDConfigApplyConfiguration represents a declarative configuration of the ScalewaySDConfig type for use with apply.
func ScalewaySDConfig ¶
func ScalewaySDConfig() *ScalewaySDConfigApplyConfiguration
ScalewaySDConfigApplyConfiguration constructs a declarative configuration of the ScalewaySDConfig type for use with apply.
func (*ScalewaySDConfigApplyConfiguration) WithAccessKey ¶
func (b *ScalewaySDConfigApplyConfiguration) WithAccessKey(value string) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithApiURL ¶
func (b *ScalewaySDConfigApplyConfiguration) WithApiURL(value string) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithEnableHTTP2 ¶
func (b *ScalewaySDConfigApplyConfiguration) WithEnableHTTP2(value bool) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithFollowRedirects ¶
func (b *ScalewaySDConfigApplyConfiguration) WithFollowRedirects(value bool) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithNameFilter ¶
func (b *ScalewaySDConfigApplyConfiguration) WithNameFilter(value string) *ScalewaySDConfigApplyConfiguration
WithNameFilter sets the NameFilter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NameFilter field is set to the value of the last call.
func (*ScalewaySDConfigApplyConfiguration) WithNoProxy ¶
func (b *ScalewaySDConfigApplyConfiguration) WithNoProxy(value string) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithPort ¶
func (b *ScalewaySDConfigApplyConfiguration) WithPort(value int32) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithProjectID ¶
func (b *ScalewaySDConfigApplyConfiguration) WithProjectID(value string) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *ScalewaySDConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *ScalewaySDConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithProxyURL ¶
func (b *ScalewaySDConfigApplyConfiguration) WithProxyURL(value string) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithRefreshInterval ¶
func (b *ScalewaySDConfigApplyConfiguration) WithRefreshInterval(value monitoringv1.Duration) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithRole ¶
func (b *ScalewaySDConfigApplyConfiguration) WithRole(value v1alpha1.ScalewayRole) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithSecretKey ¶
func (b *ScalewaySDConfigApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *ScalewaySDConfigApplyConfiguration
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.
func (*ScalewaySDConfigApplyConfiguration) WithTLSConfig ¶
func (b *ScalewaySDConfigApplyConfiguration) WithTLSConfig(value *applyconfigurationmonitoringv1.SafeTLSConfigApplyConfiguration) *ScalewaySDConfigApplyConfiguration
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 (*ScalewaySDConfigApplyConfiguration) WithTagsFilter ¶
func (b *ScalewaySDConfigApplyConfiguration) WithTagsFilter(values ...string) *ScalewaySDConfigApplyConfiguration
WithTagsFilter adds the given value to the TagsFilter 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 TagsFilter field.
func (*ScalewaySDConfigApplyConfiguration) WithZone ¶
func (b *ScalewaySDConfigApplyConfiguration) WithZone(value string) *ScalewaySDConfigApplyConfiguration
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 ScrapeConfigApplyConfiguration ¶
type ScrapeConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ScrapeConfigSpecApplyConfiguration `json:"spec,omitempty"` }
ScrapeConfigApplyConfiguration represents a declarative configuration of the ScrapeConfig type for use with apply.
func ScrapeConfig ¶
func ScrapeConfig(name, namespace string) *ScrapeConfigApplyConfiguration
ScrapeConfig constructs a declarative configuration of the ScrapeConfig type for use with apply.
func (*ScrapeConfigApplyConfiguration) GetName ¶
func (b *ScrapeConfigApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ScrapeConfigApplyConfiguration) WithAPIVersion ¶
func (b *ScrapeConfigApplyConfiguration) WithAPIVersion(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ScrapeConfigApplyConfiguration
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 ¶
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithFinalizers(values ...string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithGenerateName(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithGeneration(value int64) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithKind(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithLabels(entries map[string]string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithName(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithNamespace(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithResourceVersion(value string) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithSpec(value *ScrapeConfigSpecApplyConfiguration) *ScrapeConfigApplyConfiguration
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 ¶
func (b *ScrapeConfigApplyConfiguration) WithUID(value types.UID) *ScrapeConfigApplyConfiguration
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 ¶
type ScrapeConfigSpecApplyConfiguration struct { JobName *string `json:"jobName,omitempty"` 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"` LinodeSDConfigs []LinodeSDConfigApplyConfiguration `json:"linodeSDConfigs,omitempty"` HetznerSDConfigs []HetznerSDConfigApplyConfiguration `json:"hetznerSDConfigs,omitempty"` NomadSDConfigs []NomadSDConfigApplyConfiguration `json:"nomadSDConfigs,omitempty"` DockerSwarmSDConfigs []DockerSwarmSDConfigApplyConfiguration `json:"dockerSwarmSDConfigs,omitempty"` PuppetDBSDConfigs []PuppetDBSDConfigApplyConfiguration `json:"puppetDBSDConfigs,omitempty"` LightSailSDConfigs []LightSailSDConfigApplyConfiguration `json:"lightSailSDConfigs,omitempty"` OVHCloudSDConfigs []OVHCloudSDConfigApplyConfiguration `json:"ovhcloudSDConfigs,omitempty"` ScalewaySDConfigs []ScalewaySDConfigApplyConfiguration `json:"scalewaySDConfigs,omitempty"` IonosSDConfigs []IonosSDConfigApplyConfiguration `json:"ionosSDConfigs,omitempty"` RelabelConfigs []v1.RelabelConfigApplyConfiguration `json:"relabelings,omitempty"` MetricsPath *string `json:"metricsPath,omitempty"` ScrapeInterval *monitoringv1.Duration `json:"scrapeInterval,omitempty"` ScrapeTimeout *monitoringv1.Duration `json:"scrapeTimeout,omitempty"` ScrapeProtocols []monitoringv1.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 *v1.BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` Authorization *v1.SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` OAuth2 *v1.OAuth2ApplyConfiguration `json:"oauth2,omitempty"` TLSConfig *v1.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"` v1.NativeHistogramConfigApplyConfiguration `json:",inline"` KeepDroppedTargets *uint64 `json:"keepDroppedTargets,omitempty"` MetricRelabelConfigs []v1.RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"` v1.ProxyConfigApplyConfiguration `json:",inline"` ScrapeClassName *string `json:"scrapeClass,omitempty"` }
ScrapeConfigSpecApplyConfiguration represents a declarative configuration of the ScrapeConfigSpec type for use with apply.
func ScrapeConfigSpec ¶
func ScrapeConfigSpec() *ScrapeConfigSpecApplyConfiguration
ScrapeConfigSpecApplyConfiguration constructs a declarative configuration of the ScrapeConfigSpec type for use with apply.
func (*ScrapeConfigSpecApplyConfiguration) WithAuthorization ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithAuthorization(value *v1.SafeAuthorizationApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithAzureSDConfigs(values ...*AzureSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithBasicAuth(value *v1.BasicAuthApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithConsulSDConfigs(values ...*ConsulSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithDNSSDConfigs(values ...*DNSSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithDigitalOceanSDConfigs(values ...*DigitalOceanSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithDockerSDConfigs(values ...*DockerSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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) WithDockerSwarmSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithDockerSwarmSDConfigs(values ...*DockerSwarmSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithDockerSwarmSDConfigs adds the given value to the DockerSwarmSDConfigs 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 DockerSwarmSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithEC2SDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithEC2SDConfigs(values ...*EC2SDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithEnableCompression(value bool) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithEurekaSDConfigs(values ...*EurekaSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithFileSDConfigs(values ...*FileSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithGCESDConfigs(values ...*GCESDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithHTTPSDConfigs(values ...*HTTPSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithHetznerSDConfigs(values ...*HetznerSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithHonorLabels(value bool) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithHonorTimestamps(value bool) *ScrapeConfigSpecApplyConfiguration
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) WithIonosSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithIonosSDConfigs(values ...*IonosSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithIonosSDConfigs adds the given value to the IonosSDConfigs 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 IonosSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithJobName ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithJobName(value string) *ScrapeConfigSpecApplyConfiguration
WithJobName sets the JobName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobName field is set to the value of the last call.
func (*ScrapeConfigSpecApplyConfiguration) WithKeepDroppedTargets ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithKubernetesSDConfigs(values ...*KubernetesSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithKumaSDConfigs(values ...*KumaSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithLabelLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
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) WithLightSailSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithLightSailSDConfigs(values ...*LightSailSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithLightSailSDConfigs adds the given value to the LightSailSDConfigs 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 LightSailSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithLinodeSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithLinodeSDConfigs(values ...*LinodeSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithLinodeSDConfigs adds the given value to the LinodeSDConfigs 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 LinodeSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithMetricRelabelConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithMetricRelabelConfigs(values ...*v1.RelabelConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithMetricsPath(value string) *ScrapeConfigSpecApplyConfiguration
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) WithNativeHistogramBucketLimit ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
WithNativeHistogramBucketLimit sets the NativeHistogramBucketLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NativeHistogramBucketLimit field is set to the value of the last call.
func (*ScrapeConfigSpecApplyConfiguration) WithNativeHistogramMinBucketFactor ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ScrapeConfigSpecApplyConfiguration
WithNativeHistogramMinBucketFactor sets the NativeHistogramMinBucketFactor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NativeHistogramMinBucketFactor field is set to the value of the last call.
func (*ScrapeConfigSpecApplyConfiguration) WithNoProxy ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithNoProxy(value string) *ScrapeConfigSpecApplyConfiguration
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) WithNomadSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithNomadSDConfigs(values ...*NomadSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithNomadSDConfigs adds the given value to the NomadSDConfigs 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 NomadSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithOAuth2 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithOAuth2(value *v1.OAuth2ApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 (*ScrapeConfigSpecApplyConfiguration) WithOVHCloudSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithOVHCloudSDConfigs(values ...*OVHCloudSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithOVHCloudSDConfigs adds the given value to the OVHCloudSDConfigs 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 OVHCloudSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithOpenStackSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithOpenStackSDConfigs(values ...*OpenStackSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithParams(entries map[string][]string) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithProxyURL(value string) *ScrapeConfigSpecApplyConfiguration
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) WithPuppetDBSDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithPuppetDBSDConfigs(values ...*PuppetDBSDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithPuppetDBSDConfigs adds the given value to the PuppetDBSDConfigs 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 PuppetDBSDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithRelabelConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithRelabelConfigs(values ...*v1.RelabelConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithSampleLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
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) WithScalewaySDConfigs ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScalewaySDConfigs(values ...*ScalewaySDConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
WithScalewaySDConfigs adds the given value to the ScalewaySDConfigs 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 ScalewaySDConfigs field.
func (*ScrapeConfigSpecApplyConfiguration) WithScheme ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScheme(value string) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeClassName(value string) *ScrapeConfigSpecApplyConfiguration
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) WithScrapeClassicHistograms ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ScrapeConfigSpecApplyConfiguration
WithScrapeClassicHistograms sets the ScrapeClassicHistograms field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ScrapeClassicHistograms field is set to the value of the last call.
func (*ScrapeConfigSpecApplyConfiguration) WithScrapeInterval ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithStaticConfigs(values ...*StaticConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithTLSConfig(value *v1.SafeTLSConfigApplyConfiguration) *ScrapeConfigSpecApplyConfiguration
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 ¶
func (b *ScrapeConfigSpecApplyConfiguration) WithTargetLimit(value uint64) *ScrapeConfigSpecApplyConfiguration
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 ¶
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 a declarative configuration of the SlackAction type for use with apply.
func SlackAction ¶
func SlackAction() *SlackActionApplyConfiguration
SlackActionApplyConfiguration constructs a declarative configuration of the SlackAction type for use with apply.
func (*SlackActionApplyConfiguration) WithConfirmField ¶
func (b *SlackActionApplyConfiguration) WithConfirmField(value *SlackConfirmationFieldApplyConfiguration) *SlackActionApplyConfiguration
WithConfirmField sets the ConfirmField field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfirmField field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithName ¶
func (b *SlackActionApplyConfiguration) WithName(value string) *SlackActionApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithStyle ¶
func (b *SlackActionApplyConfiguration) WithStyle(value string) *SlackActionApplyConfiguration
WithStyle sets the Style field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Style field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithText ¶
func (b *SlackActionApplyConfiguration) WithText(value string) *SlackActionApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithType ¶
func (b *SlackActionApplyConfiguration) WithType(value string) *SlackActionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithURL ¶
func (b *SlackActionApplyConfiguration) WithURL(value string) *SlackActionApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*SlackActionApplyConfiguration) WithValue ¶
func (b *SlackActionApplyConfiguration) WithValue(value string) *SlackActionApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type SlackConfigApplyConfiguration ¶
type SlackConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIURL *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"` 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 a declarative configuration of the SlackConfig type for use with apply.
func SlackConfig ¶
func SlackConfig() *SlackConfigApplyConfiguration
SlackConfigApplyConfiguration constructs a declarative configuration of the SlackConfig type for use with apply.
func (*SlackConfigApplyConfiguration) WithAPIURL ¶
func (b *SlackConfigApplyConfiguration) WithAPIURL(value v1.SecretKeySelector) *SlackConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithActions ¶
func (b *SlackConfigApplyConfiguration) WithActions(values ...*SlackActionApplyConfiguration) *SlackConfigApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*SlackConfigApplyConfiguration) WithCallbackID ¶
func (b *SlackConfigApplyConfiguration) WithCallbackID(value string) *SlackConfigApplyConfiguration
WithCallbackID sets the CallbackID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CallbackID field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithChannel ¶
func (b *SlackConfigApplyConfiguration) WithChannel(value string) *SlackConfigApplyConfiguration
WithChannel sets the Channel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Channel field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithColor ¶
func (b *SlackConfigApplyConfiguration) WithColor(value string) *SlackConfigApplyConfiguration
WithColor sets the Color field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Color field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithFallback ¶
func (b *SlackConfigApplyConfiguration) WithFallback(value string) *SlackConfigApplyConfiguration
WithFallback sets the Fallback field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Fallback field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithFields ¶
func (b *SlackConfigApplyConfiguration) WithFields(values ...*SlackFieldApplyConfiguration) *SlackConfigApplyConfiguration
WithFields adds the given value to the Fields field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Fields field.
func (*SlackConfigApplyConfiguration) WithFooter ¶
func (b *SlackConfigApplyConfiguration) WithFooter(value string) *SlackConfigApplyConfiguration
WithFooter sets the Footer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Footer field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithHTTPConfig ¶
func (b *SlackConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *SlackConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithIconEmoji ¶
func (b *SlackConfigApplyConfiguration) WithIconEmoji(value string) *SlackConfigApplyConfiguration
WithIconEmoji sets the IconEmoji field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IconEmoji field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithIconURL ¶
func (b *SlackConfigApplyConfiguration) WithIconURL(value string) *SlackConfigApplyConfiguration
WithIconURL sets the IconURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IconURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithImageURL ¶
func (b *SlackConfigApplyConfiguration) WithImageURL(value string) *SlackConfigApplyConfiguration
WithImageURL sets the ImageURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithLinkNames ¶
func (b *SlackConfigApplyConfiguration) WithLinkNames(value bool) *SlackConfigApplyConfiguration
WithLinkNames sets the LinkNames field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LinkNames field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithMrkdwnIn ¶
func (b *SlackConfigApplyConfiguration) WithMrkdwnIn(values ...string) *SlackConfigApplyConfiguration
WithMrkdwnIn adds the given value to the MrkdwnIn field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MrkdwnIn field.
func (*SlackConfigApplyConfiguration) WithPretext ¶
func (b *SlackConfigApplyConfiguration) WithPretext(value string) *SlackConfigApplyConfiguration
WithPretext sets the Pretext field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pretext field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithSendResolved ¶
func (b *SlackConfigApplyConfiguration) WithSendResolved(value bool) *SlackConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithShortFields ¶
func (b *SlackConfigApplyConfiguration) WithShortFields(value bool) *SlackConfigApplyConfiguration
WithShortFields sets the ShortFields field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShortFields field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithText ¶
func (b *SlackConfigApplyConfiguration) WithText(value string) *SlackConfigApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithThumbURL ¶
func (b *SlackConfigApplyConfiguration) WithThumbURL(value string) *SlackConfigApplyConfiguration
WithThumbURL sets the ThumbURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ThumbURL field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithTitle ¶
func (b *SlackConfigApplyConfiguration) WithTitle(value string) *SlackConfigApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithTitleLink ¶
func (b *SlackConfigApplyConfiguration) WithTitleLink(value string) *SlackConfigApplyConfiguration
WithTitleLink sets the TitleLink field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TitleLink field is set to the value of the last call.
func (*SlackConfigApplyConfiguration) WithUsername ¶
func (b *SlackConfigApplyConfiguration) WithUsername(value string) *SlackConfigApplyConfiguration
WithUsername sets the Username field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Username field is set to the value of the last call.
type SlackConfirmationFieldApplyConfiguration ¶
type SlackConfirmationFieldApplyConfiguration struct { Text *string `json:"text,omitempty"` Title *string `json:"title,omitempty"` OkText *string `json:"okText,omitempty"` DismissText *string `json:"dismissText,omitempty"` }
SlackConfirmationFieldApplyConfiguration represents a declarative configuration of the SlackConfirmationField type for use with apply.
func SlackConfirmationField ¶
func SlackConfirmationField() *SlackConfirmationFieldApplyConfiguration
SlackConfirmationFieldApplyConfiguration constructs a declarative configuration of the SlackConfirmationField type for use with apply.
func (*SlackConfirmationFieldApplyConfiguration) WithDismissText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithDismissText(value string) *SlackConfirmationFieldApplyConfiguration
WithDismissText sets the DismissText field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DismissText field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithOkText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithOkText(value string) *SlackConfirmationFieldApplyConfiguration
WithOkText sets the OkText field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OkText field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithText ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithText(value string) *SlackConfirmationFieldApplyConfiguration
WithText sets the Text field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Text field is set to the value of the last call.
func (*SlackConfirmationFieldApplyConfiguration) WithTitle ¶
func (b *SlackConfirmationFieldApplyConfiguration) WithTitle(value string) *SlackConfirmationFieldApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
type SlackFieldApplyConfiguration ¶
type SlackFieldApplyConfiguration struct { Title *string `json:"title,omitempty"` Value *string `json:"value,omitempty"` Short *bool `json:"short,omitempty"` }
SlackFieldApplyConfiguration represents a declarative configuration of the SlackField type for use with apply.
func SlackField ¶
func SlackField() *SlackFieldApplyConfiguration
SlackFieldApplyConfiguration constructs a declarative configuration of the SlackField type for use with apply.
func (*SlackFieldApplyConfiguration) WithShort ¶
func (b *SlackFieldApplyConfiguration) WithShort(value bool) *SlackFieldApplyConfiguration
WithShort sets the Short field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Short field is set to the value of the last call.
func (*SlackFieldApplyConfiguration) WithTitle ¶
func (b *SlackFieldApplyConfiguration) WithTitle(value string) *SlackFieldApplyConfiguration
WithTitle sets the Title field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Title field is set to the value of the last call.
func (*SlackFieldApplyConfiguration) WithValue ¶
func (b *SlackFieldApplyConfiguration) WithValue(value string) *SlackFieldApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type StaticConfigApplyConfiguration ¶
type StaticConfigApplyConfiguration struct { Targets []v1alpha1.Target `json:"targets,omitempty"` Labels map[string]string `json:"labels,omitempty"` }
StaticConfigApplyConfiguration represents a declarative configuration of the StaticConfig type for use with apply.
func StaticConfig ¶
func StaticConfig() *StaticConfigApplyConfiguration
StaticConfigApplyConfiguration constructs a declarative configuration of the StaticConfig type for use with apply.
func (*StaticConfigApplyConfiguration) WithLabels ¶
func (b *StaticConfigApplyConfiguration) WithLabels(entries map[string]string) *StaticConfigApplyConfiguration
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 ¶
func (b *StaticConfigApplyConfiguration) WithTargets(values ...v1alpha1.Target) *StaticConfigApplyConfiguration
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 a declarative configuration of the TelegramConfig type for use with apply.
func TelegramConfig ¶
func TelegramConfig() *TelegramConfigApplyConfiguration
TelegramConfigApplyConfiguration constructs a declarative configuration of the TelegramConfig type for use with apply.
func (*TelegramConfigApplyConfiguration) WithAPIURL ¶
func (b *TelegramConfigApplyConfiguration) WithAPIURL(value string) *TelegramConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithBotToken ¶
func (b *TelegramConfigApplyConfiguration) WithBotToken(value v1.SecretKeySelector) *TelegramConfigApplyConfiguration
WithBotToken sets the BotToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BotToken field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithBotTokenFile ¶
func (b *TelegramConfigApplyConfiguration) WithBotTokenFile(value string) *TelegramConfigApplyConfiguration
WithBotTokenFile sets the BotTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BotTokenFile field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithChatID ¶
func (b *TelegramConfigApplyConfiguration) WithChatID(value int64) *TelegramConfigApplyConfiguration
WithChatID sets the ChatID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ChatID field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithDisableNotifications ¶
func (b *TelegramConfigApplyConfiguration) WithDisableNotifications(value bool) *TelegramConfigApplyConfiguration
WithDisableNotifications sets the DisableNotifications field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableNotifications field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithHTTPConfig ¶
func (b *TelegramConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *TelegramConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithMessage ¶
func (b *TelegramConfigApplyConfiguration) WithMessage(value string) *TelegramConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithParseMode ¶
func (b *TelegramConfigApplyConfiguration) WithParseMode(value string) *TelegramConfigApplyConfiguration
WithParseMode sets the ParseMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ParseMode field is set to the value of the last call.
func (*TelegramConfigApplyConfiguration) WithSendResolved ¶
func (b *TelegramConfigApplyConfiguration) WithSendResolved(value bool) *TelegramConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
type TimeIntervalApplyConfiguration ¶
type TimeIntervalApplyConfiguration struct { 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 a declarative configuration of the TimeInterval type for use with apply.
func TimeInterval ¶
func TimeInterval() *TimeIntervalApplyConfiguration
TimeIntervalApplyConfiguration constructs a declarative configuration of the TimeInterval type for use with apply.
func (*TimeIntervalApplyConfiguration) WithDaysOfMonth ¶
func (b *TimeIntervalApplyConfiguration) WithDaysOfMonth(values ...*DayOfMonthRangeApplyConfiguration) *TimeIntervalApplyConfiguration
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 ¶
func (b *TimeIntervalApplyConfiguration) WithMonths(values ...monitoringv1alpha1.MonthRange) *TimeIntervalApplyConfiguration
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 ¶
func (b *TimeIntervalApplyConfiguration) WithTimes(values ...*TimeRangeApplyConfiguration) *TimeIntervalApplyConfiguration
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 ¶
func (b *TimeIntervalApplyConfiguration) WithWeekdays(values ...monitoringv1alpha1.WeekdayRange) *TimeIntervalApplyConfiguration
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 ¶
func (b *TimeIntervalApplyConfiguration) WithYears(values ...monitoringv1alpha1.YearRange) *TimeIntervalApplyConfiguration
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 a declarative configuration of the TimeRange type for use with apply.
func TimeRange ¶
func TimeRange() *TimeRangeApplyConfiguration
TimeRangeApplyConfiguration constructs a declarative configuration of the TimeRange type for use with apply.
func (*TimeRangeApplyConfiguration) WithEndTime ¶
func (b *TimeRangeApplyConfiguration) WithEndTime(value v1alpha1.Time) *TimeRangeApplyConfiguration
WithEndTime sets the EndTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndTime field is set to the value of the last call.
func (*TimeRangeApplyConfiguration) WithStartTime ¶
func (b *TimeRangeApplyConfiguration) WithStartTime(value v1alpha1.Time) *TimeRangeApplyConfiguration
WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.
type VictorOpsConfigApplyConfiguration ¶
type VictorOpsConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APIKey *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 a declarative configuration of the VictorOpsConfig type for use with apply.
func VictorOpsConfig ¶
func VictorOpsConfig() *VictorOpsConfigApplyConfiguration
VictorOpsConfigApplyConfiguration constructs a declarative configuration of the VictorOpsConfig type for use with apply.
func (*VictorOpsConfigApplyConfiguration) WithAPIKey ¶
func (b *VictorOpsConfigApplyConfiguration) WithAPIKey(value v1.SecretKeySelector) *VictorOpsConfigApplyConfiguration
WithAPIKey sets the APIKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIKey field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithAPIURL ¶
func (b *VictorOpsConfigApplyConfiguration) WithAPIURL(value string) *VictorOpsConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithCustomFields ¶
func (b *VictorOpsConfigApplyConfiguration) WithCustomFields(values ...*KeyValueApplyConfiguration) *VictorOpsConfigApplyConfiguration
WithCustomFields adds the given value to the CustomFields field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CustomFields field.
func (*VictorOpsConfigApplyConfiguration) WithEntityDisplayName ¶
func (b *VictorOpsConfigApplyConfiguration) WithEntityDisplayName(value string) *VictorOpsConfigApplyConfiguration
WithEntityDisplayName sets the EntityDisplayName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EntityDisplayName field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithHTTPConfig ¶
func (b *VictorOpsConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *VictorOpsConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithMessageType ¶
func (b *VictorOpsConfigApplyConfiguration) WithMessageType(value string) *VictorOpsConfigApplyConfiguration
WithMessageType sets the MessageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageType field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithMonitoringTool ¶
func (b *VictorOpsConfigApplyConfiguration) WithMonitoringTool(value string) *VictorOpsConfigApplyConfiguration
WithMonitoringTool sets the MonitoringTool field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MonitoringTool field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithRoutingKey ¶
func (b *VictorOpsConfigApplyConfiguration) WithRoutingKey(value string) *VictorOpsConfigApplyConfiguration
WithRoutingKey sets the RoutingKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingKey field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithSendResolved ¶
func (b *VictorOpsConfigApplyConfiguration) WithSendResolved(value bool) *VictorOpsConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*VictorOpsConfigApplyConfiguration) WithStateMessage ¶
func (b *VictorOpsConfigApplyConfiguration) WithStateMessage(value string) *VictorOpsConfigApplyConfiguration
WithStateMessage sets the StateMessage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StateMessage field is set to the value of the last call.
type WeChatConfigApplyConfiguration ¶
type WeChatConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` APISecret *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 a declarative configuration of the WeChatConfig type for use with apply.
func WeChatConfig ¶
func WeChatConfig() *WeChatConfigApplyConfiguration
WeChatConfigApplyConfiguration constructs a declarative configuration of the WeChatConfig type for use with apply.
func (*WeChatConfigApplyConfiguration) WithAPISecret ¶
func (b *WeChatConfigApplyConfiguration) WithAPISecret(value v1.SecretKeySelector) *WeChatConfigApplyConfiguration
WithAPISecret sets the APISecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APISecret field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithAPIURL ¶
func (b *WeChatConfigApplyConfiguration) WithAPIURL(value string) *WeChatConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithAgentID ¶
func (b *WeChatConfigApplyConfiguration) WithAgentID(value string) *WeChatConfigApplyConfiguration
WithAgentID sets the AgentID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AgentID field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithCorpID ¶
func (b *WeChatConfigApplyConfiguration) WithCorpID(value string) *WeChatConfigApplyConfiguration
WithCorpID sets the CorpID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CorpID field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithHTTPConfig ¶
func (b *WeChatConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WeChatConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithMessage ¶
func (b *WeChatConfigApplyConfiguration) WithMessage(value string) *WeChatConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithMessageType ¶
func (b *WeChatConfigApplyConfiguration) WithMessageType(value string) *WeChatConfigApplyConfiguration
WithMessageType sets the MessageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageType field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithSendResolved ¶
func (b *WeChatConfigApplyConfiguration) WithSendResolved(value bool) *WeChatConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToParty ¶
func (b *WeChatConfigApplyConfiguration) WithToParty(value string) *WeChatConfigApplyConfiguration
WithToParty sets the ToParty field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToParty field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToTag ¶
func (b *WeChatConfigApplyConfiguration) WithToTag(value string) *WeChatConfigApplyConfiguration
WithToTag sets the ToTag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToTag field is set to the value of the last call.
func (*WeChatConfigApplyConfiguration) WithToUser ¶
func (b *WeChatConfigApplyConfiguration) WithToUser(value string) *WeChatConfigApplyConfiguration
WithToUser sets the ToUser field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ToUser field is set to the value of the last call.
type WebexConfigApplyConfiguration ¶
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 a declarative configuration of the WebexConfig type for use with apply.
func WebexConfig ¶
func WebexConfig() *WebexConfigApplyConfiguration
WebexConfigApplyConfiguration constructs a declarative configuration of the WebexConfig type for use with apply.
func (*WebexConfigApplyConfiguration) WithAPIURL ¶
func (b *WebexConfigApplyConfiguration) WithAPIURL(value v1alpha1.URL) *WebexConfigApplyConfiguration
WithAPIURL sets the APIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIURL field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithHTTPConfig ¶
func (b *WebexConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebexConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithMessage ¶
func (b *WebexConfigApplyConfiguration) WithMessage(value string) *WebexConfigApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithRoomID ¶
func (b *WebexConfigApplyConfiguration) WithRoomID(value string) *WebexConfigApplyConfiguration
WithRoomID sets the RoomID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoomID field is set to the value of the last call.
func (*WebexConfigApplyConfiguration) WithSendResolved ¶
func (b *WebexConfigApplyConfiguration) WithSendResolved(value bool) *WebexConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
type WebhookConfigApplyConfiguration ¶
type WebhookConfigApplyConfiguration struct { SendResolved *bool `json:"sendResolved,omitempty"` URL *string `json:"url,omitempty"` URLSecret *v1.SecretKeySelector `json:"urlSecret,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` MaxAlerts *int32 `json:"maxAlerts,omitempty"` }
WebhookConfigApplyConfiguration represents a declarative configuration of the WebhookConfig type for use with apply.
func WebhookConfig ¶
func WebhookConfig() *WebhookConfigApplyConfiguration
WebhookConfigApplyConfiguration constructs a declarative configuration of the WebhookConfig type for use with apply.
func (*WebhookConfigApplyConfiguration) WithHTTPConfig ¶
func (b *WebhookConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *WebhookConfigApplyConfiguration
WithHTTPConfig sets the HTTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPConfig field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithMaxAlerts ¶
func (b *WebhookConfigApplyConfiguration) WithMaxAlerts(value int32) *WebhookConfigApplyConfiguration
WithMaxAlerts sets the MaxAlerts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxAlerts field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithSendResolved ¶
func (b *WebhookConfigApplyConfiguration) WithSendResolved(value bool) *WebhookConfigApplyConfiguration
WithSendResolved sets the SendResolved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendResolved field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithURL ¶
func (b *WebhookConfigApplyConfiguration) WithURL(value string) *WebhookConfigApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
func (*WebhookConfigApplyConfiguration) WithURLSecret ¶
func (b *WebhookConfigApplyConfiguration) WithURLSecret(value v1.SecretKeySelector) *WebhookConfigApplyConfiguration
WithURLSecret sets the URLSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URLSecret field is set to the value of the last call.
Source Files ¶
- alertmanagerconfig.go
- alertmanagerconfigspec.go
- attachmetadata.go
- azuresdconfig.go
- consulsdconfig.go
- dayofmonthrange.go
- digitaloceansdconfig.go
- discordconfig.go
- dnssdconfig.go
- dockersdconfig.go
- dockerswarmsdconfig.go
- ec2sdconfig.go
- emailconfig.go
- eurekasdconfig.go
- filesdconfig.go
- filter.go
- gcesdconfig.go
- hetznersdconfig.go
- httpconfig.go
- httpsdconfig.go
- inhibitrule.go
- ionossdconfig.go
- k8sselectorconfig.go
- keyvalue.go
- kubernetessdconfig.go
- kumasdconfig.go
- lightsailsdconfig.go
- linodesdconfig.go
- matcher.go
- msteamsconfig.go
- mutetimeinterval.go
- namespacediscovery.go
- nomadsdconfig.go
- openstacksdconfig.go
- opsgenieconfig.go
- opsgenieconfigresponder.go
- ovhcloudsdconfig.go
- pagerdutyconfig.go
- pagerdutyimageconfig.go
- pagerdutylinkconfig.go
- prometheusagent.go
- prometheusagentspec.go
- puppetdbsdconfig.go
- pushoverconfig.go
- receiver.go
- route.go
- scalewaysdconfig.go
- scrapeconfig.go
- scrapeconfigspec.go
- slackaction.go
- slackconfig.go
- slackconfirmationfield.go
- slackfield.go
- snsconfig.go
- staticconfig.go
- telegramconfig.go
- timeinterval.go
- timerange.go
- victoropsconfig.go
- webexconfig.go
- webhookconfig.go
- wechatconfig.go