Documentation ¶
Index ¶
- type APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithBearerToken(value string) *APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithBearerTokenFile(value string) *APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithHost(value string) *APIServerConfigApplyConfiguration
- func (b *APIServerConfigApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *APIServerConfigApplyConfiguration
- type AlertingSpecApplyConfiguration
- type AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) GetName() *string
- func (b *AlertmanagerApplyConfiguration) WithAPIVersion(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithGenerateName(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithGeneration(value int64) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithKind(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithName(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithNamespace(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithResourceVersion(value string) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithSpec(value *AlertmanagerSpecApplyConfiguration) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithStatus(value *AlertmanagerStatusApplyConfiguration) *AlertmanagerApplyConfiguration
- func (b *AlertmanagerApplyConfiguration) WithUID(value types.UID) *AlertmanagerApplyConfiguration
- type AlertmanagerConfigMatcherStrategyApplyConfiguration
- type AlertmanagerConfigurationApplyConfiguration
- func (b *AlertmanagerConfigurationApplyConfiguration) WithGlobal(value *AlertmanagerGlobalConfigApplyConfiguration) *AlertmanagerConfigurationApplyConfiguration
- func (b *AlertmanagerConfigurationApplyConfiguration) WithName(value string) *AlertmanagerConfigurationApplyConfiguration
- func (b *AlertmanagerConfigurationApplyConfiguration) WithTemplates(values ...*SecretOrConfigMapApplyConfiguration) *AlertmanagerConfigurationApplyConfiguration
- type AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithAPIVersion(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithAlertRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithBearerTokenFile(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithEnableHttp2(value bool) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithName(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithNamespace(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithPathPrefix(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithPort(value intstr.IntOrString) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithScheme(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithSigv4(value *Sigv4ApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithTimeout(value monitoringv1.Duration) *AlertmanagerEndpointsApplyConfiguration
- type AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIKey(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIURL(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithPagerdutyURL(value string) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithResolveTimeout(value monitoringv1.Duration) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithSMTPConfig(value *GlobalSMTPConfigApplyConfiguration) *AlertmanagerGlobalConfigApplyConfiguration
- func (b *AlertmanagerGlobalConfigApplyConfiguration) WithSlackAPIURL(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
- type AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAdditionalPeers(values ...string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigMatcherStrategy(value *AlertmanagerConfigMatcherStrategyApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfiguration(value *AlertmanagerConfigurationApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithBaseImage(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterAdvertiseAddress(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterGossipInterval(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterLabel(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterPushpullInterval(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithConfigMaps(values ...string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithConfigSecret(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithContainers(values ...corev1.Container) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithEnableFeatures(values ...string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithExternalURL(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithForceEnableClusterMode(value bool) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithImage(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithListenLocal(value bool) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithLogFormat(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithLogLevel(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithMinReadySeconds(value uint32) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithPaused(value bool) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithPortName(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithPriorityClassName(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithReplicas(value int32) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithRetention(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithRoutePrefix(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithSHA(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithSecrets(values ...string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithServiceAccountName(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithTag(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithVersion(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithWeb(value *AlertmanagerWebSpecApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- type AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithAvailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithPaused(value bool) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithSelector(value string) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithUnavailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithUpdatedReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- type AlertmanagerWebSpecApplyConfiguration
- func (b *AlertmanagerWebSpecApplyConfiguration) WithGetConcurrency(value uint32) *AlertmanagerWebSpecApplyConfiguration
- func (b *AlertmanagerWebSpecApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *AlertmanagerWebSpecApplyConfiguration
- func (b *AlertmanagerWebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *AlertmanagerWebSpecApplyConfiguration
- func (b *AlertmanagerWebSpecApplyConfiguration) WithTimeout(value uint32) *AlertmanagerWebSpecApplyConfiguration
- type ArbitraryFSAccessThroughSMsConfigApplyConfiguration
- type ArgumentApplyConfiguration
- type AttachMetadataApplyConfiguration
- type AuthorizationApplyConfiguration
- func (b *AuthorizationApplyConfiguration) WithCredentials(value corev1.SecretKeySelector) *AuthorizationApplyConfiguration
- func (b *AuthorizationApplyConfiguration) WithCredentialsFile(value string) *AuthorizationApplyConfiguration
- func (b *AuthorizationApplyConfiguration) WithType(value string) *AuthorizationApplyConfiguration
- type AzureADApplyConfiguration
- func (b *AzureADApplyConfiguration) WithCloud(value string) *AzureADApplyConfiguration
- func (b *AzureADApplyConfiguration) WithManagedIdentity(value *ManagedIdentityApplyConfiguration) *AzureADApplyConfiguration
- func (b *AzureADApplyConfiguration) WithOAuth(value *AzureOAuthApplyConfiguration) *AzureADApplyConfiguration
- func (b *AzureADApplyConfiguration) WithSDK(value *AzureSDKApplyConfiguration) *AzureADApplyConfiguration
- type AzureOAuthApplyConfiguration
- func (b *AzureOAuthApplyConfiguration) WithClientID(value string) *AzureOAuthApplyConfiguration
- func (b *AzureOAuthApplyConfiguration) WithClientSecret(value v1.SecretKeySelector) *AzureOAuthApplyConfiguration
- func (b *AzureOAuthApplyConfiguration) WithTenantID(value string) *AzureOAuthApplyConfiguration
- type AzureSDKApplyConfiguration
- type BasicAuthApplyConfiguration
- type CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig(value *APIServerConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAffinity(value corev1.Affinity) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAutomountServiceAccountToken(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithConfigMaps(values ...string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithContainers(values ...corev1.Container) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedNamespaceLabel(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedSampleLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedTargetLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithExternalLabels(entries map[string]string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithExternalURL(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithHostNetwork(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithImage(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithInitContainers(values ...corev1.Container) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithKeepDroppedTargets(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelNameLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelValueLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithListenLocal(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithLogFormat(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithLogLevel(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithMinReadySeconds(value uint32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithNodeSelector(entries map[string]string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithOTLP(value *OTLPConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorLabels(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorTimestamps(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPaused(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodTargetLabels(values ...string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPortName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPriorityClassName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPrometheusExternalLabelName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithReplicaExternalLabelName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithReplicas(value int32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithResources(value corev1.ResourceRequirements) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithRoutePrefix(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithSampleLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeClasses(values ...*ScrapeClassApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithSecrets(values ...string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceAccountName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithShards(value int32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTSDB(value *TSDBSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTargetLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTolerations(values ...corev1.Toleration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTracingConfig(value *PrometheusTracingConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithVersion(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithVolumes(values ...corev1.Volume) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithWALCompression(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithWeb(value *PrometheusWebSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- type ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
- func (b *ConditionApplyConfiguration) WithType(value v1.ConditionType) *ConditionApplyConfiguration
- type CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value v1.NodeInclusionPolicy) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value v1.NodeInclusionPolicy) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *CoreV1TopologySpreadConstraintApplyConfiguration
- func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1.UnsatisfiableConstraintAction) *CoreV1TopologySpreadConstraintApplyConfiguration
- type EmbeddedObjectMetadataApplyConfiguration
- func (b *EmbeddedObjectMetadataApplyConfiguration) WithAnnotations(entries map[string]string) *EmbeddedObjectMetadataApplyConfiguration
- func (b *EmbeddedObjectMetadataApplyConfiguration) WithLabels(entries map[string]string) *EmbeddedObjectMetadataApplyConfiguration
- func (b *EmbeddedObjectMetadataApplyConfiguration) WithName(value string) *EmbeddedObjectMetadataApplyConfiguration
- type EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithAPIVersion(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithAnnotations(entries map[string]string) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithKind(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithLabels(entries map[string]string) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithName(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithSpec(value corev1.PersistentVolumeClaimSpec) *EmbeddedPersistentVolumeClaimApplyConfiguration
- func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithStatus(value corev1.PersistentVolumeClaimStatus) *EmbeddedPersistentVolumeClaimApplyConfiguration
- type EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithBearerTokenFile(value string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithEnableHttp2(value bool) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithFilterRunning(value bool) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithFollowRedirects(value bool) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithHonorLabels(value bool) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithHonorTimestamps(value bool) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithInterval(value v1.Duration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithParams(entries map[string][]string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithPath(value string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithPort(value string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithProxyURL(value string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithScheme(value string) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithScrapeTimeout(value v1.Duration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithTargetPort(value intstr.IntOrString) *EndpointApplyConfiguration
- func (b *EndpointApplyConfiguration) WithTrackTimestampsStaleness(value bool) *EndpointApplyConfiguration
- type ExemplarsApplyConfiguration
- type GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithAuthIdentity(value string) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithAuthPassword(value corev1.SecretKeySelector) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithAuthSecret(value corev1.SecretKeySelector) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithAuthUsername(value string) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithFrom(value string) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithHello(value string) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithRequireTLS(value bool) *GlobalSMTPConfigApplyConfiguration
- func (b *GlobalSMTPConfigApplyConfiguration) WithSmartHost(value *HostPortApplyConfiguration) *GlobalSMTPConfigApplyConfiguration
- type HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *HTTPConfigApplyConfiguration
- func (b *HTTPConfigApplyConfiguration) WithBasicAuth(value *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 *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 *SafeTLSConfigApplyConfiguration) *HTTPConfigApplyConfiguration
- type HostAliasApplyConfiguration
- type HostPortApplyConfiguration
- type ManagedIdentityApplyConfiguration
- type MetadataConfigApplyConfiguration
- type NamespaceSelectorApplyConfiguration
- type NativeHistogramConfigApplyConfiguration
- func (b *NativeHistogramConfigApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *NativeHistogramConfigApplyConfiguration
- func (b *NativeHistogramConfigApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *NativeHistogramConfigApplyConfiguration
- func (b *NativeHistogramConfigApplyConfiguration) WithScrapeClassicHistograms(value bool) *NativeHistogramConfigApplyConfiguration
- type OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithClientID(value *SecretOrConfigMapApplyConfiguration) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithClientSecret(value corev1.SecretKeySelector) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithEndpointParams(entries map[string]string) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithNoProxy(value string) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithProxyFromEnvironment(value bool) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithProxyURL(value string) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithScopes(values ...string) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithTokenURL(value string) *OAuth2ApplyConfiguration
- type OTLPConfigApplyConfiguration
- type ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithGroup(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration
- func (b *ObjectReferenceApplyConfiguration) WithResource(value string) *ObjectReferenceApplyConfiguration
- type PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithNameservers(values ...string) *PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithOptions(values ...*PodDNSConfigOptionApplyConfiguration) *PodDNSConfigApplyConfiguration
- func (b *PodDNSConfigApplyConfiguration) WithSearches(values ...string) *PodDNSConfigApplyConfiguration
- type PodDNSConfigOptionApplyConfiguration
- type PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithEnableHttp2(value bool) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithFilterRunning(value bool) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithFollowRedirects(value bool) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithHonorLabels(value bool) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithHonorTimestamps(value bool) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithInterval(value v1.Duration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithParams(entries map[string][]string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithPath(value string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithPort(value string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithProxyURL(value string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithScheme(value string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithScrapeTimeout(value v1.Duration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithTargetPort(value intstr.IntOrString) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithTrackTimestampsStaleness(value bool) *PodMetricsEndpointApplyConfiguration
- type PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) GetName() *string
- func (b *PodMonitorApplyConfiguration) WithAPIVersion(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithAnnotations(entries map[string]string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithFinalizers(values ...string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithGenerateName(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithGeneration(value int64) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithKind(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithLabels(entries map[string]string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithName(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithNamespace(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithResourceVersion(value string) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithSpec(value *PodMonitorSpecApplyConfiguration) *PodMonitorApplyConfiguration
- func (b *PodMonitorApplyConfiguration) WithUID(value types.UID) *PodMonitorApplyConfiguration
- type PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithJobLabel(value string) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithLabelLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithPodMetricsEndpoints(values ...*PodMetricsEndpointApplyConfiguration) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithScrapeClassName(value string) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithTargetLimit(value uint64) *PodMonitorSpecApplyConfiguration
- type ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) GetName() *string
- func (b *ProbeApplyConfiguration) WithAPIVersion(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithAnnotations(entries map[string]string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithFinalizers(values ...string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithGenerateName(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithGeneration(value int64) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithKind(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithLabels(entries map[string]string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithName(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithNamespace(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithResourceVersion(value string) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithSpec(value *ProbeSpecApplyConfiguration) *ProbeApplyConfiguration
- func (b *ProbeApplyConfiguration) WithUID(value types.UID) *ProbeApplyConfiguration
- type ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithInterval(value monitoringv1.Duration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithJobName(value string) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithLabelLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithModule(value string) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithProberSpec(value *ProberSpecApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithSampleLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithScrapeClassName(value string) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTargetLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTargets(value *ProbeTargetsApplyConfiguration) *ProbeSpecApplyConfiguration
- type ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *ProbeTargetIngressApplyConfiguration
- type ProbeTargetStaticConfigApplyConfiguration
- func (b *ProbeTargetStaticConfigApplyConfiguration) WithLabels(entries map[string]string) *ProbeTargetStaticConfigApplyConfiguration
- func (b *ProbeTargetStaticConfigApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeTargetStaticConfigApplyConfiguration
- func (b *ProbeTargetStaticConfigApplyConfiguration) WithTargets(values ...string) *ProbeTargetStaticConfigApplyConfiguration
- type ProbeTargetsApplyConfiguration
- type ProberSpecApplyConfiguration
- func (b *ProberSpecApplyConfiguration) WithPath(value string) *ProberSpecApplyConfiguration
- func (b *ProberSpecApplyConfiguration) WithProxyURL(value string) *ProberSpecApplyConfiguration
- func (b *ProberSpecApplyConfiguration) WithScheme(value string) *ProberSpecApplyConfiguration
- func (b *ProberSpecApplyConfiguration) WithURL(value string) *ProberSpecApplyConfiguration
- type PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) GetName() *string
- func (b *PrometheusApplyConfiguration) WithAPIVersion(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithFinalizers(values ...string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithGenerateName(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithGeneration(value int64) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithKind(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithLabels(entries map[string]string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithName(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithNamespace(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithResourceVersion(value string) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithSpec(value *PrometheusSpecApplyConfiguration) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithStatus(value *PrometheusStatusApplyConfiguration) *PrometheusApplyConfiguration
- func (b *PrometheusApplyConfiguration) WithUID(value types.UID) *PrometheusApplyConfiguration
- type PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) GetName() *string
- func (b *PrometheusRuleApplyConfiguration) WithAPIVersion(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithFinalizers(values ...string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithGenerateName(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithGeneration(value int64) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithKind(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithLabels(entries map[string]string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithName(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithNamespace(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithResourceVersion(value string) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithSpec(value *PrometheusRuleSpecApplyConfiguration) *PrometheusRuleApplyConfiguration
- func (b *PrometheusRuleApplyConfiguration) WithUID(value types.UID) *PrometheusRuleApplyConfiguration
- type PrometheusRuleExcludeConfigApplyConfiguration
- type PrometheusRuleSpecApplyConfiguration
- type PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAPIServerConfig(value *APIServerConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAdditionalAlertManagerConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAdditionalAlertRelabelConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAlerting(value *AlertingSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAllowOverlappingBlocks(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithBaseImage(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithConfigMaps(values ...string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithContainers(values ...corev1.Container) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithDisableCompaction(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableAdminAPI(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedSampleLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedTargetLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEvaluationInterval(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithExemplars(value *ExemplarsApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithExternalLabels(entries map[string]string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithExternalURL(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithHostNetwork(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithImage(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithLabelLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithListenLocal(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithLogFormat(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithLogLevel(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithMinReadySeconds(value uint32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithOTLP(value *OTLPConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithOverrideHonorLabels(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithOverrideHonorTimestamps(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPaused(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPortName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPriorityClassName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPrometheusExternalLabelName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce(values ...*PrometheusRuleExcludeConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithQuery(value *QuerySpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithQueryLogFile(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRemoteRead(values ...*RemoteReadSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithReplicas(value int32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRetention(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRetentionSize(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRoutePrefix(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRuleNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRuleQueryOffset(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRuleSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRules(value *RulesApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRuntime(value *RuntimeConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithSHA(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithSampleLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeClasses(values ...*ScrapeClassApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithSecrets(values ...string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithServiceAccountName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithShards(value int32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTSDB(value *TSDBSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTag(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTargetLimit(value uint64) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithThanos(value *ThanosSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTracingConfig(value *PrometheusTracingConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithVersion(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithWALCompression(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithWeb(value *PrometheusWebSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- type PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithAvailableReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithPaused(value bool) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithSelector(value string) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithShardStatuses(values ...*ShardStatusApplyConfiguration) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithShards(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithUnavailableReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithUpdatedReplicas(value int32) *PrometheusStatusApplyConfiguration
- type PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithClientType(value string) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithCompression(value string) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithEndpoint(value string) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithHeaders(entries map[string]string) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithInsecure(value bool) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithSamplingFraction(value resource.Quantity) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *PrometheusTracingConfigApplyConfiguration
- func (b *PrometheusTracingConfigApplyConfiguration) WithTimeout(value v1.Duration) *PrometheusTracingConfigApplyConfiguration
- type PrometheusWebSpecApplyConfiguration
- func (b *PrometheusWebSpecApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *PrometheusWebSpecApplyConfiguration
- func (b *PrometheusWebSpecApplyConfiguration) WithMaxConnections(value int32) *PrometheusWebSpecApplyConfiguration
- func (b *PrometheusWebSpecApplyConfiguration) WithPageTitle(value string) *PrometheusWebSpecApplyConfiguration
- func (b *PrometheusWebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *PrometheusWebSpecApplyConfiguration
- type ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithNoProxy(value string) *ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithProxyURL(value string) *ProxyConfigApplyConfiguration
- type QuerySpecApplyConfiguration
- func (b *QuerySpecApplyConfiguration) WithLookbackDelta(value string) *QuerySpecApplyConfiguration
- func (b *QuerySpecApplyConfiguration) WithMaxConcurrency(value int32) *QuerySpecApplyConfiguration
- func (b *QuerySpecApplyConfiguration) WithMaxSamples(value int32) *QuerySpecApplyConfiguration
- func (b *QuerySpecApplyConfiguration) WithTimeout(value v1.Duration) *QuerySpecApplyConfiguration
- type QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithBatchSendDeadline(value v1.Duration) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithCapacity(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMaxBackoff(value v1.Duration) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMaxRetries(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMaxSamplesPerSend(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMaxShards(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMinBackoff(value v1.Duration) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMinShards(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithRetryOnRateLimit(value bool) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithSampleAgeLimit(value v1.Duration) *QueueConfigApplyConfiguration
- type RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithAction(value string) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithModulus(value uint64) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithRegex(value string) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithReplacement(value string) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithSeparator(value string) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithSourceLabels(values ...v1.LabelName) *RelabelConfigApplyConfiguration
- func (b *RelabelConfigApplyConfiguration) WithTargetLabel(value string) *RelabelConfigApplyConfiguration
- type RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithBearerToken(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithBearerTokenFile(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithFilterExternalLabels(value bool) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithFollowRedirects(value bool) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithHeaders(entries map[string]string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithName(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithNoProxy(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithProxyURL(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithReadRecent(value bool) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithRemoteTimeout(value v1.Duration) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithRequiredMatchers(entries map[string]string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithURL(value string) *RemoteReadSpecApplyConfiguration
- type RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithAzureAD(value *AzureADApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithBearerToken(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithBearerTokenFile(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithEnableHttp2(value bool) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithFollowRedirects(value bool) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithHeaders(entries map[string]string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithMessageVersion(value v1.RemoteWriteMessageVersion) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithMetadataConfig(value *MetadataConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithName(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithNoProxy(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithProxyURL(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithQueueConfig(value *QueueConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithRemoteTimeout(value v1.Duration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithSendExemplars(value bool) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithSendNativeHistograms(value bool) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithSigv4(value *Sigv4ApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithURL(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithWriteRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- type RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithAlert(value string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithAnnotations(entries map[string]string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithExpr(value intstr.IntOrString) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithFor(value v1.Duration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithKeepFiringFor(value v1.NonEmptyDuration) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithLabels(entries map[string]string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithRecord(value string) *RuleApplyConfiguration
- type RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithInterval(value v1.Duration) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithLimit(value int) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithName(value string) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithPartialResponseStrategy(value string) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithQueryOffset(value v1.Duration) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithRules(values ...*RuleApplyConfiguration) *RuleGroupApplyConfiguration
- type RulesAlertApplyConfiguration
- func (b *RulesAlertApplyConfiguration) WithForGracePeriod(value string) *RulesAlertApplyConfiguration
- func (b *RulesAlertApplyConfiguration) WithForOutageTolerance(value string) *RulesAlertApplyConfiguration
- func (b *RulesAlertApplyConfiguration) WithResendDelay(value string) *RulesAlertApplyConfiguration
- type RulesApplyConfiguration
- type RuntimeConfigApplyConfiguration
- type SafeAuthorizationApplyConfiguration
- type SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithMaxVersion(value monitoringv1.TLSVersion) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithMinVersion(value monitoringv1.TLSVersion) *SafeTLSConfigApplyConfiguration
- func (b *SafeTLSConfigApplyConfiguration) WithServerName(value string) *SafeTLSConfigApplyConfiguration
- type ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithDefault(value bool) *ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithMetricRelabelings(values ...*RelabelConfigApplyConfiguration) *ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithName(value string) *ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithRelabelings(values ...*RelabelConfigApplyConfiguration) *ScrapeClassApplyConfiguration
- func (b *ScrapeClassApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *ScrapeClassApplyConfiguration
- type SecretOrConfigMapApplyConfiguration
- type ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) GetName() *string
- func (b *ServiceMonitorApplyConfiguration) WithAPIVersion(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithFinalizers(values ...string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithGenerateName(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithGeneration(value int64) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithKind(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithLabels(entries map[string]string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithName(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithNamespace(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithResourceVersion(value string) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithSpec(value *ServiceMonitorSpecApplyConfiguration) *ServiceMonitorApplyConfiguration
- func (b *ServiceMonitorApplyConfiguration) WithUID(value types.UID) *ServiceMonitorApplyConfiguration
- type ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithEndpoints(values ...*EndpointApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithJobLabel(value string) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithLabelLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithPodTargetLabels(values ...string) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeClassName(value string) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithTargetLabels(values ...string) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithTargetLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- type ShardStatusApplyConfiguration
- func (b *ShardStatusApplyConfiguration) WithAvailableReplicas(value int32) *ShardStatusApplyConfiguration
- func (b *ShardStatusApplyConfiguration) WithReplicas(value int32) *ShardStatusApplyConfiguration
- func (b *ShardStatusApplyConfiguration) WithShardID(value string) *ShardStatusApplyConfiguration
- func (b *ShardStatusApplyConfiguration) WithUnavailableReplicas(value int32) *ShardStatusApplyConfiguration
- func (b *ShardStatusApplyConfiguration) WithUpdatedReplicas(value int32) *ShardStatusApplyConfiguration
- type Sigv4ApplyConfiguration
- func (b *Sigv4ApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *Sigv4ApplyConfiguration
- func (b *Sigv4ApplyConfiguration) WithProfile(value string) *Sigv4ApplyConfiguration
- func (b *Sigv4ApplyConfiguration) WithRegion(value string) *Sigv4ApplyConfiguration
- func (b *Sigv4ApplyConfiguration) WithRoleArn(value string) *Sigv4ApplyConfiguration
- func (b *Sigv4ApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *Sigv4ApplyConfiguration
- type StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithDisableMountSubPath(value bool) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithEmptyDir(value v1.EmptyDirVolumeSource) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithEphemeral(value v1.EphemeralVolumeSource) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithVolumeClaimTemplate(value *EmbeddedPersistentVolumeClaimApplyConfiguration) *StorageSpecApplyConfiguration
- type TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCAFile(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithCertFile(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithKeyFile(value string) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithMaxVersion(value monitoringv1.TLSVersion) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithMinVersion(value monitoringv1.TLSVersion) *TLSConfigApplyConfiguration
- func (b *TLSConfigApplyConfiguration) WithServerName(value string) *TLSConfigApplyConfiguration
- type TSDBSpecApplyConfiguration
- type ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) GetName() *string
- func (b *ThanosRulerApplyConfiguration) WithAPIVersion(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithAnnotations(entries map[string]string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithFinalizers(values ...string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithGenerateName(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithGeneration(value int64) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithKind(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithLabels(entries map[string]string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithName(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithNamespace(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithResourceVersion(value string) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithSpec(value *ThanosRulerSpecApplyConfiguration) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithStatus(value *ThanosRulerStatusApplyConfiguration) *ThanosRulerApplyConfiguration
- func (b *ThanosRulerApplyConfiguration) WithUID(value types.UID) *ThanosRulerApplyConfiguration
- type ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertDropLabels(values ...string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertManagersConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertManagersURL(values ...string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertQueryURL(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigFile(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigs(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithContainers(values ...corev1.Container) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithEvaluationInterval(value monitoringv1.Duration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithExternalPrefix(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithGRPCServerTLSConfig(value *TLSConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithImage(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithLabels(entries map[string]string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithListenLocal(value bool) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithLogFormat(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithLogLevel(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithMinReadySeconds(value uint32) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithObjectStorageConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithObjectStorageConfigFile(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithPaused(value bool) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithPortName(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithPriorityClassName(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce(values ...*PrometheusRuleExcludeConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithQueryConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithQueryEndpoints(values ...string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithReplicas(value int32) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithRetention(value monitoringv1.Duration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithRoutePrefix(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithRuleNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithRuleSelector(value *metav1.LabelSelectorApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithServiceAccountName(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithTracingConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithTracingConfigFile(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithVersion(value string) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithWeb(value *ThanosRulerWebSpecApplyConfiguration) *ThanosRulerSpecApplyConfiguration
- type ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithAvailableReplicas(value int32) *ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithPaused(value bool) *ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithReplicas(value int32) *ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithUnavailableReplicas(value int32) *ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithUpdatedReplicas(value int32) *ThanosRulerStatusApplyConfiguration
- type ThanosRulerWebSpecApplyConfiguration
- type ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithBaseImage(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithBlockDuration(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithGRPCListenLocal(value bool) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig(value *TLSConfigApplyConfiguration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithGetConfigInterval(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithGetConfigTimeout(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithHTTPListenLocal(value bool) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithImage(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithListenLocal(value bool) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithLogFormat(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithLogLevel(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithMinTime(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithObjectStorageConfig(value v1.SecretKeySelector) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithObjectStorageConfigFile(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithReadyTimeout(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithResources(value v1.ResourceRequirements) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithSHA(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithTag(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithTracingConfig(value v1.SecretKeySelector) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithTracingConfigFile(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithVersion(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithVolumeMounts(values ...v1.VolumeMount) *ThanosSpecApplyConfiguration
- type TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithAdditionalLabelSelectors(value monitoringv1.AdditionalLabelSelectors) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value corev1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value corev1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
- func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value corev1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
- type WebConfigFileFieldsApplyConfiguration
- type WebHTTPConfigApplyConfiguration
- type WebHTTPHeadersApplyConfiguration
- func (b *WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy(value string) *WebHTTPHeadersApplyConfiguration
- func (b *WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity(value string) *WebHTTPHeadersApplyConfiguration
- func (b *WebHTTPHeadersApplyConfiguration) WithXContentTypeOptions(value string) *WebHTTPHeadersApplyConfiguration
- func (b *WebHTTPHeadersApplyConfiguration) WithXFrameOptions(value string) *WebHTTPHeadersApplyConfiguration
- func (b *WebHTTPHeadersApplyConfiguration) WithXXSSProtection(value string) *WebHTTPHeadersApplyConfiguration
- type WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithCertFile(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithCipherSuites(values ...string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithClientAuthType(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithClientCA(value *SecretOrConfigMapApplyConfiguration) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithClientCAFile(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithCurvePreferences(values ...string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithKeyFile(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithMaxVersion(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithMinVersion(value string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithPreferServerCipherSuites(value bool) *WebTLSConfigApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerConfigApplyConfiguration ¶
type APIServerConfigApplyConfiguration struct { Host *string `json:"host,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` BearerToken *string `json:"bearerToken,omitempty"` }
APIServerConfigApplyConfiguration represents a declarative configuration of the APIServerConfig type for use with apply.
func APIServerConfig ¶
func APIServerConfig() *APIServerConfigApplyConfiguration
APIServerConfigApplyConfiguration constructs a declarative configuration of the APIServerConfig type for use with apply.
func (*APIServerConfigApplyConfiguration) WithAuthorization ¶
func (b *APIServerConfigApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *APIServerConfigApplyConfiguration
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 (*APIServerConfigApplyConfiguration) WithBasicAuth ¶
func (b *APIServerConfigApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *APIServerConfigApplyConfiguration
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 (*APIServerConfigApplyConfiguration) WithBearerToken ¶
func (b *APIServerConfigApplyConfiguration) WithBearerToken(value string) *APIServerConfigApplyConfiguration
WithBearerToken sets the BearerToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerToken field is set to the value of the last call.
func (*APIServerConfigApplyConfiguration) WithBearerTokenFile ¶
func (b *APIServerConfigApplyConfiguration) WithBearerTokenFile(value string) *APIServerConfigApplyConfiguration
WithBearerTokenFile sets the BearerTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenFile field is set to the value of the last call.
func (*APIServerConfigApplyConfiguration) WithHost ¶
func (b *APIServerConfigApplyConfiguration) WithHost(value string) *APIServerConfigApplyConfiguration
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 (*APIServerConfigApplyConfiguration) WithTLSConfig ¶
func (b *APIServerConfigApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *APIServerConfigApplyConfiguration
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 AlertingSpecApplyConfiguration ¶
type AlertingSpecApplyConfiguration struct {
Alertmanagers []AlertmanagerEndpointsApplyConfiguration `json:"alertmanagers,omitempty"`
}
AlertingSpecApplyConfiguration represents a declarative configuration of the AlertingSpec type for use with apply.
func AlertingSpec ¶
func AlertingSpec() *AlertingSpecApplyConfiguration
AlertingSpecApplyConfiguration constructs a declarative configuration of the AlertingSpec type for use with apply.
func (*AlertingSpecApplyConfiguration) WithAlertmanagers ¶
func (b *AlertingSpecApplyConfiguration) WithAlertmanagers(values ...*AlertmanagerEndpointsApplyConfiguration) *AlertingSpecApplyConfiguration
WithAlertmanagers adds the given value to the Alertmanagers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Alertmanagers field.
type AlertmanagerApplyConfiguration ¶
type AlertmanagerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AlertmanagerSpecApplyConfiguration `json:"spec,omitempty"` Status *AlertmanagerStatusApplyConfiguration `json:"status,omitempty"` }
AlertmanagerApplyConfiguration represents a declarative configuration of the Alertmanager type for use with apply.
func Alertmanager ¶
func Alertmanager(name, namespace string) *AlertmanagerApplyConfiguration
Alertmanager constructs a declarative configuration of the Alertmanager type for use with apply.
func (*AlertmanagerApplyConfiguration) GetName ¶
func (b *AlertmanagerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*AlertmanagerApplyConfiguration) WithAPIVersion ¶
func (b *AlertmanagerApplyConfiguration) WithAPIVersion(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithAnnotations ¶
func (b *AlertmanagerApplyConfiguration) WithAnnotations(entries map[string]string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithCreationTimestamp ¶
func (b *AlertmanagerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AlertmanagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithDeletionTimestamp ¶
func (b *AlertmanagerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithFinalizers ¶
func (b *AlertmanagerApplyConfiguration) WithFinalizers(values ...string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithGenerateName ¶
func (b *AlertmanagerApplyConfiguration) WithGenerateName(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithGeneration ¶
func (b *AlertmanagerApplyConfiguration) WithGeneration(value int64) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithKind ¶
func (b *AlertmanagerApplyConfiguration) WithKind(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithLabels ¶
func (b *AlertmanagerApplyConfiguration) WithLabels(entries map[string]string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithName ¶
func (b *AlertmanagerApplyConfiguration) WithName(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithNamespace ¶
func (b *AlertmanagerApplyConfiguration) WithNamespace(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithOwnerReferences ¶
func (b *AlertmanagerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithResourceVersion ¶
func (b *AlertmanagerApplyConfiguration) WithResourceVersion(value string) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithSpec ¶
func (b *AlertmanagerApplyConfiguration) WithSpec(value *AlertmanagerSpecApplyConfiguration) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithStatus ¶
func (b *AlertmanagerApplyConfiguration) WithStatus(value *AlertmanagerStatusApplyConfiguration) *AlertmanagerApplyConfiguration
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 (*AlertmanagerApplyConfiguration) WithUID ¶
func (b *AlertmanagerApplyConfiguration) WithUID(value types.UID) *AlertmanagerApplyConfiguration
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 AlertmanagerConfigMatcherStrategyApplyConfiguration ¶
type AlertmanagerConfigMatcherStrategyApplyConfiguration struct {
Type *v1.AlertmanagerConfigMatcherStrategyType `json:"type,omitempty"`
}
AlertmanagerConfigMatcherStrategyApplyConfiguration represents a declarative configuration of the AlertmanagerConfigMatcherStrategy type for use with apply.
func AlertmanagerConfigMatcherStrategy ¶
func AlertmanagerConfigMatcherStrategy() *AlertmanagerConfigMatcherStrategyApplyConfiguration
AlertmanagerConfigMatcherStrategyApplyConfiguration constructs a declarative configuration of the AlertmanagerConfigMatcherStrategy type for use with apply.
func (*AlertmanagerConfigMatcherStrategyApplyConfiguration) WithType ¶
func (b *AlertmanagerConfigMatcherStrategyApplyConfiguration) WithType(value v1.AlertmanagerConfigMatcherStrategyType) *AlertmanagerConfigMatcherStrategyApplyConfiguration
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 AlertmanagerConfigurationApplyConfiguration ¶
type AlertmanagerConfigurationApplyConfiguration struct { Name *string `json:"name,omitempty"` Global *AlertmanagerGlobalConfigApplyConfiguration `json:"global,omitempty"` Templates []SecretOrConfigMapApplyConfiguration `json:"templates,omitempty"` }
AlertmanagerConfigurationApplyConfiguration represents a declarative configuration of the AlertmanagerConfiguration type for use with apply.
func AlertmanagerConfiguration ¶
func AlertmanagerConfiguration() *AlertmanagerConfigurationApplyConfiguration
AlertmanagerConfigurationApplyConfiguration constructs a declarative configuration of the AlertmanagerConfiguration type for use with apply.
func (*AlertmanagerConfigurationApplyConfiguration) WithGlobal ¶
func (b *AlertmanagerConfigurationApplyConfiguration) WithGlobal(value *AlertmanagerGlobalConfigApplyConfiguration) *AlertmanagerConfigurationApplyConfiguration
WithGlobal sets the Global field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Global field is set to the value of the last call.
func (*AlertmanagerConfigurationApplyConfiguration) WithName ¶
func (b *AlertmanagerConfigurationApplyConfiguration) WithName(value string) *AlertmanagerConfigurationApplyConfiguration
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 (*AlertmanagerConfigurationApplyConfiguration) WithTemplates ¶
func (b *AlertmanagerConfigurationApplyConfiguration) WithTemplates(values ...*SecretOrConfigMapApplyConfiguration) *AlertmanagerConfigurationApplyConfiguration
WithTemplates adds the given value to the Templates field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Templates field.
type AlertmanagerEndpointsApplyConfiguration ¶
type AlertmanagerEndpointsApplyConfiguration struct { Namespace *string `json:"namespace,omitempty"` Name *string `json:"name,omitempty"` Port *intstr.IntOrString `json:"port,omitempty"` Scheme *string `json:"scheme,omitempty"` PathPrefix *string `json:"pathPrefix,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` Sigv4 *Sigv4ApplyConfiguration `json:"sigv4,omitempty"` APIVersion *string `json:"apiVersion,omitempty"` Timeout *monitoringv1.Duration `json:"timeout,omitempty"` EnableHttp2 *bool `json:"enableHttp2,omitempty"` RelabelConfigs []RelabelConfigApplyConfiguration `json:"relabelings,omitempty"` AlertRelabelConfigs []RelabelConfigApplyConfiguration `json:"alertRelabelings,omitempty"` }
AlertmanagerEndpointsApplyConfiguration represents a declarative configuration of the AlertmanagerEndpoints type for use with apply.
func AlertmanagerEndpoints ¶
func AlertmanagerEndpoints() *AlertmanagerEndpointsApplyConfiguration
AlertmanagerEndpointsApplyConfiguration constructs a declarative configuration of the AlertmanagerEndpoints type for use with apply.
func (*AlertmanagerEndpointsApplyConfiguration) WithAPIVersion ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithAPIVersion(value string) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithAlertRelabelConfigs ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithAlertRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
WithAlertRelabelConfigs adds the given value to the AlertRelabelConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AlertRelabelConfigs field.
func (*AlertmanagerEndpointsApplyConfiguration) WithAuthorization ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithBasicAuth ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithBearerTokenFile ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithBearerTokenFile(value string) *AlertmanagerEndpointsApplyConfiguration
WithBearerTokenFile sets the BearerTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenFile field is set to the value of the last call.
func (*AlertmanagerEndpointsApplyConfiguration) WithEnableHttp2 ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithEnableHttp2(value bool) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithName ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithName(value string) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithNamespace ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithNamespace(value string) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithPathPrefix ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithPathPrefix(value string) *AlertmanagerEndpointsApplyConfiguration
WithPathPrefix sets the PathPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PathPrefix field is set to the value of the last call.
func (*AlertmanagerEndpointsApplyConfiguration) WithPort ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithPort(value intstr.IntOrString) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithRelabelConfigs ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithScheme ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithScheme(value string) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithSigv4 ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithSigv4(value *Sigv4ApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithTLSConfig ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
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 (*AlertmanagerEndpointsApplyConfiguration) WithTimeout ¶
func (b *AlertmanagerEndpointsApplyConfiguration) WithTimeout(value monitoringv1.Duration) *AlertmanagerEndpointsApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type AlertmanagerGlobalConfigApplyConfiguration ¶
type AlertmanagerGlobalConfigApplyConfiguration struct { SMTPConfig *GlobalSMTPConfigApplyConfiguration `json:"smtp,omitempty"` ResolveTimeout *monitoringv1.Duration `json:"resolveTimeout,omitempty"` HTTPConfig *HTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` SlackAPIURL *corev1.SecretKeySelector `json:"slackApiUrl,omitempty"` OpsGenieAPIURL *corev1.SecretKeySelector `json:"opsGenieApiUrl,omitempty"` OpsGenieAPIKey *corev1.SecretKeySelector `json:"opsGenieApiKey,omitempty"` PagerdutyURL *string `json:"pagerdutyUrl,omitempty"` }
AlertmanagerGlobalConfigApplyConfiguration represents a declarative configuration of the AlertmanagerGlobalConfig type for use with apply.
func AlertmanagerGlobalConfig ¶
func AlertmanagerGlobalConfig() *AlertmanagerGlobalConfigApplyConfiguration
AlertmanagerGlobalConfigApplyConfiguration constructs a declarative configuration of the AlertmanagerGlobalConfig type for use with apply.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithHTTPConfig ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithHTTPConfig(value *HTTPConfigApplyConfiguration) *AlertmanagerGlobalConfigApplyConfiguration
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 (*AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIKey ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIKey(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
WithOpsGenieAPIKey sets the OpsGenieAPIKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OpsGenieAPIKey field is set to the value of the last call.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIURL ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIURL(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
WithOpsGenieAPIURL sets the OpsGenieAPIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OpsGenieAPIURL field is set to the value of the last call.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithPagerdutyURL ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithPagerdutyURL(value string) *AlertmanagerGlobalConfigApplyConfiguration
WithPagerdutyURL sets the PagerdutyURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PagerdutyURL field is set to the value of the last call.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithResolveTimeout ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithResolveTimeout(value monitoringv1.Duration) *AlertmanagerGlobalConfigApplyConfiguration
WithResolveTimeout sets the ResolveTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResolveTimeout field is set to the value of the last call.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithSMTPConfig ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithSMTPConfig(value *GlobalSMTPConfigApplyConfiguration) *AlertmanagerGlobalConfigApplyConfiguration
WithSMTPConfig sets the SMTPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SMTPConfig field is set to the value of the last call.
func (*AlertmanagerGlobalConfigApplyConfiguration) WithSlackAPIURL ¶
func (b *AlertmanagerGlobalConfigApplyConfiguration) WithSlackAPIURL(value corev1.SecretKeySelector) *AlertmanagerGlobalConfigApplyConfiguration
WithSlackAPIURL sets the SlackAPIURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SlackAPIURL field is set to the value of the last call.
type AlertmanagerSpecApplyConfiguration ¶
type AlertmanagerSpecApplyConfiguration struct { PodMetadata *EmbeddedObjectMetadataApplyConfiguration `json:"podMetadata,omitempty"` Image *string `json:"image,omitempty"` ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"` Version *string `json:"version,omitempty"` Tag *string `json:"tag,omitempty"` SHA *string `json:"sha,omitempty"` BaseImage *string `json:"baseImage,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` Secrets []string `json:"secrets,omitempty"` ConfigMaps []string `json:"configMaps,omitempty"` ConfigSecret *string `json:"configSecret,omitempty"` LogLevel *string `json:"logLevel,omitempty"` LogFormat *string `json:"logFormat,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Retention *monitoringv1.GoDuration `json:"retention,omitempty"` Storage *StorageSpecApplyConfiguration `json:"storage,omitempty"` Volumes []corev1.Volume `json:"volumes,omitempty"` VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` ExternalURL *string `json:"externalUrl,omitempty"` RoutePrefix *string `json:"routePrefix,omitempty"` Paused *bool `json:"paused,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` DNSPolicy *monitoringv1.DNSPolicy `json:"dnsPolicy,omitempty"` DNSConfig *PodDNSConfigApplyConfiguration `json:"dnsConfig,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` ListenLocal *bool `json:"listenLocal,omitempty"` Containers []corev1.Container `json:"containers,omitempty"` InitContainers []corev1.Container `json:"initContainers,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"` AdditionalPeers []string `json:"additionalPeers,omitempty"` ClusterAdvertiseAddress *string `json:"clusterAdvertiseAddress,omitempty"` ClusterGossipInterval *monitoringv1.GoDuration `json:"clusterGossipInterval,omitempty"` ClusterLabel *string `json:"clusterLabel,omitempty"` ClusterPushpullInterval *monitoringv1.GoDuration `json:"clusterPushpullInterval,omitempty"` ClusterPeerTimeout *monitoringv1.GoDuration `json:"clusterPeerTimeout,omitempty"` PortName *string `json:"portName,omitempty"` ForceEnableClusterMode *bool `json:"forceEnableClusterMode,omitempty"` AlertmanagerConfigSelector *metav1.LabelSelectorApplyConfiguration `json:"alertmanagerConfigSelector,omitempty"` AlertmanagerConfigNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"alertmanagerConfigNamespaceSelector,omitempty"` AlertmanagerConfigMatcherStrategy *AlertmanagerConfigMatcherStrategyApplyConfiguration `json:"alertmanagerConfigMatcherStrategy,omitempty"` MinReadySeconds *uint32 `json:"minReadySeconds,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` Web *AlertmanagerWebSpecApplyConfiguration `json:"web,omitempty"` AlertmanagerConfiguration *AlertmanagerConfigurationApplyConfiguration `json:"alertmanagerConfiguration,omitempty"` AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"` EnableFeatures []string `json:"enableFeatures,omitempty"` }
AlertmanagerSpecApplyConfiguration represents a declarative configuration of the AlertmanagerSpec type for use with apply.
func AlertmanagerSpec ¶
func AlertmanagerSpec() *AlertmanagerSpecApplyConfiguration
AlertmanagerSpecApplyConfiguration constructs a declarative configuration of the AlertmanagerSpec type for use with apply.
func (*AlertmanagerSpecApplyConfiguration) WithAdditionalPeers ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAdditionalPeers(values ...string) *AlertmanagerSpecApplyConfiguration
WithAdditionalPeers adds the given value to the AdditionalPeers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalPeers field.
func (*AlertmanagerSpecApplyConfiguration) WithAffinity ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigMatcherStrategy ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigMatcherStrategy(value *AlertmanagerConfigMatcherStrategyApplyConfiguration) *AlertmanagerSpecApplyConfiguration
WithAlertmanagerConfigMatcherStrategy sets the AlertmanagerConfigMatcherStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertmanagerConfigMatcherStrategy field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *AlertmanagerSpecApplyConfiguration
WithAlertmanagerConfigNamespaceSelector sets the AlertmanagerConfigNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertmanagerConfigNamespaceSelector field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigSelector ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *AlertmanagerSpecApplyConfiguration
WithAlertmanagerConfigSelector sets the AlertmanagerConfigSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertmanagerConfigSelector field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfiguration ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfiguration(value *AlertmanagerConfigurationApplyConfiguration) *AlertmanagerSpecApplyConfiguration
WithAlertmanagerConfiguration sets the AlertmanagerConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertmanagerConfiguration field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithAutomountServiceAccountToken ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithBaseImage ¶
func (b *AlertmanagerSpecApplyConfiguration) WithBaseImage(value string) *AlertmanagerSpecApplyConfiguration
WithBaseImage sets the BaseImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseImage field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithClusterAdvertiseAddress ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterAdvertiseAddress(value string) *AlertmanagerSpecApplyConfiguration
WithClusterAdvertiseAddress sets the ClusterAdvertiseAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterAdvertiseAddress field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithClusterGossipInterval ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterGossipInterval(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
WithClusterGossipInterval sets the ClusterGossipInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterGossipInterval field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithClusterLabel ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterLabel(value string) *AlertmanagerSpecApplyConfiguration
WithClusterLabel sets the ClusterLabel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterLabel field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
WithClusterPeerTimeout sets the ClusterPeerTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterPeerTimeout field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithClusterPushpullInterval ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterPushpullInterval(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
WithClusterPushpullInterval sets the ClusterPushpullInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterPushpullInterval field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithConfigMaps ¶
func (b *AlertmanagerSpecApplyConfiguration) WithConfigMaps(values ...string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithConfigSecret ¶
func (b *AlertmanagerSpecApplyConfiguration) WithConfigSecret(value string) *AlertmanagerSpecApplyConfiguration
WithConfigSecret sets the ConfigSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigSecret field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithContainers ¶
func (b *AlertmanagerSpecApplyConfiguration) WithContainers(values ...corev1.Container) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithDNSConfig ¶
func (b *AlertmanagerSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithDNSPolicy ¶
func (b *AlertmanagerSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithEnableFeatures ¶
func (b *AlertmanagerSpecApplyConfiguration) WithEnableFeatures(values ...string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithExternalURL ¶
func (b *AlertmanagerSpecApplyConfiguration) WithExternalURL(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithForceEnableClusterMode ¶
func (b *AlertmanagerSpecApplyConfiguration) WithForceEnableClusterMode(value bool) *AlertmanagerSpecApplyConfiguration
WithForceEnableClusterMode sets the ForceEnableClusterMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceEnableClusterMode field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithHostAliases ¶
func (b *AlertmanagerSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithImage ¶
func (b *AlertmanagerSpecApplyConfiguration) WithImage(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithImagePullPolicy ¶
func (b *AlertmanagerSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithImagePullSecrets ¶
func (b *AlertmanagerSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithInitContainers ¶
func (b *AlertmanagerSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithListenLocal ¶
func (b *AlertmanagerSpecApplyConfiguration) WithListenLocal(value bool) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithLogFormat ¶
func (b *AlertmanagerSpecApplyConfiguration) WithLogFormat(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithLogLevel ¶
func (b *AlertmanagerSpecApplyConfiguration) WithLogLevel(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *AlertmanagerSpecApplyConfiguration) WithMinReadySeconds(value uint32) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithNodeSelector ¶
func (b *AlertmanagerSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithPaused ¶
func (b *AlertmanagerSpecApplyConfiguration) WithPaused(value bool) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithPodMetadata ¶
func (b *AlertmanagerSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithPortName ¶
func (b *AlertmanagerSpecApplyConfiguration) WithPortName(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithPriorityClassName ¶
func (b *AlertmanagerSpecApplyConfiguration) WithPriorityClassName(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithReplicas ¶
func (b *AlertmanagerSpecApplyConfiguration) WithReplicas(value int32) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithResources ¶
func (b *AlertmanagerSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithRetention ¶
func (b *AlertmanagerSpecApplyConfiguration) WithRetention(value monitoringv1.GoDuration) *AlertmanagerSpecApplyConfiguration
WithRetention sets the Retention field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Retention field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithRoutePrefix ¶
func (b *AlertmanagerSpecApplyConfiguration) WithRoutePrefix(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithSHA ¶
func (b *AlertmanagerSpecApplyConfiguration) WithSHA(value string) *AlertmanagerSpecApplyConfiguration
WithSHA sets the SHA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SHA field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithSecrets ¶
func (b *AlertmanagerSpecApplyConfiguration) WithSecrets(values ...string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithSecurityContext ¶
func (b *AlertmanagerSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithServiceAccountName ¶
func (b *AlertmanagerSpecApplyConfiguration) WithServiceAccountName(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithStorage ¶
func (b *AlertmanagerSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithTag ¶
func (b *AlertmanagerSpecApplyConfiguration) WithTag(value string) *AlertmanagerSpecApplyConfiguration
WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.
func (*AlertmanagerSpecApplyConfiguration) WithTolerations ¶
func (b *AlertmanagerSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *AlertmanagerSpecApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithVersion ¶
func (b *AlertmanagerSpecApplyConfiguration) WithVersion(value string) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithVolumeMounts ¶
func (b *AlertmanagerSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithVolumes ¶
func (b *AlertmanagerSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *AlertmanagerSpecApplyConfiguration
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 (*AlertmanagerSpecApplyConfiguration) WithWeb ¶
func (b *AlertmanagerSpecApplyConfiguration) WithWeb(value *AlertmanagerWebSpecApplyConfiguration) *AlertmanagerSpecApplyConfiguration
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 AlertmanagerStatusApplyConfiguration ¶
type AlertmanagerStatusApplyConfiguration struct { Paused *bool `json:"paused,omitempty"` Replicas *int32 `json:"replicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` Selector *string `json:"selector,omitempty"` Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"` }
AlertmanagerStatusApplyConfiguration represents a declarative configuration of the AlertmanagerStatus type for use with apply.
func AlertmanagerStatus ¶
func AlertmanagerStatus() *AlertmanagerStatusApplyConfiguration
AlertmanagerStatusApplyConfiguration constructs a declarative configuration of the AlertmanagerStatus type for use with apply.
func (*AlertmanagerStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *AlertmanagerStatusApplyConfiguration) WithAvailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*AlertmanagerStatusApplyConfiguration) WithConditions ¶
func (b *AlertmanagerStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *AlertmanagerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*AlertmanagerStatusApplyConfiguration) WithPaused ¶
func (b *AlertmanagerStatusApplyConfiguration) WithPaused(value bool) *AlertmanagerStatusApplyConfiguration
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 (*AlertmanagerStatusApplyConfiguration) WithReplicas ¶
func (b *AlertmanagerStatusApplyConfiguration) WithReplicas(value int32) *AlertmanagerStatusApplyConfiguration
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 (*AlertmanagerStatusApplyConfiguration) WithSelector ¶
func (b *AlertmanagerStatusApplyConfiguration) WithSelector(value string) *AlertmanagerStatusApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*AlertmanagerStatusApplyConfiguration) WithUnavailableReplicas ¶
func (b *AlertmanagerStatusApplyConfiguration) WithUnavailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
WithUnavailableReplicas sets the UnavailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnavailableReplicas field is set to the value of the last call.
func (*AlertmanagerStatusApplyConfiguration) WithUpdatedReplicas ¶
func (b *AlertmanagerStatusApplyConfiguration) WithUpdatedReplicas(value int32) *AlertmanagerStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedReplicas field is set to the value of the last call.
type AlertmanagerWebSpecApplyConfiguration ¶
type AlertmanagerWebSpecApplyConfiguration struct { WebConfigFileFieldsApplyConfiguration `json:",inline"` GetConcurrency *uint32 `json:"getConcurrency,omitempty"` Timeout *uint32 `json:"timeout,omitempty"` }
AlertmanagerWebSpecApplyConfiguration represents a declarative configuration of the AlertmanagerWebSpec type for use with apply.
func AlertmanagerWebSpec ¶
func AlertmanagerWebSpec() *AlertmanagerWebSpecApplyConfiguration
AlertmanagerWebSpecApplyConfiguration constructs a declarative configuration of the AlertmanagerWebSpec type for use with apply.
func (*AlertmanagerWebSpecApplyConfiguration) WithGetConcurrency ¶
func (b *AlertmanagerWebSpecApplyConfiguration) WithGetConcurrency(value uint32) *AlertmanagerWebSpecApplyConfiguration
WithGetConcurrency sets the GetConcurrency field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GetConcurrency field is set to the value of the last call.
func (*AlertmanagerWebSpecApplyConfiguration) WithHTTPConfig ¶
func (b *AlertmanagerWebSpecApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *AlertmanagerWebSpecApplyConfiguration
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 (*AlertmanagerWebSpecApplyConfiguration) WithTLSConfig ¶
func (b *AlertmanagerWebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *AlertmanagerWebSpecApplyConfiguration
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 (*AlertmanagerWebSpecApplyConfiguration) WithTimeout ¶
func (b *AlertmanagerWebSpecApplyConfiguration) WithTimeout(value uint32) *AlertmanagerWebSpecApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type ArbitraryFSAccessThroughSMsConfigApplyConfiguration ¶
type ArbitraryFSAccessThroughSMsConfigApplyConfiguration struct {
Deny *bool `json:"deny,omitempty"`
}
ArbitraryFSAccessThroughSMsConfigApplyConfiguration represents a declarative configuration of the ArbitraryFSAccessThroughSMsConfig type for use with apply.
func ArbitraryFSAccessThroughSMsConfig ¶
func ArbitraryFSAccessThroughSMsConfig() *ArbitraryFSAccessThroughSMsConfigApplyConfiguration
ArbitraryFSAccessThroughSMsConfigApplyConfiguration constructs a declarative configuration of the ArbitraryFSAccessThroughSMsConfig type for use with apply.
func (*ArbitraryFSAccessThroughSMsConfigApplyConfiguration) WithDeny ¶
func (b *ArbitraryFSAccessThroughSMsConfigApplyConfiguration) WithDeny(value bool) *ArbitraryFSAccessThroughSMsConfigApplyConfiguration
WithDeny sets the Deny field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Deny field is set to the value of the last call.
type ArgumentApplyConfiguration ¶
type ArgumentApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
ArgumentApplyConfiguration represents a declarative configuration of the Argument type for use with apply.
func Argument ¶
func Argument() *ArgumentApplyConfiguration
ArgumentApplyConfiguration constructs a declarative configuration of the Argument type for use with apply.
func (*ArgumentApplyConfiguration) WithName ¶
func (b *ArgumentApplyConfiguration) WithName(value string) *ArgumentApplyConfiguration
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 (*ArgumentApplyConfiguration) WithValue ¶
func (b *ArgumentApplyConfiguration) WithValue(value string) *ArgumentApplyConfiguration
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 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 AuthorizationApplyConfiguration ¶
type AuthorizationApplyConfiguration struct { SafeAuthorizationApplyConfiguration `json:",inline"` CredentialsFile *string `json:"credentialsFile,omitempty"` }
AuthorizationApplyConfiguration represents a declarative configuration of the Authorization type for use with apply.
func Authorization ¶
func Authorization() *AuthorizationApplyConfiguration
AuthorizationApplyConfiguration constructs a declarative configuration of the Authorization type for use with apply.
func (*AuthorizationApplyConfiguration) WithCredentials ¶
func (b *AuthorizationApplyConfiguration) WithCredentials(value corev1.SecretKeySelector) *AuthorizationApplyConfiguration
WithCredentials sets the Credentials field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Credentials field is set to the value of the last call.
func (*AuthorizationApplyConfiguration) WithCredentialsFile ¶
func (b *AuthorizationApplyConfiguration) WithCredentialsFile(value string) *AuthorizationApplyConfiguration
WithCredentialsFile sets the CredentialsFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CredentialsFile field is set to the value of the last call.
func (*AuthorizationApplyConfiguration) WithType ¶
func (b *AuthorizationApplyConfiguration) WithType(value string) *AuthorizationApplyConfiguration
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 AzureADApplyConfiguration ¶
type AzureADApplyConfiguration struct { Cloud *string `json:"cloud,omitempty"` ManagedIdentity *ManagedIdentityApplyConfiguration `json:"managedIdentity,omitempty"` OAuth *AzureOAuthApplyConfiguration `json:"oauth,omitempty"` SDK *AzureSDKApplyConfiguration `json:"sdk,omitempty"` }
AzureADApplyConfiguration represents a declarative configuration of the AzureAD type for use with apply.
func AzureAD ¶
func AzureAD() *AzureADApplyConfiguration
AzureADApplyConfiguration constructs a declarative configuration of the AzureAD type for use with apply.
func (*AzureADApplyConfiguration) WithCloud ¶
func (b *AzureADApplyConfiguration) WithCloud(value string) *AzureADApplyConfiguration
WithCloud sets the Cloud field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cloud field is set to the value of the last call.
func (*AzureADApplyConfiguration) WithManagedIdentity ¶
func (b *AzureADApplyConfiguration) WithManagedIdentity(value *ManagedIdentityApplyConfiguration) *AzureADApplyConfiguration
WithManagedIdentity sets the ManagedIdentity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedIdentity field is set to the value of the last call.
func (*AzureADApplyConfiguration) WithOAuth ¶
func (b *AzureADApplyConfiguration) WithOAuth(value *AzureOAuthApplyConfiguration) *AzureADApplyConfiguration
WithOAuth sets the OAuth field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OAuth field is set to the value of the last call.
func (*AzureADApplyConfiguration) WithSDK ¶
func (b *AzureADApplyConfiguration) WithSDK(value *AzureSDKApplyConfiguration) *AzureADApplyConfiguration
WithSDK sets the SDK field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SDK field is set to the value of the last call.
type AzureOAuthApplyConfiguration ¶
type AzureOAuthApplyConfiguration struct { ClientID *string `json:"clientId,omitempty"` ClientSecret *v1.SecretKeySelector `json:"clientSecret,omitempty"` TenantID *string `json:"tenantId,omitempty"` }
AzureOAuthApplyConfiguration represents a declarative configuration of the AzureOAuth type for use with apply.
func AzureOAuth ¶
func AzureOAuth() *AzureOAuthApplyConfiguration
AzureOAuthApplyConfiguration constructs a declarative configuration of the AzureOAuth type for use with apply.
func (*AzureOAuthApplyConfiguration) WithClientID ¶
func (b *AzureOAuthApplyConfiguration) WithClientID(value string) *AzureOAuthApplyConfiguration
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 (*AzureOAuthApplyConfiguration) WithClientSecret ¶
func (b *AzureOAuthApplyConfiguration) WithClientSecret(value v1.SecretKeySelector) *AzureOAuthApplyConfiguration
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 (*AzureOAuthApplyConfiguration) WithTenantID ¶
func (b *AzureOAuthApplyConfiguration) WithTenantID(value string) *AzureOAuthApplyConfiguration
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 AzureSDKApplyConfiguration ¶
type AzureSDKApplyConfiguration struct {
TenantID *string `json:"tenantId,omitempty"`
}
AzureSDKApplyConfiguration represents a declarative configuration of the AzureSDK type for use with apply.
func AzureSDK ¶
func AzureSDK() *AzureSDKApplyConfiguration
AzureSDKApplyConfiguration constructs a declarative configuration of the AzureSDK type for use with apply.
func (*AzureSDKApplyConfiguration) WithTenantID ¶
func (b *AzureSDKApplyConfiguration) WithTenantID(value string) *AzureSDKApplyConfiguration
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 BasicAuthApplyConfiguration ¶
type BasicAuthApplyConfiguration struct { Username *v1.SecretKeySelector `json:"username,omitempty"` Password *v1.SecretKeySelector `json:"password,omitempty"` }
BasicAuthApplyConfiguration represents a declarative configuration of the BasicAuth type for use with apply.
func BasicAuth ¶
func BasicAuth() *BasicAuthApplyConfiguration
BasicAuthApplyConfiguration constructs a declarative configuration of the BasicAuth type for use with apply.
func (*BasicAuthApplyConfiguration) WithPassword ¶
func (b *BasicAuthApplyConfiguration) WithPassword(value v1.SecretKeySelector) *BasicAuthApplyConfiguration
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 (*BasicAuthApplyConfiguration) WithUsername ¶
func (b *BasicAuthApplyConfiguration) WithUsername(value v1.SecretKeySelector) *BasicAuthApplyConfiguration
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 CommonPrometheusFieldsApplyConfiguration ¶
type CommonPrometheusFieldsApplyConfiguration struct { PodMetadata *EmbeddedObjectMetadataApplyConfiguration `json:"podMetadata,omitempty"` ServiceMonitorSelector *metav1.LabelSelectorApplyConfiguration `json:"serviceMonitorSelector,omitempty"` ServiceMonitorNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"serviceMonitorNamespaceSelector,omitempty"` PodMonitorSelector *metav1.LabelSelectorApplyConfiguration `json:"podMonitorSelector,omitempty"` PodMonitorNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"podMonitorNamespaceSelector,omitempty"` ProbeSelector *metav1.LabelSelectorApplyConfiguration `json:"probeSelector,omitempty"` ProbeNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"probeNamespaceSelector,omitempty"` ScrapeConfigSelector *metav1.LabelSelectorApplyConfiguration `json:"scrapeConfigSelector,omitempty"` ScrapeConfigNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"scrapeConfigNamespaceSelector,omitempty"` Version *string `json:"version,omitempty"` Paused *bool `json:"paused,omitempty"` Image *string `json:"image,omitempty"` ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` Replicas *int32 `json:"replicas,omitempty"` Shards *int32 `json:"shards,omitempty"` ReplicaExternalLabelName *string `json:"replicaExternalLabelName,omitempty"` PrometheusExternalLabelName *string `json:"prometheusExternalLabelName,omitempty"` LogLevel *string `json:"logLevel,omitempty"` LogFormat *string `json:"logFormat,omitempty"` ScrapeInterval *monitoringv1.Duration `json:"scrapeInterval,omitempty"` ScrapeTimeout *monitoringv1.Duration `json:"scrapeTimeout,omitempty"` ScrapeProtocols []monitoringv1.ScrapeProtocol `json:"scrapeProtocols,omitempty"` ExternalLabels map[string]string `json:"externalLabels,omitempty"` EnableRemoteWriteReceiver *bool `json:"enableRemoteWriteReceiver,omitempty"` RemoteWriteReceiverMessageVersions []monitoringv1.RemoteWriteMessageVersion `json:"remoteWriteReceiverMessageVersions,omitempty"` EnableFeatures []monitoringv1.EnableFeature `json:"enableFeatures,omitempty"` ExternalURL *string `json:"externalUrl,omitempty"` RoutePrefix *string `json:"routePrefix,omitempty"` Storage *StorageSpecApplyConfiguration `json:"storage,omitempty"` Volumes []corev1.Volume `json:"volumes,omitempty"` VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` PersistentVolumeClaimRetentionPolicy *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty"` Web *PrometheusWebSpecApplyConfiguration `json:"web,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"` Secrets []string `json:"secrets,omitempty"` ConfigMaps []string `json:"configMaps,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` TopologySpreadConstraints []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"` RemoteWrite []RemoteWriteSpecApplyConfiguration `json:"remoteWrite,omitempty"` OTLP *OTLPConfigApplyConfiguration `json:"otlp,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` DNSPolicy *monitoringv1.DNSPolicy `json:"dnsPolicy,omitempty"` DNSConfig *PodDNSConfigApplyConfiguration `json:"dnsConfig,omitempty"` ListenLocal *bool `json:"listenLocal,omitempty"` Containers []corev1.Container `json:"containers,omitempty"` InitContainers []corev1.Container `json:"initContainers,omitempty"` AdditionalScrapeConfigs *corev1.SecretKeySelector `json:"additionalScrapeConfigs,omitempty"` APIServerConfig *APIServerConfigApplyConfiguration `json:"apiserverConfig,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"` PortName *string `json:"portName,omitempty"` ArbitraryFSAccessThroughSMs *ArbitraryFSAccessThroughSMsConfigApplyConfiguration `json:"arbitraryFSAccessThroughSMs,omitempty"` OverrideHonorLabels *bool `json:"overrideHonorLabels,omitempty"` OverrideHonorTimestamps *bool `json:"overrideHonorTimestamps,omitempty"` IgnoreNamespaceSelectors *bool `json:"ignoreNamespaceSelectors,omitempty"` EnforcedNamespaceLabel *string `json:"enforcedNamespaceLabel,omitempty"` EnforcedSampleLimit *uint64 `json:"enforcedSampleLimit,omitempty"` EnforcedTargetLimit *uint64 `json:"enforcedTargetLimit,omitempty"` EnforcedLabelLimit *uint64 `json:"enforcedLabelLimit,omitempty"` EnforcedLabelNameLengthLimit *uint64 `json:"enforcedLabelNameLengthLimit,omitempty"` EnforcedLabelValueLengthLimit *uint64 `json:"enforcedLabelValueLengthLimit,omitempty"` EnforcedKeepDroppedTargets *uint64 `json:"enforcedKeepDroppedTargets,omitempty"` EnforcedBodySizeLimit *monitoringv1.ByteSize `json:"enforcedBodySizeLimit,omitempty"` MinReadySeconds *uint32 `json:"minReadySeconds,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` AdditionalArgs []ArgumentApplyConfiguration `json:"additionalArgs,omitempty"` WALCompression *bool `json:"walCompression,omitempty"` ExcludedFromEnforcement []ObjectReferenceApplyConfiguration `json:"excludedFromEnforcement,omitempty"` HostNetwork *bool `json:"hostNetwork,omitempty"` PodTargetLabels []string `json:"podTargetLabels,omitempty"` TracingConfig *PrometheusTracingConfigApplyConfiguration `json:"tracingConfig,omitempty"` BodySizeLimit *monitoringv1.ByteSize `json:"bodySizeLimit,omitempty"` SampleLimit *uint64 `json:"sampleLimit,omitempty"` TargetLimit *uint64 `json:"targetLimit,omitempty"` LabelLimit *uint64 `json:"labelLimit,omitempty"` LabelNameLengthLimit *uint64 `json:"labelNameLengthLimit,omitempty"` LabelValueLengthLimit *uint64 `json:"labelValueLengthLimit,omitempty"` KeepDroppedTargets *uint64 `json:"keepDroppedTargets,omitempty"` ReloadStrategy *monitoringv1.ReloadStrategyType `json:"reloadStrategy,omitempty"` MaximumStartupDurationSeconds *int32 `json:"maximumStartupDurationSeconds,omitempty"` ScrapeClasses []ScrapeClassApplyConfiguration `json:"scrapeClasses,omitempty"` ServiceDiscoveryRole *monitoringv1.ServiceDiscoveryRole `json:"serviceDiscoveryRole,omitempty"` TSDB *TSDBSpecApplyConfiguration `json:"tsdb,omitempty"` }
CommonPrometheusFieldsApplyConfiguration represents a declarative configuration of the CommonPrometheusFields type for use with apply.
func CommonPrometheusFields ¶
func CommonPrometheusFields() *CommonPrometheusFieldsApplyConfiguration
CommonPrometheusFieldsApplyConfiguration constructs a declarative configuration of the CommonPrometheusFields type for use with apply.
func (*CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig(value *APIServerConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithAdditionalArgs ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithAdditionalScrapeConfigs ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithAffinity ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithAffinity(value corev1.Affinity) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithArbitraryFSAccessThroughSMs ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithAutomountServiceAccountToken ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithAutomountServiceAccountToken(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithBodySizeLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithConfigMaps ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithConfigMaps(values ...string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithContainers ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithContainers(values ...corev1.Container) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithDNSConfig ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithDNSPolicy ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnableRemoteWriteReceiver ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedBodySizeLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedKeepDroppedTargets ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelNameLengthLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelValueLengthLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedNamespaceLabel ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedNamespaceLabel(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedSampleLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedSampleLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedTargetLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedTargetLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithExcludedFromEnforcement ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithExternalLabels ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithExternalLabels(entries map[string]string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithExternalURL ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithExternalURL(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithHostAliases ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithHostNetwork ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithHostNetwork(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithIgnoreNamespaceSelectors ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithImage ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithImage(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithImagePullPolicy ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithImagePullSecrets ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithInitContainers ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithInitContainers(values ...corev1.Container) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithKeepDroppedTargets ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithKeepDroppedTargets(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithLabelLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithLabelNameLengthLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelNameLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithLabelValueLengthLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithLabelValueLengthLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithListenLocal ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithListenLocal(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithLogFormat ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithLogFormat(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithLogLevel ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithLogLevel(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithMaximumStartupDurationSeconds ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithMinReadySeconds ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithMinReadySeconds(value uint32) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithNodeSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithNodeSelector(entries map[string]string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithOTLP ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithOTLP(value *OTLPConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorLabels ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorLabels(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorTimestamps ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorTimestamps(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPaused ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPaused(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPodMetadata ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPodMonitorNamespaceSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPodMonitorSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPodTargetLabels ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPodTargetLabels(values ...string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPortName ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPortName(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPriorityClassName ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPriorityClassName(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithProbeNamespaceSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithProbeSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithPrometheusExternalLabelName ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithPrometheusExternalLabelName(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithReloadStrategy ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithRemoteWrite ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithRemoteWriteReceiverMessageVersions ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithReplicaExternalLabelName ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithReplicaExternalLabelName(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithReplicas ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithReplicas(value int32) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithResources ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithResources(value corev1.ResourceRequirements) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithRoutePrefix ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithRoutePrefix(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithSampleLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithSampleLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeClasses ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeClasses(values ...*ScrapeClassApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigNamespaceSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeInterval ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeProtocols ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithScrapeTimeout ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithSecrets ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithSecrets(values ...string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithSecurityContext ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithServiceAccountName ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceAccountName(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithServiceDiscoveryRole ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithShards ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithShards(value int32) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithStorage ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithTSDB ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTSDB(value *TSDBSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithTargetLimit ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTargetLimit(value uint64) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithTolerations ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTolerations(values ...corev1.Toleration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithTracingConfig ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTracingConfig(value *PrometheusTracingConfigApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithVersion ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithVersion(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithVolumeMounts ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithVolumes ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithVolumes(values ...corev1.Volume) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithWALCompression ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithWALCompression(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithWeb ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithWeb(value *PrometheusWebSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
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 ConditionApplyConfiguration ¶
type ConditionApplyConfiguration struct { Type *v1.ConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
ConditionApplyConfiguration represents a declarative configuration of the Condition type for use with apply.
func Condition ¶
func Condition() *ConditionApplyConfiguration
ConditionApplyConfiguration constructs a declarative configuration of the Condition type for use with apply.
func (*ConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithMessage ¶
func (b *ConditionApplyConfiguration) WithMessage(value string) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithObservedGeneration ¶
func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithReason ¶
func (b *ConditionApplyConfiguration) WithReason(value string) *ConditionApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*ConditionApplyConfiguration) WithStatus ¶
func (b *ConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *ConditionApplyConfiguration
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 (*ConditionApplyConfiguration) WithType ¶
func (b *ConditionApplyConfiguration) WithType(value v1.ConditionType) *ConditionApplyConfiguration
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 CoreV1TopologySpreadConstraintApplyConfiguration ¶
type CoreV1TopologySpreadConstraintApplyConfiguration struct { MaxSkew *int32 `json:"maxSkew,omitempty"` TopologyKey *string `json:"topologyKey,omitempty"` WhenUnsatisfiable *v1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"` LabelSelector *metav1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"` MinDomains *int32 `json:"minDomains,omitempty"` NodeAffinityPolicy *v1.NodeInclusionPolicy `json:"nodeAffinityPolicy,omitempty"` NodeTaintsPolicy *v1.NodeInclusionPolicy `json:"nodeTaintsPolicy,omitempty"` MatchLabelKeys []string `json:"matchLabelKeys,omitempty"` }
CoreV1TopologySpreadConstraintApplyConfiguration represents a declarative configuration of the CoreV1TopologySpreadConstraint type for use with apply.
func CoreV1TopologySpreadConstraint ¶
func CoreV1TopologySpreadConstraint() *CoreV1TopologySpreadConstraintApplyConfiguration
CoreV1TopologySpreadConstraintApplyConfiguration constructs a declarative configuration of the CoreV1TopologySpreadConstraint type for use with apply.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithLabelSelector ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *CoreV1TopologySpreadConstraintApplyConfiguration
WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *CoreV1TopologySpreadConstraintApplyConfiguration
WithMatchLabelKeys adds the given value to the MatchLabelKeys field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchLabelKeys field.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMaxSkew ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *CoreV1TopologySpreadConstraintApplyConfiguration
WithMaxSkew sets the MaxSkew field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSkew field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMinDomains ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *CoreV1TopologySpreadConstraintApplyConfiguration
WithMinDomains sets the MinDomains field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinDomains field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value v1.NodeInclusionPolicy) *CoreV1TopologySpreadConstraintApplyConfiguration
WithNodeAffinityPolicy sets the NodeAffinityPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeAffinityPolicy field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value v1.NodeInclusionPolicy) *CoreV1TopologySpreadConstraintApplyConfiguration
WithNodeTaintsPolicy sets the NodeTaintsPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeTaintsPolicy field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithTopologyKey ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *CoreV1TopologySpreadConstraintApplyConfiguration
WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopologyKey field is set to the value of the last call.
func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable ¶
func (b *CoreV1TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value v1.UnsatisfiableConstraintAction) *CoreV1TopologySpreadConstraintApplyConfiguration
WithWhenUnsatisfiable sets the WhenUnsatisfiable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WhenUnsatisfiable field is set to the value of the last call.
type EmbeddedObjectMetadataApplyConfiguration ¶
type EmbeddedObjectMetadataApplyConfiguration struct { Name *string `json:"name,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
EmbeddedObjectMetadataApplyConfiguration represents a declarative configuration of the EmbeddedObjectMetadata type for use with apply.
func EmbeddedObjectMetadata ¶
func EmbeddedObjectMetadata() *EmbeddedObjectMetadataApplyConfiguration
EmbeddedObjectMetadataApplyConfiguration constructs a declarative configuration of the EmbeddedObjectMetadata type for use with apply.
func (*EmbeddedObjectMetadataApplyConfiguration) WithAnnotations ¶
func (b *EmbeddedObjectMetadataApplyConfiguration) WithAnnotations(entries map[string]string) *EmbeddedObjectMetadataApplyConfiguration
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 (*EmbeddedObjectMetadataApplyConfiguration) WithLabels ¶
func (b *EmbeddedObjectMetadataApplyConfiguration) WithLabels(entries map[string]string) *EmbeddedObjectMetadataApplyConfiguration
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 (*EmbeddedObjectMetadataApplyConfiguration) WithName ¶
func (b *EmbeddedObjectMetadataApplyConfiguration) WithName(value string) *EmbeddedObjectMetadataApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type EmbeddedPersistentVolumeClaimApplyConfiguration ¶
type EmbeddedPersistentVolumeClaimApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *EmbeddedObjectMetadataApplyConfiguration `json:"metadata,omitempty"` Spec *corev1.PersistentVolumeClaimSpec `json:"spec,omitempty"` Status *corev1.PersistentVolumeClaimStatus `json:"status,omitempty"` }
EmbeddedPersistentVolumeClaimApplyConfiguration represents a declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.
func EmbeddedPersistentVolumeClaim ¶
func EmbeddedPersistentVolumeClaim() *EmbeddedPersistentVolumeClaimApplyConfiguration
EmbeddedPersistentVolumeClaimApplyConfiguration constructs a declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.
func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithAPIVersion ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithAPIVersion(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithAnnotations ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithAnnotations(entries map[string]string) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithKind ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithKind(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithLabels ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithLabels(entries map[string]string) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithName ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithName(value string) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithSpec ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithSpec(value corev1.PersistentVolumeClaimSpec) *EmbeddedPersistentVolumeClaimApplyConfiguration
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 (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithStatus ¶
func (b *EmbeddedPersistentVolumeClaimApplyConfiguration) WithStatus(value corev1.PersistentVolumeClaimStatus) *EmbeddedPersistentVolumeClaimApplyConfiguration
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.
type EndpointApplyConfiguration ¶
type EndpointApplyConfiguration struct { Port *string `json:"port,omitempty"` TargetPort *intstr.IntOrString `json:"targetPort,omitempty"` Path *string `json:"path,omitempty"` Scheme *string `json:"scheme,omitempty"` Params map[string][]string `json:"params,omitempty"` Interval *v1.Duration `json:"interval,omitempty"` ScrapeTimeout *v1.Duration `json:"scrapeTimeout,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` HonorLabels *bool `json:"honorLabels,omitempty"` HonorTimestamps *bool `json:"honorTimestamps,omitempty"` TrackTimestampsStaleness *bool `json:"trackTimestampsStaleness,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` MetricRelabelConfigs []RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"` RelabelConfigs []RelabelConfigApplyConfiguration `json:"relabelings,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHttp2 *bool `json:"enableHttp2,omitempty"` FilterRunning *bool `json:"filterRunning,omitempty"` }
EndpointApplyConfiguration represents a declarative configuration of the Endpoint type for use with apply.
func Endpoint ¶
func Endpoint() *EndpointApplyConfiguration
EndpointApplyConfiguration constructs a declarative configuration of the Endpoint type for use with apply.
func (*EndpointApplyConfiguration) WithAuthorization ¶
func (b *EndpointApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithBasicAuth ¶
func (b *EndpointApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithBearerTokenFile ¶
func (b *EndpointApplyConfiguration) WithBearerTokenFile(value string) *EndpointApplyConfiguration
WithBearerTokenFile sets the BearerTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenFile field is set to the value of the last call.
func (*EndpointApplyConfiguration) WithBearerTokenSecret ¶
func (b *EndpointApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithEnableHttp2 ¶
func (b *EndpointApplyConfiguration) WithEnableHttp2(value bool) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithFilterRunning ¶
func (b *EndpointApplyConfiguration) WithFilterRunning(value bool) *EndpointApplyConfiguration
WithFilterRunning sets the FilterRunning field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FilterRunning field is set to the value of the last call.
func (*EndpointApplyConfiguration) WithFollowRedirects ¶
func (b *EndpointApplyConfiguration) WithFollowRedirects(value bool) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithHonorLabels ¶
func (b *EndpointApplyConfiguration) WithHonorLabels(value bool) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithHonorTimestamps ¶
func (b *EndpointApplyConfiguration) WithHonorTimestamps(value bool) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithInterval ¶
func (b *EndpointApplyConfiguration) WithInterval(value v1.Duration) *EndpointApplyConfiguration
WithInterval sets the Interval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interval field is set to the value of the last call.
func (*EndpointApplyConfiguration) WithMetricRelabelConfigs ¶
func (b *EndpointApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithOAuth2 ¶
func (b *EndpointApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithParams ¶
func (b *EndpointApplyConfiguration) WithParams(entries map[string][]string) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithPath ¶
func (b *EndpointApplyConfiguration) WithPath(value string) *EndpointApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*EndpointApplyConfiguration) WithPort ¶
func (b *EndpointApplyConfiguration) WithPort(value string) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithProxyURL ¶
func (b *EndpointApplyConfiguration) WithProxyURL(value string) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithRelabelConfigs ¶
func (b *EndpointApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithScheme ¶
func (b *EndpointApplyConfiguration) WithScheme(value string) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithScrapeTimeout ¶
func (b *EndpointApplyConfiguration) WithScrapeTimeout(value v1.Duration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithTLSConfig ¶
func (b *EndpointApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *EndpointApplyConfiguration
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 (*EndpointApplyConfiguration) WithTargetPort ¶
func (b *EndpointApplyConfiguration) WithTargetPort(value intstr.IntOrString) *EndpointApplyConfiguration
WithTargetPort sets the TargetPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPort field is set to the value of the last call.
func (*EndpointApplyConfiguration) WithTrackTimestampsStaleness ¶
func (b *EndpointApplyConfiguration) WithTrackTimestampsStaleness(value bool) *EndpointApplyConfiguration
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 ExemplarsApplyConfiguration ¶
type ExemplarsApplyConfiguration struct {
MaxSize *int64 `json:"maxSize,omitempty"`
}
ExemplarsApplyConfiguration represents a declarative configuration of the Exemplars type for use with apply.
func Exemplars ¶
func Exemplars() *ExemplarsApplyConfiguration
ExemplarsApplyConfiguration constructs a declarative configuration of the Exemplars type for use with apply.
func (*ExemplarsApplyConfiguration) WithMaxSize ¶
func (b *ExemplarsApplyConfiguration) WithMaxSize(value int64) *ExemplarsApplyConfiguration
WithMaxSize sets the MaxSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSize field is set to the value of the last call.
type GlobalSMTPConfigApplyConfiguration ¶
type GlobalSMTPConfigApplyConfiguration struct { From *string `json:"from,omitempty"` SmartHost *HostPortApplyConfiguration `json:"smartHost,omitempty"` Hello *string `json:"hello,omitempty"` AuthUsername *string `json:"authUsername,omitempty"` AuthPassword *corev1.SecretKeySelector `json:"authPassword,omitempty"` AuthIdentity *string `json:"authIdentity,omitempty"` AuthSecret *corev1.SecretKeySelector `json:"authSecret,omitempty"` RequireTLS *bool `json:"requireTLS,omitempty"` }
GlobalSMTPConfigApplyConfiguration represents a declarative configuration of the GlobalSMTPConfig type for use with apply.
func GlobalSMTPConfig ¶
func GlobalSMTPConfig() *GlobalSMTPConfigApplyConfiguration
GlobalSMTPConfigApplyConfiguration constructs a declarative configuration of the GlobalSMTPConfig type for use with apply.
func (*GlobalSMTPConfigApplyConfiguration) WithAuthIdentity ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithAuthIdentity(value string) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithAuthPassword ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithAuthPassword(value corev1.SecretKeySelector) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithAuthSecret ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithAuthSecret(value corev1.SecretKeySelector) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithAuthUsername ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithAuthUsername(value string) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithFrom ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithFrom(value string) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithHello ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithHello(value string) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithRequireTLS ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithRequireTLS(value bool) *GlobalSMTPConfigApplyConfiguration
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 (*GlobalSMTPConfigApplyConfiguration) WithSmartHost ¶
func (b *GlobalSMTPConfigApplyConfiguration) WithSmartHost(value *HostPortApplyConfiguration) *GlobalSMTPConfigApplyConfiguration
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.
type HTTPConfigApplyConfiguration ¶
type HTTPConfigApplyConfiguration struct { Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` TLSConfig *SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` 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 *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 *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 *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 *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 HostAliasApplyConfiguration ¶
type HostAliasApplyConfiguration struct { IP *string `json:"ip,omitempty"` Hostnames []string `json:"hostnames,omitempty"` }
HostAliasApplyConfiguration represents a declarative configuration of the HostAlias type for use with apply.
func HostAlias ¶
func HostAlias() *HostAliasApplyConfiguration
HostAliasApplyConfiguration constructs a declarative configuration of the HostAlias type for use with apply.
func (*HostAliasApplyConfiguration) WithHostnames ¶
func (b *HostAliasApplyConfiguration) WithHostnames(values ...string) *HostAliasApplyConfiguration
WithHostnames adds the given value to the Hostnames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Hostnames field.
func (*HostAliasApplyConfiguration) WithIP ¶
func (b *HostAliasApplyConfiguration) WithIP(value string) *HostAliasApplyConfiguration
WithIP sets the IP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IP field is set to the value of the last call.
type HostPortApplyConfiguration ¶
type HostPortApplyConfiguration struct { Host *string `json:"host,omitempty"` Port *string `json:"port,omitempty"` }
HostPortApplyConfiguration represents a declarative configuration of the HostPort type for use with apply.
func HostPort ¶
func HostPort() *HostPortApplyConfiguration
HostPortApplyConfiguration constructs a declarative configuration of the HostPort type for use with apply.
func (*HostPortApplyConfiguration) WithHost ¶
func (b *HostPortApplyConfiguration) WithHost(value string) *HostPortApplyConfiguration
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 (*HostPortApplyConfiguration) WithPort ¶
func (b *HostPortApplyConfiguration) WithPort(value string) *HostPortApplyConfiguration
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.
type ManagedIdentityApplyConfiguration ¶
type ManagedIdentityApplyConfiguration struct {
ClientID *string `json:"clientId,omitempty"`
}
ManagedIdentityApplyConfiguration represents a declarative configuration of the ManagedIdentity type for use with apply.
func ManagedIdentity ¶
func ManagedIdentity() *ManagedIdentityApplyConfiguration
ManagedIdentityApplyConfiguration constructs a declarative configuration of the ManagedIdentity type for use with apply.
func (*ManagedIdentityApplyConfiguration) WithClientID ¶
func (b *ManagedIdentityApplyConfiguration) WithClientID(value string) *ManagedIdentityApplyConfiguration
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.
type MetadataConfigApplyConfiguration ¶
type MetadataConfigApplyConfiguration struct { Send *bool `json:"send,omitempty"` SendInterval *v1.Duration `json:"sendInterval,omitempty"` }
MetadataConfigApplyConfiguration represents a declarative configuration of the MetadataConfig type for use with apply.
func MetadataConfig ¶
func MetadataConfig() *MetadataConfigApplyConfiguration
MetadataConfigApplyConfiguration constructs a declarative configuration of the MetadataConfig type for use with apply.
func (*MetadataConfigApplyConfiguration) WithSend ¶
func (b *MetadataConfigApplyConfiguration) WithSend(value bool) *MetadataConfigApplyConfiguration
WithSend sets the Send field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Send field is set to the value of the last call.
func (*MetadataConfigApplyConfiguration) WithSendInterval ¶
func (b *MetadataConfigApplyConfiguration) WithSendInterval(value v1.Duration) *MetadataConfigApplyConfiguration
WithSendInterval sets the SendInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendInterval field is set to the value of the last call.
type NamespaceSelectorApplyConfiguration ¶
type NamespaceSelectorApplyConfiguration struct { Any *bool `json:"any,omitempty"` MatchNames []string `json:"matchNames,omitempty"` }
NamespaceSelectorApplyConfiguration represents a declarative configuration of the NamespaceSelector type for use with apply.
func NamespaceSelector ¶
func NamespaceSelector() *NamespaceSelectorApplyConfiguration
NamespaceSelectorApplyConfiguration constructs a declarative configuration of the NamespaceSelector type for use with apply.
func (*NamespaceSelectorApplyConfiguration) WithAny ¶
func (b *NamespaceSelectorApplyConfiguration) WithAny(value bool) *NamespaceSelectorApplyConfiguration
WithAny sets the Any field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Any field is set to the value of the last call.
func (*NamespaceSelectorApplyConfiguration) WithMatchNames ¶
func (b *NamespaceSelectorApplyConfiguration) WithMatchNames(values ...string) *NamespaceSelectorApplyConfiguration
WithMatchNames adds the given value to the MatchNames field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchNames field.
type NativeHistogramConfigApplyConfiguration ¶
type NativeHistogramConfigApplyConfiguration struct { ScrapeClassicHistograms *bool `json:"scrapeClassicHistograms,omitempty"` NativeHistogramBucketLimit *uint64 `json:"nativeHistogramBucketLimit,omitempty"` NativeHistogramMinBucketFactor *resource.Quantity `json:"nativeHistogramMinBucketFactor,omitempty"` }
NativeHistogramConfigApplyConfiguration represents a declarative configuration of the NativeHistogramConfig type for use with apply.
func NativeHistogramConfig ¶
func NativeHistogramConfig() *NativeHistogramConfigApplyConfiguration
NativeHistogramConfigApplyConfiguration constructs a declarative configuration of the NativeHistogramConfig type for use with apply.
func (*NativeHistogramConfigApplyConfiguration) WithNativeHistogramBucketLimit ¶
func (b *NativeHistogramConfigApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *NativeHistogramConfigApplyConfiguration
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 (*NativeHistogramConfigApplyConfiguration) WithNativeHistogramMinBucketFactor ¶
func (b *NativeHistogramConfigApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *NativeHistogramConfigApplyConfiguration
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 (*NativeHistogramConfigApplyConfiguration) WithScrapeClassicHistograms ¶
func (b *NativeHistogramConfigApplyConfiguration) WithScrapeClassicHistograms(value bool) *NativeHistogramConfigApplyConfiguration
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.
type OAuth2ApplyConfiguration ¶
type OAuth2ApplyConfiguration struct { ClientID *SecretOrConfigMapApplyConfiguration `json:"clientId,omitempty"` ClientSecret *corev1.SecretKeySelector `json:"clientSecret,omitempty"` TokenURL *string `json:"tokenUrl,omitempty"` Scopes []string `json:"scopes,omitempty"` EndpointParams map[string]string `json:"endpointParams,omitempty"` TLSConfig *SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyConfigApplyConfiguration `json:",inline"` }
OAuth2ApplyConfiguration represents a declarative configuration of the OAuth2 type for use with apply.
func OAuth2 ¶
func OAuth2() *OAuth2ApplyConfiguration
OAuth2ApplyConfiguration constructs a declarative configuration of the OAuth2 type for use with apply.
func (*OAuth2ApplyConfiguration) WithClientID ¶
func (b *OAuth2ApplyConfiguration) WithClientID(value *SecretOrConfigMapApplyConfiguration) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithClientSecret ¶
func (b *OAuth2ApplyConfiguration) WithClientSecret(value corev1.SecretKeySelector) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithEndpointParams ¶
func (b *OAuth2ApplyConfiguration) WithEndpointParams(entries map[string]string) *OAuth2ApplyConfiguration
WithEndpointParams puts the entries into the EndpointParams 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 EndpointParams field, overwriting an existing map entries in EndpointParams field with the same key.
func (*OAuth2ApplyConfiguration) WithNoProxy ¶
func (b *OAuth2ApplyConfiguration) WithNoProxy(value string) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithProxyConnectHeader ¶
func (b *OAuth2ApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithProxyFromEnvironment ¶
func (b *OAuth2ApplyConfiguration) WithProxyFromEnvironment(value bool) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithProxyURL ¶
func (b *OAuth2ApplyConfiguration) WithProxyURL(value string) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithScopes ¶
func (b *OAuth2ApplyConfiguration) WithScopes(values ...string) *OAuth2ApplyConfiguration
WithScopes adds the given value to the Scopes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Scopes field.
func (*OAuth2ApplyConfiguration) WithTLSConfig ¶
func (b *OAuth2ApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *OAuth2ApplyConfiguration
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 (*OAuth2ApplyConfiguration) WithTokenURL ¶
func (b *OAuth2ApplyConfiguration) WithTokenURL(value string) *OAuth2ApplyConfiguration
WithTokenURL sets the TokenURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TokenURL field is set to the value of the last call.
type OTLPConfigApplyConfiguration ¶
type OTLPConfigApplyConfiguration struct {
PromoteResourceAttributes []string `json:"promoteResourceAttributes,omitempty"`
}
OTLPConfigApplyConfiguration represents a declarative configuration of the OTLPConfig type for use with apply.
func OTLPConfig ¶
func OTLPConfig() *OTLPConfigApplyConfiguration
OTLPConfigApplyConfiguration constructs a declarative configuration of the OTLPConfig type for use with apply.
func (*OTLPConfigApplyConfiguration) WithPromoteResourceAttributes ¶
func (b *OTLPConfigApplyConfiguration) WithPromoteResourceAttributes(values ...string) *OTLPConfigApplyConfiguration
WithPromoteResourceAttributes adds the given value to the PromoteResourceAttributes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PromoteResourceAttributes field.
type ObjectReferenceApplyConfiguration ¶
type ObjectReferenceApplyConfiguration struct { Group *string `json:"group,omitempty"` Resource *string `json:"resource,omitempty"` Namespace *string `json:"namespace,omitempty"` Name *string `json:"name,omitempty"` }
ObjectReferenceApplyConfiguration represents a declarative configuration of the ObjectReference type for use with apply.
func ObjectReference ¶
func ObjectReference() *ObjectReferenceApplyConfiguration
ObjectReferenceApplyConfiguration constructs a declarative configuration of the ObjectReference type for use with apply.
func (*ObjectReferenceApplyConfiguration) WithGroup ¶
func (b *ObjectReferenceApplyConfiguration) WithGroup(value string) *ObjectReferenceApplyConfiguration
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 (*ObjectReferenceApplyConfiguration) WithName ¶
func (b *ObjectReferenceApplyConfiguration) WithName(value string) *ObjectReferenceApplyConfiguration
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 (*ObjectReferenceApplyConfiguration) WithNamespace ¶
func (b *ObjectReferenceApplyConfiguration) WithNamespace(value string) *ObjectReferenceApplyConfiguration
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 (*ObjectReferenceApplyConfiguration) WithResource ¶
func (b *ObjectReferenceApplyConfiguration) WithResource(value string) *ObjectReferenceApplyConfiguration
WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.
type PodDNSConfigApplyConfiguration ¶
type PodDNSConfigApplyConfiguration struct { Nameservers []string `json:"nameservers,omitempty"` Searches []string `json:"searches,omitempty"` Options []PodDNSConfigOptionApplyConfiguration `json:"options,omitempty"` }
PodDNSConfigApplyConfiguration represents a declarative configuration of the PodDNSConfig type for use with apply.
func PodDNSConfig ¶
func PodDNSConfig() *PodDNSConfigApplyConfiguration
PodDNSConfigApplyConfiguration constructs a declarative configuration of the PodDNSConfig type for use with apply.
func (*PodDNSConfigApplyConfiguration) WithNameservers ¶
func (b *PodDNSConfigApplyConfiguration) WithNameservers(values ...string) *PodDNSConfigApplyConfiguration
WithNameservers adds the given value to the Nameservers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Nameservers field.
func (*PodDNSConfigApplyConfiguration) WithOptions ¶
func (b *PodDNSConfigApplyConfiguration) WithOptions(values ...*PodDNSConfigOptionApplyConfiguration) *PodDNSConfigApplyConfiguration
WithOptions adds the given value to the Options field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Options field.
func (*PodDNSConfigApplyConfiguration) WithSearches ¶
func (b *PodDNSConfigApplyConfiguration) WithSearches(values ...string) *PodDNSConfigApplyConfiguration
WithSearches adds the given value to the Searches field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Searches field.
type PodDNSConfigOptionApplyConfiguration ¶
type PodDNSConfigOptionApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
PodDNSConfigOptionApplyConfiguration represents a declarative configuration of the PodDNSConfigOption type for use with apply.
func PodDNSConfigOption ¶
func PodDNSConfigOption() *PodDNSConfigOptionApplyConfiguration
PodDNSConfigOptionApplyConfiguration constructs a declarative configuration of the PodDNSConfigOption type for use with apply.
func (*PodDNSConfigOptionApplyConfiguration) WithName ¶
func (b *PodDNSConfigOptionApplyConfiguration) WithName(value string) *PodDNSConfigOptionApplyConfiguration
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 (*PodDNSConfigOptionApplyConfiguration) WithValue ¶
func (b *PodDNSConfigOptionApplyConfiguration) WithValue(value string) *PodDNSConfigOptionApplyConfiguration
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 PodMetricsEndpointApplyConfiguration ¶
type PodMetricsEndpointApplyConfiguration struct { Port *string `json:"port,omitempty"` TargetPort *intstr.IntOrString `json:"targetPort,omitempty"` Path *string `json:"path,omitempty"` Scheme *string `json:"scheme,omitempty"` Params map[string][]string `json:"params,omitempty"` Interval *v1.Duration `json:"interval,omitempty"` ScrapeTimeout *v1.Duration `json:"scrapeTimeout,omitempty"` TLSConfig *SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` HonorLabels *bool `json:"honorLabels,omitempty"` HonorTimestamps *bool `json:"honorTimestamps,omitempty"` TrackTimestampsStaleness *bool `json:"trackTimestampsStaleness,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` MetricRelabelConfigs []RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"` RelabelConfigs []RelabelConfigApplyConfiguration `json:"relabelings,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` EnableHttp2 *bool `json:"enableHttp2,omitempty"` FilterRunning *bool `json:"filterRunning,omitempty"` }
PodMetricsEndpointApplyConfiguration represents a declarative configuration of the PodMetricsEndpoint type for use with apply.
func PodMetricsEndpoint ¶
func PodMetricsEndpoint() *PodMetricsEndpointApplyConfiguration
PodMetricsEndpointApplyConfiguration constructs a declarative configuration of the PodMetricsEndpoint type for use with apply.
func (*PodMetricsEndpointApplyConfiguration) WithAuthorization ¶
func (b *PodMetricsEndpointApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithBasicAuth ¶
func (b *PodMetricsEndpointApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithBearerTokenSecret ¶
func (b *PodMetricsEndpointApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithEnableHttp2 ¶
func (b *PodMetricsEndpointApplyConfiguration) WithEnableHttp2(value bool) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithFilterRunning ¶
func (b *PodMetricsEndpointApplyConfiguration) WithFilterRunning(value bool) *PodMetricsEndpointApplyConfiguration
WithFilterRunning sets the FilterRunning field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FilterRunning field is set to the value of the last call.
func (*PodMetricsEndpointApplyConfiguration) WithFollowRedirects ¶
func (b *PodMetricsEndpointApplyConfiguration) WithFollowRedirects(value bool) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithHonorLabels ¶
func (b *PodMetricsEndpointApplyConfiguration) WithHonorLabels(value bool) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithHonorTimestamps ¶
func (b *PodMetricsEndpointApplyConfiguration) WithHonorTimestamps(value bool) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithInterval ¶
func (b *PodMetricsEndpointApplyConfiguration) WithInterval(value v1.Duration) *PodMetricsEndpointApplyConfiguration
WithInterval sets the Interval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interval field is set to the value of the last call.
func (*PodMetricsEndpointApplyConfiguration) WithMetricRelabelConfigs ¶
func (b *PodMetricsEndpointApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithOAuth2 ¶
func (b *PodMetricsEndpointApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithParams ¶
func (b *PodMetricsEndpointApplyConfiguration) WithParams(entries map[string][]string) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithPath ¶
func (b *PodMetricsEndpointApplyConfiguration) WithPath(value string) *PodMetricsEndpointApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*PodMetricsEndpointApplyConfiguration) WithPort ¶
func (b *PodMetricsEndpointApplyConfiguration) WithPort(value string) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithProxyURL ¶
func (b *PodMetricsEndpointApplyConfiguration) WithProxyURL(value string) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithRelabelConfigs ¶
func (b *PodMetricsEndpointApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithScheme ¶
func (b *PodMetricsEndpointApplyConfiguration) WithScheme(value string) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithScrapeTimeout ¶
func (b *PodMetricsEndpointApplyConfiguration) WithScrapeTimeout(value v1.Duration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithTLSConfig ¶
func (b *PodMetricsEndpointApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
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 (*PodMetricsEndpointApplyConfiguration) WithTargetPort ¶
func (b *PodMetricsEndpointApplyConfiguration) WithTargetPort(value intstr.IntOrString) *PodMetricsEndpointApplyConfiguration
WithTargetPort sets the TargetPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetPort field is set to the value of the last call.
func (*PodMetricsEndpointApplyConfiguration) WithTrackTimestampsStaleness ¶
func (b *PodMetricsEndpointApplyConfiguration) WithTrackTimestampsStaleness(value bool) *PodMetricsEndpointApplyConfiguration
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 PodMonitorApplyConfiguration ¶
type PodMonitorApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PodMonitorSpecApplyConfiguration `json:"spec,omitempty"` }
PodMonitorApplyConfiguration represents a declarative configuration of the PodMonitor type for use with apply.
func PodMonitor ¶
func PodMonitor(name, namespace string) *PodMonitorApplyConfiguration
PodMonitor constructs a declarative configuration of the PodMonitor type for use with apply.
func (*PodMonitorApplyConfiguration) GetName ¶
func (b *PodMonitorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PodMonitorApplyConfiguration) WithAPIVersion ¶
func (b *PodMonitorApplyConfiguration) WithAPIVersion(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithAnnotations ¶
func (b *PodMonitorApplyConfiguration) WithAnnotations(entries map[string]string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithCreationTimestamp ¶
func (b *PodMonitorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PodMonitorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithDeletionTimestamp ¶
func (b *PodMonitorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithFinalizers ¶
func (b *PodMonitorApplyConfiguration) WithFinalizers(values ...string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithGenerateName ¶
func (b *PodMonitorApplyConfiguration) WithGenerateName(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithGeneration ¶
func (b *PodMonitorApplyConfiguration) WithGeneration(value int64) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithKind ¶
func (b *PodMonitorApplyConfiguration) WithKind(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithLabels ¶
func (b *PodMonitorApplyConfiguration) WithLabels(entries map[string]string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithName ¶
func (b *PodMonitorApplyConfiguration) WithName(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithNamespace ¶
func (b *PodMonitorApplyConfiguration) WithNamespace(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithOwnerReferences ¶
func (b *PodMonitorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithResourceVersion ¶
func (b *PodMonitorApplyConfiguration) WithResourceVersion(value string) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithSpec ¶
func (b *PodMonitorApplyConfiguration) WithSpec(value *PodMonitorSpecApplyConfiguration) *PodMonitorApplyConfiguration
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 (*PodMonitorApplyConfiguration) WithUID ¶
func (b *PodMonitorApplyConfiguration) WithUID(value types.UID) *PodMonitorApplyConfiguration
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 PodMonitorSpecApplyConfiguration ¶
type PodMonitorSpecApplyConfiguration struct { JobLabel *string `json:"jobLabel,omitempty"` PodTargetLabels []string `json:"podTargetLabels,omitempty"` PodMetricsEndpoints []PodMetricsEndpointApplyConfiguration `json:"podMetricsEndpoints,omitempty"` Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` SampleLimit *uint64 `json:"sampleLimit,omitempty"` TargetLimit *uint64 `json:"targetLimit,omitempty"` ScrapeProtocols []monitoringv1.ScrapeProtocol `json:"scrapeProtocols,omitempty"` LabelLimit *uint64 `json:"labelLimit,omitempty"` LabelNameLengthLimit *uint64 `json:"labelNameLengthLimit,omitempty"` LabelValueLengthLimit *uint64 `json:"labelValueLengthLimit,omitempty"` NativeHistogramConfigApplyConfiguration `json:",inline"` KeepDroppedTargets *uint64 `json:"keepDroppedTargets,omitempty"` AttachMetadata *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"` ScrapeClassName *string `json:"scrapeClass,omitempty"` BodySizeLimit *monitoringv1.ByteSize `json:"bodySizeLimit,omitempty"` }
PodMonitorSpecApplyConfiguration represents a declarative configuration of the PodMonitorSpec type for use with apply.
func PodMonitorSpec ¶
func PodMonitorSpec() *PodMonitorSpecApplyConfiguration
PodMonitorSpecApplyConfiguration constructs a declarative configuration of the PodMonitorSpec type for use with apply.
func (*PodMonitorSpecApplyConfiguration) WithAttachMetadata ¶
func (b *PodMonitorSpecApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithBodySizeLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithJobLabel ¶
func (b *PodMonitorSpecApplyConfiguration) WithJobLabel(value string) *PodMonitorSpecApplyConfiguration
WithJobLabel sets the JobLabel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobLabel field is set to the value of the last call.
func (*PodMonitorSpecApplyConfiguration) WithKeepDroppedTargets ¶
func (b *PodMonitorSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithLabelLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithLabelLimit(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithLabelNameLengthLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithLabelValueLengthLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithNamespaceSelector ¶
func (b *PodMonitorSpecApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *PodMonitorSpecApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*PodMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor ¶
func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithPodMetricsEndpoints ¶
func (b *PodMonitorSpecApplyConfiguration) WithPodMetricsEndpoints(values ...*PodMetricsEndpointApplyConfiguration) *PodMonitorSpecApplyConfiguration
WithPodMetricsEndpoints adds the given value to the PodMetricsEndpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PodMetricsEndpoints field.
func (*PodMonitorSpecApplyConfiguration) WithPodTargetLabels ¶
func (b *PodMonitorSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithSampleLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithScrapeClassName ¶
func (b *PodMonitorSpecApplyConfiguration) WithScrapeClassName(value string) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithScrapeClassicHistograms ¶
func (b *PodMonitorSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithScrapeProtocols ¶
func (b *PodMonitorSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PodMonitorSpecApplyConfiguration
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 (*PodMonitorSpecApplyConfiguration) WithSelector ¶
func (b *PodMonitorSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *PodMonitorSpecApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*PodMonitorSpecApplyConfiguration) WithTargetLimit ¶
func (b *PodMonitorSpecApplyConfiguration) WithTargetLimit(value uint64) *PodMonitorSpecApplyConfiguration
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.
type ProbeApplyConfiguration ¶
type ProbeApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ProbeSpecApplyConfiguration `json:"spec,omitempty"` }
ProbeApplyConfiguration represents a declarative configuration of the Probe type for use with apply.
func Probe ¶
func Probe(name, namespace string) *ProbeApplyConfiguration
Probe constructs a declarative configuration of the Probe type for use with apply.
func (*ProbeApplyConfiguration) GetName ¶
func (b *ProbeApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ProbeApplyConfiguration) WithAPIVersion ¶
func (b *ProbeApplyConfiguration) WithAPIVersion(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithAnnotations ¶
func (b *ProbeApplyConfiguration) WithAnnotations(entries map[string]string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithCreationTimestamp ¶
func (b *ProbeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ProbeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithDeletionTimestamp ¶
func (b *ProbeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithFinalizers ¶
func (b *ProbeApplyConfiguration) WithFinalizers(values ...string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithGenerateName ¶
func (b *ProbeApplyConfiguration) WithGenerateName(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithGeneration ¶
func (b *ProbeApplyConfiguration) WithGeneration(value int64) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithKind ¶
func (b *ProbeApplyConfiguration) WithKind(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithLabels ¶
func (b *ProbeApplyConfiguration) WithLabels(entries map[string]string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithName ¶
func (b *ProbeApplyConfiguration) WithName(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithNamespace ¶
func (b *ProbeApplyConfiguration) WithNamespace(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithOwnerReferences ¶
func (b *ProbeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithResourceVersion ¶
func (b *ProbeApplyConfiguration) WithResourceVersion(value string) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithSpec ¶
func (b *ProbeApplyConfiguration) WithSpec(value *ProbeSpecApplyConfiguration) *ProbeApplyConfiguration
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 (*ProbeApplyConfiguration) WithUID ¶
func (b *ProbeApplyConfiguration) WithUID(value types.UID) *ProbeApplyConfiguration
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 ProbeSpecApplyConfiguration ¶
type ProbeSpecApplyConfiguration struct { JobName *string `json:"jobName,omitempty"` ProberSpec *ProberSpecApplyConfiguration `json:"prober,omitempty"` Module *string `json:"module,omitempty"` Targets *ProbeTargetsApplyConfiguration `json:"targets,omitempty"` Interval *monitoringv1.Duration `json:"interval,omitempty"` ScrapeTimeout *monitoringv1.Duration `json:"scrapeTimeout,omitempty"` TLSConfig *SafeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` MetricRelabelConfigs []RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` SampleLimit *uint64 `json:"sampleLimit,omitempty"` TargetLimit *uint64 `json:"targetLimit,omitempty"` ScrapeProtocols []monitoringv1.ScrapeProtocol `json:"scrapeProtocols,omitempty"` LabelLimit *uint64 `json:"labelLimit,omitempty"` LabelNameLengthLimit *uint64 `json:"labelNameLengthLimit,omitempty"` LabelValueLengthLimit *uint64 `json:"labelValueLengthLimit,omitempty"` NativeHistogramConfigApplyConfiguration `json:",inline"` KeepDroppedTargets *uint64 `json:"keepDroppedTargets,omitempty"` ScrapeClassName *string `json:"scrapeClass,omitempty"` }
ProbeSpecApplyConfiguration represents a declarative configuration of the ProbeSpec type for use with apply.
func ProbeSpec ¶
func ProbeSpec() *ProbeSpecApplyConfiguration
ProbeSpecApplyConfiguration constructs a declarative configuration of the ProbeSpec type for use with apply.
func (*ProbeSpecApplyConfiguration) WithAuthorization ¶
func (b *ProbeSpecApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithBasicAuth ¶
func (b *ProbeSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithBearerTokenSecret ¶
func (b *ProbeSpecApplyConfiguration) WithBearerTokenSecret(value corev1.SecretKeySelector) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithInterval ¶
func (b *ProbeSpecApplyConfiguration) WithInterval(value monitoringv1.Duration) *ProbeSpecApplyConfiguration
WithInterval sets the Interval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interval field is set to the value of the last call.
func (*ProbeSpecApplyConfiguration) WithJobName ¶
func (b *ProbeSpecApplyConfiguration) WithJobName(value string) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithKeepDroppedTargets ¶
func (b *ProbeSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithLabelLimit ¶
func (b *ProbeSpecApplyConfiguration) WithLabelLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithLabelNameLengthLimit ¶
func (b *ProbeSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithLabelValueLengthLimit ¶
func (b *ProbeSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithMetricRelabelConfigs ¶
func (b *ProbeSpecApplyConfiguration) WithMetricRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithModule ¶
func (b *ProbeSpecApplyConfiguration) WithModule(value string) *ProbeSpecApplyConfiguration
WithModule sets the Module field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Module field is set to the value of the last call.
func (*ProbeSpecApplyConfiguration) WithNativeHistogramBucketLimit ¶
func (b *ProbeSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithNativeHistogramMinBucketFactor ¶
func (b *ProbeSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithOAuth2 ¶
func (b *ProbeSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithProberSpec ¶
func (b *ProbeSpecApplyConfiguration) WithProberSpec(value *ProberSpecApplyConfiguration) *ProbeSpecApplyConfiguration
WithProberSpec sets the ProberSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProberSpec field is set to the value of the last call.
func (*ProbeSpecApplyConfiguration) WithSampleLimit ¶
func (b *ProbeSpecApplyConfiguration) WithSampleLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithScrapeClassName ¶
func (b *ProbeSpecApplyConfiguration) WithScrapeClassName(value string) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithScrapeClassicHistograms ¶
func (b *ProbeSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithScrapeProtocols ¶
func (b *ProbeSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithScrapeTimeout ¶
func (b *ProbeSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithTLSConfig ¶
func (b *ProbeSpecApplyConfiguration) WithTLSConfig(value *SafeTLSConfigApplyConfiguration) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithTargetLimit ¶
func (b *ProbeSpecApplyConfiguration) WithTargetLimit(value uint64) *ProbeSpecApplyConfiguration
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 (*ProbeSpecApplyConfiguration) WithTargets ¶
func (b *ProbeSpecApplyConfiguration) WithTargets(value *ProbeTargetsApplyConfiguration) *ProbeSpecApplyConfiguration
WithTargets sets the Targets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Targets field is set to the value of the last call.
type ProbeTargetIngressApplyConfiguration ¶
type ProbeTargetIngressApplyConfiguration struct { Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` RelabelConfigs []RelabelConfigApplyConfiguration `json:"relabelingConfigs,omitempty"` }
ProbeTargetIngressApplyConfiguration represents a declarative configuration of the ProbeTargetIngress type for use with apply.
func ProbeTargetIngress ¶
func ProbeTargetIngress() *ProbeTargetIngressApplyConfiguration
ProbeTargetIngressApplyConfiguration constructs a declarative configuration of the ProbeTargetIngress type for use with apply.
func (*ProbeTargetIngressApplyConfiguration) WithNamespaceSelector ¶
func (b *ProbeTargetIngressApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *ProbeTargetIngressApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*ProbeTargetIngressApplyConfiguration) WithRelabelConfigs ¶
func (b *ProbeTargetIngressApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeTargetIngressApplyConfiguration
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 (*ProbeTargetIngressApplyConfiguration) WithSelector ¶
func (b *ProbeTargetIngressApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *ProbeTargetIngressApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
type ProbeTargetStaticConfigApplyConfiguration ¶
type ProbeTargetStaticConfigApplyConfiguration struct { Targets []string `json:"static,omitempty"` Labels map[string]string `json:"labels,omitempty"` RelabelConfigs []RelabelConfigApplyConfiguration `json:"relabelingConfigs,omitempty"` }
ProbeTargetStaticConfigApplyConfiguration represents a declarative configuration of the ProbeTargetStaticConfig type for use with apply.
func ProbeTargetStaticConfig ¶
func ProbeTargetStaticConfig() *ProbeTargetStaticConfigApplyConfiguration
ProbeTargetStaticConfigApplyConfiguration constructs a declarative configuration of the ProbeTargetStaticConfig type for use with apply.
func (*ProbeTargetStaticConfigApplyConfiguration) WithLabels ¶
func (b *ProbeTargetStaticConfigApplyConfiguration) WithLabels(entries map[string]string) *ProbeTargetStaticConfigApplyConfiguration
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 (*ProbeTargetStaticConfigApplyConfiguration) WithRelabelConfigs ¶
func (b *ProbeTargetStaticConfigApplyConfiguration) WithRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *ProbeTargetStaticConfigApplyConfiguration
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 (*ProbeTargetStaticConfigApplyConfiguration) WithTargets ¶
func (b *ProbeTargetStaticConfigApplyConfiguration) WithTargets(values ...string) *ProbeTargetStaticConfigApplyConfiguration
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 ProbeTargetsApplyConfiguration ¶
type ProbeTargetsApplyConfiguration struct { StaticConfig *ProbeTargetStaticConfigApplyConfiguration `json:"staticConfig,omitempty"` Ingress *ProbeTargetIngressApplyConfiguration `json:"ingress,omitempty"` }
ProbeTargetsApplyConfiguration represents a declarative configuration of the ProbeTargets type for use with apply.
func ProbeTargets ¶
func ProbeTargets() *ProbeTargetsApplyConfiguration
ProbeTargetsApplyConfiguration constructs a declarative configuration of the ProbeTargets type for use with apply.
func (*ProbeTargetsApplyConfiguration) WithIngress ¶
func (b *ProbeTargetsApplyConfiguration) WithIngress(value *ProbeTargetIngressApplyConfiguration) *ProbeTargetsApplyConfiguration
WithIngress sets the Ingress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ingress field is set to the value of the last call.
func (*ProbeTargetsApplyConfiguration) WithStaticConfig ¶
func (b *ProbeTargetsApplyConfiguration) WithStaticConfig(value *ProbeTargetStaticConfigApplyConfiguration) *ProbeTargetsApplyConfiguration
WithStaticConfig sets the StaticConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StaticConfig field is set to the value of the last call.
type ProberSpecApplyConfiguration ¶
type ProberSpecApplyConfiguration struct { URL *string `json:"url,omitempty"` Scheme *string `json:"scheme,omitempty"` Path *string `json:"path,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` }
ProberSpecApplyConfiguration represents a declarative configuration of the ProberSpec type for use with apply.
func ProberSpec ¶
func ProberSpec() *ProberSpecApplyConfiguration
ProberSpecApplyConfiguration constructs a declarative configuration of the ProberSpec type for use with apply.
func (*ProberSpecApplyConfiguration) WithPath ¶
func (b *ProberSpecApplyConfiguration) WithPath(value string) *ProberSpecApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*ProberSpecApplyConfiguration) WithProxyURL ¶
func (b *ProberSpecApplyConfiguration) WithProxyURL(value string) *ProberSpecApplyConfiguration
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 (*ProberSpecApplyConfiguration) WithScheme ¶
func (b *ProberSpecApplyConfiguration) WithScheme(value string) *ProberSpecApplyConfiguration
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 (*ProberSpecApplyConfiguration) WithURL ¶
func (b *ProberSpecApplyConfiguration) WithURL(value string) *ProberSpecApplyConfiguration
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 PrometheusApplyConfiguration ¶
type PrometheusApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrometheusSpecApplyConfiguration `json:"spec,omitempty"` Status *PrometheusStatusApplyConfiguration `json:"status,omitempty"` }
PrometheusApplyConfiguration represents a declarative configuration of the Prometheus type for use with apply.
func Prometheus ¶
func Prometheus(name, namespace string) *PrometheusApplyConfiguration
Prometheus constructs a declarative configuration of the Prometheus type for use with apply.
func (*PrometheusApplyConfiguration) GetName ¶
func (b *PrometheusApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PrometheusApplyConfiguration) WithAPIVersion ¶
func (b *PrometheusApplyConfiguration) WithAPIVersion(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithAnnotations ¶
func (b *PrometheusApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithCreationTimestamp ¶
func (b *PrometheusApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PrometheusApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithDeletionTimestamp ¶
func (b *PrometheusApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithFinalizers ¶
func (b *PrometheusApplyConfiguration) WithFinalizers(values ...string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithGenerateName ¶
func (b *PrometheusApplyConfiguration) WithGenerateName(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithGeneration ¶
func (b *PrometheusApplyConfiguration) WithGeneration(value int64) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithKind ¶
func (b *PrometheusApplyConfiguration) WithKind(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithLabels ¶
func (b *PrometheusApplyConfiguration) WithLabels(entries map[string]string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithName ¶
func (b *PrometheusApplyConfiguration) WithName(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithNamespace ¶
func (b *PrometheusApplyConfiguration) WithNamespace(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithOwnerReferences ¶
func (b *PrometheusApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithResourceVersion ¶
func (b *PrometheusApplyConfiguration) WithResourceVersion(value string) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithSpec ¶
func (b *PrometheusApplyConfiguration) WithSpec(value *PrometheusSpecApplyConfiguration) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithStatus ¶
func (b *PrometheusApplyConfiguration) WithStatus(value *PrometheusStatusApplyConfiguration) *PrometheusApplyConfiguration
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 (*PrometheusApplyConfiguration) WithUID ¶
func (b *PrometheusApplyConfiguration) WithUID(value types.UID) *PrometheusApplyConfiguration
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 PrometheusRuleApplyConfiguration ¶
type PrometheusRuleApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrometheusRuleSpecApplyConfiguration `json:"spec,omitempty"` }
PrometheusRuleApplyConfiguration represents a declarative configuration of the PrometheusRule type for use with apply.
func PrometheusRule ¶
func PrometheusRule(name, namespace string) *PrometheusRuleApplyConfiguration
PrometheusRule constructs a declarative configuration of the PrometheusRule type for use with apply.
func (*PrometheusRuleApplyConfiguration) GetName ¶
func (b *PrometheusRuleApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PrometheusRuleApplyConfiguration) WithAPIVersion ¶
func (b *PrometheusRuleApplyConfiguration) WithAPIVersion(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithAnnotations ¶
func (b *PrometheusRuleApplyConfiguration) WithAnnotations(entries map[string]string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithCreationTimestamp ¶
func (b *PrometheusRuleApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PrometheusRuleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithDeletionTimestamp ¶
func (b *PrometheusRuleApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithFinalizers ¶
func (b *PrometheusRuleApplyConfiguration) WithFinalizers(values ...string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithGenerateName ¶
func (b *PrometheusRuleApplyConfiguration) WithGenerateName(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithGeneration ¶
func (b *PrometheusRuleApplyConfiguration) WithGeneration(value int64) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithKind ¶
func (b *PrometheusRuleApplyConfiguration) WithKind(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithLabels ¶
func (b *PrometheusRuleApplyConfiguration) WithLabels(entries map[string]string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithName ¶
func (b *PrometheusRuleApplyConfiguration) WithName(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithNamespace ¶
func (b *PrometheusRuleApplyConfiguration) WithNamespace(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithOwnerReferences ¶
func (b *PrometheusRuleApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithResourceVersion ¶
func (b *PrometheusRuleApplyConfiguration) WithResourceVersion(value string) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithSpec ¶
func (b *PrometheusRuleApplyConfiguration) WithSpec(value *PrometheusRuleSpecApplyConfiguration) *PrometheusRuleApplyConfiguration
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 (*PrometheusRuleApplyConfiguration) WithUID ¶
func (b *PrometheusRuleApplyConfiguration) WithUID(value types.UID) *PrometheusRuleApplyConfiguration
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 PrometheusRuleExcludeConfigApplyConfiguration ¶
type PrometheusRuleExcludeConfigApplyConfiguration struct { RuleNamespace *string `json:"ruleNamespace,omitempty"` RuleName *string `json:"ruleName,omitempty"` }
PrometheusRuleExcludeConfigApplyConfiguration represents a declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.
func PrometheusRuleExcludeConfig ¶
func PrometheusRuleExcludeConfig() *PrometheusRuleExcludeConfigApplyConfiguration
PrometheusRuleExcludeConfigApplyConfiguration constructs a declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.
func (*PrometheusRuleExcludeConfigApplyConfiguration) WithRuleName ¶
func (b *PrometheusRuleExcludeConfigApplyConfiguration) WithRuleName(value string) *PrometheusRuleExcludeConfigApplyConfiguration
WithRuleName sets the RuleName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleName field is set to the value of the last call.
func (*PrometheusRuleExcludeConfigApplyConfiguration) WithRuleNamespace ¶
func (b *PrometheusRuleExcludeConfigApplyConfiguration) WithRuleNamespace(value string) *PrometheusRuleExcludeConfigApplyConfiguration
WithRuleNamespace sets the RuleNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleNamespace field is set to the value of the last call.
type PrometheusRuleSpecApplyConfiguration ¶
type PrometheusRuleSpecApplyConfiguration struct {
Groups []RuleGroupApplyConfiguration `json:"groups,omitempty"`
}
PrometheusRuleSpecApplyConfiguration represents a declarative configuration of the PrometheusRuleSpec type for use with apply.
func PrometheusRuleSpec ¶
func PrometheusRuleSpec() *PrometheusRuleSpecApplyConfiguration
PrometheusRuleSpecApplyConfiguration constructs a declarative configuration of the PrometheusRuleSpec type for use with apply.
func (*PrometheusRuleSpecApplyConfiguration) WithGroups ¶
func (b *PrometheusRuleSpecApplyConfiguration) WithGroups(values ...*RuleGroupApplyConfiguration) *PrometheusRuleSpecApplyConfiguration
WithGroups adds the given value to the Groups field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Groups field.
type PrometheusSpecApplyConfiguration ¶
type PrometheusSpecApplyConfiguration struct { CommonPrometheusFieldsApplyConfiguration `json:",inline"` Runtime *RuntimeConfigApplyConfiguration `json:"runtime,omitempty"` BaseImage *string `json:"baseImage,omitempty"` Tag *string `json:"tag,omitempty"` SHA *string `json:"sha,omitempty"` Retention *monitoringv1.Duration `json:"retention,omitempty"` RetentionSize *monitoringv1.ByteSize `json:"retentionSize,omitempty"` DisableCompaction *bool `json:"disableCompaction,omitempty"` Rules *RulesApplyConfiguration `json:"rules,omitempty"` PrometheusRulesExcludedFromEnforce []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"` RuleSelector *metav1.LabelSelectorApplyConfiguration `json:"ruleSelector,omitempty"` RuleNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"ruleNamespaceSelector,omitempty"` Query *QuerySpecApplyConfiguration `json:"query,omitempty"` Alerting *AlertingSpecApplyConfiguration `json:"alerting,omitempty"` AdditionalAlertRelabelConfigs *corev1.SecretKeySelector `json:"additionalAlertRelabelConfigs,omitempty"` AdditionalAlertManagerConfigs *corev1.SecretKeySelector `json:"additionalAlertManagerConfigs,omitempty"` RemoteRead []RemoteReadSpecApplyConfiguration `json:"remoteRead,omitempty"` Thanos *ThanosSpecApplyConfiguration `json:"thanos,omitempty"` QueryLogFile *string `json:"queryLogFile,omitempty"` AllowOverlappingBlocks *bool `json:"allowOverlappingBlocks,omitempty"` Exemplars *ExemplarsApplyConfiguration `json:"exemplars,omitempty"` EvaluationInterval *monitoringv1.Duration `json:"evaluationInterval,omitempty"` RuleQueryOffset *monitoringv1.Duration `json:"ruleQueryOffset,omitempty"` EnableAdminAPI *bool `json:"enableAdminAPI,omitempty"` }
PrometheusSpecApplyConfiguration represents a declarative configuration of the PrometheusSpec type for use with apply.
func PrometheusSpec ¶
func PrometheusSpec() *PrometheusSpecApplyConfiguration
PrometheusSpecApplyConfiguration constructs a declarative configuration of the PrometheusSpec type for use with apply.
func (*PrometheusSpecApplyConfiguration) WithAPIServerConfig ¶
func (b *PrometheusSpecApplyConfiguration) WithAPIServerConfig(value *APIServerConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithAdditionalAlertManagerConfigs ¶
func (b *PrometheusSpecApplyConfiguration) WithAdditionalAlertManagerConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
WithAdditionalAlertManagerConfigs sets the AdditionalAlertManagerConfigs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdditionalAlertManagerConfigs field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithAdditionalAlertRelabelConfigs ¶
func (b *PrometheusSpecApplyConfiguration) WithAdditionalAlertRelabelConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
WithAdditionalAlertRelabelConfigs sets the AdditionalAlertRelabelConfigs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdditionalAlertRelabelConfigs field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithAdditionalArgs ¶
func (b *PrometheusSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithAdditionalScrapeConfigs ¶
func (b *PrometheusSpecApplyConfiguration) WithAdditionalScrapeConfigs(value corev1.SecretKeySelector) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithAffinity ¶
func (b *PrometheusSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithAlerting ¶
func (b *PrometheusSpecApplyConfiguration) WithAlerting(value *AlertingSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
WithAlerting sets the Alerting field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alerting field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithAllowOverlappingBlocks ¶
func (b *PrometheusSpecApplyConfiguration) WithAllowOverlappingBlocks(value bool) *PrometheusSpecApplyConfiguration
WithAllowOverlappingBlocks sets the AllowOverlappingBlocks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowOverlappingBlocks field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs ¶
func (b *PrometheusSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs(value *ArbitraryFSAccessThroughSMsConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithAutomountServiceAccountToken ¶
func (b *PrometheusSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithBaseImage ¶
func (b *PrometheusSpecApplyConfiguration) WithBaseImage(value string) *PrometheusSpecApplyConfiguration
WithBaseImage sets the BaseImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseImage field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithBodySizeLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithConfigMaps ¶
func (b *PrometheusSpecApplyConfiguration) WithConfigMaps(values ...string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithContainers ¶
func (b *PrometheusSpecApplyConfiguration) WithContainers(values ...corev1.Container) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithDNSConfig ¶
func (b *PrometheusSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithDNSPolicy ¶
func (b *PrometheusSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithDisableCompaction ¶
func (b *PrometheusSpecApplyConfiguration) WithDisableCompaction(value bool) *PrometheusSpecApplyConfiguration
WithDisableCompaction sets the DisableCompaction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableCompaction field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithEnableAdminAPI ¶
func (b *PrometheusSpecApplyConfiguration) WithEnableAdminAPI(value bool) *PrometheusSpecApplyConfiguration
WithEnableAdminAPI sets the EnableAdminAPI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableAdminAPI field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithEnableFeatures ¶
func (b *PrometheusSpecApplyConfiguration) WithEnableFeatures(values ...monitoringv1.EnableFeature) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnableRemoteWriteReceiver ¶
func (b *PrometheusSpecApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedBodySizeLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedKeepDroppedTargets ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedLabelLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelNameLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedLabelValueLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedNamespaceLabel ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedSampleLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedSampleLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEnforcedTargetLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithEnforcedTargetLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithEvaluationInterval ¶
func (b *PrometheusSpecApplyConfiguration) WithEvaluationInterval(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
WithEvaluationInterval sets the EvaluationInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EvaluationInterval field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithExcludedFromEnforcement ¶
func (b *PrometheusSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithExemplars ¶
func (b *PrometheusSpecApplyConfiguration) WithExemplars(value *ExemplarsApplyConfiguration) *PrometheusSpecApplyConfiguration
WithExemplars sets the Exemplars field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Exemplars field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithExternalLabels ¶
func (b *PrometheusSpecApplyConfiguration) WithExternalLabels(entries map[string]string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithExternalURL ¶
func (b *PrometheusSpecApplyConfiguration) WithExternalURL(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithHostAliases ¶
func (b *PrometheusSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithHostNetwork ¶
func (b *PrometheusSpecApplyConfiguration) WithHostNetwork(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors ¶
func (b *PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithImage ¶
func (b *PrometheusSpecApplyConfiguration) WithImage(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithImagePullPolicy ¶
func (b *PrometheusSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithImagePullSecrets ¶
func (b *PrometheusSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithInitContainers ¶
func (b *PrometheusSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithKeepDroppedTargets ¶
func (b *PrometheusSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithLabelLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithLabelLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithListenLocal ¶
func (b *PrometheusSpecApplyConfiguration) WithListenLocal(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithLogFormat ¶
func (b *PrometheusSpecApplyConfiguration) WithLogFormat(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithLogLevel ¶
func (b *PrometheusSpecApplyConfiguration) WithLogLevel(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithMaximumStartupDurationSeconds ¶
func (b *PrometheusSpecApplyConfiguration) WithMaximumStartupDurationSeconds(value int32) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *PrometheusSpecApplyConfiguration) WithMinReadySeconds(value uint32) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithNodeSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithOTLP ¶
func (b *PrometheusSpecApplyConfiguration) WithOTLP(value *OTLPConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithOverrideHonorLabels ¶
func (b *PrometheusSpecApplyConfiguration) WithOverrideHonorLabels(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithOverrideHonorTimestamps ¶
func (b *PrometheusSpecApplyConfiguration) WithOverrideHonorTimestamps(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPaused ¶
func (b *PrometheusSpecApplyConfiguration) WithPaused(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy ¶
func (b *PrometheusSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy(value appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPodMetadata ¶
func (b *PrometheusSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPodMonitorNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithPodMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPodMonitorSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithPodMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPodTargetLabels ¶
func (b *PrometheusSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPortName ¶
func (b *PrometheusSpecApplyConfiguration) WithPortName(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPriorityClassName ¶
func (b *PrometheusSpecApplyConfiguration) WithPriorityClassName(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithProbeNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithProbeNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithProbeSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithProbeSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPrometheusExternalLabelName ¶
func (b *PrometheusSpecApplyConfiguration) WithPrometheusExternalLabelName(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce ¶
func (b *PrometheusSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce(values ...*PrometheusRuleExcludeConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
WithPrometheusRulesExcludedFromEnforce adds the given value to the PrometheusRulesExcludedFromEnforce field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PrometheusRulesExcludedFromEnforce field.
func (*PrometheusSpecApplyConfiguration) WithQuery ¶
func (b *PrometheusSpecApplyConfiguration) WithQuery(value *QuerySpecApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithQueryLogFile ¶
func (b *PrometheusSpecApplyConfiguration) WithQueryLogFile(value string) *PrometheusSpecApplyConfiguration
WithQueryLogFile sets the QueryLogFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueryLogFile field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithReloadStrategy ¶
func (b *PrometheusSpecApplyConfiguration) WithReloadStrategy(value monitoringv1.ReloadStrategyType) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithRemoteRead ¶
func (b *PrometheusSpecApplyConfiguration) WithRemoteRead(values ...*RemoteReadSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
WithRemoteRead adds the given value to the RemoteRead field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RemoteRead field.
func (*PrometheusSpecApplyConfiguration) WithRemoteWrite ¶
func (b *PrometheusSpecApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithRemoteWriteReceiverMessageVersions ¶
func (b *PrometheusSpecApplyConfiguration) WithRemoteWriteReceiverMessageVersions(values ...monitoringv1.RemoteWriteMessageVersion) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName ¶
func (b *PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithReplicas ¶
func (b *PrometheusSpecApplyConfiguration) WithReplicas(value int32) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithResources ¶
func (b *PrometheusSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithRetention ¶
func (b *PrometheusSpecApplyConfiguration) WithRetention(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
WithRetention sets the Retention field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Retention field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRetentionSize ¶
func (b *PrometheusSpecApplyConfiguration) WithRetentionSize(value monitoringv1.ByteSize) *PrometheusSpecApplyConfiguration
WithRetentionSize sets the RetentionSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetentionSize field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRoutePrefix ¶
func (b *PrometheusSpecApplyConfiguration) WithRoutePrefix(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithRuleNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithRuleNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
WithRuleNamespaceSelector sets the RuleNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleNamespaceSelector field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRuleQueryOffset ¶
func (b *PrometheusSpecApplyConfiguration) WithRuleQueryOffset(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
WithRuleQueryOffset sets the RuleQueryOffset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleQueryOffset field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRuleSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithRuleSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
WithRuleSelector sets the RuleSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleSelector field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRules ¶
func (b *PrometheusSpecApplyConfiguration) WithRules(value *RulesApplyConfiguration) *PrometheusSpecApplyConfiguration
WithRules sets the Rules field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rules field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithRuntime ¶
func (b *PrometheusSpecApplyConfiguration) WithRuntime(value *RuntimeConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
WithRuntime sets the Runtime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Runtime field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithSHA ¶
func (b *PrometheusSpecApplyConfiguration) WithSHA(value string) *PrometheusSpecApplyConfiguration
WithSHA sets the SHA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SHA field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithSampleLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithSampleLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeClasses ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeClasses(values ...*ScrapeClassApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeConfigNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeConfigNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeConfigSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeConfigSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeInterval ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeProtocols ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithScrapeTimeout ¶
func (b *PrometheusSpecApplyConfiguration) WithScrapeTimeout(value monitoringv1.Duration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithSecrets ¶
func (b *PrometheusSpecApplyConfiguration) WithSecrets(values ...string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithSecurityContext ¶
func (b *PrometheusSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithServiceAccountName ¶
func (b *PrometheusSpecApplyConfiguration) WithServiceAccountName(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithServiceDiscoveryRole ¶
func (b *PrometheusSpecApplyConfiguration) WithServiceDiscoveryRole(value monitoringv1.ServiceDiscoveryRole) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithServiceMonitorSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorSelector(value *metav1.LabelSelectorApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithShards ¶
func (b *PrometheusSpecApplyConfiguration) WithShards(value int32) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithStorage ¶
func (b *PrometheusSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithTSDB ¶
func (b *PrometheusSpecApplyConfiguration) WithTSDB(value *TSDBSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithTag ¶
func (b *PrometheusSpecApplyConfiguration) WithTag(value string) *PrometheusSpecApplyConfiguration
WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithTargetLimit ¶
func (b *PrometheusSpecApplyConfiguration) WithTargetLimit(value uint64) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithThanos ¶
func (b *PrometheusSpecApplyConfiguration) WithThanos(value *ThanosSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
WithThanos sets the Thanos field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Thanos field is set to the value of the last call.
func (*PrometheusSpecApplyConfiguration) WithTolerations ¶
func (b *PrometheusSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *PrometheusSpecApplyConfiguration) WithTopologySpreadConstraints(values ...*TopologySpreadConstraintApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithTracingConfig ¶
func (b *PrometheusSpecApplyConfiguration) WithTracingConfig(value *PrometheusTracingConfigApplyConfiguration) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithVersion ¶
func (b *PrometheusSpecApplyConfiguration) WithVersion(value string) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithVolumeMounts ¶
func (b *PrometheusSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithVolumes ¶
func (b *PrometheusSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithWALCompression ¶
func (b *PrometheusSpecApplyConfiguration) WithWALCompression(value bool) *PrometheusSpecApplyConfiguration
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 (*PrometheusSpecApplyConfiguration) WithWeb ¶
func (b *PrometheusSpecApplyConfiguration) WithWeb(value *PrometheusWebSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
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 PrometheusStatusApplyConfiguration ¶
type PrometheusStatusApplyConfiguration struct { Paused *bool `json:"paused,omitempty"` Replicas *int32 `json:"replicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"` ShardStatuses []ShardStatusApplyConfiguration `json:"shardStatuses,omitempty"` Shards *int32 `json:"shards,omitempty"` Selector *string `json:"selector,omitempty"` }
PrometheusStatusApplyConfiguration represents a declarative configuration of the PrometheusStatus type for use with apply.
func PrometheusStatus ¶
func PrometheusStatus() *PrometheusStatusApplyConfiguration
PrometheusStatusApplyConfiguration constructs a declarative configuration of the PrometheusStatus type for use with apply.
func (*PrometheusStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *PrometheusStatusApplyConfiguration) WithAvailableReplicas(value int32) *PrometheusStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*PrometheusStatusApplyConfiguration) WithConditions ¶
func (b *PrometheusStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *PrometheusStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*PrometheusStatusApplyConfiguration) WithPaused ¶
func (b *PrometheusStatusApplyConfiguration) WithPaused(value bool) *PrometheusStatusApplyConfiguration
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 (*PrometheusStatusApplyConfiguration) WithReplicas ¶
func (b *PrometheusStatusApplyConfiguration) WithReplicas(value int32) *PrometheusStatusApplyConfiguration
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 (*PrometheusStatusApplyConfiguration) WithSelector ¶
func (b *PrometheusStatusApplyConfiguration) WithSelector(value string) *PrometheusStatusApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*PrometheusStatusApplyConfiguration) WithShardStatuses ¶
func (b *PrometheusStatusApplyConfiguration) WithShardStatuses(values ...*ShardStatusApplyConfiguration) *PrometheusStatusApplyConfiguration
WithShardStatuses adds the given value to the ShardStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ShardStatuses field.
func (*PrometheusStatusApplyConfiguration) WithShards ¶
func (b *PrometheusStatusApplyConfiguration) WithShards(value int32) *PrometheusStatusApplyConfiguration
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 (*PrometheusStatusApplyConfiguration) WithUnavailableReplicas ¶
func (b *PrometheusStatusApplyConfiguration) WithUnavailableReplicas(value int32) *PrometheusStatusApplyConfiguration
WithUnavailableReplicas sets the UnavailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnavailableReplicas field is set to the value of the last call.
func (*PrometheusStatusApplyConfiguration) WithUpdatedReplicas ¶
func (b *PrometheusStatusApplyConfiguration) WithUpdatedReplicas(value int32) *PrometheusStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedReplicas field is set to the value of the last call.
type PrometheusTracingConfigApplyConfiguration ¶
type PrometheusTracingConfigApplyConfiguration struct { ClientType *string `json:"clientType,omitempty"` Endpoint *string `json:"endpoint,omitempty"` SamplingFraction *resource.Quantity `json:"samplingFraction,omitempty"` Insecure *bool `json:"insecure,omitempty"` Headers map[string]string `json:"headers,omitempty"` Compression *string `json:"compression,omitempty"` Timeout *v1.Duration `json:"timeout,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` }
PrometheusTracingConfigApplyConfiguration represents a declarative configuration of the PrometheusTracingConfig type for use with apply.
func PrometheusTracingConfig ¶
func PrometheusTracingConfig() *PrometheusTracingConfigApplyConfiguration
PrometheusTracingConfigApplyConfiguration constructs a declarative configuration of the PrometheusTracingConfig type for use with apply.
func (*PrometheusTracingConfigApplyConfiguration) WithClientType ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithClientType(value string) *PrometheusTracingConfigApplyConfiguration
WithClientType sets the ClientType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientType field is set to the value of the last call.
func (*PrometheusTracingConfigApplyConfiguration) WithCompression ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithCompression(value string) *PrometheusTracingConfigApplyConfiguration
WithCompression sets the Compression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Compression field is set to the value of the last call.
func (*PrometheusTracingConfigApplyConfiguration) WithEndpoint ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithEndpoint(value string) *PrometheusTracingConfigApplyConfiguration
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 (*PrometheusTracingConfigApplyConfiguration) WithHeaders ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithHeaders(entries map[string]string) *PrometheusTracingConfigApplyConfiguration
WithHeaders puts the entries into 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, the entries provided by each call will be put on the Headers field, overwriting an existing map entries in Headers field with the same key.
func (*PrometheusTracingConfigApplyConfiguration) WithInsecure ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithInsecure(value bool) *PrometheusTracingConfigApplyConfiguration
WithInsecure sets the Insecure field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Insecure field is set to the value of the last call.
func (*PrometheusTracingConfigApplyConfiguration) WithSamplingFraction ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithSamplingFraction(value resource.Quantity) *PrometheusTracingConfigApplyConfiguration
WithSamplingFraction sets the SamplingFraction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SamplingFraction field is set to the value of the last call.
func (*PrometheusTracingConfigApplyConfiguration) WithTLSConfig ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *PrometheusTracingConfigApplyConfiguration
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 (*PrometheusTracingConfigApplyConfiguration) WithTimeout ¶
func (b *PrometheusTracingConfigApplyConfiguration) WithTimeout(value v1.Duration) *PrometheusTracingConfigApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type PrometheusWebSpecApplyConfiguration ¶
type PrometheusWebSpecApplyConfiguration struct { WebConfigFileFieldsApplyConfiguration `json:",inline"` PageTitle *string `json:"pageTitle,omitempty"` MaxConnections *int32 `json:"maxConnections,omitempty"` }
PrometheusWebSpecApplyConfiguration represents a declarative configuration of the PrometheusWebSpec type for use with apply.
func PrometheusWebSpec ¶
func PrometheusWebSpec() *PrometheusWebSpecApplyConfiguration
PrometheusWebSpecApplyConfiguration constructs a declarative configuration of the PrometheusWebSpec type for use with apply.
func (*PrometheusWebSpecApplyConfiguration) WithHTTPConfig ¶
func (b *PrometheusWebSpecApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *PrometheusWebSpecApplyConfiguration
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 (*PrometheusWebSpecApplyConfiguration) WithMaxConnections ¶
func (b *PrometheusWebSpecApplyConfiguration) WithMaxConnections(value int32) *PrometheusWebSpecApplyConfiguration
WithMaxConnections sets the MaxConnections field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxConnections field is set to the value of the last call.
func (*PrometheusWebSpecApplyConfiguration) WithPageTitle ¶
func (b *PrometheusWebSpecApplyConfiguration) WithPageTitle(value string) *PrometheusWebSpecApplyConfiguration
WithPageTitle sets the PageTitle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PageTitle field is set to the value of the last call.
func (*PrometheusWebSpecApplyConfiguration) WithTLSConfig ¶
func (b *PrometheusWebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *PrometheusWebSpecApplyConfiguration
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 ProxyConfigApplyConfiguration ¶
type ProxyConfigApplyConfiguration struct { ProxyURL *string `json:"proxyUrl,omitempty"` NoProxy *string `json:"noProxy,omitempty"` ProxyFromEnvironment *bool `json:"proxyFromEnvironment,omitempty"` ProxyConnectHeader map[string][]v1.SecretKeySelector `json:"proxyConnectHeader,omitempty"` }
ProxyConfigApplyConfiguration represents a declarative configuration of the ProxyConfig type for use with apply.
func ProxyConfig ¶
func ProxyConfig() *ProxyConfigApplyConfiguration
ProxyConfigApplyConfiguration constructs a declarative configuration of the ProxyConfig type for use with apply.
func (*ProxyConfigApplyConfiguration) WithNoProxy ¶
func (b *ProxyConfigApplyConfiguration) WithNoProxy(value string) *ProxyConfigApplyConfiguration
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 (*ProxyConfigApplyConfiguration) WithProxyConnectHeader ¶
func (b *ProxyConfigApplyConfiguration) WithProxyConnectHeader(entries map[string][]v1.SecretKeySelector) *ProxyConfigApplyConfiguration
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 (*ProxyConfigApplyConfiguration) WithProxyFromEnvironment ¶
func (b *ProxyConfigApplyConfiguration) WithProxyFromEnvironment(value bool) *ProxyConfigApplyConfiguration
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 (*ProxyConfigApplyConfiguration) WithProxyURL ¶
func (b *ProxyConfigApplyConfiguration) WithProxyURL(value string) *ProxyConfigApplyConfiguration
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.
type QuerySpecApplyConfiguration ¶
type QuerySpecApplyConfiguration struct { LookbackDelta *string `json:"lookbackDelta,omitempty"` MaxConcurrency *int32 `json:"maxConcurrency,omitempty"` MaxSamples *int32 `json:"maxSamples,omitempty"` Timeout *v1.Duration `json:"timeout,omitempty"` }
QuerySpecApplyConfiguration represents a declarative configuration of the QuerySpec type for use with apply.
func QuerySpec ¶
func QuerySpec() *QuerySpecApplyConfiguration
QuerySpecApplyConfiguration constructs a declarative configuration of the QuerySpec type for use with apply.
func (*QuerySpecApplyConfiguration) WithLookbackDelta ¶
func (b *QuerySpecApplyConfiguration) WithLookbackDelta(value string) *QuerySpecApplyConfiguration
WithLookbackDelta sets the LookbackDelta field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LookbackDelta field is set to the value of the last call.
func (*QuerySpecApplyConfiguration) WithMaxConcurrency ¶
func (b *QuerySpecApplyConfiguration) WithMaxConcurrency(value int32) *QuerySpecApplyConfiguration
WithMaxConcurrency sets the MaxConcurrency field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxConcurrency field is set to the value of the last call.
func (*QuerySpecApplyConfiguration) WithMaxSamples ¶
func (b *QuerySpecApplyConfiguration) WithMaxSamples(value int32) *QuerySpecApplyConfiguration
WithMaxSamples sets the MaxSamples field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSamples field is set to the value of the last call.
func (*QuerySpecApplyConfiguration) WithTimeout ¶
func (b *QuerySpecApplyConfiguration) WithTimeout(value v1.Duration) *QuerySpecApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type QueueConfigApplyConfiguration ¶
type QueueConfigApplyConfiguration struct { Capacity *int `json:"capacity,omitempty"` MinShards *int `json:"minShards,omitempty"` MaxShards *int `json:"maxShards,omitempty"` MaxSamplesPerSend *int `json:"maxSamplesPerSend,omitempty"` BatchSendDeadline *v1.Duration `json:"batchSendDeadline,omitempty"` MaxRetries *int `json:"maxRetries,omitempty"` MinBackoff *v1.Duration `json:"minBackoff,omitempty"` MaxBackoff *v1.Duration `json:"maxBackoff,omitempty"` RetryOnRateLimit *bool `json:"retryOnRateLimit,omitempty"` SampleAgeLimit *v1.Duration `json:"sampleAgeLimit,omitempty"` }
QueueConfigApplyConfiguration represents a declarative configuration of the QueueConfig type for use with apply.
func QueueConfig ¶
func QueueConfig() *QueueConfigApplyConfiguration
QueueConfigApplyConfiguration constructs a declarative configuration of the QueueConfig type for use with apply.
func (*QueueConfigApplyConfiguration) WithBatchSendDeadline ¶
func (b *QueueConfigApplyConfiguration) WithBatchSendDeadline(value v1.Duration) *QueueConfigApplyConfiguration
WithBatchSendDeadline sets the BatchSendDeadline field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BatchSendDeadline field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithCapacity ¶
func (b *QueueConfigApplyConfiguration) WithCapacity(value int) *QueueConfigApplyConfiguration
WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMaxBackoff ¶
func (b *QueueConfigApplyConfiguration) WithMaxBackoff(value v1.Duration) *QueueConfigApplyConfiguration
WithMaxBackoff sets the MaxBackoff field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxBackoff field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMaxRetries ¶
func (b *QueueConfigApplyConfiguration) WithMaxRetries(value int) *QueueConfigApplyConfiguration
WithMaxRetries sets the MaxRetries field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxRetries field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMaxSamplesPerSend ¶
func (b *QueueConfigApplyConfiguration) WithMaxSamplesPerSend(value int) *QueueConfigApplyConfiguration
WithMaxSamplesPerSend sets the MaxSamplesPerSend field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSamplesPerSend field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMaxShards ¶
func (b *QueueConfigApplyConfiguration) WithMaxShards(value int) *QueueConfigApplyConfiguration
WithMaxShards sets the MaxShards field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxShards field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMinBackoff ¶
func (b *QueueConfigApplyConfiguration) WithMinBackoff(value v1.Duration) *QueueConfigApplyConfiguration
WithMinBackoff sets the MinBackoff field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinBackoff field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithMinShards ¶
func (b *QueueConfigApplyConfiguration) WithMinShards(value int) *QueueConfigApplyConfiguration
WithMinShards sets the MinShards field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinShards field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithRetryOnRateLimit ¶
func (b *QueueConfigApplyConfiguration) WithRetryOnRateLimit(value bool) *QueueConfigApplyConfiguration
WithRetryOnRateLimit sets the RetryOnRateLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetryOnRateLimit field is set to the value of the last call.
func (*QueueConfigApplyConfiguration) WithSampleAgeLimit ¶
func (b *QueueConfigApplyConfiguration) WithSampleAgeLimit(value v1.Duration) *QueueConfigApplyConfiguration
WithSampleAgeLimit sets the SampleAgeLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SampleAgeLimit field is set to the value of the last call.
type RelabelConfigApplyConfiguration ¶
type RelabelConfigApplyConfiguration struct { SourceLabels []v1.LabelName `json:"sourceLabels,omitempty"` Separator *string `json:"separator,omitempty"` TargetLabel *string `json:"targetLabel,omitempty"` Regex *string `json:"regex,omitempty"` Modulus *uint64 `json:"modulus,omitempty"` Replacement *string `json:"replacement,omitempty"` Action *string `json:"action,omitempty"` }
RelabelConfigApplyConfiguration represents a declarative configuration of the RelabelConfig type for use with apply.
func RelabelConfig ¶
func RelabelConfig() *RelabelConfigApplyConfiguration
RelabelConfigApplyConfiguration constructs a declarative configuration of the RelabelConfig type for use with apply.
func (*RelabelConfigApplyConfiguration) WithAction ¶
func (b *RelabelConfigApplyConfiguration) WithAction(value string) *RelabelConfigApplyConfiguration
WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.
func (*RelabelConfigApplyConfiguration) WithModulus ¶
func (b *RelabelConfigApplyConfiguration) WithModulus(value uint64) *RelabelConfigApplyConfiguration
WithModulus sets the Modulus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Modulus field is set to the value of the last call.
func (*RelabelConfigApplyConfiguration) WithRegex ¶
func (b *RelabelConfigApplyConfiguration) WithRegex(value string) *RelabelConfigApplyConfiguration
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 (*RelabelConfigApplyConfiguration) WithReplacement ¶
func (b *RelabelConfigApplyConfiguration) WithReplacement(value string) *RelabelConfigApplyConfiguration
WithReplacement sets the Replacement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replacement field is set to the value of the last call.
func (*RelabelConfigApplyConfiguration) WithSeparator ¶
func (b *RelabelConfigApplyConfiguration) WithSeparator(value string) *RelabelConfigApplyConfiguration
WithSeparator sets the Separator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Separator field is set to the value of the last call.
func (*RelabelConfigApplyConfiguration) WithSourceLabels ¶
func (b *RelabelConfigApplyConfiguration) WithSourceLabels(values ...v1.LabelName) *RelabelConfigApplyConfiguration
WithSourceLabels adds the given value to the SourceLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SourceLabels field.
func (*RelabelConfigApplyConfiguration) WithTargetLabel ¶
func (b *RelabelConfigApplyConfiguration) WithTargetLabel(value string) *RelabelConfigApplyConfiguration
WithTargetLabel sets the TargetLabel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetLabel field is set to the value of the last call.
type RemoteReadSpecApplyConfiguration ¶
type RemoteReadSpecApplyConfiguration struct { URL *string `json:"url,omitempty"` Name *string `json:"name,omitempty"` RequiredMatchers map[string]string `json:"requiredMatchers,omitempty"` RemoteTimeout *v1.Duration `json:"remoteTimeout,omitempty"` Headers map[string]string `json:"headers,omitempty"` ReadRecent *bool `json:"readRecent,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` BearerToken *string `json:"bearerToken,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` FilterExternalLabels *bool `json:"filterExternalLabels,omitempty"` }
RemoteReadSpecApplyConfiguration represents a declarative configuration of the RemoteReadSpec type for use with apply.
func RemoteReadSpec ¶
func RemoteReadSpec() *RemoteReadSpecApplyConfiguration
RemoteReadSpecApplyConfiguration constructs a declarative configuration of the RemoteReadSpec type for use with apply.
func (*RemoteReadSpecApplyConfiguration) WithAuthorization ¶
func (b *RemoteReadSpecApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithBasicAuth ¶
func (b *RemoteReadSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithBearerToken ¶
func (b *RemoteReadSpecApplyConfiguration) WithBearerToken(value string) *RemoteReadSpecApplyConfiguration
WithBearerToken sets the BearerToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerToken field is set to the value of the last call.
func (*RemoteReadSpecApplyConfiguration) WithBearerTokenFile ¶
func (b *RemoteReadSpecApplyConfiguration) WithBearerTokenFile(value string) *RemoteReadSpecApplyConfiguration
WithBearerTokenFile sets the BearerTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenFile field is set to the value of the last call.
func (*RemoteReadSpecApplyConfiguration) WithFilterExternalLabels ¶
func (b *RemoteReadSpecApplyConfiguration) WithFilterExternalLabels(value bool) *RemoteReadSpecApplyConfiguration
WithFilterExternalLabels sets the FilterExternalLabels field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FilterExternalLabels field is set to the value of the last call.
func (*RemoteReadSpecApplyConfiguration) WithFollowRedirects ¶
func (b *RemoteReadSpecApplyConfiguration) WithFollowRedirects(value bool) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithHeaders ¶
func (b *RemoteReadSpecApplyConfiguration) WithHeaders(entries map[string]string) *RemoteReadSpecApplyConfiguration
WithHeaders puts the entries into 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, the entries provided by each call will be put on the Headers field, overwriting an existing map entries in Headers field with the same key.
func (*RemoteReadSpecApplyConfiguration) WithName ¶
func (b *RemoteReadSpecApplyConfiguration) WithName(value string) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithNoProxy ¶
func (b *RemoteReadSpecApplyConfiguration) WithNoProxy(value string) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithOAuth2 ¶
func (b *RemoteReadSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithProxyConnectHeader ¶
func (b *RemoteReadSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithProxyFromEnvironment ¶
func (b *RemoteReadSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithProxyURL ¶
func (b *RemoteReadSpecApplyConfiguration) WithProxyURL(value string) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithReadRecent ¶
func (b *RemoteReadSpecApplyConfiguration) WithReadRecent(value bool) *RemoteReadSpecApplyConfiguration
WithReadRecent sets the ReadRecent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadRecent field is set to the value of the last call.
func (*RemoteReadSpecApplyConfiguration) WithRemoteTimeout ¶
func (b *RemoteReadSpecApplyConfiguration) WithRemoteTimeout(value v1.Duration) *RemoteReadSpecApplyConfiguration
WithRemoteTimeout sets the RemoteTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteTimeout field is set to the value of the last call.
func (*RemoteReadSpecApplyConfiguration) WithRequiredMatchers ¶
func (b *RemoteReadSpecApplyConfiguration) WithRequiredMatchers(entries map[string]string) *RemoteReadSpecApplyConfiguration
WithRequiredMatchers puts the entries into the RequiredMatchers 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 RequiredMatchers field, overwriting an existing map entries in RequiredMatchers field with the same key.
func (*RemoteReadSpecApplyConfiguration) WithTLSConfig ¶
func (b *RemoteReadSpecApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *RemoteReadSpecApplyConfiguration
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 (*RemoteReadSpecApplyConfiguration) WithURL ¶
func (b *RemoteReadSpecApplyConfiguration) WithURL(value string) *RemoteReadSpecApplyConfiguration
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 RemoteWriteSpecApplyConfiguration ¶
type RemoteWriteSpecApplyConfiguration struct { URL *string `json:"url,omitempty"` Name *string `json:"name,omitempty"` MessageVersion *v1.RemoteWriteMessageVersion `json:"messageVersion,omitempty"` SendExemplars *bool `json:"sendExemplars,omitempty"` SendNativeHistograms *bool `json:"sendNativeHistograms,omitempty"` RemoteTimeout *v1.Duration `json:"remoteTimeout,omitempty"` Headers map[string]string `json:"headers,omitempty"` WriteRelabelConfigs []RelabelConfigApplyConfiguration `json:"writeRelabelConfigs,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` Sigv4 *Sigv4ApplyConfiguration `json:"sigv4,omitempty"` AzureAD *AzureADApplyConfiguration `json:"azureAd,omitempty"` BearerToken *string `json:"bearerToken,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyConfigApplyConfiguration `json:",inline"` FollowRedirects *bool `json:"followRedirects,omitempty"` QueueConfig *QueueConfigApplyConfiguration `json:"queueConfig,omitempty"` MetadataConfig *MetadataConfigApplyConfiguration `json:"metadataConfig,omitempty"` EnableHttp2 *bool `json:"enableHTTP2,omitempty"` }
RemoteWriteSpecApplyConfiguration represents a declarative configuration of the RemoteWriteSpec type for use with apply.
func RemoteWriteSpec ¶
func RemoteWriteSpec() *RemoteWriteSpecApplyConfiguration
RemoteWriteSpecApplyConfiguration constructs a declarative configuration of the RemoteWriteSpec type for use with apply.
func (*RemoteWriteSpecApplyConfiguration) WithAuthorization ¶
func (b *RemoteWriteSpecApplyConfiguration) WithAuthorization(value *AuthorizationApplyConfiguration) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithAzureAD ¶
func (b *RemoteWriteSpecApplyConfiguration) WithAzureAD(value *AzureADApplyConfiguration) *RemoteWriteSpecApplyConfiguration
WithAzureAD sets the AzureAD field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AzureAD field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithBasicAuth ¶
func (b *RemoteWriteSpecApplyConfiguration) WithBasicAuth(value *BasicAuthApplyConfiguration) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithBearerToken ¶
func (b *RemoteWriteSpecApplyConfiguration) WithBearerToken(value string) *RemoteWriteSpecApplyConfiguration
WithBearerToken sets the BearerToken field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerToken field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithBearerTokenFile ¶
func (b *RemoteWriteSpecApplyConfiguration) WithBearerTokenFile(value string) *RemoteWriteSpecApplyConfiguration
WithBearerTokenFile sets the BearerTokenFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BearerTokenFile field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithEnableHttp2 ¶
func (b *RemoteWriteSpecApplyConfiguration) WithEnableHttp2(value bool) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithFollowRedirects ¶
func (b *RemoteWriteSpecApplyConfiguration) WithFollowRedirects(value bool) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithHeaders ¶
func (b *RemoteWriteSpecApplyConfiguration) WithHeaders(entries map[string]string) *RemoteWriteSpecApplyConfiguration
WithHeaders puts the entries into 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, the entries provided by each call will be put on the Headers field, overwriting an existing map entries in Headers field with the same key.
func (*RemoteWriteSpecApplyConfiguration) WithMessageVersion ¶
func (b *RemoteWriteSpecApplyConfiguration) WithMessageVersion(value v1.RemoteWriteMessageVersion) *RemoteWriteSpecApplyConfiguration
WithMessageVersion sets the MessageVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageVersion field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithMetadataConfig ¶
func (b *RemoteWriteSpecApplyConfiguration) WithMetadataConfig(value *MetadataConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
WithMetadataConfig sets the MetadataConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MetadataConfig field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithName ¶
func (b *RemoteWriteSpecApplyConfiguration) WithName(value string) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithNoProxy ¶
func (b *RemoteWriteSpecApplyConfiguration) WithNoProxy(value string) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithOAuth2 ¶
func (b *RemoteWriteSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithProxyConnectHeader ¶
func (b *RemoteWriteSpecApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithProxyFromEnvironment ¶
func (b *RemoteWriteSpecApplyConfiguration) WithProxyFromEnvironment(value bool) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithProxyURL ¶
func (b *RemoteWriteSpecApplyConfiguration) WithProxyURL(value string) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithQueueConfig ¶
func (b *RemoteWriteSpecApplyConfiguration) WithQueueConfig(value *QueueConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
WithQueueConfig sets the QueueConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueueConfig field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithRemoteTimeout ¶
func (b *RemoteWriteSpecApplyConfiguration) WithRemoteTimeout(value v1.Duration) *RemoteWriteSpecApplyConfiguration
WithRemoteTimeout sets the RemoteTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteTimeout field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithSendExemplars ¶
func (b *RemoteWriteSpecApplyConfiguration) WithSendExemplars(value bool) *RemoteWriteSpecApplyConfiguration
WithSendExemplars sets the SendExemplars field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendExemplars field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithSendNativeHistograms ¶
func (b *RemoteWriteSpecApplyConfiguration) WithSendNativeHistograms(value bool) *RemoteWriteSpecApplyConfiguration
WithSendNativeHistograms sets the SendNativeHistograms field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SendNativeHistograms field is set to the value of the last call.
func (*RemoteWriteSpecApplyConfiguration) WithSigv4 ¶
func (b *RemoteWriteSpecApplyConfiguration) WithSigv4(value *Sigv4ApplyConfiguration) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithTLSConfig ¶
func (b *RemoteWriteSpecApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithURL ¶
func (b *RemoteWriteSpecApplyConfiguration) WithURL(value string) *RemoteWriteSpecApplyConfiguration
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 (*RemoteWriteSpecApplyConfiguration) WithWriteRelabelConfigs ¶
func (b *RemoteWriteSpecApplyConfiguration) WithWriteRelabelConfigs(values ...*RelabelConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
WithWriteRelabelConfigs adds the given value to the WriteRelabelConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WriteRelabelConfigs field.
type RuleApplyConfiguration ¶
type RuleApplyConfiguration struct { Record *string `json:"record,omitempty"` Alert *string `json:"alert,omitempty"` Expr *intstr.IntOrString `json:"expr,omitempty"` For *v1.Duration `json:"for,omitempty"` KeepFiringFor *v1.NonEmptyDuration `json:"keep_firing_for,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
RuleApplyConfiguration represents a declarative configuration of the Rule type for use with apply.
func Rule ¶
func Rule() *RuleApplyConfiguration
RuleApplyConfiguration constructs a declarative configuration of the Rule type for use with apply.
func (*RuleApplyConfiguration) WithAlert ¶
func (b *RuleApplyConfiguration) WithAlert(value string) *RuleApplyConfiguration
WithAlert sets the Alert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alert field is set to the value of the last call.
func (*RuleApplyConfiguration) WithAnnotations ¶
func (b *RuleApplyConfiguration) WithAnnotations(entries map[string]string) *RuleApplyConfiguration
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 (*RuleApplyConfiguration) WithExpr ¶
func (b *RuleApplyConfiguration) WithExpr(value intstr.IntOrString) *RuleApplyConfiguration
WithExpr sets the Expr field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Expr field is set to the value of the last call.
func (*RuleApplyConfiguration) WithFor ¶
func (b *RuleApplyConfiguration) WithFor(value v1.Duration) *RuleApplyConfiguration
WithFor sets the For field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the For field is set to the value of the last call.
func (*RuleApplyConfiguration) WithKeepFiringFor ¶
func (b *RuleApplyConfiguration) WithKeepFiringFor(value v1.NonEmptyDuration) *RuleApplyConfiguration
WithKeepFiringFor sets the KeepFiringFor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeepFiringFor field is set to the value of the last call.
func (*RuleApplyConfiguration) WithLabels ¶
func (b *RuleApplyConfiguration) WithLabels(entries map[string]string) *RuleApplyConfiguration
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 (*RuleApplyConfiguration) WithRecord ¶
func (b *RuleApplyConfiguration) WithRecord(value string) *RuleApplyConfiguration
WithRecord sets the Record field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Record field is set to the value of the last call.
type RuleGroupApplyConfiguration ¶
type RuleGroupApplyConfiguration struct { Name *string `json:"name,omitempty"` Interval *v1.Duration `json:"interval,omitempty"` QueryOffset *v1.Duration `json:"query_offset,omitempty"` Rules []RuleApplyConfiguration `json:"rules,omitempty"` PartialResponseStrategy *string `json:"partial_response_strategy,omitempty"` Limit *int `json:"limit,omitempty"` }
RuleGroupApplyConfiguration represents a declarative configuration of the RuleGroup type for use with apply.
func RuleGroup ¶
func RuleGroup() *RuleGroupApplyConfiguration
RuleGroupApplyConfiguration constructs a declarative configuration of the RuleGroup type for use with apply.
func (*RuleGroupApplyConfiguration) WithInterval ¶
func (b *RuleGroupApplyConfiguration) WithInterval(value v1.Duration) *RuleGroupApplyConfiguration
WithInterval sets the Interval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Interval field is set to the value of the last call.
func (*RuleGroupApplyConfiguration) WithLimit ¶
func (b *RuleGroupApplyConfiguration) WithLimit(value int) *RuleGroupApplyConfiguration
WithLimit sets the Limit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Limit field is set to the value of the last call.
func (*RuleGroupApplyConfiguration) WithName ¶
func (b *RuleGroupApplyConfiguration) WithName(value string) *RuleGroupApplyConfiguration
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 (*RuleGroupApplyConfiguration) WithPartialResponseStrategy ¶
func (b *RuleGroupApplyConfiguration) WithPartialResponseStrategy(value string) *RuleGroupApplyConfiguration
WithPartialResponseStrategy sets the PartialResponseStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PartialResponseStrategy field is set to the value of the last call.
func (*RuleGroupApplyConfiguration) WithQueryOffset ¶
func (b *RuleGroupApplyConfiguration) WithQueryOffset(value v1.Duration) *RuleGroupApplyConfiguration
WithQueryOffset sets the QueryOffset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueryOffset field is set to the value of the last call.
func (*RuleGroupApplyConfiguration) WithRules ¶
func (b *RuleGroupApplyConfiguration) WithRules(values ...*RuleApplyConfiguration) *RuleGroupApplyConfiguration
WithRules adds the given value to the Rules field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Rules field.
type RulesAlertApplyConfiguration ¶
type RulesAlertApplyConfiguration struct { ForOutageTolerance *string `json:"forOutageTolerance,omitempty"` ForGracePeriod *string `json:"forGracePeriod,omitempty"` ResendDelay *string `json:"resendDelay,omitempty"` }
RulesAlertApplyConfiguration represents a declarative configuration of the RulesAlert type for use with apply.
func RulesAlert ¶
func RulesAlert() *RulesAlertApplyConfiguration
RulesAlertApplyConfiguration constructs a declarative configuration of the RulesAlert type for use with apply.
func (*RulesAlertApplyConfiguration) WithForGracePeriod ¶
func (b *RulesAlertApplyConfiguration) WithForGracePeriod(value string) *RulesAlertApplyConfiguration
WithForGracePeriod sets the ForGracePeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForGracePeriod field is set to the value of the last call.
func (*RulesAlertApplyConfiguration) WithForOutageTolerance ¶
func (b *RulesAlertApplyConfiguration) WithForOutageTolerance(value string) *RulesAlertApplyConfiguration
WithForOutageTolerance sets the ForOutageTolerance field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForOutageTolerance field is set to the value of the last call.
func (*RulesAlertApplyConfiguration) WithResendDelay ¶
func (b *RulesAlertApplyConfiguration) WithResendDelay(value string) *RulesAlertApplyConfiguration
WithResendDelay sets the ResendDelay field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResendDelay field is set to the value of the last call.
type RulesApplyConfiguration ¶
type RulesApplyConfiguration struct {
Alert *RulesAlertApplyConfiguration `json:"alert,omitempty"`
}
RulesApplyConfiguration represents a declarative configuration of the Rules type for use with apply.
func Rules ¶
func Rules() *RulesApplyConfiguration
RulesApplyConfiguration constructs a declarative configuration of the Rules type for use with apply.
func (*RulesApplyConfiguration) WithAlert ¶
func (b *RulesApplyConfiguration) WithAlert(value *RulesAlertApplyConfiguration) *RulesApplyConfiguration
WithAlert sets the Alert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Alert field is set to the value of the last call.
type RuntimeConfigApplyConfiguration ¶
type RuntimeConfigApplyConfiguration struct {
GoGC *int32 `json:"goGC,omitempty"`
}
RuntimeConfigApplyConfiguration represents a declarative configuration of the RuntimeConfig type for use with apply.
func RuntimeConfig ¶
func RuntimeConfig() *RuntimeConfigApplyConfiguration
RuntimeConfigApplyConfiguration constructs a declarative configuration of the RuntimeConfig type for use with apply.
func (*RuntimeConfigApplyConfiguration) WithGoGC ¶
func (b *RuntimeConfigApplyConfiguration) WithGoGC(value int32) *RuntimeConfigApplyConfiguration
WithGoGC sets the GoGC field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GoGC field is set to the value of the last call.
type SafeAuthorizationApplyConfiguration ¶
type SafeAuthorizationApplyConfiguration struct { Type *string `json:"type,omitempty"` Credentials *v1.SecretKeySelector `json:"credentials,omitempty"` }
SafeAuthorizationApplyConfiguration represents a declarative configuration of the SafeAuthorization type for use with apply.
func SafeAuthorization ¶
func SafeAuthorization() *SafeAuthorizationApplyConfiguration
SafeAuthorizationApplyConfiguration constructs a declarative configuration of the SafeAuthorization type for use with apply.
func (*SafeAuthorizationApplyConfiguration) WithCredentials ¶
func (b *SafeAuthorizationApplyConfiguration) WithCredentials(value v1.SecretKeySelector) *SafeAuthorizationApplyConfiguration
WithCredentials sets the Credentials field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Credentials field is set to the value of the last call.
func (*SafeAuthorizationApplyConfiguration) WithType ¶
func (b *SafeAuthorizationApplyConfiguration) WithType(value string) *SafeAuthorizationApplyConfiguration
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 SafeTLSConfigApplyConfiguration ¶
type SafeTLSConfigApplyConfiguration struct { CA *SecretOrConfigMapApplyConfiguration `json:"ca,omitempty"` Cert *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"` KeySecret *corev1.SecretKeySelector `json:"keySecret,omitempty"` ServerName *string `json:"serverName,omitempty"` InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty"` MinVersion *monitoringv1.TLSVersion `json:"minVersion,omitempty"` MaxVersion *monitoringv1.TLSVersion `json:"maxVersion,omitempty"` }
SafeTLSConfigApplyConfiguration represents a declarative configuration of the SafeTLSConfig type for use with apply.
func SafeTLSConfig ¶
func SafeTLSConfig() *SafeTLSConfigApplyConfiguration
SafeTLSConfigApplyConfiguration constructs a declarative configuration of the SafeTLSConfig type for use with apply.
func (*SafeTLSConfigApplyConfiguration) WithCA ¶
func (b *SafeTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *SafeTLSConfigApplyConfiguration
WithCA sets the CA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CA field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithCert ¶
func (b *SafeTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *SafeTLSConfigApplyConfiguration
WithCert sets the Cert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cert field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithInsecureSkipVerify ¶
func (b *SafeTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *SafeTLSConfigApplyConfiguration
WithInsecureSkipVerify sets the InsecureSkipVerify field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InsecureSkipVerify field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithKeySecret ¶
func (b *SafeTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *SafeTLSConfigApplyConfiguration
WithKeySecret sets the KeySecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeySecret field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithMaxVersion ¶
func (b *SafeTLSConfigApplyConfiguration) WithMaxVersion(value monitoringv1.TLSVersion) *SafeTLSConfigApplyConfiguration
WithMaxVersion sets the MaxVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxVersion field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithMinVersion ¶
func (b *SafeTLSConfigApplyConfiguration) WithMinVersion(value monitoringv1.TLSVersion) *SafeTLSConfigApplyConfiguration
WithMinVersion sets the MinVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinVersion field is set to the value of the last call.
func (*SafeTLSConfigApplyConfiguration) WithServerName ¶
func (b *SafeTLSConfigApplyConfiguration) WithServerName(value string) *SafeTLSConfigApplyConfiguration
WithServerName sets the ServerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerName field is set to the value of the last call.
type ScrapeClassApplyConfiguration ¶
type ScrapeClassApplyConfiguration struct { Name *string `json:"name,omitempty"` Default *bool `json:"default,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` Relabelings []RelabelConfigApplyConfiguration `json:"relabelings,omitempty"` MetricRelabelings []RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"` AttachMetadata *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"` }
ScrapeClassApplyConfiguration represents a declarative configuration of the ScrapeClass type for use with apply.
func ScrapeClass ¶
func ScrapeClass() *ScrapeClassApplyConfiguration
ScrapeClassApplyConfiguration constructs a declarative configuration of the ScrapeClass type for use with apply.
func (*ScrapeClassApplyConfiguration) WithAttachMetadata ¶
func (b *ScrapeClassApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *ScrapeClassApplyConfiguration
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 (*ScrapeClassApplyConfiguration) WithDefault ¶
func (b *ScrapeClassApplyConfiguration) WithDefault(value bool) *ScrapeClassApplyConfiguration
WithDefault sets the Default field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Default field is set to the value of the last call.
func (*ScrapeClassApplyConfiguration) WithMetricRelabelings ¶
func (b *ScrapeClassApplyConfiguration) WithMetricRelabelings(values ...*RelabelConfigApplyConfiguration) *ScrapeClassApplyConfiguration
WithMetricRelabelings adds the given value to the MetricRelabelings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MetricRelabelings field.
func (*ScrapeClassApplyConfiguration) WithName ¶
func (b *ScrapeClassApplyConfiguration) WithName(value string) *ScrapeClassApplyConfiguration
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 (*ScrapeClassApplyConfiguration) WithRelabelings ¶
func (b *ScrapeClassApplyConfiguration) WithRelabelings(values ...*RelabelConfigApplyConfiguration) *ScrapeClassApplyConfiguration
WithRelabelings adds the given value to the Relabelings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Relabelings field.
func (*ScrapeClassApplyConfiguration) WithTLSConfig ¶
func (b *ScrapeClassApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *ScrapeClassApplyConfiguration
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 SecretOrConfigMapApplyConfiguration ¶
type SecretOrConfigMapApplyConfiguration struct { Secret *v1.SecretKeySelector `json:"secret,omitempty"` ConfigMap *v1.ConfigMapKeySelector `json:"configMap,omitempty"` }
SecretOrConfigMapApplyConfiguration represents a declarative configuration of the SecretOrConfigMap type for use with apply.
func SecretOrConfigMap ¶
func SecretOrConfigMap() *SecretOrConfigMapApplyConfiguration
SecretOrConfigMapApplyConfiguration constructs a declarative configuration of the SecretOrConfigMap type for use with apply.
func (*SecretOrConfigMapApplyConfiguration) WithConfigMap ¶
func (b *SecretOrConfigMapApplyConfiguration) WithConfigMap(value v1.ConfigMapKeySelector) *SecretOrConfigMapApplyConfiguration
WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.
func (*SecretOrConfigMapApplyConfiguration) WithSecret ¶
func (b *SecretOrConfigMapApplyConfiguration) WithSecret(value v1.SecretKeySelector) *SecretOrConfigMapApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type ServiceMonitorApplyConfiguration ¶
type ServiceMonitorApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ServiceMonitorSpecApplyConfiguration `json:"spec,omitempty"` }
ServiceMonitorApplyConfiguration represents a declarative configuration of the ServiceMonitor type for use with apply.
func ServiceMonitor ¶
func ServiceMonitor(name, namespace string) *ServiceMonitorApplyConfiguration
ServiceMonitor constructs a declarative configuration of the ServiceMonitor type for use with apply.
func (*ServiceMonitorApplyConfiguration) GetName ¶
func (b *ServiceMonitorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ServiceMonitorApplyConfiguration) WithAPIVersion ¶
func (b *ServiceMonitorApplyConfiguration) WithAPIVersion(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithAnnotations ¶
func (b *ServiceMonitorApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithCreationTimestamp ¶
func (b *ServiceMonitorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ServiceMonitorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithDeletionTimestamp ¶
func (b *ServiceMonitorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithFinalizers ¶
func (b *ServiceMonitorApplyConfiguration) WithFinalizers(values ...string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithGenerateName ¶
func (b *ServiceMonitorApplyConfiguration) WithGenerateName(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithGeneration ¶
func (b *ServiceMonitorApplyConfiguration) WithGeneration(value int64) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithKind ¶
func (b *ServiceMonitorApplyConfiguration) WithKind(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithLabels ¶
func (b *ServiceMonitorApplyConfiguration) WithLabels(entries map[string]string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithName ¶
func (b *ServiceMonitorApplyConfiguration) WithName(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithNamespace ¶
func (b *ServiceMonitorApplyConfiguration) WithNamespace(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithOwnerReferences ¶
func (b *ServiceMonitorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithResourceVersion ¶
func (b *ServiceMonitorApplyConfiguration) WithResourceVersion(value string) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithSpec ¶
func (b *ServiceMonitorApplyConfiguration) WithSpec(value *ServiceMonitorSpecApplyConfiguration) *ServiceMonitorApplyConfiguration
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 (*ServiceMonitorApplyConfiguration) WithUID ¶
func (b *ServiceMonitorApplyConfiguration) WithUID(value types.UID) *ServiceMonitorApplyConfiguration
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 ServiceMonitorSpecApplyConfiguration ¶
type ServiceMonitorSpecApplyConfiguration struct { JobLabel *string `json:"jobLabel,omitempty"` TargetLabels []string `json:"targetLabels,omitempty"` PodTargetLabels []string `json:"podTargetLabels,omitempty"` Endpoints []EndpointApplyConfiguration `json:"endpoints,omitempty"` Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` SampleLimit *uint64 `json:"sampleLimit,omitempty"` ScrapeProtocols []monitoringv1.ScrapeProtocol `json:"scrapeProtocols,omitempty"` TargetLimit *uint64 `json:"targetLimit,omitempty"` LabelLimit *uint64 `json:"labelLimit,omitempty"` LabelNameLengthLimit *uint64 `json:"labelNameLengthLimit,omitempty"` LabelValueLengthLimit *uint64 `json:"labelValueLengthLimit,omitempty"` NativeHistogramConfigApplyConfiguration `json:",inline"` KeepDroppedTargets *uint64 `json:"keepDroppedTargets,omitempty"` AttachMetadata *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"` ScrapeClassName *string `json:"scrapeClass,omitempty"` BodySizeLimit *monitoringv1.ByteSize `json:"bodySizeLimit,omitempty"` }
ServiceMonitorSpecApplyConfiguration represents a declarative configuration of the ServiceMonitorSpec type for use with apply.
func ServiceMonitorSpec ¶
func ServiceMonitorSpec() *ServiceMonitorSpecApplyConfiguration
ServiceMonitorSpecApplyConfiguration constructs a declarative configuration of the ServiceMonitorSpec type for use with apply.
func (*ServiceMonitorSpecApplyConfiguration) WithAttachMetadata ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithAttachMetadata(value *AttachMetadataApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithBodySizeLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithBodySizeLimit(value monitoringv1.ByteSize) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithEndpoints ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithEndpoints(values ...*EndpointApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
WithEndpoints adds the given value to the Endpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Endpoints field.
func (*ServiceMonitorSpecApplyConfiguration) WithJobLabel ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithJobLabel(value string) *ServiceMonitorSpecApplyConfiguration
WithJobLabel sets the JobLabel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobLabel field is set to the value of the last call.
func (*ServiceMonitorSpecApplyConfiguration) WithKeepDroppedTargets ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithLabelLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithLabelLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithLabelNameLengthLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithLabelValueLengthLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithNamespaceSelector ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*ServiceMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithPodTargetLabels ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithPodTargetLabels(values ...string) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithSampleLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithScrapeClassName ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeClassName(value string) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithScrapeClassicHistograms ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithScrapeProtocols ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithScrapeProtocols(values ...monitoringv1.ScrapeProtocol) *ServiceMonitorSpecApplyConfiguration
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 (*ServiceMonitorSpecApplyConfiguration) WithSelector ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*ServiceMonitorSpecApplyConfiguration) WithTargetLabels ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithTargetLabels(values ...string) *ServiceMonitorSpecApplyConfiguration
WithTargetLabels adds the given value to the TargetLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TargetLabels field.
func (*ServiceMonitorSpecApplyConfiguration) WithTargetLimit ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithTargetLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
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.
type ShardStatusApplyConfiguration ¶
type ShardStatusApplyConfiguration struct { ShardID *string `json:"shardID,omitempty"` Replicas *int32 `json:"replicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` }
ShardStatusApplyConfiguration represents a declarative configuration of the ShardStatus type for use with apply.
func ShardStatus ¶
func ShardStatus() *ShardStatusApplyConfiguration
ShardStatusApplyConfiguration constructs a declarative configuration of the ShardStatus type for use with apply.
func (*ShardStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *ShardStatusApplyConfiguration) WithAvailableReplicas(value int32) *ShardStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*ShardStatusApplyConfiguration) WithReplicas ¶
func (b *ShardStatusApplyConfiguration) WithReplicas(value int32) *ShardStatusApplyConfiguration
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 (*ShardStatusApplyConfiguration) WithShardID ¶
func (b *ShardStatusApplyConfiguration) WithShardID(value string) *ShardStatusApplyConfiguration
WithShardID sets the ShardID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ShardID field is set to the value of the last call.
func (*ShardStatusApplyConfiguration) WithUnavailableReplicas ¶
func (b *ShardStatusApplyConfiguration) WithUnavailableReplicas(value int32) *ShardStatusApplyConfiguration
WithUnavailableReplicas sets the UnavailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnavailableReplicas field is set to the value of the last call.
func (*ShardStatusApplyConfiguration) WithUpdatedReplicas ¶
func (b *ShardStatusApplyConfiguration) WithUpdatedReplicas(value int32) *ShardStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedReplicas field is set to the value of the last call.
type Sigv4ApplyConfiguration ¶
type Sigv4ApplyConfiguration struct { Region *string `json:"region,omitempty"` AccessKey *v1.SecretKeySelector `json:"accessKey,omitempty"` SecretKey *v1.SecretKeySelector `json:"secretKey,omitempty"` Profile *string `json:"profile,omitempty"` RoleArn *string `json:"roleArn,omitempty"` }
Sigv4ApplyConfiguration represents a declarative configuration of the Sigv4 type for use with apply.
func Sigv4 ¶
func Sigv4() *Sigv4ApplyConfiguration
Sigv4ApplyConfiguration constructs a declarative configuration of the Sigv4 type for use with apply.
func (*Sigv4ApplyConfiguration) WithAccessKey ¶
func (b *Sigv4ApplyConfiguration) WithAccessKey(value v1.SecretKeySelector) *Sigv4ApplyConfiguration
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 (*Sigv4ApplyConfiguration) WithProfile ¶
func (b *Sigv4ApplyConfiguration) WithProfile(value string) *Sigv4ApplyConfiguration
WithProfile sets the Profile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Profile field is set to the value of the last call.
func (*Sigv4ApplyConfiguration) WithRegion ¶
func (b *Sigv4ApplyConfiguration) WithRegion(value string) *Sigv4ApplyConfiguration
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 (*Sigv4ApplyConfiguration) WithRoleArn ¶
func (b *Sigv4ApplyConfiguration) WithRoleArn(value string) *Sigv4ApplyConfiguration
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 (*Sigv4ApplyConfiguration) WithSecretKey ¶
func (b *Sigv4ApplyConfiguration) WithSecretKey(value v1.SecretKeySelector) *Sigv4ApplyConfiguration
WithSecretKey sets the SecretKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretKey field is set to the value of the last call.
type StorageSpecApplyConfiguration ¶
type StorageSpecApplyConfiguration struct { DisableMountSubPath *bool `json:"disableMountSubPath,omitempty"` EmptyDir *v1.EmptyDirVolumeSource `json:"emptyDir,omitempty"` Ephemeral *v1.EphemeralVolumeSource `json:"ephemeral,omitempty"` VolumeClaimTemplate *EmbeddedPersistentVolumeClaimApplyConfiguration `json:"volumeClaimTemplate,omitempty"` }
StorageSpecApplyConfiguration represents a declarative configuration of the StorageSpec type for use with apply.
func StorageSpec ¶
func StorageSpec() *StorageSpecApplyConfiguration
StorageSpecApplyConfiguration constructs a declarative configuration of the StorageSpec type for use with apply.
func (*StorageSpecApplyConfiguration) WithDisableMountSubPath ¶
func (b *StorageSpecApplyConfiguration) WithDisableMountSubPath(value bool) *StorageSpecApplyConfiguration
WithDisableMountSubPath sets the DisableMountSubPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableMountSubPath field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithEmptyDir ¶
func (b *StorageSpecApplyConfiguration) WithEmptyDir(value v1.EmptyDirVolumeSource) *StorageSpecApplyConfiguration
WithEmptyDir sets the EmptyDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyDir field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithEphemeral ¶
func (b *StorageSpecApplyConfiguration) WithEphemeral(value v1.EphemeralVolumeSource) *StorageSpecApplyConfiguration
WithEphemeral sets the Ephemeral field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ephemeral field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithVolumeClaimTemplate ¶
func (b *StorageSpecApplyConfiguration) WithVolumeClaimTemplate(value *EmbeddedPersistentVolumeClaimApplyConfiguration) *StorageSpecApplyConfiguration
WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeClaimTemplate field is set to the value of the last call.
type TLSConfigApplyConfiguration ¶
type TLSConfigApplyConfiguration struct { SafeTLSConfigApplyConfiguration `json:",inline"` CAFile *string `json:"caFile,omitempty"` CertFile *string `json:"certFile,omitempty"` KeyFile *string `json:"keyFile,omitempty"` }
TLSConfigApplyConfiguration represents a declarative configuration of the TLSConfig type for use with apply.
func TLSConfig ¶
func TLSConfig() *TLSConfigApplyConfiguration
TLSConfigApplyConfiguration constructs a declarative configuration of the TLSConfig type for use with apply.
func (*TLSConfigApplyConfiguration) WithCA ¶
func (b *TLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *TLSConfigApplyConfiguration
WithCA sets the CA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CA field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithCAFile ¶
func (b *TLSConfigApplyConfiguration) WithCAFile(value string) *TLSConfigApplyConfiguration
WithCAFile sets the CAFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CAFile field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithCert ¶
func (b *TLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *TLSConfigApplyConfiguration
WithCert sets the Cert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cert field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithCertFile ¶
func (b *TLSConfigApplyConfiguration) WithCertFile(value string) *TLSConfigApplyConfiguration
WithCertFile sets the CertFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CertFile field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithInsecureSkipVerify ¶
func (b *TLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *TLSConfigApplyConfiguration
WithInsecureSkipVerify sets the InsecureSkipVerify field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InsecureSkipVerify field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithKeyFile ¶
func (b *TLSConfigApplyConfiguration) WithKeyFile(value string) *TLSConfigApplyConfiguration
WithKeyFile sets the KeyFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeyFile field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithKeySecret ¶
func (b *TLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *TLSConfigApplyConfiguration
WithKeySecret sets the KeySecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeySecret field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithMaxVersion ¶
func (b *TLSConfigApplyConfiguration) WithMaxVersion(value monitoringv1.TLSVersion) *TLSConfigApplyConfiguration
WithMaxVersion sets the MaxVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxVersion field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithMinVersion ¶
func (b *TLSConfigApplyConfiguration) WithMinVersion(value monitoringv1.TLSVersion) *TLSConfigApplyConfiguration
WithMinVersion sets the MinVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinVersion field is set to the value of the last call.
func (*TLSConfigApplyConfiguration) WithServerName ¶
func (b *TLSConfigApplyConfiguration) WithServerName(value string) *TLSConfigApplyConfiguration
WithServerName sets the ServerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerName field is set to the value of the last call.
type TSDBSpecApplyConfiguration ¶
type TSDBSpecApplyConfiguration struct {
OutOfOrderTimeWindow *v1.Duration `json:"outOfOrderTimeWindow,omitempty"`
}
TSDBSpecApplyConfiguration represents a declarative configuration of the TSDBSpec type for use with apply.
func TSDBSpec ¶
func TSDBSpec() *TSDBSpecApplyConfiguration
TSDBSpecApplyConfiguration constructs a declarative configuration of the TSDBSpec type for use with apply.
func (*TSDBSpecApplyConfiguration) WithOutOfOrderTimeWindow ¶
func (b *TSDBSpecApplyConfiguration) WithOutOfOrderTimeWindow(value v1.Duration) *TSDBSpecApplyConfiguration
WithOutOfOrderTimeWindow sets the OutOfOrderTimeWindow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OutOfOrderTimeWindow field is set to the value of the last call.
type ThanosRulerApplyConfiguration ¶
type ThanosRulerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ThanosRulerSpecApplyConfiguration `json:"spec,omitempty"` Status *ThanosRulerStatusApplyConfiguration `json:"status,omitempty"` }
ThanosRulerApplyConfiguration represents a declarative configuration of the ThanosRuler type for use with apply.
func ThanosRuler ¶
func ThanosRuler(name, namespace string) *ThanosRulerApplyConfiguration
ThanosRuler constructs a declarative configuration of the ThanosRuler type for use with apply.
func (*ThanosRulerApplyConfiguration) GetName ¶
func (b *ThanosRulerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ThanosRulerApplyConfiguration) WithAPIVersion ¶
func (b *ThanosRulerApplyConfiguration) WithAPIVersion(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithAnnotations ¶
func (b *ThanosRulerApplyConfiguration) WithAnnotations(entries map[string]string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithCreationTimestamp ¶
func (b *ThanosRulerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ThanosRulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithDeletionTimestamp ¶
func (b *ThanosRulerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithFinalizers ¶
func (b *ThanosRulerApplyConfiguration) WithFinalizers(values ...string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithGenerateName ¶
func (b *ThanosRulerApplyConfiguration) WithGenerateName(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithGeneration ¶
func (b *ThanosRulerApplyConfiguration) WithGeneration(value int64) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithKind ¶
func (b *ThanosRulerApplyConfiguration) WithKind(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithLabels ¶
func (b *ThanosRulerApplyConfiguration) WithLabels(entries map[string]string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithName ¶
func (b *ThanosRulerApplyConfiguration) WithName(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithNamespace ¶
func (b *ThanosRulerApplyConfiguration) WithNamespace(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithOwnerReferences ¶
func (b *ThanosRulerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithResourceVersion ¶
func (b *ThanosRulerApplyConfiguration) WithResourceVersion(value string) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithSpec ¶
func (b *ThanosRulerApplyConfiguration) WithSpec(value *ThanosRulerSpecApplyConfiguration) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithStatus ¶
func (b *ThanosRulerApplyConfiguration) WithStatus(value *ThanosRulerStatusApplyConfiguration) *ThanosRulerApplyConfiguration
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 (*ThanosRulerApplyConfiguration) WithUID ¶
func (b *ThanosRulerApplyConfiguration) WithUID(value types.UID) *ThanosRulerApplyConfiguration
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 ThanosRulerSpecApplyConfiguration ¶
type ThanosRulerSpecApplyConfiguration struct { Version *string `json:"version,omitempty"` PodMetadata *EmbeddedObjectMetadataApplyConfiguration `json:"podMetadata,omitempty"` Image *string `json:"image,omitempty"` ImagePullPolicy *corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` Paused *bool `json:"paused,omitempty"` Replicas *int32 `json:"replicas,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"` DNSPolicy *monitoringv1.DNSPolicy `json:"dnsPolicy,omitempty"` DNSConfig *PodDNSConfigApplyConfiguration `json:"dnsConfig,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` Storage *StorageSpecApplyConfiguration `json:"storage,omitempty"` Volumes []corev1.Volume `json:"volumes,omitempty"` VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"` ObjectStorageConfig *corev1.SecretKeySelector `json:"objectStorageConfig,omitempty"` ObjectStorageConfigFile *string `json:"objectStorageConfigFile,omitempty"` ListenLocal *bool `json:"listenLocal,omitempty"` QueryEndpoints []string `json:"queryEndpoints,omitempty"` QueryConfig *corev1.SecretKeySelector `json:"queryConfig,omitempty"` AlertManagersURL []string `json:"alertmanagersUrl,omitempty"` AlertManagersConfig *corev1.SecretKeySelector `json:"alertmanagersConfig,omitempty"` RuleSelector *metav1.LabelSelectorApplyConfiguration `json:"ruleSelector,omitempty"` RuleNamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"ruleNamespaceSelector,omitempty"` EnforcedNamespaceLabel *string `json:"enforcedNamespaceLabel,omitempty"` ExcludedFromEnforcement []ObjectReferenceApplyConfiguration `json:"excludedFromEnforcement,omitempty"` PrometheusRulesExcludedFromEnforce []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"` LogLevel *string `json:"logLevel,omitempty"` LogFormat *string `json:"logFormat,omitempty"` PortName *string `json:"portName,omitempty"` EvaluationInterval *monitoringv1.Duration `json:"evaluationInterval,omitempty"` Retention *monitoringv1.Duration `json:"retention,omitempty"` Containers []corev1.Container `json:"containers,omitempty"` InitContainers []corev1.Container `json:"initContainers,omitempty"` TracingConfig *corev1.SecretKeySelector `json:"tracingConfig,omitempty"` TracingConfigFile *string `json:"tracingConfigFile,omitempty"` Labels map[string]string `json:"labels,omitempty"` AlertDropLabels []string `json:"alertDropLabels,omitempty"` ExternalPrefix *string `json:"externalPrefix,omitempty"` RoutePrefix *string `json:"routePrefix,omitempty"` GRPCServerTLSConfig *TLSConfigApplyConfiguration `json:"grpcServerTlsConfig,omitempty"` AlertQueryURL *string `json:"alertQueryUrl,omitempty"` MinReadySeconds *uint32 `json:"minReadySeconds,omitempty"` AlertRelabelConfigs *corev1.SecretKeySelector `json:"alertRelabelConfigs,omitempty"` AlertRelabelConfigFile *string `json:"alertRelabelConfigFile,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` AdditionalArgs []ArgumentApplyConfiguration `json:"additionalArgs,omitempty"` Web *ThanosRulerWebSpecApplyConfiguration `json:"web,omitempty"` }
ThanosRulerSpecApplyConfiguration represents a declarative configuration of the ThanosRulerSpec type for use with apply.
func ThanosRulerSpec ¶
func ThanosRulerSpec() *ThanosRulerSpecApplyConfiguration
ThanosRulerSpecApplyConfiguration constructs a declarative configuration of the ThanosRulerSpec type for use with apply.
func (*ThanosRulerSpecApplyConfiguration) WithAdditionalArgs ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithAffinity ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithAlertDropLabels ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertDropLabels(values ...string) *ThanosRulerSpecApplyConfiguration
WithAlertDropLabels adds the given value to the AlertDropLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AlertDropLabels field.
func (*ThanosRulerSpecApplyConfiguration) WithAlertManagersConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertManagersConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
WithAlertManagersConfig sets the AlertManagersConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertManagersConfig field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithAlertManagersURL ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertManagersURL(values ...string) *ThanosRulerSpecApplyConfiguration
WithAlertManagersURL adds the given value to the AlertManagersURL field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AlertManagersURL field.
func (*ThanosRulerSpecApplyConfiguration) WithAlertQueryURL ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertQueryURL(value string) *ThanosRulerSpecApplyConfiguration
WithAlertQueryURL sets the AlertQueryURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertQueryURL field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigFile ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigFile(value string) *ThanosRulerSpecApplyConfiguration
WithAlertRelabelConfigFile sets the AlertRelabelConfigFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertRelabelConfigFile field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigs ¶
func (b *ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigs(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
WithAlertRelabelConfigs sets the AlertRelabelConfigs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AlertRelabelConfigs field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithContainers ¶
func (b *ThanosRulerSpecApplyConfiguration) WithContainers(values ...corev1.Container) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithDNSConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithDNSConfig(value *PodDNSConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithDNSPolicy ¶
func (b *ThanosRulerSpecApplyConfiguration) WithDNSPolicy(value monitoringv1.DNSPolicy) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel ¶
func (b *ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithEvaluationInterval ¶
func (b *ThanosRulerSpecApplyConfiguration) WithEvaluationInterval(value monitoringv1.Duration) *ThanosRulerSpecApplyConfiguration
WithEvaluationInterval sets the EvaluationInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EvaluationInterval field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithExcludedFromEnforcement ¶
func (b *ThanosRulerSpecApplyConfiguration) WithExcludedFromEnforcement(values ...*ObjectReferenceApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithExternalPrefix ¶
func (b *ThanosRulerSpecApplyConfiguration) WithExternalPrefix(value string) *ThanosRulerSpecApplyConfiguration
WithExternalPrefix sets the ExternalPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExternalPrefix field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithGRPCServerTLSConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithGRPCServerTLSConfig(value *TLSConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
WithGRPCServerTLSConfig sets the GRPCServerTLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GRPCServerTLSConfig field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithHostAliases ¶
func (b *ThanosRulerSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithImage ¶
func (b *ThanosRulerSpecApplyConfiguration) WithImage(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithImagePullPolicy ¶
func (b *ThanosRulerSpecApplyConfiguration) WithImagePullPolicy(value corev1.PullPolicy) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithImagePullSecrets ¶
func (b *ThanosRulerSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithInitContainers ¶
func (b *ThanosRulerSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithLabels ¶
func (b *ThanosRulerSpecApplyConfiguration) WithLabels(entries map[string]string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithListenLocal ¶
func (b *ThanosRulerSpecApplyConfiguration) WithListenLocal(value bool) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithLogFormat ¶
func (b *ThanosRulerSpecApplyConfiguration) WithLogFormat(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithLogLevel ¶
func (b *ThanosRulerSpecApplyConfiguration) WithLogLevel(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithMinReadySeconds ¶
func (b *ThanosRulerSpecApplyConfiguration) WithMinReadySeconds(value uint32) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithNodeSelector ¶
func (b *ThanosRulerSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithObjectStorageConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithObjectStorageConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
WithObjectStorageConfig sets the ObjectStorageConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObjectStorageConfig field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithObjectStorageConfigFile ¶
func (b *ThanosRulerSpecApplyConfiguration) WithObjectStorageConfigFile(value string) *ThanosRulerSpecApplyConfiguration
WithObjectStorageConfigFile sets the ObjectStorageConfigFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObjectStorageConfigFile field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithPaused ¶
func (b *ThanosRulerSpecApplyConfiguration) WithPaused(value bool) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithPodMetadata ¶
func (b *ThanosRulerSpecApplyConfiguration) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithPortName ¶
func (b *ThanosRulerSpecApplyConfiguration) WithPortName(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithPriorityClassName ¶
func (b *ThanosRulerSpecApplyConfiguration) WithPriorityClassName(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce ¶
func (b *ThanosRulerSpecApplyConfiguration) WithPrometheusRulesExcludedFromEnforce(values ...*PrometheusRuleExcludeConfigApplyConfiguration) *ThanosRulerSpecApplyConfiguration
WithPrometheusRulesExcludedFromEnforce adds the given value to the PrometheusRulesExcludedFromEnforce field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PrometheusRulesExcludedFromEnforce field.
func (*ThanosRulerSpecApplyConfiguration) WithQueryConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithQueryConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
WithQueryConfig sets the QueryConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueryConfig field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithQueryEndpoints ¶
func (b *ThanosRulerSpecApplyConfiguration) WithQueryEndpoints(values ...string) *ThanosRulerSpecApplyConfiguration
WithQueryEndpoints adds the given value to the QueryEndpoints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the QueryEndpoints field.
func (*ThanosRulerSpecApplyConfiguration) WithReplicas ¶
func (b *ThanosRulerSpecApplyConfiguration) WithReplicas(value int32) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithResources ¶
func (b *ThanosRulerSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithRetention ¶
func (b *ThanosRulerSpecApplyConfiguration) WithRetention(value monitoringv1.Duration) *ThanosRulerSpecApplyConfiguration
WithRetention sets the Retention field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Retention field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithRoutePrefix ¶
func (b *ThanosRulerSpecApplyConfiguration) WithRoutePrefix(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithRuleNamespaceSelector ¶
func (b *ThanosRulerSpecApplyConfiguration) WithRuleNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *ThanosRulerSpecApplyConfiguration
WithRuleNamespaceSelector sets the RuleNamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleNamespaceSelector field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithRuleSelector ¶
func (b *ThanosRulerSpecApplyConfiguration) WithRuleSelector(value *metav1.LabelSelectorApplyConfiguration) *ThanosRulerSpecApplyConfiguration
WithRuleSelector sets the RuleSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RuleSelector field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithSecurityContext ¶
func (b *ThanosRulerSpecApplyConfiguration) WithSecurityContext(value corev1.PodSecurityContext) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithServiceAccountName ¶
func (b *ThanosRulerSpecApplyConfiguration) WithServiceAccountName(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithStorage ¶
func (b *ThanosRulerSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithTolerations ¶
func (b *ThanosRulerSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithTopologySpreadConstraints ¶
func (b *ThanosRulerSpecApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithTracingConfig ¶
func (b *ThanosRulerSpecApplyConfiguration) WithTracingConfig(value corev1.SecretKeySelector) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithTracingConfigFile ¶
func (b *ThanosRulerSpecApplyConfiguration) WithTracingConfigFile(value string) *ThanosRulerSpecApplyConfiguration
WithTracingConfigFile sets the TracingConfigFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TracingConfigFile field is set to the value of the last call.
func (*ThanosRulerSpecApplyConfiguration) WithVersion ¶
func (b *ThanosRulerSpecApplyConfiguration) WithVersion(value string) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithVolumeMounts ¶
func (b *ThanosRulerSpecApplyConfiguration) WithVolumeMounts(values ...corev1.VolumeMount) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithVolumes ¶
func (b *ThanosRulerSpecApplyConfiguration) WithVolumes(values ...corev1.Volume) *ThanosRulerSpecApplyConfiguration
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 (*ThanosRulerSpecApplyConfiguration) WithWeb ¶
func (b *ThanosRulerSpecApplyConfiguration) WithWeb(value *ThanosRulerWebSpecApplyConfiguration) *ThanosRulerSpecApplyConfiguration
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 ThanosRulerStatusApplyConfiguration ¶
type ThanosRulerStatusApplyConfiguration struct { Paused *bool `json:"paused,omitempty"` Replicas *int32 `json:"replicas,omitempty"` UpdatedReplicas *int32 `json:"updatedReplicas,omitempty"` AvailableReplicas *int32 `json:"availableReplicas,omitempty"` Conditions []ConditionApplyConfiguration `json:"conditions,omitempty"` }
ThanosRulerStatusApplyConfiguration represents a declarative configuration of the ThanosRulerStatus type for use with apply.
func ThanosRulerStatus ¶
func ThanosRulerStatus() *ThanosRulerStatusApplyConfiguration
ThanosRulerStatusApplyConfiguration constructs a declarative configuration of the ThanosRulerStatus type for use with apply.
func (*ThanosRulerStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *ThanosRulerStatusApplyConfiguration) WithAvailableReplicas(value int32) *ThanosRulerStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*ThanosRulerStatusApplyConfiguration) WithConditions ¶
func (b *ThanosRulerStatusApplyConfiguration) WithConditions(values ...*ConditionApplyConfiguration) *ThanosRulerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ThanosRulerStatusApplyConfiguration) WithPaused ¶
func (b *ThanosRulerStatusApplyConfiguration) WithPaused(value bool) *ThanosRulerStatusApplyConfiguration
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 (*ThanosRulerStatusApplyConfiguration) WithReplicas ¶
func (b *ThanosRulerStatusApplyConfiguration) WithReplicas(value int32) *ThanosRulerStatusApplyConfiguration
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 (*ThanosRulerStatusApplyConfiguration) WithUnavailableReplicas ¶
func (b *ThanosRulerStatusApplyConfiguration) WithUnavailableReplicas(value int32) *ThanosRulerStatusApplyConfiguration
WithUnavailableReplicas sets the UnavailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnavailableReplicas field is set to the value of the last call.
func (*ThanosRulerStatusApplyConfiguration) WithUpdatedReplicas ¶
func (b *ThanosRulerStatusApplyConfiguration) WithUpdatedReplicas(value int32) *ThanosRulerStatusApplyConfiguration
WithUpdatedReplicas sets the UpdatedReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpdatedReplicas field is set to the value of the last call.
type ThanosRulerWebSpecApplyConfiguration ¶
type ThanosRulerWebSpecApplyConfiguration struct {
WebConfigFileFieldsApplyConfiguration `json:",inline"`
}
ThanosRulerWebSpecApplyConfiguration represents a declarative configuration of the ThanosRulerWebSpec type for use with apply.
func ThanosRulerWebSpec ¶
func ThanosRulerWebSpec() *ThanosRulerWebSpecApplyConfiguration
ThanosRulerWebSpecApplyConfiguration constructs a declarative configuration of the ThanosRulerWebSpec type for use with apply.
func (*ThanosRulerWebSpecApplyConfiguration) WithHTTPConfig ¶
func (b *ThanosRulerWebSpecApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *ThanosRulerWebSpecApplyConfiguration
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 (*ThanosRulerWebSpecApplyConfiguration) WithTLSConfig ¶
func (b *ThanosRulerWebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *ThanosRulerWebSpecApplyConfiguration
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 ThanosSpecApplyConfiguration ¶
type ThanosSpecApplyConfiguration struct { Image *string `json:"image,omitempty"` Version *string `json:"version,omitempty"` Tag *string `json:"tag,omitempty"` SHA *string `json:"sha,omitempty"` BaseImage *string `json:"baseImage,omitempty"` Resources *v1.ResourceRequirements `json:"resources,omitempty"` ObjectStorageConfig *v1.SecretKeySelector `json:"objectStorageConfig,omitempty"` ObjectStorageConfigFile *string `json:"objectStorageConfigFile,omitempty"` ListenLocal *bool `json:"listenLocal,omitempty"` GRPCListenLocal *bool `json:"grpcListenLocal,omitempty"` HTTPListenLocal *bool `json:"httpListenLocal,omitempty"` TracingConfig *v1.SecretKeySelector `json:"tracingConfig,omitempty"` TracingConfigFile *string `json:"tracingConfigFile,omitempty"` GRPCServerTLSConfig *TLSConfigApplyConfiguration `json:"grpcServerTlsConfig,omitempty"` LogLevel *string `json:"logLevel,omitempty"` LogFormat *string `json:"logFormat,omitempty"` MinTime *string `json:"minTime,omitempty"` BlockDuration *apismonitoringv1.Duration `json:"blockSize,omitempty"` ReadyTimeout *apismonitoringv1.Duration `json:"readyTimeout,omitempty"` GetConfigInterval *apismonitoringv1.Duration `json:"getConfigInterval,omitempty"` GetConfigTimeout *apismonitoringv1.Duration `json:"getConfigTimeout,omitempty"` VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"` AdditionalArgs []ArgumentApplyConfiguration `json:"additionalArgs,omitempty"` }
ThanosSpecApplyConfiguration represents a declarative configuration of the ThanosSpec type for use with apply.
func ThanosSpec ¶
func ThanosSpec() *ThanosSpecApplyConfiguration
ThanosSpecApplyConfiguration constructs a declarative configuration of the ThanosSpec type for use with apply.
func (*ThanosSpecApplyConfiguration) WithAdditionalArgs ¶
func (b *ThanosSpecApplyConfiguration) WithAdditionalArgs(values ...*ArgumentApplyConfiguration) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithBaseImage ¶
func (b *ThanosSpecApplyConfiguration) WithBaseImage(value string) *ThanosSpecApplyConfiguration
WithBaseImage sets the BaseImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseImage field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithBlockDuration ¶
func (b *ThanosSpecApplyConfiguration) WithBlockDuration(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
WithBlockDuration sets the BlockDuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BlockDuration field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithGRPCListenLocal ¶
func (b *ThanosSpecApplyConfiguration) WithGRPCListenLocal(value bool) *ThanosSpecApplyConfiguration
WithGRPCListenLocal sets the GRPCListenLocal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GRPCListenLocal field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig ¶
func (b *ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig(value *TLSConfigApplyConfiguration) *ThanosSpecApplyConfiguration
WithGRPCServerTLSConfig sets the GRPCServerTLSConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GRPCServerTLSConfig field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithGetConfigInterval ¶
func (b *ThanosSpecApplyConfiguration) WithGetConfigInterval(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
WithGetConfigInterval sets the GetConfigInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GetConfigInterval field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithGetConfigTimeout ¶
func (b *ThanosSpecApplyConfiguration) WithGetConfigTimeout(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
WithGetConfigTimeout sets the GetConfigTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GetConfigTimeout field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithHTTPListenLocal ¶
func (b *ThanosSpecApplyConfiguration) WithHTTPListenLocal(value bool) *ThanosSpecApplyConfiguration
WithHTTPListenLocal sets the HTTPListenLocal field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPListenLocal field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithImage ¶
func (b *ThanosSpecApplyConfiguration) WithImage(value string) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithListenLocal ¶
func (b *ThanosSpecApplyConfiguration) WithListenLocal(value bool) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithLogFormat ¶
func (b *ThanosSpecApplyConfiguration) WithLogFormat(value string) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithLogLevel ¶
func (b *ThanosSpecApplyConfiguration) WithLogLevel(value string) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithMinTime ¶
func (b *ThanosSpecApplyConfiguration) WithMinTime(value string) *ThanosSpecApplyConfiguration
WithMinTime sets the MinTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinTime field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithObjectStorageConfig ¶
func (b *ThanosSpecApplyConfiguration) WithObjectStorageConfig(value v1.SecretKeySelector) *ThanosSpecApplyConfiguration
WithObjectStorageConfig sets the ObjectStorageConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObjectStorageConfig field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithObjectStorageConfigFile ¶
func (b *ThanosSpecApplyConfiguration) WithObjectStorageConfigFile(value string) *ThanosSpecApplyConfiguration
WithObjectStorageConfigFile sets the ObjectStorageConfigFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObjectStorageConfigFile field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithReadyTimeout ¶
func (b *ThanosSpecApplyConfiguration) WithReadyTimeout(value apismonitoringv1.Duration) *ThanosSpecApplyConfiguration
WithReadyTimeout sets the ReadyTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyTimeout field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithResources ¶
func (b *ThanosSpecApplyConfiguration) WithResources(value v1.ResourceRequirements) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithSHA ¶
func (b *ThanosSpecApplyConfiguration) WithSHA(value string) *ThanosSpecApplyConfiguration
WithSHA sets the SHA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SHA field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithTag ¶
func (b *ThanosSpecApplyConfiguration) WithTag(value string) *ThanosSpecApplyConfiguration
WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithTracingConfig ¶
func (b *ThanosSpecApplyConfiguration) WithTracingConfig(value v1.SecretKeySelector) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithTracingConfigFile ¶
func (b *ThanosSpecApplyConfiguration) WithTracingConfigFile(value string) *ThanosSpecApplyConfiguration
WithTracingConfigFile sets the TracingConfigFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TracingConfigFile field is set to the value of the last call.
func (*ThanosSpecApplyConfiguration) WithVersion ¶
func (b *ThanosSpecApplyConfiguration) WithVersion(value string) *ThanosSpecApplyConfiguration
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 (*ThanosSpecApplyConfiguration) WithVolumeMounts ¶
func (b *ThanosSpecApplyConfiguration) WithVolumeMounts(values ...v1.VolumeMount) *ThanosSpecApplyConfiguration
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.
type TopologySpreadConstraintApplyConfiguration ¶
type TopologySpreadConstraintApplyConfiguration struct { CoreV1TopologySpreadConstraintApplyConfiguration `json:",inline"` AdditionalLabelSelectors *monitoringv1.AdditionalLabelSelectors `json:"additionalLabelSelectors,omitempty"` }
TopologySpreadConstraintApplyConfiguration represents a declarative configuration of the TopologySpreadConstraint type for use with apply.
func TopologySpreadConstraint ¶
func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration
TopologySpreadConstraintApplyConfiguration constructs a declarative configuration of the TopologySpreadConstraint type for use with apply.
func (*TopologySpreadConstraintApplyConfiguration) WithAdditionalLabelSelectors ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithAdditionalLabelSelectors(value monitoringv1.AdditionalLabelSelectors) *TopologySpreadConstraintApplyConfiguration
WithAdditionalLabelSelectors sets the AdditionalLabelSelectors field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdditionalLabelSelectors field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithLabelSelector ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithLabelSelector(value *metav1.LabelSelectorApplyConfiguration) *TopologySpreadConstraintApplyConfiguration
WithLabelSelector sets the LabelSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelSelector field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *TopologySpreadConstraintApplyConfiguration
WithMatchLabelKeys adds the given value to the MatchLabelKeys field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchLabelKeys field.
func (*TopologySpreadConstraintApplyConfiguration) WithMaxSkew ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMaxSkew(value int32) *TopologySpreadConstraintApplyConfiguration
WithMaxSkew sets the MaxSkew field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxSkew field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithMinDomains ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithMinDomains(value int32) *TopologySpreadConstraintApplyConfiguration
WithMinDomains sets the MinDomains field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinDomains field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy(value corev1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
WithNodeAffinityPolicy sets the NodeAffinityPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeAffinityPolicy field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value corev1.NodeInclusionPolicy) *TopologySpreadConstraintApplyConfiguration
WithNodeTaintsPolicy sets the NodeTaintsPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeTaintsPolicy field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithTopologyKey ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithTopologyKey(value string) *TopologySpreadConstraintApplyConfiguration
WithTopologyKey sets the TopologyKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TopologyKey field is set to the value of the last call.
func (*TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable ¶
func (b *TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable(value corev1.UnsatisfiableConstraintAction) *TopologySpreadConstraintApplyConfiguration
WithWhenUnsatisfiable sets the WhenUnsatisfiable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WhenUnsatisfiable field is set to the value of the last call.
type WebConfigFileFieldsApplyConfiguration ¶
type WebConfigFileFieldsApplyConfiguration struct { TLSConfig *WebTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` HTTPConfig *WebHTTPConfigApplyConfiguration `json:"httpConfig,omitempty"` }
WebConfigFileFieldsApplyConfiguration represents a declarative configuration of the WebConfigFileFields type for use with apply.
func WebConfigFileFields ¶
func WebConfigFileFields() *WebConfigFileFieldsApplyConfiguration
WebConfigFileFieldsApplyConfiguration constructs a declarative configuration of the WebConfigFileFields type for use with apply.
func (*WebConfigFileFieldsApplyConfiguration) WithHTTPConfig ¶
func (b *WebConfigFileFieldsApplyConfiguration) WithHTTPConfig(value *WebHTTPConfigApplyConfiguration) *WebConfigFileFieldsApplyConfiguration
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 (*WebConfigFileFieldsApplyConfiguration) WithTLSConfig ¶
func (b *WebConfigFileFieldsApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *WebConfigFileFieldsApplyConfiguration
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 WebHTTPConfigApplyConfiguration ¶
type WebHTTPConfigApplyConfiguration struct { HTTP2 *bool `json:"http2,omitempty"` Headers *WebHTTPHeadersApplyConfiguration `json:"headers,omitempty"` }
WebHTTPConfigApplyConfiguration represents a declarative configuration of the WebHTTPConfig type for use with apply.
func WebHTTPConfig ¶
func WebHTTPConfig() *WebHTTPConfigApplyConfiguration
WebHTTPConfigApplyConfiguration constructs a declarative configuration of the WebHTTPConfig type for use with apply.
func (*WebHTTPConfigApplyConfiguration) WithHTTP2 ¶
func (b *WebHTTPConfigApplyConfiguration) WithHTTP2(value bool) *WebHTTPConfigApplyConfiguration
WithHTTP2 sets the HTTP2 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTP2 field is set to the value of the last call.
func (*WebHTTPConfigApplyConfiguration) WithHeaders ¶
func (b *WebHTTPConfigApplyConfiguration) WithHeaders(value *WebHTTPHeadersApplyConfiguration) *WebHTTPConfigApplyConfiguration
WithHeaders sets the Headers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Headers field is set to the value of the last call.
type WebHTTPHeadersApplyConfiguration ¶
type WebHTTPHeadersApplyConfiguration struct { ContentSecurityPolicy *string `json:"contentSecurityPolicy,omitempty"` XFrameOptions *string `json:"xFrameOptions,omitempty"` XContentTypeOptions *string `json:"xContentTypeOptions,omitempty"` XXSSProtection *string `json:"xXSSProtection,omitempty"` StrictTransportSecurity *string `json:"strictTransportSecurity,omitempty"` }
WebHTTPHeadersApplyConfiguration represents a declarative configuration of the WebHTTPHeaders type for use with apply.
func WebHTTPHeaders ¶
func WebHTTPHeaders() *WebHTTPHeadersApplyConfiguration
WebHTTPHeadersApplyConfiguration constructs a declarative configuration of the WebHTTPHeaders type for use with apply.
func (*WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy ¶
func (b *WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy(value string) *WebHTTPHeadersApplyConfiguration
WithContentSecurityPolicy sets the ContentSecurityPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContentSecurityPolicy field is set to the value of the last call.
func (*WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity ¶
func (b *WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity(value string) *WebHTTPHeadersApplyConfiguration
WithStrictTransportSecurity sets the StrictTransportSecurity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StrictTransportSecurity field is set to the value of the last call.
func (*WebHTTPHeadersApplyConfiguration) WithXContentTypeOptions ¶
func (b *WebHTTPHeadersApplyConfiguration) WithXContentTypeOptions(value string) *WebHTTPHeadersApplyConfiguration
WithXContentTypeOptions sets the XContentTypeOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the XContentTypeOptions field is set to the value of the last call.
func (*WebHTTPHeadersApplyConfiguration) WithXFrameOptions ¶
func (b *WebHTTPHeadersApplyConfiguration) WithXFrameOptions(value string) *WebHTTPHeadersApplyConfiguration
WithXFrameOptions sets the XFrameOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the XFrameOptions field is set to the value of the last call.
func (*WebHTTPHeadersApplyConfiguration) WithXXSSProtection ¶
func (b *WebHTTPHeadersApplyConfiguration) WithXXSSProtection(value string) *WebHTTPHeadersApplyConfiguration
WithXXSSProtection sets the XXSSProtection field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the XXSSProtection field is set to the value of the last call.
type WebTLSConfigApplyConfiguration ¶
type WebTLSConfigApplyConfiguration struct { Cert *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"` ClientCA *SecretOrConfigMapApplyConfiguration `json:"client_ca,omitempty"` KeySecret *corev1.SecretKeySelector `json:"keySecret,omitempty"` ClientAuthType *string `json:"clientAuthType,omitempty"` MinVersion *string `json:"minVersion,omitempty"` MaxVersion *string `json:"maxVersion,omitempty"` CipherSuites []string `json:"cipherSuites,omitempty"` PreferServerCipherSuites *bool `json:"preferServerCipherSuites,omitempty"` CurvePreferences []string `json:"curvePreferences,omitempty"` KeyFile *string `json:"keyFile,omitempty"` CertFile *string `json:"certFile,omitempty"` ClientCAFile *string `json:"clientCAFile,omitempty"` }
WebTLSConfigApplyConfiguration represents a declarative configuration of the WebTLSConfig type for use with apply.
func WebTLSConfig ¶
func WebTLSConfig() *WebTLSConfigApplyConfiguration
WebTLSConfigApplyConfiguration constructs a declarative configuration of the WebTLSConfig type for use with apply.
func (*WebTLSConfigApplyConfiguration) WithCert ¶
func (b *WebTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *WebTLSConfigApplyConfiguration
WithCert sets the Cert field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cert field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithCertFile ¶
func (b *WebTLSConfigApplyConfiguration) WithCertFile(value string) *WebTLSConfigApplyConfiguration
WithCertFile sets the CertFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CertFile field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithCipherSuites ¶
func (b *WebTLSConfigApplyConfiguration) WithCipherSuites(values ...string) *WebTLSConfigApplyConfiguration
WithCipherSuites adds the given value to the CipherSuites field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CipherSuites field.
func (*WebTLSConfigApplyConfiguration) WithClientAuthType ¶
func (b *WebTLSConfigApplyConfiguration) WithClientAuthType(value string) *WebTLSConfigApplyConfiguration
WithClientAuthType sets the ClientAuthType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientAuthType field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithClientCA ¶
func (b *WebTLSConfigApplyConfiguration) WithClientCA(value *SecretOrConfigMapApplyConfiguration) *WebTLSConfigApplyConfiguration
WithClientCA sets the ClientCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientCA field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithClientCAFile ¶
func (b *WebTLSConfigApplyConfiguration) WithClientCAFile(value string) *WebTLSConfigApplyConfiguration
WithClientCAFile sets the ClientCAFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientCAFile field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithCurvePreferences ¶
func (b *WebTLSConfigApplyConfiguration) WithCurvePreferences(values ...string) *WebTLSConfigApplyConfiguration
WithCurvePreferences adds the given value to the CurvePreferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CurvePreferences field.
func (*WebTLSConfigApplyConfiguration) WithKeyFile ¶
func (b *WebTLSConfigApplyConfiguration) WithKeyFile(value string) *WebTLSConfigApplyConfiguration
WithKeyFile sets the KeyFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeyFile field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithKeySecret ¶
func (b *WebTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *WebTLSConfigApplyConfiguration
WithKeySecret sets the KeySecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeySecret field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithMaxVersion ¶
func (b *WebTLSConfigApplyConfiguration) WithMaxVersion(value string) *WebTLSConfigApplyConfiguration
WithMaxVersion sets the MaxVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxVersion field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithMinVersion ¶
func (b *WebTLSConfigApplyConfiguration) WithMinVersion(value string) *WebTLSConfigApplyConfiguration
WithMinVersion sets the MinVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinVersion field is set to the value of the last call.
func (*WebTLSConfigApplyConfiguration) WithPreferServerCipherSuites ¶
func (b *WebTLSConfigApplyConfiguration) WithPreferServerCipherSuites(value bool) *WebTLSConfigApplyConfiguration
WithPreferServerCipherSuites sets the PreferServerCipherSuites field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PreferServerCipherSuites field is set to the value of the last call.
Source Files ¶
- alertingspec.go
- alertmanager.go
- alertmanagerconfigmatcherstrategy.go
- alertmanagerconfiguration.go
- alertmanagerendpoints.go
- alertmanagerglobalconfig.go
- alertmanagerspec.go
- alertmanagerstatus.go
- alertmanagerwebspec.go
- apiserverconfig.go
- arbitraryfsaccessthroughsmsconfig.go
- argument.go
- attachmetadata.go
- authorization.go
- azuread.go
- azureoauth.go
- azuresdk.go
- basicauth.go
- commonprometheusfields.go
- condition.go
- corev1topologyspreadconstraint.go
- embeddedobjectmetadata.go
- embeddedpersistentvolumeclaim.go
- endpoint.go
- exemplars.go
- globalsmtpconfig.go
- hostalias.go
- hostport.go
- httpconfig.go
- managedidentity.go
- metadataconfig.go
- namespaceselector.go
- nativehistogramconfig.go
- oauth2.go
- objectreference.go
- otlpconfig.go
- poddnsconfig.go
- poddnsconfigoption.go
- podmetricsendpoint.go
- podmonitor.go
- podmonitorspec.go
- probe.go
- proberspec.go
- probespec.go
- probetargetingress.go
- probetargets.go
- probetargetstaticconfig.go
- prometheus.go
- prometheusrule.go
- prometheusruleexcludeconfig.go
- prometheusrulespec.go
- prometheusspec.go
- prometheusstatus.go
- prometheustracingconfig.go
- prometheuswebspec.go
- proxyconfig.go
- queryspec.go
- queueconfig.go
- relabelconfig.go
- remotereadspec.go
- remotewritespec.go
- rule.go
- rulegroup.go
- rules.go
- rulesalert.go
- runtimeconfig.go
- safeauthorization.go
- safetlsconfig.go
- scrapeclass.go
- secretorconfigmap.go
- servicemonitor.go
- servicemonitorspec.go
- shardstatus.go
- sigv4.go
- storagespec.go
- thanosruler.go
- thanosrulerspec.go
- thanosrulerstatus.go
- thanosrulerwebspec.go
- thanosspec.go
- tlsconfig.go
- topologyspreadconstraint.go
- tsdbspec.go
- webconfigfilefields.go
- webhttpconfig.go
- webhttpheaders.go
- webtlsconfig.go