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) 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 AlertmanagerConfigurationApplyConfiguration
- type AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithAPIVersion(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithAuthorization(value *SafeAuthorizationApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithBearerTokenFile(value string) *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) WithScheme(value string) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithTLSConfig(value *TLSConfigApplyConfiguration) *AlertmanagerEndpointsApplyConfiguration
- func (b *AlertmanagerEndpointsApplyConfiguration) WithTimeout(value string) *AlertmanagerEndpointsApplyConfiguration
- type AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAdditionalPeers(values ...string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAffinity(value corev1.Affinity) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value metav1.LabelSelector) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigSelector(value metav1.LabelSelector) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfiguration(value *AlertmanagerConfigurationApplyConfiguration) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithBaseImage(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterAdvertiseAddress(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterGossipInterval(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout(value string) *AlertmanagerSpecApplyConfiguration
- func (b *AlertmanagerSpecApplyConfiguration) WithClusterPushpullInterval(value string) *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) 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) 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 string) *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
- type AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithAvailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithPaused(value bool) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithUnavailableReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- func (b *AlertmanagerStatusApplyConfiguration) WithUpdatedReplicas(value int32) *AlertmanagerStatusApplyConfiguration
- type ArbitraryFSAccessThroughSMsConfigApplyConfiguration
- 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 BasicAuthApplyConfiguration
- type CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig(value *APIServerConfigApplyConfiguration) *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) WithBaseImage(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithConfigMaps(values ...string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithContainers(values ...corev1.Container) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableAdminAPI(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures(values ...string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *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) WithEvaluationInterval(value monitoringv1.Duration) *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) WithIgnoreNamespaceSelectors(value bool) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithImage(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithInitContainers(values ...corev1.Container) *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) WithMinReadySeconds(value uint32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithNodeSelector(entries map[string]string) *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) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorNamespaceSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPodMonitorSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPortName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPriorityClassName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeNamespaceSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithProbeSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithPrometheusExternalLabelName(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *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) WithSHA(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *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) WithServiceMonitorNamespaceSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorSelector(value metav1.LabelSelector) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithShards(value int32) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTag(value string) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTolerations(values ...corev1.Toleration) *CommonPrometheusFieldsApplyConfiguration
- func (b *CommonPrometheusFieldsApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *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) WithWeb(value *WebSpecApplyConfiguration) *CommonPrometheusFieldsApplyConfiguration
- 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) 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 ...**v1.RelabelConfig) *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 ...**v1.RelabelConfig) *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
- type HostAliasApplyConfiguration
- type MetadataConfigApplyConfiguration
- type NamespaceSelectorApplyConfiguration
- 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) WithScopes(values ...string) *OAuth2ApplyConfiguration
- func (b *OAuth2ApplyConfiguration) WithTokenURL(value string) *OAuth2ApplyConfiguration
- 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 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) 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 ...**v1.RelabelConfig) *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 ...**v1.RelabelConfig) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithScheme(value string) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithScrapeTimeout(value v1.Duration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithTLSConfig(value *PodMetricsEndpointTLSConfigApplyConfiguration) *PodMetricsEndpointApplyConfiguration
- func (b *PodMetricsEndpointApplyConfiguration) WithTargetPort(value intstr.IntOrString) *PodMetricsEndpointApplyConfiguration
- type PodMetricsEndpointTLSConfigApplyConfiguration
- func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *PodMetricsEndpointTLSConfigApplyConfiguration
- func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *PodMetricsEndpointTLSConfigApplyConfiguration
- func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *PodMetricsEndpointTLSConfigApplyConfiguration
- func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *PodMetricsEndpointTLSConfigApplyConfiguration
- func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithServerName(value string) *PodMetricsEndpointTLSConfigApplyConfiguration
- type PodMonitorApplyConfiguration
- 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) WithJobLabel(value string) *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) WithPodMetricsEndpoints(values ...*PodMetricsEndpointApplyConfiguration) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithPodTargetLabels(values ...string) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithSelector(value metav1.LabelSelector) *PodMonitorSpecApplyConfiguration
- func (b *PodMonitorSpecApplyConfiguration) WithTargetLimit(value uint64) *PodMonitorSpecApplyConfiguration
- type ProbeApplyConfiguration
- 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) WithLabelLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithMetricRelabelConfigs(values ...**monitoringv1.RelabelConfig) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithModule(value string) *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) WithScrapeTimeout(value monitoringv1.Duration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTLSConfig(value *ProbeTLSConfigApplyConfiguration) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTargetLimit(value uint64) *ProbeSpecApplyConfiguration
- func (b *ProbeSpecApplyConfiguration) WithTargets(value *ProbeTargetsApplyConfiguration) *ProbeSpecApplyConfiguration
- type ProbeTLSConfigApplyConfiguration
- func (b *ProbeTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *ProbeTLSConfigApplyConfiguration
- func (b *ProbeTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *ProbeTLSConfigApplyConfiguration
- func (b *ProbeTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *ProbeTLSConfigApplyConfiguration
- func (b *ProbeTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *ProbeTLSConfigApplyConfiguration
- func (b *ProbeTLSConfigApplyConfiguration) WithServerName(value string) *ProbeTLSConfigApplyConfiguration
- type ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithNamespaceSelector(value *NamespaceSelectorApplyConfiguration) *ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithRelabelConfigs(values ...**apismonitoringv1.RelabelConfig) *ProbeTargetIngressApplyConfiguration
- func (b *ProbeTargetIngressApplyConfiguration) WithSelector(value v1.LabelSelector) *ProbeTargetIngressApplyConfiguration
- type ProbeTargetStaticConfigApplyConfiguration
- func (b *ProbeTargetStaticConfigApplyConfiguration) WithLabels(entries map[string]string) *ProbeTargetStaticConfigApplyConfiguration
- func (b *ProbeTargetStaticConfigApplyConfiguration) WithRelabelConfigs(values ...**v1.RelabelConfig) *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) 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 PrometheusConditionApplyConfiguration
- func (b *PrometheusConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PrometheusConditionApplyConfiguration
- func (b *PrometheusConditionApplyConfiguration) WithMessage(value string) *PrometheusConditionApplyConfiguration
- func (b *PrometheusConditionApplyConfiguration) WithReason(value string) *PrometheusConditionApplyConfiguration
- func (b *PrometheusConditionApplyConfiguration) WithStatus(value v1.PrometheusConditionStatus) *PrometheusConditionApplyConfiguration
- func (b *PrometheusConditionApplyConfiguration) WithType(value v1.PrometheusConditionType) *PrometheusConditionApplyConfiguration
- type PrometheusRuleApplyConfiguration
- 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) 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) WithBaseImage(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithConfigMaps(values ...string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithContainers(values ...corev1.Container) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithDisableCompaction(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableAdminAPI(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableFeatures(values ...string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnableRemoteWriteReceiver(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithEnforcedBodySizeLimit(value monitoringv1.ByteSize) *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) WithExternalLabels(entries map[string]string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithExternalURL(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithHostAliases(values ...*HostAliasApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithImage(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithImagePullSecrets(values ...corev1.LocalObjectReference) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithInitContainers(values ...corev1.Container) *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) WithMinReadySeconds(value uint32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *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) WithPodMetadata(value *EmbeddedObjectMetadataApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodMonitorNamespaceSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPodMonitorSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPortName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithPriorityClassName(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithProbeNamespaceSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithProbeSelector(value metav1.LabelSelector) *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) WithRemoteRead(values ...*RemoteReadSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRemoteWrite(values ...*RemoteWriteSpecApplyConfiguration) *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.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRuleSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithRules(value *RulesApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithSHA(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithScrapeInterval(value monitoringv1.Duration) *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) WithServiceMonitorNamespaceSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithShards(value int32) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithStorage(value *StorageSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTag(value string) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithThanos(value *ThanosSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTolerations(values ...corev1.Toleration) *PrometheusSpecApplyConfiguration
- func (b *PrometheusSpecApplyConfiguration) WithTopologySpreadConstraints(values ...corev1.TopologySpreadConstraint) *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 *WebSpecApplyConfiguration) *PrometheusSpecApplyConfiguration
- type PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithAvailableReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithConditions(values ...*PrometheusConditionApplyConfiguration) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithPaused(value bool) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithShardStatuses(values ...*ShardStatusApplyConfiguration) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithUnavailableReplicas(value int32) *PrometheusStatusApplyConfiguration
- func (b *PrometheusStatusApplyConfiguration) WithUpdatedReplicas(value int32) *PrometheusStatusApplyConfiguration
- 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 string) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithCapacity(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMaxBackoff(value string) *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 string) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithMinShards(value int) *QueueConfigApplyConfiguration
- func (b *QueueConfigApplyConfiguration) WithRetryOnRateLimit(value bool) *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) WithHeaders(entries map[string]string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithName(value string) *RemoteReadSpecApplyConfiguration
- func (b *RemoteReadSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *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) WithBasicAuth(value *BasicAuthApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithBearerToken(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithBearerTokenFile(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithHeaders(entries map[string]string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithMetadataConfig(value *MetadataConfigApplyConfiguration) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithName(value string) *RemoteWriteSpecApplyConfiguration
- func (b *RemoteWriteSpecApplyConfiguration) WithOAuth2(value *OAuth2ApplyConfiguration) *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) 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 string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithLabels(entries map[string]string) *RuleApplyConfiguration
- func (b *RuleApplyConfiguration) WithRecord(value string) *RuleApplyConfiguration
- type RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithInterval(value string) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithName(value string) *RuleGroupApplyConfiguration
- func (b *RuleGroupApplyConfiguration) WithPartialResponseStrategy(value string) *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 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) WithServerName(value string) *SafeTLSConfigApplyConfiguration
- type SecretOrConfigMapApplyConfiguration
- type ServiceMonitorApplyConfiguration
- 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) WithEndpoints(values ...*EndpointApplyConfiguration) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithJobLabel(value string) *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) WithPodTargetLabels(values ...string) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithSampleLimit(value uint64) *ServiceMonitorSpecApplyConfiguration
- func (b *ServiceMonitorSpecApplyConfiguration) WithSelector(value metav1.LabelSelector) *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) WithServerName(value string) *TLSConfigApplyConfiguration
- type ThanosRulerApplyConfiguration
- 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) 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) 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) 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.LabelSelector) *ThanosRulerSpecApplyConfiguration
- func (b *ThanosRulerSpecApplyConfiguration) WithRuleSelector(value metav1.LabelSelector) *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) WithVolumes(values ...corev1.Volume) *ThanosRulerSpecApplyConfiguration
- type ThanosRulerStatusApplyConfiguration
- func (b *ThanosRulerStatusApplyConfiguration) WithAvailableReplicas(value int32) *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 ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithBaseImage(value string) *ThanosSpecApplyConfiguration
- func (b *ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig(value *TLSConfigApplyConfiguration) *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 WebSpecApplyConfiguration
- type WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *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) WithCurvePreferences(values ...string) *WebTLSConfigApplyConfiguration
- func (b *WebTLSConfigApplyConfiguration) WithKeySecret(value v1.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"` BearerToken *string `json:"bearerToken,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` }
APIServerConfigApplyConfiguration represents an declarative configuration of the APIServerConfig type for use with apply.
func APIServerConfig ¶
func APIServerConfig() *APIServerConfigApplyConfiguration
APIServerConfigApplyConfiguration constructs an 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 an declarative configuration of the AlertingSpec type for use with apply.
func AlertingSpec ¶
func AlertingSpec() *AlertingSpecApplyConfiguration
AlertingSpecApplyConfiguration constructs an 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 an declarative configuration of the Alertmanager type for use with apply.
func Alertmanager ¶
func Alertmanager(name, namespace string) *AlertmanagerApplyConfiguration
Alertmanager constructs an declarative configuration of the Alertmanager type for use with apply.
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 AlertmanagerConfigurationApplyConfiguration ¶
type AlertmanagerConfigurationApplyConfiguration struct {
Name *string `json:"name,omitempty"`
}
AlertmanagerConfigurationApplyConfiguration represents an declarative configuration of the AlertmanagerConfiguration type for use with apply.
func AlertmanagerConfiguration ¶
func AlertmanagerConfiguration() *AlertmanagerConfigurationApplyConfiguration
AlertmanagerConfigurationApplyConfiguration constructs an declarative configuration of the AlertmanagerConfiguration type for use with apply.
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.
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"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` APIVersion *string `json:"apiVersion,omitempty"` Timeout *string `json:"timeout,omitempty"` }
AlertmanagerEndpointsApplyConfiguration represents an declarative configuration of the AlertmanagerEndpoints type for use with apply.
func AlertmanagerEndpoints ¶
func AlertmanagerEndpoints() *AlertmanagerEndpointsApplyConfiguration
AlertmanagerEndpointsApplyConfiguration constructs an 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) 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) 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) 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) 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) 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 string) *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 AlertmanagerSpecApplyConfiguration ¶
type AlertmanagerSpecApplyConfiguration struct { PodMetadata *EmbeddedObjectMetadataApplyConfiguration `json:"podMetadata,omitempty"` 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"` 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 *string `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"` 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 *string `json:"clusterGossipInterval,omitempty"` ClusterPushpullInterval *string `json:"clusterPushpullInterval,omitempty"` ClusterPeerTimeout *string `json:"clusterPeerTimeout,omitempty"` PortName *string `json:"portName,omitempty"` ForceEnableClusterMode *bool `json:"forceEnableClusterMode,omitempty"` AlertmanagerConfigSelector *metav1.LabelSelector `json:"alertmanagerConfigSelector,omitempty"` AlertmanagerConfigNamespaceSelector *metav1.LabelSelector `json:"alertmanagerConfigNamespaceSelector,omitempty"` MinReadySeconds *uint32 `json:"minReadySeconds,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` AlertmanagerConfiguration *AlertmanagerConfigurationApplyConfiguration `json:"alertmanagerConfiguration,omitempty"` }
AlertmanagerSpecApplyConfiguration represents an declarative configuration of the AlertmanagerSpec type for use with apply.
func AlertmanagerSpec ¶
func AlertmanagerSpec() *AlertmanagerSpecApplyConfiguration
AlertmanagerSpecApplyConfiguration constructs an 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) WithAlertmanagerConfigNamespaceSelector ¶
func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value metav1.LabelSelector) *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.LabelSelector) *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) 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 string) *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) WithClusterPeerTimeout ¶
func (b *AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout(value string) *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 string) *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) 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) 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 string) *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.
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"` }
AlertmanagerStatusApplyConfiguration represents an declarative configuration of the AlertmanagerStatus type for use with apply.
func AlertmanagerStatus ¶
func AlertmanagerStatus() *AlertmanagerStatusApplyConfiguration
AlertmanagerStatusApplyConfiguration constructs an 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) 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) 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 ArbitraryFSAccessThroughSMsConfigApplyConfiguration ¶
type ArbitraryFSAccessThroughSMsConfigApplyConfiguration struct {
Deny *bool `json:"deny,omitempty"`
}
ArbitraryFSAccessThroughSMsConfigApplyConfiguration represents an declarative configuration of the ArbitraryFSAccessThroughSMsConfig type for use with apply.
func ArbitraryFSAccessThroughSMsConfig ¶
func ArbitraryFSAccessThroughSMsConfig() *ArbitraryFSAccessThroughSMsConfigApplyConfiguration
ArbitraryFSAccessThroughSMsConfigApplyConfiguration constructs an 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 AttachMetadataApplyConfiguration ¶
type AttachMetadataApplyConfiguration struct {
Node *bool `json:"node,omitempty"`
}
AttachMetadataApplyConfiguration represents an declarative configuration of the AttachMetadata type for use with apply.
func AttachMetadata ¶
func AttachMetadata() *AttachMetadataApplyConfiguration
AttachMetadataApplyConfiguration constructs an 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 an declarative configuration of the Authorization type for use with apply.
func Authorization ¶
func Authorization() *AuthorizationApplyConfiguration
AuthorizationApplyConfiguration constructs an 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 BasicAuthApplyConfiguration ¶
type BasicAuthApplyConfiguration struct { Username *v1.SecretKeySelector `json:"username,omitempty"` Password *v1.SecretKeySelector `json:"password,omitempty"` }
BasicAuthApplyConfiguration represents an declarative configuration of the BasicAuth type for use with apply.
func BasicAuth ¶
func BasicAuth() *BasicAuthApplyConfiguration
BasicAuthApplyConfiguration constructs an 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.LabelSelector `json:"serviceMonitorSelector,omitempty"` ServiceMonitorNamespaceSelector *metav1.LabelSelector `json:"serviceMonitorNamespaceSelector,omitempty"` PodMonitorSelector *metav1.LabelSelector `json:"podMonitorSelector,omitempty"` PodMonitorNamespaceSelector *metav1.LabelSelector `json:"podMonitorNamespaceSelector,omitempty"` ProbeSelector *metav1.LabelSelector `json:"probeSelector,omitempty"` ProbeNamespaceSelector *metav1.LabelSelector `json:"probeNamespaceSelector,omitempty"` Version *string `json:"version,omitempty"` Tag *string `json:"tag,omitempty"` SHA *string `json:"sha,omitempty"` Paused *bool `json:"paused,omitempty"` Image *string `json:"image,omitempty"` BaseImage *string `json:"baseImage,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"` EvaluationInterval *monitoringv1.Duration `json:"evaluationInterval,omitempty"` ExternalLabels map[string]string `json:"externalLabels,omitempty"` EnableAdminAPI *bool `json:"enableAdminAPI,omitempty"` EnableRemoteWriteReceiver *bool `json:"enableRemoteWriteReceiver,omitempty"` EnableFeatures []string `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"` Web *WebSpecApplyConfiguration `json:"web,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` Secrets []string `json:"secrets,omitempty"` ConfigMaps []string `json:"configMaps,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` RemoteWrite []RemoteWriteSpecApplyConfiguration `json:"remoteWrite,omitempty"` SecurityContext *corev1.PodSecurityContext `json:"securityContext,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"` EnforcedBodySizeLimit *monitoringv1.ByteSize `json:"enforcedBodySizeLimit,omitempty"` MinReadySeconds *uint32 `json:"minReadySeconds,omitempty"` HostAliases []HostAliasApplyConfiguration `json:"hostAliases,omitempty"` }
CommonPrometheusFieldsApplyConfiguration represents an declarative configuration of the CommonPrometheusFields type for use with apply.
func CommonPrometheusFields ¶
func CommonPrometheusFields() *CommonPrometheusFieldsApplyConfiguration
CommonPrometheusFieldsApplyConfiguration constructs an 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) 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) WithBaseImage ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithBaseImage(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*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) WithEnableAdminAPI ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableAdminAPI(value bool) *CommonPrometheusFieldsApplyConfiguration
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 (*CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures(values ...string) *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) 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) WithEvaluationInterval ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithEvaluationInterval(value monitoringv1.Duration) *CommonPrometheusFieldsApplyConfiguration
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 (*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) 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) 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) 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) 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) 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) 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.LabelSelector) *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.LabelSelector) *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) 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.LabelSelector) *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.LabelSelector) *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) 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) 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) WithSHA ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithSHA(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*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) 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) WithServiceMonitorNamespaceSelector ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector(value metav1.LabelSelector) *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.LabelSelector) *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) WithTag ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithTag(value string) *CommonPrometheusFieldsApplyConfiguration
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 (*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 ...corev1.TopologySpreadConstraint) *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) 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) WithWeb ¶
func (b *CommonPrometheusFieldsApplyConfiguration) WithWeb(value *WebSpecApplyConfiguration) *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 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 an declarative configuration of the EmbeddedObjectMetadata type for use with apply.
func EmbeddedObjectMetadata ¶
func EmbeddedObjectMetadata() *EmbeddedObjectMetadataApplyConfiguration
EmbeddedObjectMetadataApplyConfiguration constructs an 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 an declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.
func EmbeddedPersistentVolumeClaim ¶
func EmbeddedPersistentVolumeClaim() *EmbeddedPersistentVolumeClaimApplyConfiguration
EmbeddedPersistentVolumeClaimApplyConfiguration constructs an 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"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` MetricRelabelConfigs []*v1.RelabelConfig `json:"metricRelabelings,omitempty"` RelabelConfigs []*v1.RelabelConfig `json:"relabelings,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` }
EndpointApplyConfiguration represents an declarative configuration of the Endpoint type for use with apply.
func Endpoint ¶
func Endpoint() *EndpointApplyConfiguration
EndpointApplyConfiguration constructs an 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) 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 ...**v1.RelabelConfig) *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 ...**v1.RelabelConfig) *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.
type HostAliasApplyConfiguration ¶
type HostAliasApplyConfiguration struct { IP *string `json:"ip,omitempty"` Hostnames []string `json:"hostnames,omitempty"` }
HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use with apply.
func HostAlias ¶
func HostAlias() *HostAliasApplyConfiguration
HostAliasApplyConfiguration constructs an 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 MetadataConfigApplyConfiguration ¶
type MetadataConfigApplyConfiguration struct { Send *bool `json:"send,omitempty"` SendInterval *v1.Duration `json:"sendInterval,omitempty"` }
MetadataConfigApplyConfiguration represents an declarative configuration of the MetadataConfig type for use with apply.
func MetadataConfig ¶
func MetadataConfig() *MetadataConfigApplyConfiguration
MetadataConfigApplyConfiguration constructs an 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 an declarative configuration of the NamespaceSelector type for use with apply.
func NamespaceSelector ¶
func NamespaceSelector() *NamespaceSelectorApplyConfiguration
NamespaceSelectorApplyConfiguration constructs an 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 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"` }
OAuth2ApplyConfiguration represents an declarative configuration of the OAuth2 type for use with apply.
func OAuth2 ¶
func OAuth2() *OAuth2ApplyConfiguration
OAuth2ApplyConfiguration constructs an 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) 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) 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 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 an declarative configuration of the ObjectReference type for use with apply.
func ObjectReference ¶
func ObjectReference() *ObjectReferenceApplyConfiguration
ObjectReferenceApplyConfiguration constructs an 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 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 *PodMetricsEndpointTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` HonorLabels *bool `json:"honorLabels,omitempty"` HonorTimestamps *bool `json:"honorTimestamps,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"` MetricRelabelConfigs []*v1.RelabelConfig `json:"metricRelabelings,omitempty"` RelabelConfigs []*v1.RelabelConfig `json:"relabelings,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` FollowRedirects *bool `json:"followRedirects,omitempty"` }
PodMetricsEndpointApplyConfiguration represents an declarative configuration of the PodMetricsEndpoint type for use with apply.
func PodMetricsEndpoint ¶
func PodMetricsEndpoint() *PodMetricsEndpointApplyConfiguration
PodMetricsEndpointApplyConfiguration constructs an 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) 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 ...**v1.RelabelConfig) *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 ...**v1.RelabelConfig) *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 *PodMetricsEndpointTLSConfigApplyConfiguration) *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.
type PodMetricsEndpointTLSConfigApplyConfiguration ¶
type PodMetricsEndpointTLSConfigApplyConfiguration struct {
SafeTLSConfigApplyConfiguration `json:",inline"`
}
PodMetricsEndpointTLSConfigApplyConfiguration represents an declarative configuration of the PodMetricsEndpointTLSConfig type for use with apply.
func PodMetricsEndpointTLSConfig ¶
func PodMetricsEndpointTLSConfig() *PodMetricsEndpointTLSConfigApplyConfiguration
PodMetricsEndpointTLSConfigApplyConfiguration constructs an declarative configuration of the PodMetricsEndpointTLSConfig type for use with apply.
func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithCA ¶
func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *PodMetricsEndpointTLSConfigApplyConfiguration
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 (*PodMetricsEndpointTLSConfigApplyConfiguration) WithCert ¶
func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *PodMetricsEndpointTLSConfigApplyConfiguration
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 (*PodMetricsEndpointTLSConfigApplyConfiguration) WithInsecureSkipVerify ¶
func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *PodMetricsEndpointTLSConfigApplyConfiguration
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 (*PodMetricsEndpointTLSConfigApplyConfiguration) WithKeySecret ¶
func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *PodMetricsEndpointTLSConfigApplyConfiguration
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 (*PodMetricsEndpointTLSConfigApplyConfiguration) WithServerName ¶
func (b *PodMetricsEndpointTLSConfigApplyConfiguration) WithServerName(value string) *PodMetricsEndpointTLSConfigApplyConfiguration
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 PodMonitorApplyConfiguration ¶
type PodMonitorApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PodMonitorSpecApplyConfiguration `json:"spec,omitempty"` }
PodMonitorApplyConfiguration represents an declarative configuration of the PodMonitor type for use with apply.
func PodMonitor ¶
func PodMonitor(name, namespace string) *PodMonitorApplyConfiguration
PodMonitor constructs an declarative configuration of the PodMonitor type for use with apply.
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.LabelSelector `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,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"` AttachMetadata *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"` }
PodMonitorSpecApplyConfiguration represents an declarative configuration of the PodMonitorSpec type for use with apply.
func PodMonitorSpec ¶
func PodMonitorSpec() *PodMonitorSpecApplyConfiguration
PodMonitorSpecApplyConfiguration constructs an 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) 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) 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) 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) WithSelector ¶
func (b *PodMonitorSpecApplyConfiguration) WithSelector(value metav1.LabelSelector) *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 an declarative configuration of the Probe type for use with apply.
func Probe ¶
func Probe(name, namespace string) *ProbeApplyConfiguration
Probe constructs an declarative configuration of the Probe type for use with apply.
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 *ProbeTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` BearerTokenSecret *corev1.SecretKeySelector `json:"bearerTokenSecret,omitempty"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` MetricRelabelConfigs []*monitoringv1.RelabelConfig `json:"metricRelabelings,omitempty"` Authorization *SafeAuthorizationApplyConfiguration `json:"authorization,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"` }
ProbeSpecApplyConfiguration represents an declarative configuration of the ProbeSpec type for use with apply.
func ProbeSpec ¶
func ProbeSpec() *ProbeSpecApplyConfiguration
ProbeSpecApplyConfiguration constructs an 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) 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 ...**monitoringv1.RelabelConfig) *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) 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) 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 *ProbeTLSConfigApplyConfiguration) *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 ProbeTLSConfigApplyConfiguration ¶
type ProbeTLSConfigApplyConfiguration struct {
SafeTLSConfigApplyConfiguration `json:",inline"`
}
ProbeTLSConfigApplyConfiguration represents an declarative configuration of the ProbeTLSConfig type for use with apply.
func ProbeTLSConfig ¶
func ProbeTLSConfig() *ProbeTLSConfigApplyConfiguration
ProbeTLSConfigApplyConfiguration constructs an declarative configuration of the ProbeTLSConfig type for use with apply.
func (*ProbeTLSConfigApplyConfiguration) WithCA ¶
func (b *ProbeTLSConfigApplyConfiguration) WithCA(value *SecretOrConfigMapApplyConfiguration) *ProbeTLSConfigApplyConfiguration
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 (*ProbeTLSConfigApplyConfiguration) WithCert ¶
func (b *ProbeTLSConfigApplyConfiguration) WithCert(value *SecretOrConfigMapApplyConfiguration) *ProbeTLSConfigApplyConfiguration
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 (*ProbeTLSConfigApplyConfiguration) WithInsecureSkipVerify ¶
func (b *ProbeTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *ProbeTLSConfigApplyConfiguration
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 (*ProbeTLSConfigApplyConfiguration) WithKeySecret ¶
func (b *ProbeTLSConfigApplyConfiguration) WithKeySecret(value corev1.SecretKeySelector) *ProbeTLSConfigApplyConfiguration
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 (*ProbeTLSConfigApplyConfiguration) WithServerName ¶
func (b *ProbeTLSConfigApplyConfiguration) WithServerName(value string) *ProbeTLSConfigApplyConfiguration
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 ProbeTargetIngressApplyConfiguration ¶
type ProbeTargetIngressApplyConfiguration struct { Selector *v1.LabelSelector `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"` RelabelConfigs []*apismonitoringv1.RelabelConfig `json:"relabelingConfigs,omitempty"` }
ProbeTargetIngressApplyConfiguration represents an declarative configuration of the ProbeTargetIngress type for use with apply.
func ProbeTargetIngress ¶
func ProbeTargetIngress() *ProbeTargetIngressApplyConfiguration
ProbeTargetIngressApplyConfiguration constructs an 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 ...**apismonitoringv1.RelabelConfig) *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.LabelSelector) *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 []*v1.RelabelConfig `json:"relabelingConfigs,omitempty"` }
ProbeTargetStaticConfigApplyConfiguration represents an declarative configuration of the ProbeTargetStaticConfig type for use with apply.
func ProbeTargetStaticConfig ¶
func ProbeTargetStaticConfig() *ProbeTargetStaticConfigApplyConfiguration
ProbeTargetStaticConfigApplyConfiguration constructs an 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 ...**v1.RelabelConfig) *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 an declarative configuration of the ProbeTargets type for use with apply.
func ProbeTargets ¶
func ProbeTargets() *ProbeTargetsApplyConfiguration
ProbeTargetsApplyConfiguration constructs an 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 an declarative configuration of the ProberSpec type for use with apply.
func ProberSpec ¶
func ProberSpec() *ProberSpecApplyConfiguration
ProberSpecApplyConfiguration constructs an 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 an declarative configuration of the Prometheus type for use with apply.
func Prometheus ¶
func Prometheus(name, namespace string) *PrometheusApplyConfiguration
Prometheus constructs an declarative configuration of the Prometheus type for use with apply.
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 PrometheusConditionApplyConfiguration ¶
type PrometheusConditionApplyConfiguration struct { Type *v1.PrometheusConditionType `json:"type,omitempty"` Status *v1.PrometheusConditionStatus `json:"status,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
PrometheusConditionApplyConfiguration represents an declarative configuration of the PrometheusCondition type for use with apply.
func PrometheusCondition ¶
func PrometheusCondition() *PrometheusConditionApplyConfiguration
PrometheusConditionApplyConfiguration constructs an declarative configuration of the PrometheusCondition type for use with apply.
func (*PrometheusConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *PrometheusConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PrometheusConditionApplyConfiguration
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 (*PrometheusConditionApplyConfiguration) WithMessage ¶
func (b *PrometheusConditionApplyConfiguration) WithMessage(value string) *PrometheusConditionApplyConfiguration
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 (*PrometheusConditionApplyConfiguration) WithReason ¶
func (b *PrometheusConditionApplyConfiguration) WithReason(value string) *PrometheusConditionApplyConfiguration
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 (*PrometheusConditionApplyConfiguration) WithStatus ¶
func (b *PrometheusConditionApplyConfiguration) WithStatus(value v1.PrometheusConditionStatus) *PrometheusConditionApplyConfiguration
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 (*PrometheusConditionApplyConfiguration) WithType ¶
func (b *PrometheusConditionApplyConfiguration) WithType(value v1.PrometheusConditionType) *PrometheusConditionApplyConfiguration
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 PrometheusRuleApplyConfiguration ¶
type PrometheusRuleApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrometheusRuleSpecApplyConfiguration `json:"spec,omitempty"` }
PrometheusRuleApplyConfiguration represents an declarative configuration of the PrometheusRule type for use with apply.
func PrometheusRule ¶
func PrometheusRule(name, namespace string) *PrometheusRuleApplyConfiguration
PrometheusRule constructs an declarative configuration of the PrometheusRule type for use with apply.
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 an declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.
func PrometheusRuleExcludeConfig ¶
func PrometheusRuleExcludeConfig() *PrometheusRuleExcludeConfigApplyConfiguration
PrometheusRuleExcludeConfigApplyConfiguration constructs an 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 an declarative configuration of the PrometheusRuleSpec type for use with apply.
func PrometheusRuleSpec ¶
func PrometheusRuleSpec() *PrometheusRuleSpecApplyConfiguration
PrometheusRuleSpecApplyConfiguration constructs an 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"` Retention *monitoringv1.Duration `json:"retention,omitempty"` RetentionSize *monitoringv1.ByteSize `json:"retentionSize,omitempty"` DisableCompaction *bool `json:"disableCompaction,omitempty"` WALCompression *bool `json:"walCompression,omitempty"` Rules *RulesApplyConfiguration `json:"rules,omitempty"` ExcludedFromEnforcement []ObjectReferenceApplyConfiguration `json:"excludedFromEnforcement,omitempty"` PrometheusRulesExcludedFromEnforce []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"` Query *QuerySpecApplyConfiguration `json:"query,omitempty"` RuleSelector *metav1.LabelSelector `json:"ruleSelector,omitempty"` RuleNamespaceSelector *metav1.LabelSelector `json:"ruleNamespaceSelector,omitempty"` Alerting *AlertingSpecApplyConfiguration `json:"alerting,omitempty"` RemoteRead []RemoteReadSpecApplyConfiguration `json:"remoteRead,omitempty"` AdditionalAlertRelabelConfigs *corev1.SecretKeySelector `json:"additionalAlertRelabelConfigs,omitempty"` AdditionalAlertManagerConfigs *corev1.SecretKeySelector `json:"additionalAlertManagerConfigs,omitempty"` Thanos *ThanosSpecApplyConfiguration `json:"thanos,omitempty"` QueryLogFile *string `json:"queryLogFile,omitempty"` AllowOverlappingBlocks *bool `json:"allowOverlappingBlocks,omitempty"` }
PrometheusSpecApplyConfiguration represents an declarative configuration of the PrometheusSpec type for use with apply.
func PrometheusSpec ¶
func PrometheusSpec() *PrometheusSpecApplyConfiguration
PrometheusSpecApplyConfiguration constructs an 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) 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) 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) 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) 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 ...string) *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) 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) 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) 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) 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) 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) 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) 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) 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.LabelSelector) *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.LabelSelector) *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) 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.LabelSelector) *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.LabelSelector) *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) 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) 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.LabelSelector) *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) WithRuleSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithRuleSelector(value metav1.LabelSelector) *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) 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) 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) 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) WithServiceMonitorNamespaceSelector ¶
func (b *PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector(value metav1.LabelSelector) *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.LabelSelector) *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) 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) 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 ...corev1.TopologySpreadConstraint) *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) 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 *WebSpecApplyConfiguration) *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 []PrometheusConditionApplyConfiguration `json:"conditions,omitempty"` ShardStatuses []ShardStatusApplyConfiguration `json:"shardStatuses,omitempty"` }
PrometheusStatusApplyConfiguration represents an declarative configuration of the PrometheusStatus type for use with apply.
func PrometheusStatus ¶
func PrometheusStatus() *PrometheusStatusApplyConfiguration
PrometheusStatusApplyConfiguration constructs an 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 ...*PrometheusConditionApplyConfiguration) *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) 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) 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 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 an declarative configuration of the QuerySpec type for use with apply.
func QuerySpec ¶
func QuerySpec() *QuerySpecApplyConfiguration
QuerySpecApplyConfiguration constructs an 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 *string `json:"batchSendDeadline,omitempty"` MaxRetries *int `json:"maxRetries,omitempty"` MinBackoff *string `json:"minBackoff,omitempty"` MaxBackoff *string `json:"maxBackoff,omitempty"` RetryOnRateLimit *bool `json:"retryOnRateLimit,omitempty"` }
QueueConfigApplyConfiguration represents an declarative configuration of the QueueConfig type for use with apply.
func QueueConfig ¶
func QueueConfig() *QueueConfigApplyConfiguration
QueueConfigApplyConfiguration constructs an declarative configuration of the QueueConfig type for use with apply.
func (*QueueConfigApplyConfiguration) WithBatchSendDeadline ¶
func (b *QueueConfigApplyConfiguration) WithBatchSendDeadline(value string) *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 string) *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 string) *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.
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 an declarative configuration of the RelabelConfig type for use with apply.
func RelabelConfig ¶
func RelabelConfig() *RelabelConfigApplyConfiguration
RelabelConfigApplyConfiguration constructs an 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"` BasicAuth *BasicAuthApplyConfiguration `json:"basicAuth,omitempty"` OAuth2 *OAuth2ApplyConfiguration `json:"oauth2,omitempty"` BearerToken *string `json:"bearerToken,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` }
RemoteReadSpecApplyConfiguration represents an declarative configuration of the RemoteReadSpec type for use with apply.
func RemoteReadSpec ¶
func RemoteReadSpec() *RemoteReadSpecApplyConfiguration
RemoteReadSpecApplyConfiguration constructs an 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) 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) 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) 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"` SendExemplars *bool `json:"sendExemplars,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"` BearerToken *string `json:"bearerToken,omitempty"` BearerTokenFile *string `json:"bearerTokenFile,omitempty"` Authorization *AuthorizationApplyConfiguration `json:"authorization,omitempty"` Sigv4 *Sigv4ApplyConfiguration `json:"sigv4,omitempty"` TLSConfig *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` ProxyURL *string `json:"proxyUrl,omitempty"` QueueConfig *QueueConfigApplyConfiguration `json:"queueConfig,omitempty"` MetadataConfig *MetadataConfigApplyConfiguration `json:"metadataConfig,omitempty"` }
RemoteWriteSpecApplyConfiguration represents an declarative configuration of the RemoteWriteSpec type for use with apply.
func RemoteWriteSpec ¶
func RemoteWriteSpec() *RemoteWriteSpecApplyConfiguration
RemoteWriteSpecApplyConfiguration constructs an 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) 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) 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) 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) 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) 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) 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 *string `json:"for,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` }
RuleApplyConfiguration represents an declarative configuration of the Rule type for use with apply.
func Rule ¶
func Rule() *RuleApplyConfiguration
RuleApplyConfiguration constructs an 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 string) *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) 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 *string `json:"interval,omitempty"` Rules []RuleApplyConfiguration `json:"rules,omitempty"` PartialResponseStrategy *string `json:"partial_response_strategy,omitempty"` }
RuleGroupApplyConfiguration represents an declarative configuration of the RuleGroup type for use with apply.
func RuleGroup ¶
func RuleGroup() *RuleGroupApplyConfiguration
RuleGroupApplyConfiguration constructs an declarative configuration of the RuleGroup type for use with apply.
func (*RuleGroupApplyConfiguration) WithInterval ¶
func (b *RuleGroupApplyConfiguration) WithInterval(value string) *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) 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) 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 an declarative configuration of the RulesAlert type for use with apply.
func RulesAlert ¶
func RulesAlert() *RulesAlertApplyConfiguration
RulesAlertApplyConfiguration constructs an 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 an declarative configuration of the Rules type for use with apply.
func Rules ¶
func Rules() *RulesApplyConfiguration
RulesApplyConfiguration constructs an 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 SafeAuthorizationApplyConfiguration ¶
type SafeAuthorizationApplyConfiguration struct { Type *string `json:"type,omitempty"` Credentials *v1.SecretKeySelector `json:"credentials,omitempty"` }
SafeAuthorizationApplyConfiguration represents an declarative configuration of the SafeAuthorization type for use with apply.
func SafeAuthorization ¶
func SafeAuthorization() *SafeAuthorizationApplyConfiguration
SafeAuthorizationApplyConfiguration constructs an 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"` }
SafeTLSConfigApplyConfiguration represents an declarative configuration of the SafeTLSConfig type for use with apply.
func SafeTLSConfig ¶
func SafeTLSConfig() *SafeTLSConfigApplyConfiguration
SafeTLSConfigApplyConfiguration constructs an 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) 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 SecretOrConfigMapApplyConfiguration ¶
type SecretOrConfigMapApplyConfiguration struct { Secret *v1.SecretKeySelector `json:"secret,omitempty"` ConfigMap *v1.ConfigMapKeySelector `json:"configMap,omitempty"` }
SecretOrConfigMapApplyConfiguration represents an declarative configuration of the SecretOrConfigMap type for use with apply.
func SecretOrConfigMap ¶
func SecretOrConfigMap() *SecretOrConfigMapApplyConfiguration
SecretOrConfigMapApplyConfiguration constructs an 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 an declarative configuration of the ServiceMonitor type for use with apply.
func ServiceMonitor ¶
func ServiceMonitor(name, namespace string) *ServiceMonitorApplyConfiguration
ServiceMonitor constructs an declarative configuration of the ServiceMonitor type for use with apply.
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.LabelSelector `json:"selector,omitempty"` NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,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"` }
ServiceMonitorSpecApplyConfiguration represents an declarative configuration of the ServiceMonitorSpec type for use with apply.
func ServiceMonitorSpec ¶
func ServiceMonitorSpec() *ServiceMonitorSpecApplyConfiguration
ServiceMonitorSpecApplyConfiguration constructs an declarative configuration of the ServiceMonitorSpec type for use with apply.
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) 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) 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) WithSelector ¶
func (b *ServiceMonitorSpecApplyConfiguration) WithSelector(value metav1.LabelSelector) *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 an declarative configuration of the ShardStatus type for use with apply.
func ShardStatus ¶
func ShardStatus() *ShardStatusApplyConfiguration
ShardStatusApplyConfiguration constructs an 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 an declarative configuration of the Sigv4 type for use with apply.
func Sigv4 ¶
func Sigv4() *Sigv4ApplyConfiguration
Sigv4ApplyConfiguration constructs an 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 an declarative configuration of the StorageSpec type for use with apply.
func StorageSpec ¶
func StorageSpec() *StorageSpecApplyConfiguration
StorageSpecApplyConfiguration constructs an 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 an declarative configuration of the TLSConfig type for use with apply.
func TLSConfig ¶
func TLSConfig() *TLSConfigApplyConfiguration
TLSConfigApplyConfiguration constructs an 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) 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 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 an declarative configuration of the ThanosRuler type for use with apply.
func ThanosRuler ¶
func ThanosRuler(name, namespace string) *ThanosRulerApplyConfiguration
ThanosRuler constructs an declarative configuration of the ThanosRuler type for use with apply.
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 { PodMetadata *EmbeddedObjectMetadataApplyConfiguration `json:"podMetadata,omitempty"` Image *string `json:"image,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"` PriorityClassName *string `json:"priorityClassName,omitempty"` ServiceAccountName *string `json:"serviceAccountName,omitempty"` Storage *StorageSpecApplyConfiguration `json:"storage,omitempty"` Volumes []corev1.Volume `json:"volumes,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.LabelSelector `json:"ruleSelector,omitempty"` RuleNamespaceSelector *metav1.LabelSelector `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"` 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"` }
ThanosRulerSpecApplyConfiguration represents an declarative configuration of the ThanosRulerSpec type for use with apply.
func ThanosRulerSpec ¶
func ThanosRulerSpec() *ThanosRulerSpecApplyConfiguration
ThanosRulerSpecApplyConfiguration constructs an declarative configuration of the ThanosRulerSpec type for use with apply.
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) 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) 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.LabelSelector) *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.LabelSelector) *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) 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.
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"` }
ThanosRulerStatusApplyConfiguration represents an declarative configuration of the ThanosRulerStatus type for use with apply.
func ThanosRulerStatus ¶
func ThanosRulerStatus() *ThanosRulerStatusApplyConfiguration
ThanosRulerStatusApplyConfiguration constructs an 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) 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 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"` 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"` ReadyTimeout *apismonitoringv1.Duration `json:"readyTimeout,omitempty"` VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"` }
ThanosSpecApplyConfiguration represents an declarative configuration of the ThanosSpec type for use with apply.
func ThanosSpec ¶
func ThanosSpec() *ThanosSpecApplyConfiguration
ThanosSpecApplyConfiguration constructs an declarative configuration of the ThanosSpec type for use with apply.
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) 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) 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 WebSpecApplyConfiguration ¶
type WebSpecApplyConfiguration struct { PageTitle *string `json:"pageTitle,omitempty"` TLSConfig *WebTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"` }
WebSpecApplyConfiguration represents an declarative configuration of the WebSpec type for use with apply.
func WebSpec ¶
func WebSpec() *WebSpecApplyConfiguration
WebSpecApplyConfiguration constructs an declarative configuration of the WebSpec type for use with apply.
func (*WebSpecApplyConfiguration) WithPageTitle ¶
func (b *WebSpecApplyConfiguration) WithPageTitle(value string) *WebSpecApplyConfiguration
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 (*WebSpecApplyConfiguration) WithTLSConfig ¶
func (b *WebSpecApplyConfiguration) WithTLSConfig(value *WebTLSConfigApplyConfiguration) *WebSpecApplyConfiguration
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 WebTLSConfigApplyConfiguration ¶
type WebTLSConfigApplyConfiguration struct { KeySecret *v1.SecretKeySelector `json:"keySecret,omitempty"` Cert *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"` ClientAuthType *string `json:"clientAuthType,omitempty"` ClientCA *SecretOrConfigMapApplyConfiguration `json:"client_ca,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"` }
WebTLSConfigApplyConfiguration represents an declarative configuration of the WebTLSConfig type for use with apply.
func WebTLSConfig ¶
func WebTLSConfig() *WebTLSConfigApplyConfiguration
WebTLSConfigApplyConfiguration constructs an 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) 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) 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) WithKeySecret ¶
func (b *WebTLSConfigApplyConfiguration) WithKeySecret(value v1.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
- alertmanagerconfiguration.go
- alertmanagerendpoints.go
- alertmanagerspec.go
- alertmanagerstatus.go
- apiserverconfig.go
- arbitraryfsaccessthroughsmsconfig.go
- attachmetadata.go
- authorization.go
- basicauth.go
- commonprometheusfields.go
- embeddedobjectmetadata.go
- embeddedpersistentvolumeclaim.go
- endpoint.go
- hostalias.go
- metadataconfig.go
- namespaceselector.go
- oauth2.go
- objectreference.go
- podmetricsendpoint.go
- podmetricsendpointtlsconfig.go
- podmonitor.go
- podmonitorspec.go
- probe.go
- proberspec.go
- probespec.go
- probetargetingress.go
- probetargets.go
- probetargetstaticconfig.go
- probetlsconfig.go
- prometheus.go
- prometheuscondition.go
- prometheusrule.go
- prometheusruleexcludeconfig.go
- prometheusrulespec.go
- prometheusspec.go
- prometheusstatus.go
- queryspec.go
- queueconfig.go
- relabelconfig.go
- remotereadspec.go
- remotewritespec.go
- rule.go
- rulegroup.go
- rules.go
- rulesalert.go
- safeauthorization.go
- safetlsconfig.go
- secretorconfigmap.go
- servicemonitor.go
- servicemonitorspec.go
- shardstatus.go
- sigv4.go
- storagespec.go
- thanosruler.go
- thanosrulerspec.go
- thanosrulerstatus.go
- thanosspec.go
- tlsconfig.go
- webspec.go
- webtlsconfig.go