v1

package
v0.73.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServerConfigApplyConfiguration

type APIServerConfigApplyConfiguration struct {
	Host            *string                          `json:"host,omitempty"`
	BasicAuth       *BasicAuthApplyConfiguration     `json:"basicAuth,omitempty"`
	BearerTokenFile *string                          `json:"bearerTokenFile,omitempty"`
	TLSConfig       *TLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	Authorization   *AuthorizationApplyConfiguration `json:"authorization,omitempty"`
	BearerToken     *string                          `json:"bearerToken,omitempty"`
}

APIServerConfigApplyConfiguration represents 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type AlertmanagerConfigMatcherStrategyApplyConfiguration

type AlertmanagerConfigMatcherStrategyApplyConfiguration struct {
	Type *string `json:"type,omitempty"`
}

AlertmanagerConfigMatcherStrategyApplyConfiguration represents an declarative configuration of the AlertmanagerConfigMatcherStrategy type for use with apply.

func AlertmanagerConfigMatcherStrategy

func AlertmanagerConfigMatcherStrategy() *AlertmanagerConfigMatcherStrategyApplyConfiguration

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

func (*AlertmanagerConfigMatcherStrategyApplyConfiguration) WithType

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

type AlertmanagerConfigurationApplyConfiguration

type AlertmanagerConfigurationApplyConfiguration struct {
	Name      *string                                     `json:"name,omitempty"`
	Global    *AlertmanagerGlobalConfigApplyConfiguration `json:"global,omitempty"`
	Templates []SecretOrConfigMapApplyConfiguration       `json:"templates,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) WithGlobal

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

func (*AlertmanagerConfigurationApplyConfiguration) WithName

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

func (*AlertmanagerConfigurationApplyConfiguration) WithTemplates

WithTemplates adds the given value to the Templates field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Templates field.

type AlertmanagerEndpointsApplyConfiguration

type AlertmanagerEndpointsApplyConfiguration struct {
	Namespace       *string                              `json:"namespace,omitempty"`
	Name            *string                              `json:"name,omitempty"`
	Port            *intstr.IntOrString                  `json:"port,omitempty"`
	Scheme          *string                              `json:"scheme,omitempty"`
	PathPrefix      *string                              `json:"pathPrefix,omitempty"`
	TLSConfig       *TLSConfigApplyConfiguration         `json:"tlsConfig,omitempty"`
	BasicAuth       *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	BearerTokenFile *string                              `json:"bearerTokenFile,omitempty"`
	Authorization   *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	Sigv4           *Sigv4ApplyConfiguration             `json:"sigv4,omitempty"`
	APIVersion      *string                              `json:"apiVersion,omitempty"`
	Timeout         *monitoringv1.Duration               `json:"timeout,omitempty"`
	EnableHttp2     *bool                                `json:"enableHttp2,omitempty"`
}

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

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

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

func (*AlertmanagerEndpointsApplyConfiguration) WithBasicAuth

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

func (*AlertmanagerEndpointsApplyConfiguration) WithBearerTokenFile

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

func (*AlertmanagerEndpointsApplyConfiguration) WithEnableHttp2

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

func (*AlertmanagerEndpointsApplyConfiguration) WithName

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

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

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

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

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

func (*AlertmanagerEndpointsApplyConfiguration) WithSigv4 added in v0.69.0

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

func (*AlertmanagerEndpointsApplyConfiguration) WithTLSConfig

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

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

type AlertmanagerGlobalConfigApplyConfiguration

type AlertmanagerGlobalConfigApplyConfiguration struct {
	SMTPConfig     *GlobalSMTPConfigApplyConfiguration `json:"smtp,omitempty"`
	ResolveTimeout *monitoringv1.Duration              `json:"resolveTimeout,omitempty"`
	HTTPConfig     *HTTPConfigApplyConfiguration       `json:"httpConfig,omitempty"`
	SlackAPIURL    *corev1.SecretKeySelector           `json:"slackApiUrl,omitempty"`
	OpsGenieAPIURL *corev1.SecretKeySelector           `json:"opsGenieApiUrl,omitempty"`
	OpsGenieAPIKey *corev1.SecretKeySelector           `json:"opsGenieApiKey,omitempty"`
	PagerdutyURL   *string                             `json:"pagerdutyUrl,omitempty"`
}

AlertmanagerGlobalConfigApplyConfiguration represents an declarative configuration of the AlertmanagerGlobalConfig type for use with apply.

func AlertmanagerGlobalConfig

func AlertmanagerGlobalConfig() *AlertmanagerGlobalConfigApplyConfiguration

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithHTTPConfig

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIKey added in v0.64.0

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithOpsGenieAPIURL added in v0.64.0

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithPagerdutyURL added in v0.66.0

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithResolveTimeout

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithSMTPConfig added in v0.67.0

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithSlackAPIURL added in v0.64.0

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

type AlertmanagerSpecApplyConfiguration

type AlertmanagerSpecApplyConfiguration struct {
	PodMetadata                         *EmbeddedObjectMetadataApplyConfiguration            `json:"podMetadata,omitempty"`
	Image                               *string                                              `json:"image,omitempty"`
	ImagePullPolicy                     *corev1.PullPolicy                                   `json:"imagePullPolicy,omitempty"`
	Version                             *string                                              `json:"version,omitempty"`
	Tag                                 *string                                              `json:"tag,omitempty"`
	SHA                                 *string                                              `json:"sha,omitempty"`
	BaseImage                           *string                                              `json:"baseImage,omitempty"`
	ImagePullSecrets                    []corev1.LocalObjectReference                        `json:"imagePullSecrets,omitempty"`
	Secrets                             []string                                             `json:"secrets,omitempty"`
	ConfigMaps                          []string                                             `json:"configMaps,omitempty"`
	ConfigSecret                        *string                                              `json:"configSecret,omitempty"`
	LogLevel                            *string                                              `json:"logLevel,omitempty"`
	LogFormat                           *string                                              `json:"logFormat,omitempty"`
	Replicas                            *int32                                               `json:"replicas,omitempty"`
	Retention                           *monitoringv1.GoDuration                             `json:"retention,omitempty"`
	Storage                             *StorageSpecApplyConfiguration                       `json:"storage,omitempty"`
	Volumes                             []corev1.Volume                                      `json:"volumes,omitempty"`
	VolumeMounts                        []corev1.VolumeMount                                 `json:"volumeMounts,omitempty"`
	ExternalURL                         *string                                              `json:"externalUrl,omitempty"`
	RoutePrefix                         *string                                              `json:"routePrefix,omitempty"`
	Paused                              *bool                                                `json:"paused,omitempty"`
	NodeSelector                        map[string]string                                    `json:"nodeSelector,omitempty"`
	Resources                           *corev1.ResourceRequirements                         `json:"resources,omitempty"`
	Affinity                            *corev1.Affinity                                     `json:"affinity,omitempty"`
	Tolerations                         []corev1.Toleration                                  `json:"tolerations,omitempty"`
	TopologySpreadConstraints           []corev1.TopologySpreadConstraint                    `json:"topologySpreadConstraints,omitempty"`
	SecurityContext                     *corev1.PodSecurityContext                           `json:"securityContext,omitempty"`
	ServiceAccountName                  *string                                              `json:"serviceAccountName,omitempty"`
	ListenLocal                         *bool                                                `json:"listenLocal,omitempty"`
	Containers                          []corev1.Container                                   `json:"containers,omitempty"`
	InitContainers                      []corev1.Container                                   `json:"initContainers,omitempty"`
	PriorityClassName                   *string                                              `json:"priorityClassName,omitempty"`
	AdditionalPeers                     []string                                             `json:"additionalPeers,omitempty"`
	ClusterAdvertiseAddress             *string                                              `json:"clusterAdvertiseAddress,omitempty"`
	ClusterGossipInterval               *monitoringv1.GoDuration                             `json:"clusterGossipInterval,omitempty"`
	ClusterLabel                        *string                                              `json:"clusterLabel,omitempty"`
	ClusterPushpullInterval             *monitoringv1.GoDuration                             `json:"clusterPushpullInterval,omitempty"`
	ClusterPeerTimeout                  *monitoringv1.GoDuration                             `json:"clusterPeerTimeout,omitempty"`
	PortName                            *string                                              `json:"portName,omitempty"`
	ForceEnableClusterMode              *bool                                                `json:"forceEnableClusterMode,omitempty"`
	AlertmanagerConfigSelector          *metav1.LabelSelector                                `json:"alertmanagerConfigSelector,omitempty"`
	AlertmanagerConfigMatcherStrategy   *AlertmanagerConfigMatcherStrategyApplyConfiguration `json:"alertmanagerConfigMatcherStrategy,omitempty"`
	AlertmanagerConfigNamespaceSelector *metav1.LabelSelector                                `json:"alertmanagerConfigNamespaceSelector,omitempty"`
	MinReadySeconds                     *uint32                                              `json:"minReadySeconds,omitempty"`
	HostAliases                         []HostAliasApplyConfiguration                        `json:"hostAliases,omitempty"`
	Web                                 *AlertmanagerWebSpecApplyConfiguration               `json:"web,omitempty"`
	AlertmanagerConfiguration           *AlertmanagerConfigurationApplyConfiguration         `json:"alertmanagerConfiguration,omitempty"`
	AutomountServiceAccountToken        *bool                                                `json:"automountServiceAccountToken,omitempty"`
	EnableFeatures                      []string                                             `json:"enableFeatures,omitempty"`
}

AlertmanagerSpecApplyConfiguration represents 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

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

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

func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigMatcherStrategy

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

func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector

func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value metav1.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

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

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

func (*AlertmanagerSpecApplyConfiguration) WithAutomountServiceAccountToken added in v0.66.0

func (b *AlertmanagerSpecApplyConfiguration) WithAutomountServiceAccountToken(value bool) *AlertmanagerSpecApplyConfiguration

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

func (*AlertmanagerSpecApplyConfiguration) WithBaseImage

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

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

func (*AlertmanagerSpecApplyConfiguration) WithClusterLabel added in v0.71.0

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

func (*AlertmanagerSpecApplyConfiguration) WithClusterPeerTimeout

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

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

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

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

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

WithEnableFeatures adds the given value to the EnableFeatures field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EnableFeatures field.

func (*AlertmanagerSpecApplyConfiguration) WithExternalURL

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

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

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

func (*AlertmanagerSpecApplyConfiguration) WithImagePullPolicy

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

func (*AlertmanagerSpecApplyConfiguration) WithImagePullSecrets

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.

func (*AlertmanagerSpecApplyConfiguration) WithWeb

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

type AlertmanagerStatusApplyConfiguration

type AlertmanagerStatusApplyConfiguration struct {
	Paused              *bool                         `json:"paused,omitempty"`
	Replicas            *int32                        `json:"replicas,omitempty"`
	UpdatedReplicas     *int32                        `json:"updatedReplicas,omitempty"`
	AvailableReplicas   *int32                        `json:"availableReplicas,omitempty"`
	UnavailableReplicas *int32                        `json:"unavailableReplicas,omitempty"`
	Conditions          []ConditionApplyConfiguration `json:"conditions,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

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

func (*AlertmanagerStatusApplyConfiguration) WithConditions added in v0.63.0

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*AlertmanagerStatusApplyConfiguration) WithPaused

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

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

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

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

type AlertmanagerWebSpecApplyConfiguration

type AlertmanagerWebSpecApplyConfiguration struct {
	WebConfigFileFieldsApplyConfiguration `json:",inline"`
	GetConcurrency                        *uint32 `json:"getConcurrency,omitempty"`
	Timeout                               *uint32 `json:"timeout,omitempty"`
}

AlertmanagerWebSpecApplyConfiguration represents an declarative configuration of the AlertmanagerWebSpec type for use with apply.

func AlertmanagerWebSpec

func AlertmanagerWebSpec() *AlertmanagerWebSpecApplyConfiguration

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

func (*AlertmanagerWebSpecApplyConfiguration) WithGetConcurrency added in v0.65.0

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

func (*AlertmanagerWebSpecApplyConfiguration) WithHTTPConfig

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

func (*AlertmanagerWebSpecApplyConfiguration) WithTLSConfig

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

func (*AlertmanagerWebSpecApplyConfiguration) WithTimeout added in v0.65.0

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

type ArbitraryFSAccessThroughSMsConfigApplyConfiguration

type ArbitraryFSAccessThroughSMsConfigApplyConfiguration struct {
	Deny *bool `json:"deny,omitempty"`
}

ArbitraryFSAccessThroughSMsConfigApplyConfiguration represents 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

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

type ArgumentApplyConfiguration

type ArgumentApplyConfiguration struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

ArgumentApplyConfiguration represents an declarative configuration of the Argument type for use with apply.

func Argument

func Argument() *ArgumentApplyConfiguration

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

func (*ArgumentApplyConfiguration) WithName

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

func (*ArgumentApplyConfiguration) WithValue

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

type 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

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

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

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

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

type AzureADApplyConfiguration added in v0.69.0

type AzureADApplyConfiguration struct {
	Cloud           *string                            `json:"cloud,omitempty"`
	ManagedIdentity *ManagedIdentityApplyConfiguration `json:"managedIdentity,omitempty"`
	OAuth           *AzureOAuthApplyConfiguration      `json:"oauth,omitempty"`
}

AzureADApplyConfiguration represents an declarative configuration of the AzureAD type for use with apply.

func AzureAD added in v0.69.0

func AzureAD() *AzureADApplyConfiguration

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

func (*AzureADApplyConfiguration) WithCloud added in v0.69.0

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

func (*AzureADApplyConfiguration) WithManagedIdentity added in v0.69.0

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

func (*AzureADApplyConfiguration) WithOAuth added in v0.70.0

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

type AzureOAuthApplyConfiguration added in v0.70.0

type AzureOAuthApplyConfiguration struct {
	ClientID     *string               `json:"clientId,omitempty"`
	ClientSecret *v1.SecretKeySelector `json:"clientSecret,omitempty"`
	TenantID     *string               `json:"tenantId,omitempty"`
}

AzureOAuthApplyConfiguration represents an declarative configuration of the AzureOAuth type for use with apply.

func AzureOAuth added in v0.70.0

func AzureOAuth() *AzureOAuthApplyConfiguration

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

func (*AzureOAuthApplyConfiguration) WithClientID added in v0.70.0

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

func (*AzureOAuthApplyConfiguration) WithClientSecret added in v0.70.0

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

func (*AzureOAuthApplyConfiguration) WithTenantID added in v0.70.0

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

type 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

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

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"`
	ScrapeConfigSelector                 *metav1.LabelSelector                                   `json:"scrapeConfigSelector,omitempty"`
	ScrapeConfigNamespaceSelector        *metav1.LabelSelector                                   `json:"scrapeConfigNamespaceSelector,omitempty"`
	Version                              *string                                                 `json:"version,omitempty"`
	Paused                               *bool                                                   `json:"paused,omitempty"`
	Image                                *string                                                 `json:"image,omitempty"`
	ImagePullPolicy                      *corev1.PullPolicy                                      `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets                     []corev1.LocalObjectReference                           `json:"imagePullSecrets,omitempty"`
	Replicas                             *int32                                                  `json:"replicas,omitempty"`
	Shards                               *int32                                                  `json:"shards,omitempty"`
	ReplicaExternalLabelName             *string                                                 `json:"replicaExternalLabelName,omitempty"`
	PrometheusExternalLabelName          *string                                                 `json:"prometheusExternalLabelName,omitempty"`
	LogLevel                             *string                                                 `json:"logLevel,omitempty"`
	LogFormat                            *string                                                 `json:"logFormat,omitempty"`
	ScrapeInterval                       *monitoringv1.Duration                                  `json:"scrapeInterval,omitempty"`
	ScrapeTimeout                        *monitoringv1.Duration                                  `json:"scrapeTimeout,omitempty"`
	ScrapeProtocols                      []monitoringv1.ScrapeProtocol                           `json:"scrapeProtocols,omitempty"`
	ExternalLabels                       map[string]string                                       `json:"externalLabels,omitempty"`
	EnableRemoteWriteReceiver            *bool                                                   `json:"enableRemoteWriteReceiver,omitempty"`
	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"`
	PersistentVolumeClaimRetentionPolicy *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty"`
	Web                                  *PrometheusWebSpecApplyConfiguration                    `json:"web,omitempty"`
	Resources                            *corev1.ResourceRequirements                            `json:"resources,omitempty"`
	NodeSelector                         map[string]string                                       `json:"nodeSelector,omitempty"`
	ServiceAccountName                   *string                                                 `json:"serviceAccountName,omitempty"`
	Secrets                              []string                                                `json:"secrets,omitempty"`
	ConfigMaps                           []string                                                `json:"configMaps,omitempty"`
	Affinity                             *corev1.Affinity                                        `json:"affinity,omitempty"`
	Tolerations                          []corev1.Toleration                                     `json:"tolerations,omitempty"`
	TopologySpreadConstraints            []TopologySpreadConstraintApplyConfiguration            `json:"topologySpreadConstraints,omitempty"`
	RemoteWrite                          []RemoteWriteSpecApplyConfiguration                     `json:"remoteWrite,omitempty"`
	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"`
	EnforcedKeepDroppedTargets           *uint64                                                 `json:"enforcedKeepDroppedTargets,omitempty"`
	EnforcedBodySizeLimit                *monitoringv1.ByteSize                                  `json:"enforcedBodySizeLimit,omitempty"`
	MinReadySeconds                      *uint32                                                 `json:"minReadySeconds,omitempty"`
	HostAliases                          []HostAliasApplyConfiguration                           `json:"hostAliases,omitempty"`
	AdditionalArgs                       []ArgumentApplyConfiguration                            `json:"additionalArgs,omitempty"`
	WALCompression                       *bool                                                   `json:"walCompression,omitempty"`
	ExcludedFromEnforcement              []ObjectReferenceApplyConfiguration                     `json:"excludedFromEnforcement,omitempty"`
	HostNetwork                          *bool                                                   `json:"hostNetwork,omitempty"`
	PodTargetLabels                      []string                                                `json:"podTargetLabels,omitempty"`
	TracingConfig                        *PrometheusTracingConfigApplyConfiguration              `json:"tracingConfig,omitempty"`
	BodySizeLimit                        *monitoringv1.ByteSize                                  `json:"bodySizeLimit,omitempty"`
	SampleLimit                          *uint64                                                 `json:"sampleLimit,omitempty"`
	TargetLimit                          *uint64                                                 `json:"targetLimit,omitempty"`
	LabelLimit                           *uint64                                                 `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                 *uint64                                                 `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                *uint64                                                 `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets                   *uint64                                                 `json:"keepDroppedTargets,omitempty"`
	ReloadStrategy                       *monitoringv1.ReloadStrategyType                        `json:"reloadStrategy,omitempty"`
	MaximumStartupDurationSeconds        *int32                                                  `json:"maximumStartupDurationSeconds,omitempty"`
	ScrapeClasses                        []ScrapeClassApplyConfiguration                         `json:"scrapeClasses,omitempty"`
}

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithAdditionalArgs

WithAdditionalArgs adds the given value to the AdditionalArgs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalArgs field.

func (*CommonPrometheusFieldsApplyConfiguration) WithAdditionalScrapeConfigs

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithConfigMaps

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

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) WithEnableFeatures

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedKeepDroppedTargets added in v0.68.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithEnforcedLabelLimit

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

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithExcludedFromEnforcement

WithExcludedFromEnforcement adds the given value to the ExcludedFromEnforcement field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ExcludedFromEnforcement field.

func (*CommonPrometheusFieldsApplyConfiguration) WithExternalLabels

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

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

WithHostAliases adds the given value to the HostAliases field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostAliases field.

func (*CommonPrometheusFieldsApplyConfiguration) WithHostNetwork

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

func (*CommonPrometheusFieldsApplyConfiguration) WithIgnoreNamespaceSelectors

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithImagePullPolicy

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

func (*CommonPrometheusFieldsApplyConfiguration) WithImagePullSecrets

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

WithInitContainers adds the given value to the InitContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InitContainers field.

func (*CommonPrometheusFieldsApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithLabelLimit added in v0.67.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithLabelNameLengthLimit added in v0.67.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithLabelValueLengthLimit added in v0.67.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithListenLocal

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithMaximumStartupDurationSeconds added in v0.71.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithMinReadySeconds

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy added in v0.70.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithPodMetadata

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithPodTargetLabels

WithPodTargetLabels adds the given value to the PodTargetLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PodTargetLabels field.

func (*CommonPrometheusFieldsApplyConfiguration) WithPortName

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithReloadStrategy added in v0.70.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithRemoteWrite

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithSampleLimit added in v0.67.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeClasses added in v0.72.0

WithScrapeClasses adds the given value to the ScrapeClasses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeClasses field.

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigNamespaceSelector added in v0.65.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeConfigSelector added in v0.65.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeInterval

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

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeProtocols field.

func (*CommonPrometheusFieldsApplyConfiguration) WithScrapeTimeout

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

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

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

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

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithTolerations

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

WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field.

func (*CommonPrometheusFieldsApplyConfiguration) WithTracingConfig added in v0.66.0

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

func (*CommonPrometheusFieldsApplyConfiguration) WithVersion

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

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

WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.

func (*CommonPrometheusFieldsApplyConfiguration) WithWALCompression

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

func (*CommonPrometheusFieldsApplyConfiguration) WithWeb

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

type ConditionApplyConfiguration added in v0.63.0

type ConditionApplyConfiguration struct {
	Type               *v1.ConditionType   `json:"type,omitempty"`
	Status             *v1.ConditionStatus `json:"status,omitempty"`
	LastTransitionTime *metav1.Time        `json:"lastTransitionTime,omitempty"`
	Reason             *string             `json:"reason,omitempty"`
	Message            *string             `json:"message,omitempty"`
	ObservedGeneration *int64              `json:"observedGeneration,omitempty"`
}

ConditionApplyConfiguration represents an declarative configuration of the Condition type for use with apply.

func Condition added in v0.63.0

func Condition() *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithLastTransitionTime added in v0.63.0

func (b *ConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithMessage added in v0.63.0

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

func (*ConditionApplyConfiguration) WithObservedGeneration added in v0.63.0

func (b *ConditionApplyConfiguration) WithObservedGeneration(value int64) *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithReason added in v0.63.0

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

func (*ConditionApplyConfiguration) WithStatus added in v0.63.0

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

func (*ConditionApplyConfiguration) WithType added in v0.63.0

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

type CoreV1TopologySpreadConstraintApplyConfiguration added in v0.71.0

type CoreV1TopologySpreadConstraintApplyConfiguration struct {
	MaxSkew            *int32                            `json:"maxSkew,omitempty"`
	TopologyKey        *string                           `json:"topologyKey,omitempty"`
	WhenUnsatisfiable  *v1.UnsatisfiableConstraintAction `json:"whenUnsatisfiable,omitempty"`
	LabelSelector      *metav1.LabelSelector             `json:"labelSelector,omitempty"`
	MinDomains         *int32                            `json:"minDomains,omitempty"`
	NodeAffinityPolicy *v1.NodeInclusionPolicy           `json:"nodeAffinityPolicy,omitempty"`
	NodeTaintsPolicy   *v1.NodeInclusionPolicy           `json:"nodeTaintsPolicy,omitempty"`
	MatchLabelKeys     []string                          `json:"matchLabelKeys,omitempty"`
}

CoreV1TopologySpreadConstraintApplyConfiguration represents an declarative configuration of the CoreV1TopologySpreadConstraint type for use with apply.

func CoreV1TopologySpreadConstraint added in v0.71.0

func CoreV1TopologySpreadConstraint() *CoreV1TopologySpreadConstraintApplyConfiguration

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithLabelSelector added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys added in v0.71.0

WithMatchLabelKeys adds the given value to the MatchLabelKeys field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchLabelKeys field.

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMaxSkew added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithMinDomains added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithTopologyKey added in v0.71.0

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable added in v0.71.0

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

type EmbeddedObjectMetadataApplyConfiguration

type EmbeddedObjectMetadataApplyConfiguration struct {
	Name        *string           `json:"name,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

EmbeddedObjectMetadataApplyConfiguration represents 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

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

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

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

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

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

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

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

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

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

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

type EndpointApplyConfiguration

type EndpointApplyConfiguration struct {
	Port                     *string                              `json:"port,omitempty"`
	TargetPort               *intstr.IntOrString                  `json:"targetPort,omitempty"`
	Path                     *string                              `json:"path,omitempty"`
	Scheme                   *string                              `json:"scheme,omitempty"`
	Params                   map[string][]string                  `json:"params,omitempty"`
	Interval                 *v1.Duration                         `json:"interval,omitempty"`
	ScrapeTimeout            *v1.Duration                         `json:"scrapeTimeout,omitempty"`
	TLSConfig                *TLSConfigApplyConfiguration         `json:"tlsConfig,omitempty"`
	BearerTokenFile          *string                              `json:"bearerTokenFile,omitempty"`
	BearerTokenSecret        *corev1.SecretKeySelector            `json:"bearerTokenSecret,omitempty"`
	Authorization            *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	HonorLabels              *bool                                `json:"honorLabels,omitempty"`
	HonorTimestamps          *bool                                `json:"honorTimestamps,omitempty"`
	TrackTimestampsStaleness *bool                                `json:"trackTimestampsStaleness,omitempty"`
	BasicAuth                *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	OAuth2                   *OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	MetricRelabelConfigs     []*v1.RelabelConfig                  `json:"metricRelabelings,omitempty"`
	RelabelConfigs           []*v1.RelabelConfig                  `json:"relabelings,omitempty"`
	ProxyURL                 *string                              `json:"proxyUrl,omitempty"`
	FollowRedirects          *bool                                `json:"followRedirects,omitempty"`
	EnableHttp2              *bool                                `json:"enableHttp2,omitempty"`
	FilterRunning            *bool                                `json:"filterRunning,omitempty"`
}

EndpointApplyConfiguration represents 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

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

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

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

func (*EndpointApplyConfiguration) WithEnableHttp2

func (b *EndpointApplyConfiguration) WithEnableHttp2(value bool) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithFilterRunning

func (b *EndpointApplyConfiguration) WithFilterRunning(value bool) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithFollowRedirects

func (b *EndpointApplyConfiguration) WithFollowRedirects(value bool) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithHonorLabels

func (b *EndpointApplyConfiguration) WithHonorLabels(value bool) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithHonorTimestamps

func (b *EndpointApplyConfiguration) WithHonorTimestamps(value bool) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithInterval

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

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

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

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

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

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

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

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

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

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

func (*EndpointApplyConfiguration) WithTrackTimestampsStaleness added in v0.70.0

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

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

type ExemplarsApplyConfiguration

type ExemplarsApplyConfiguration struct {
	MaxSize *int64 `json:"maxSize,omitempty"`
}

ExemplarsApplyConfiguration represents an declarative configuration of the Exemplars type for use with apply.

func Exemplars

func Exemplars() *ExemplarsApplyConfiguration

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

func (*ExemplarsApplyConfiguration) WithMaxSize

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

type GlobalSMTPConfigApplyConfiguration added in v0.67.0

type GlobalSMTPConfigApplyConfiguration struct {
	From         *string                     `json:"from,omitempty"`
	SmartHost    *HostPortApplyConfiguration `json:"smartHost,omitempty"`
	Hello        *string                     `json:"hello,omitempty"`
	AuthUsername *string                     `json:"authUsername,omitempty"`
	AuthPassword *corev1.SecretKeySelector   `json:"authPassword,omitempty"`
	AuthIdentity *string                     `json:"authIdentity,omitempty"`
	AuthSecret   *corev1.SecretKeySelector   `json:"authSecret,omitempty"`
	RequireTLS   *bool                       `json:"requireTLS,omitempty"`
}

GlobalSMTPConfigApplyConfiguration represents an declarative configuration of the GlobalSMTPConfig type for use with apply.

func GlobalSMTPConfig added in v0.67.0

func GlobalSMTPConfig() *GlobalSMTPConfigApplyConfiguration

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

func (*GlobalSMTPConfigApplyConfiguration) WithAuthIdentity added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithAuthPassword added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithAuthSecret added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithAuthUsername added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithFrom added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithHello added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithRequireTLS added in v0.67.0

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

func (*GlobalSMTPConfigApplyConfiguration) WithSmartHost added in v0.67.0

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

type HTTPConfigApplyConfiguration

type HTTPConfigApplyConfiguration struct {
	Authorization     *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	BasicAuth         *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	OAuth2            *OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	BearerTokenSecret *corev1.SecretKeySelector            `json:"bearerTokenSecret,omitempty"`
	TLSConfig         *SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	ProxyURL          *string                              `json:"proxyURL,omitempty"`
	FollowRedirects   *bool                                `json:"followRedirects,omitempty"`
}

HTTPConfigApplyConfiguration represents an declarative configuration of the HTTPConfig type for use with apply.

func HTTPConfig

func HTTPConfig() *HTTPConfigApplyConfiguration

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

func (*HTTPConfigApplyConfiguration) WithAuthorization

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

func (*HTTPConfigApplyConfiguration) WithBasicAuth

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

func (*HTTPConfigApplyConfiguration) WithBearerTokenSecret

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

func (*HTTPConfigApplyConfiguration) WithFollowRedirects

func (b *HTTPConfigApplyConfiguration) WithFollowRedirects(value bool) *HTTPConfigApplyConfiguration

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

func (*HTTPConfigApplyConfiguration) WithOAuth2

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

func (*HTTPConfigApplyConfiguration) WithProxyURL

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

func (*HTTPConfigApplyConfiguration) WithTLSConfig

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

type 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

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

type HostPortApplyConfiguration added in v0.67.0

type HostPortApplyConfiguration struct {
	Host *string `json:"host,omitempty"`
	Port *string `json:"port,omitempty"`
}

HostPortApplyConfiguration represents an declarative configuration of the HostPort type for use with apply.

func HostPort added in v0.67.0

func HostPort() *HostPortApplyConfiguration

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

func (*HostPortApplyConfiguration) WithHost added in v0.67.0

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

func (*HostPortApplyConfiguration) WithPort added in v0.67.0

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

type ManagedIdentityApplyConfiguration added in v0.69.0

type ManagedIdentityApplyConfiguration struct {
	ClientID *string `json:"clientId,omitempty"`
}

ManagedIdentityApplyConfiguration represents an declarative configuration of the ManagedIdentity type for use with apply.

func ManagedIdentity added in v0.69.0

func ManagedIdentity() *ManagedIdentityApplyConfiguration

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

func (*ManagedIdentityApplyConfiguration) WithClientID added in v0.69.0

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

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

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

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

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

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

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

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

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

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

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

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

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                *SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	BearerTokenSecret        *corev1.SecretKeySelector            `json:"bearerTokenSecret,omitempty"`
	HonorLabels              *bool                                `json:"honorLabels,omitempty"`
	HonorTimestamps          *bool                                `json:"honorTimestamps,omitempty"`
	TrackTimestampsStaleness *bool                                `json:"trackTimestampsStaleness,omitempty"`
	BasicAuth                *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	OAuth2                   *OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	Authorization            *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	MetricRelabelConfigs     []*v1.RelabelConfig                  `json:"metricRelabelings,omitempty"`
	RelabelConfigs           []*v1.RelabelConfig                  `json:"relabelings,omitempty"`
	ProxyURL                 *string                              `json:"proxyUrl,omitempty"`
	FollowRedirects          *bool                                `json:"followRedirects,omitempty"`
	EnableHttp2              *bool                                `json:"enableHttp2,omitempty"`
	FilterRunning            *bool                                `json:"filterRunning,omitempty"`
}

PodMetricsEndpointApplyConfiguration represents 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

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

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

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

func (*PodMetricsEndpointApplyConfiguration) WithEnableHttp2

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

func (*PodMetricsEndpointApplyConfiguration) WithFilterRunning

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

func (*PodMetricsEndpointApplyConfiguration) WithFollowRedirects

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*PodMetricsEndpointApplyConfiguration) WithTrackTimestampsStaleness added in v0.70.0

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

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

type PodMonitorApplyConfiguration

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

PodMonitorApplyConfiguration represents 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

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

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

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

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

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

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

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

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

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

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

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

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"`
	ScrapeProtocols       []monitoringv1.ScrapeProtocol          `json:"scrapeProtocols,omitempty"`
	LabelLimit            *uint64                                `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                                `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                                `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets    *uint64                                `json:"keepDroppedTargets,omitempty"`
	AttachMetadata        *AttachMetadataApplyConfiguration      `json:"attachMetadata,omitempty"`
	ScrapeClassName       *string                                `json:"scrapeClass,omitempty"`
	BodySizeLimit         *monitoringv1.ByteSize                 `json:"bodySizeLimit,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

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

func (*PodMonitorSpecApplyConfiguration) WithBodySizeLimit added in v0.73.0

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

func (*PodMonitorSpecApplyConfiguration) WithJobLabel

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

func (*PodMonitorSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

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

func (*PodMonitorSpecApplyConfiguration) WithLabelLimit

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

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

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

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

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

func (*PodMonitorSpecApplyConfiguration) WithScrapeClassName added in v0.72.0

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

func (*PodMonitorSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeProtocols field.

func (*PodMonitorSpecApplyConfiguration) WithSelector

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

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

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

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

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

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

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

type ProbeSpecApplyConfiguration

type ProbeSpecApplyConfiguration struct {
	JobName               *string                              `json:"jobName,omitempty"`
	ProberSpec            *ProberSpecApplyConfiguration        `json:"prober,omitempty"`
	Module                *string                              `json:"module,omitempty"`
	Targets               *ProbeTargetsApplyConfiguration      `json:"targets,omitempty"`
	Interval              *monitoringv1.Duration               `json:"interval,omitempty"`
	ScrapeTimeout         *monitoringv1.Duration               `json:"scrapeTimeout,omitempty"`
	TLSConfig             *SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	BearerTokenSecret     *corev1.SecretKeySelector            `json:"bearerTokenSecret,omitempty"`
	BasicAuth             *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	OAuth2                *OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	MetricRelabelConfigs  []*monitoringv1.RelabelConfig        `json:"metricRelabelings,omitempty"`
	Authorization         *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	SampleLimit           *uint64                              `json:"sampleLimit,omitempty"`
	TargetLimit           *uint64                              `json:"targetLimit,omitempty"`
	ScrapeProtocols       []monitoringv1.ScrapeProtocol        `json:"scrapeProtocols,omitempty"`
	LabelLimit            *uint64                              `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                              `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                              `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets    *uint64                              `json:"keepDroppedTargets,omitempty"`
	ScrapeClassName       *string                              `json:"scrapeClass,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

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

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

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

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

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

func (*ProbeSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

func (b *ProbeSpecApplyConfiguration) WithKeepDroppedTargets(value uint64) *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithLabelLimit

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

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

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

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

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

func (*ProbeSpecApplyConfiguration) WithScrapeClassName added in v0.72.0

func (b *ProbeSpecApplyConfiguration) WithScrapeClassName(value string) *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeProtocols field.

func (*ProbeSpecApplyConfiguration) WithScrapeTimeout

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

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

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

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

type ProbeTargetIngressApplyConfiguration

type ProbeTargetIngressApplyConfiguration struct {
	Selector          *v1.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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type PrometheusRuleApplyConfiguration

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

PrometheusRuleApplyConfiguration represents 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	BaseImage                                *string                                         `json:"baseImage,omitempty"`
	Tag                                      *string                                         `json:"tag,omitempty"`
	SHA                                      *string                                         `json:"sha,omitempty"`
	Retention                                *monitoringv1.Duration                          `json:"retention,omitempty"`
	RetentionSize                            *monitoringv1.ByteSize                          `json:"retentionSize,omitempty"`
	DisableCompaction                        *bool                                           `json:"disableCompaction,omitempty"`
	Rules                                    *RulesApplyConfiguration                        `json:"rules,omitempty"`
	PrometheusRulesExcludedFromEnforce       []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"`
	RuleSelector                             *metav1.LabelSelector                           `json:"ruleSelector,omitempty"`
	RuleNamespaceSelector                    *metav1.LabelSelector                           `json:"ruleNamespaceSelector,omitempty"`
	Query                                    *QuerySpecApplyConfiguration                    `json:"query,omitempty"`
	Alerting                                 *AlertingSpecApplyConfiguration                 `json:"alerting,omitempty"`
	AdditionalAlertRelabelConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertRelabelConfigs,omitempty"`
	AdditionalAlertManagerConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertManagerConfigs,omitempty"`
	RemoteRead                               []RemoteReadSpecApplyConfiguration              `json:"remoteRead,omitempty"`
	Thanos                                   *ThanosSpecApplyConfiguration                   `json:"thanos,omitempty"`
	QueryLogFile                             *string                                         `json:"queryLogFile,omitempty"`
	AllowOverlappingBlocks                   *bool                                           `json:"allowOverlappingBlocks,omitempty"`
	Exemplars                                *ExemplarsApplyConfiguration                    `json:"exemplars,omitempty"`
	EvaluationInterval                       *monitoringv1.Duration                          `json:"evaluationInterval,omitempty"`
	EnableAdminAPI                           *bool                                           `json:"enableAdminAPI,omitempty"`
	TSDB                                     *TSDBSpecApplyConfiguration                     `json:"tsdb,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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithAdditionalArgs

WithAdditionalArgs adds the given value to the AdditionalArgs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalArgs field.

func (*PrometheusSpecApplyConfiguration) WithAdditionalScrapeConfigs

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithBodySizeLimit added in v0.67.0

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

func (*PrometheusSpecApplyConfiguration) WithConfigMaps

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

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithEnforcedKeepDroppedTargets added in v0.68.0

func (b *PrometheusSpecApplyConfiguration) WithEnforcedKeepDroppedTargets(value uint64) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithEnforcedLabelLimit

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

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

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

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

WithExcludedFromEnforcement adds the given value to the ExcludedFromEnforcement field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ExcludedFromEnforcement field.

func (*PrometheusSpecApplyConfiguration) WithExemplars

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

func (*PrometheusSpecApplyConfiguration) WithExternalLabels

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

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

WithHostAliases adds the given value to the HostAliases field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HostAliases field.

func (*PrometheusSpecApplyConfiguration) WithHostNetwork

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

func (*PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors

func (b *PrometheusSpecApplyConfiguration) WithIgnoreNamespaceSelectors(value bool) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithImage

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

func (*PrometheusSpecApplyConfiguration) WithImagePullPolicy

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

func (*PrometheusSpecApplyConfiguration) WithImagePullSecrets

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

WithInitContainers adds the given value to the InitContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the InitContainers field.

func (*PrometheusSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

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

func (*PrometheusSpecApplyConfiguration) WithLabelLimit added in v0.67.0

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

func (*PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit added in v0.67.0

func (b *PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit(value uint64) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit added in v0.67.0

func (b *PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit(value uint64) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithListenLocal

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

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

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

func (*PrometheusSpecApplyConfiguration) WithMaximumStartupDurationSeconds added in v0.71.0

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

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

func (*PrometheusSpecApplyConfiguration) WithMinReadySeconds

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

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

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

func (*PrometheusSpecApplyConfiguration) WithPersistentVolumeClaimRetentionPolicy added in v0.70.0

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

func (*PrometheusSpecApplyConfiguration) WithPodMetadata

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

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

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

func (*PrometheusSpecApplyConfiguration) WithPodTargetLabels

WithPodTargetLabels adds the given value to the PodTargetLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PodTargetLabels field.

func (*PrometheusSpecApplyConfiguration) WithPortName

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

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

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithReloadStrategy added in v0.70.0

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

func (*PrometheusSpecApplyConfiguration) WithRemoteRead

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

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

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

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

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

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

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithSampleLimit added in v0.67.0

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

func (*PrometheusSpecApplyConfiguration) WithScrapeClasses added in v0.72.0

WithScrapeClasses adds the given value to the ScrapeClasses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeClasses field.

func (*PrometheusSpecApplyConfiguration) WithScrapeConfigNamespaceSelector added in v0.65.0

func (b *PrometheusSpecApplyConfiguration) WithScrapeConfigNamespaceSelector(value metav1.LabelSelector) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithScrapeConfigSelector added in v0.65.0

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

func (*PrometheusSpecApplyConfiguration) WithScrapeInterval

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

func (*PrometheusSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeProtocols field.

func (*PrometheusSpecApplyConfiguration) WithScrapeTimeout

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

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

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithTSDB

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

func (*PrometheusSpecApplyConfiguration) WithTag

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

func (*PrometheusSpecApplyConfiguration) WithTargetLimit added in v0.67.0

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

func (*PrometheusSpecApplyConfiguration) WithThanos

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

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

WithTopologySpreadConstraints adds the given value to the TopologySpreadConstraints field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TopologySpreadConstraints field.

func (*PrometheusSpecApplyConfiguration) WithTracingConfig added in v0.66.0

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

func (*PrometheusSpecApplyConfiguration) WithVersion

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

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

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

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

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"`
	UnavailableReplicas *int32                          `json:"unavailableReplicas,omitempty"`
	Conditions          []ConditionApplyConfiguration   `json:"conditions,omitempty"`
	ShardStatuses       []ShardStatusApplyConfiguration `json:"shardStatuses,omitempty"`
	Shards              *int32                          `json:"shards,omitempty"`
	Selector            *string                         `json:"selector,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

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

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

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

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

func (*PrometheusStatusApplyConfiguration) WithSelector added in v0.71.0

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

func (*PrometheusStatusApplyConfiguration) WithShardStatuses

WithShardStatuses adds the given value to the ShardStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ShardStatuses field.

func (*PrometheusStatusApplyConfiguration) WithShards added in v0.71.0

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

func (*PrometheusStatusApplyConfiguration) WithUnavailableReplicas

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

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

type PrometheusTracingConfigApplyConfiguration added in v0.66.0

type PrometheusTracingConfigApplyConfiguration struct {
	ClientType       *string                      `json:"clientType,omitempty"`
	Endpoint         *string                      `json:"endpoint,omitempty"`
	SamplingFraction *resource.Quantity           `json:"samplingFraction,omitempty"`
	Insecure         *bool                        `json:"insecure,omitempty"`
	Headers          map[string]string            `json:"headers,omitempty"`
	Compression      *string                      `json:"compression,omitempty"`
	Timeout          *v1.Duration                 `json:"timeout,omitempty"`
	TLSConfig        *TLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
}

PrometheusTracingConfigApplyConfiguration represents an declarative configuration of the PrometheusTracingConfig type for use with apply.

func PrometheusTracingConfig added in v0.66.0

func PrometheusTracingConfig() *PrometheusTracingConfigApplyConfiguration

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

func (*PrometheusTracingConfigApplyConfiguration) WithClientType added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithCompression added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithEndpoint added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithHeaders added in v0.66.0

WithHeaders puts the entries into the Headers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Headers field, overwriting an existing map entries in Headers field with the same key.

func (*PrometheusTracingConfigApplyConfiguration) WithInsecure added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithSamplingFraction added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithTLSConfig added in v0.66.0

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

func (*PrometheusTracingConfigApplyConfiguration) WithTimeout added in v0.66.0

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

type PrometheusWebSpecApplyConfiguration

type PrometheusWebSpecApplyConfiguration struct {
	WebConfigFileFieldsApplyConfiguration `json:",inline"`
	PageTitle                             *string `json:"pageTitle,omitempty"`
	MaxConnections                        *int32  `json:"maxConnections,omitempty"`
}

PrometheusWebSpecApplyConfiguration represents an declarative configuration of the PrometheusWebSpec type for use with apply.

func PrometheusWebSpec

func PrometheusWebSpec() *PrometheusWebSpecApplyConfiguration

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

func (*PrometheusWebSpecApplyConfiguration) WithHTTPConfig

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

func (*PrometheusWebSpecApplyConfiguration) WithMaxConnections added in v0.63.0

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

func (*PrometheusWebSpecApplyConfiguration) WithPageTitle

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

func (*PrometheusWebSpecApplyConfiguration) WithTLSConfig

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

type ProxyConfigApplyConfiguration added in v0.73.0

type ProxyConfigApplyConfiguration struct {
	ProxyURL             *string                         `json:"proxyUrl,omitempty"`
	NoProxy              *string                         `json:"noProxy,omitempty"`
	ProxyFromEnvironment *bool                           `json:"proxyFromEnvironment,omitempty"`
	ProxyConnectHeader   map[string]v1.SecretKeySelector `json:"proxyConnectHeader,omitempty"`
}

ProxyConfigApplyConfiguration represents an declarative configuration of the ProxyConfig type for use with apply.

func ProxyConfig added in v0.73.0

func ProxyConfig() *ProxyConfigApplyConfiguration

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

func (*ProxyConfigApplyConfiguration) WithNoProxy added in v0.73.0

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

func (*ProxyConfigApplyConfiguration) WithProxyConnectHeader added in v0.73.0

WithProxyConnectHeader puts the entries into the ProxyConnectHeader field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ProxyConnectHeader field, overwriting an existing map entries in ProxyConnectHeader field with the same key.

func (*ProxyConfigApplyConfiguration) WithProxyFromEnvironment added in v0.73.0

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

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

func (*ProxyConfigApplyConfiguration) WithProxyURL added in v0.73.0

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

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

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

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

type QueueConfigApplyConfiguration

type QueueConfigApplyConfiguration struct {
	Capacity          *int         `json:"capacity,omitempty"`
	MinShards         *int         `json:"minShards,omitempty"`
	MaxShards         *int         `json:"maxShards,omitempty"`
	MaxSamplesPerSend *int         `json:"maxSamplesPerSend,omitempty"`
	BatchSendDeadline *v1.Duration `json:"batchSendDeadline,omitempty"`
	MaxRetries        *int         `json:"maxRetries,omitempty"`
	MinBackoff        *v1.Duration `json:"minBackoff,omitempty"`
	MaxBackoff        *v1.Duration `json:"maxBackoff,omitempty"`
	RetryOnRateLimit  *bool        `json:"retryOnRateLimit,omitempty"`
	SampleAgeLimit    *v1.Duration `json:"sampleAgeLimit,omitempty"`
}

QueueConfigApplyConfiguration represents 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

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

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

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

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

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

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

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

func (*QueueConfigApplyConfiguration) WithRetryOnRateLimit

func (b *QueueConfigApplyConfiguration) WithRetryOnRateLimit(value bool) *QueueConfigApplyConfiguration

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

func (*QueueConfigApplyConfiguration) WithSampleAgeLimit added in v0.73.0

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

type RelabelConfigApplyConfiguration

type RelabelConfigApplyConfiguration struct {
	SourceLabels []v1.LabelName `json:"sourceLabels,omitempty"`
	Separator    *string        `json:"separator,omitempty"`
	TargetLabel  *string        `json:"targetLabel,omitempty"`
	Regex        *string        `json:"regex,omitempty"`
	Modulus      *uint64        `json:"modulus,omitempty"`
	Replacement  *string        `json:"replacement,omitempty"`
	Action       *string        `json:"action,omitempty"`
}

RelabelConfigApplyConfiguration represents 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

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

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

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

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

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

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

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

type RemoteReadSpecApplyConfiguration

type RemoteReadSpecApplyConfiguration struct {
	URL                  *string                          `json:"url,omitempty"`
	Name                 *string                          `json:"name,omitempty"`
	RequiredMatchers     map[string]string                `json:"requiredMatchers,omitempty"`
	RemoteTimeout        *v1.Duration                     `json:"remoteTimeout,omitempty"`
	Headers              map[string]string                `json:"headers,omitempty"`
	ReadRecent           *bool                            `json:"readRecent,omitempty"`
	OAuth2               *OAuth2ApplyConfiguration        `json:"oauth2,omitempty"`
	BasicAuth            *BasicAuthApplyConfiguration     `json:"basicAuth,omitempty"`
	BearerTokenFile      *string                          `json:"bearerTokenFile,omitempty"`
	Authorization        *AuthorizationApplyConfiguration `json:"authorization,omitempty"`
	BearerToken          *string                          `json:"bearerToken,omitempty"`
	TLSConfig            *TLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	ProxyURL             *string                          `json:"proxyUrl,omitempty"`
	FollowRedirects      *bool                            `json:"followRedirects,omitempty"`
	FilterExternalLabels *bool                            `json:"filterExternalLabels,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

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

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

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

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

func (*RemoteReadSpecApplyConfiguration) WithFilterExternalLabels

func (b *RemoteReadSpecApplyConfiguration) WithFilterExternalLabels(value bool) *RemoteReadSpecApplyConfiguration

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

func (*RemoteReadSpecApplyConfiguration) WithFollowRedirects added in v0.66.0

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

func (*RemoteReadSpecApplyConfiguration) WithHeaders

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

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

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

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

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

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

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

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

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"`
	SendNativeHistograms *bool                             `json:"sendNativeHistograms,omitempty"`
	RemoteTimeout        *v1.Duration                      `json:"remoteTimeout,omitempty"`
	Headers              map[string]string                 `json:"headers,omitempty"`
	WriteRelabelConfigs  []RelabelConfigApplyConfiguration `json:"writeRelabelConfigs,omitempty"`
	OAuth2               *OAuth2ApplyConfiguration         `json:"oauth2,omitempty"`
	BasicAuth            *BasicAuthApplyConfiguration      `json:"basicAuth,omitempty"`
	BearerTokenFile      *string                           `json:"bearerTokenFile,omitempty"`
	Authorization        *AuthorizationApplyConfiguration  `json:"authorization,omitempty"`
	Sigv4                *Sigv4ApplyConfiguration          `json:"sigv4,omitempty"`
	AzureAD              *AzureADApplyConfiguration        `json:"azureAd,omitempty"`
	BearerToken          *string                           `json:"bearerToken,omitempty"`
	TLSConfig            *TLSConfigApplyConfiguration      `json:"tlsConfig,omitempty"`
	ProxyURL             *string                           `json:"proxyUrl,omitempty"`
	QueueConfig          *QueueConfigApplyConfiguration    `json:"queueConfig,omitempty"`
	MetadataConfig       *MetadataConfigApplyConfiguration `json:"metadataConfig,omitempty"`
	EnableHttp2          *bool                             `json:"enableHTTP2,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

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

func (*RemoteWriteSpecApplyConfiguration) WithAzureAD added in v0.69.0

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

func (*RemoteWriteSpecApplyConfiguration) WithBasicAuth

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

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

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

func (*RemoteWriteSpecApplyConfiguration) WithEnableHttp2 added in v0.71.0

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

func (*RemoteWriteSpecApplyConfiguration) WithHeaders

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

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

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

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

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

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

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

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

func (*RemoteWriteSpecApplyConfiguration) WithSendNativeHistograms added in v0.66.0

func (b *RemoteWriteSpecApplyConfiguration) WithSendNativeHistograms(value bool) *RemoteWriteSpecApplyConfiguration

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

func (*RemoteWriteSpecApplyConfiguration) WithSigv4

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

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

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

WithWriteRelabelConfigs adds the given value to the WriteRelabelConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the WriteRelabelConfigs field.

type RuleApplyConfiguration

type RuleApplyConfiguration struct {
	Record        *string              `json:"record,omitempty"`
	Alert         *string              `json:"alert,omitempty"`
	Expr          *intstr.IntOrString  `json:"expr,omitempty"`
	For           *v1.Duration         `json:"for,omitempty"`
	KeepFiringFor *v1.NonEmptyDuration `json:"keep_firing_for,omitempty"`
	Labels        map[string]string    `json:"labels,omitempty"`
	Annotations   map[string]string    `json:"annotations,omitempty"`
}

RuleApplyConfiguration represents 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

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

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

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

func (*RuleApplyConfiguration) WithKeepFiringFor added in v0.66.0

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

func (*RuleApplyConfiguration) WithLabels

func (b *RuleApplyConfiguration) WithLabels(entries map[string]string) *RuleApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*RuleApplyConfiguration) WithRecord

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

type RuleGroupApplyConfiguration

type RuleGroupApplyConfiguration struct {
	Name                    *string                  `json:"name,omitempty"`
	Interval                *v1.Duration             `json:"interval,omitempty"`
	Rules                   []RuleApplyConfiguration `json:"rules,omitempty"`
	PartialResponseStrategy *string                  `json:"partial_response_strategy,omitempty"`
	Limit                   *int                     `json:"limit,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

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

func (*RuleGroupApplyConfiguration) WithLimit added in v0.65.0

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

func (*RuleGroupApplyConfiguration) WithName

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

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

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

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

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

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

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

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

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

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

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

type ScrapeClassApplyConfiguration added in v0.72.0

type ScrapeClassApplyConfiguration struct {
	Name        *string                       `json:"name,omitempty"`
	Default     *bool                         `json:"default,omitempty"`
	TLSConfig   *TLSConfigApplyConfiguration  `json:"tlsConfig,omitempty"`
	Relabelings []*monitoringv1.RelabelConfig `json:"relabelings,omitempty"`
}

ScrapeClassApplyConfiguration represents an declarative configuration of the ScrapeClass type for use with apply.

func ScrapeClass added in v0.72.0

func ScrapeClass() *ScrapeClassApplyConfiguration

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

func (*ScrapeClassApplyConfiguration) WithDefault added in v0.72.0

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

func (*ScrapeClassApplyConfiguration) WithName added in v0.72.0

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

func (*ScrapeClassApplyConfiguration) WithRelabelings added in v0.73.0

WithRelabelings adds the given value to the Relabelings field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Relabelings field.

func (*ScrapeClassApplyConfiguration) WithTLSConfig added in v0.72.0

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

type 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	ScrapeProtocols       []monitoringv1.ScrapeProtocol        `json:"scrapeProtocols,omitempty"`
	TargetLimit           *uint64                              `json:"targetLimit,omitempty"`
	LabelLimit            *uint64                              `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                              `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                              `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets    *uint64                              `json:"keepDroppedTargets,omitempty"`
	AttachMetadata        *AttachMetadataApplyConfiguration    `json:"attachMetadata,omitempty"`
	ScrapeClassName       *string                              `json:"scrapeClass,omitempty"`
	BodySizeLimit         *monitoringv1.ByteSize               `json:"bodySizeLimit,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) WithAttachMetadata

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

func (*ServiceMonitorSpecApplyConfiguration) WithBodySizeLimit added in v0.73.0

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

func (*ServiceMonitorSpecApplyConfiguration) WithEndpoints

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

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

func (*ServiceMonitorSpecApplyConfiguration) WithKeepDroppedTargets added in v0.68.0

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

func (*ServiceMonitorSpecApplyConfiguration) WithLabelLimit

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

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

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

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

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

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

func (*ServiceMonitorSpecApplyConfiguration) WithScrapeClassName added in v0.72.0

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

func (*ServiceMonitorSpecApplyConfiguration) WithScrapeProtocols added in v0.72.0

WithScrapeProtocols adds the given value to the ScrapeProtocols field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ScrapeProtocols field.

func (*ServiceMonitorSpecApplyConfiguration) WithSelector

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

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

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"`
	UnavailableReplicas *int32  `json:"unavailableReplicas,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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type TSDBSpecApplyConfiguration

type TSDBSpecApplyConfiguration struct {
	OutOfOrderTimeWindow *v1.Duration `json:"outOfOrderTimeWindow,omitempty"`
}

TSDBSpecApplyConfiguration represents an declarative configuration of the TSDBSpec type for use with apply.

func TSDBSpec

func TSDBSpec() *TSDBSpecApplyConfiguration

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

func (*TSDBSpecApplyConfiguration) WithOutOfOrderTimeWindow

func (b *TSDBSpecApplyConfiguration) WithOutOfOrderTimeWindow(value v1.Duration) *TSDBSpecApplyConfiguration

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

type ThanosRulerApplyConfiguration

type ThanosRulerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ThanosRulerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ThanosRulerStatusApplyConfiguration `json:"status,omitempty"`
}

ThanosRulerApplyConfiguration represents 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type ThanosRulerSpecApplyConfiguration

type ThanosRulerSpecApplyConfiguration struct {
	Version                            *string                                         `json:"version,omitempty"`
	PodMetadata                        *EmbeddedObjectMetadataApplyConfiguration       `json:"podMetadata,omitempty"`
	Image                              *string                                         `json:"image,omitempty"`
	ImagePullPolicy                    *corev1.PullPolicy                              `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets                   []corev1.LocalObjectReference                   `json:"imagePullSecrets,omitempty"`
	Paused                             *bool                                           `json:"paused,omitempty"`
	Replicas                           *int32                                          `json:"replicas,omitempty"`
	NodeSelector                       map[string]string                               `json:"nodeSelector,omitempty"`
	Resources                          *corev1.ResourceRequirements                    `json:"resources,omitempty"`
	Affinity                           *corev1.Affinity                                `json:"affinity,omitempty"`
	Tolerations                        []corev1.Toleration                             `json:"tolerations,omitempty"`
	TopologySpreadConstraints          []corev1.TopologySpreadConstraint               `json:"topologySpreadConstraints,omitempty"`
	SecurityContext                    *corev1.PodSecurityContext                      `json:"securityContext,omitempty"`
	PriorityClassName                  *string                                         `json:"priorityClassName,omitempty"`
	ServiceAccountName                 *string                                         `json:"serviceAccountName,omitempty"`
	Storage                            *StorageSpecApplyConfiguration                  `json:"storage,omitempty"`
	Volumes                            []corev1.Volume                                 `json:"volumes,omitempty"`
	VolumeMounts                       []corev1.VolumeMount                            `json:"volumeMounts,omitempty"`
	ObjectStorageConfig                *corev1.SecretKeySelector                       `json:"objectStorageConfig,omitempty"`
	ObjectStorageConfigFile            *string                                         `json:"objectStorageConfigFile,omitempty"`
	ListenLocal                        *bool                                           `json:"listenLocal,omitempty"`
	QueryEndpoints                     []string                                        `json:"queryEndpoints,omitempty"`
	QueryConfig                        *corev1.SecretKeySelector                       `json:"queryConfig,omitempty"`
	AlertManagersURL                   []string                                        `json:"alertmanagersUrl,omitempty"`
	AlertManagersConfig                *corev1.SecretKeySelector                       `json:"alertmanagersConfig,omitempty"`
	RuleSelector                       *metav1.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"`
	TracingConfigFile                  *string                                         `json:"tracingConfigFile,omitempty"`
	Labels                             map[string]string                               `json:"labels,omitempty"`
	AlertDropLabels                    []string                                        `json:"alertDropLabels,omitempty"`
	ExternalPrefix                     *string                                         `json:"externalPrefix,omitempty"`
	RoutePrefix                        *string                                         `json:"routePrefix,omitempty"`
	GRPCServerTLSConfig                *TLSConfigApplyConfiguration                    `json:"grpcServerTlsConfig,omitempty"`
	AlertQueryURL                      *string                                         `json:"alertQueryUrl,omitempty"`
	MinReadySeconds                    *uint32                                         `json:"minReadySeconds,omitempty"`
	AlertRelabelConfigs                *corev1.SecretKeySelector                       `json:"alertRelabelConfigs,omitempty"`
	AlertRelabelConfigFile             *string                                         `json:"alertRelabelConfigFile,omitempty"`
	HostAliases                        []HostAliasApplyConfiguration                   `json:"hostAliases,omitempty"`
	AdditionalArgs                     []ArgumentApplyConfiguration                    `json:"additionalArgs,omitempty"`
	Web                                *ThanosRulerWebSpecApplyConfiguration           `json:"web,omitempty"`
}

ThanosRulerSpecApplyConfiguration represents 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) WithAdditionalArgs added in v0.63.0

WithAdditionalArgs adds the given value to the AdditionalArgs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalArgs field.

func (*ThanosRulerSpecApplyConfiguration) WithAffinity

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*ThanosRulerSpecApplyConfiguration) WithImagePullPolicy

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

func (*ThanosRulerSpecApplyConfiguration) WithImagePullSecrets

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (*ThanosRulerSpecApplyConfiguration) WithTracingConfigFile

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

func (*ThanosRulerSpecApplyConfiguration) WithVersion

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

func (*ThanosRulerSpecApplyConfiguration) WithVolumeMounts added in v0.66.0

WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the VolumeMounts field.

func (*ThanosRulerSpecApplyConfiguration) WithVolumes

WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.

func (*ThanosRulerSpecApplyConfiguration) WithWeb added in v0.73.0

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

type ThanosRulerStatusApplyConfiguration

type ThanosRulerStatusApplyConfiguration struct {
	Paused              *bool                         `json:"paused,omitempty"`
	Replicas            *int32                        `json:"replicas,omitempty"`
	UpdatedReplicas     *int32                        `json:"updatedReplicas,omitempty"`
	AvailableReplicas   *int32                        `json:"availableReplicas,omitempty"`
	UnavailableReplicas *int32                        `json:"unavailableReplicas,omitempty"`
	Conditions          []ConditionApplyConfiguration `json:"conditions,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

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

func (*ThanosRulerStatusApplyConfiguration) WithConditions added in v0.65.0

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*ThanosRulerStatusApplyConfiguration) WithPaused

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

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

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

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

type ThanosRulerWebSpecApplyConfiguration added in v0.73.0

type ThanosRulerWebSpecApplyConfiguration struct {
	WebConfigFileFieldsApplyConfiguration `json:",inline"`
}

ThanosRulerWebSpecApplyConfiguration represents an declarative configuration of the ThanosRulerWebSpec type for use with apply.

func ThanosRulerWebSpec added in v0.73.0

func ThanosRulerWebSpec() *ThanosRulerWebSpecApplyConfiguration

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

func (*ThanosRulerWebSpecApplyConfiguration) WithHTTPConfig added in v0.73.0

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

func (*ThanosRulerWebSpecApplyConfiguration) WithTLSConfig added in v0.73.0

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

type ThanosSpecApplyConfiguration

type ThanosSpecApplyConfiguration struct {
	Image                   *string                      `json:"image,omitempty"`
	Version                 *string                      `json:"version,omitempty"`
	Tag                     *string                      `json:"tag,omitempty"`
	SHA                     *string                      `json:"sha,omitempty"`
	BaseImage               *string                      `json:"baseImage,omitempty"`
	Resources               *v1.ResourceRequirements     `json:"resources,omitempty"`
	ObjectStorageConfig     *v1.SecretKeySelector        `json:"objectStorageConfig,omitempty"`
	ObjectStorageConfigFile *string                      `json:"objectStorageConfigFile,omitempty"`
	ListenLocal             *bool                        `json:"listenLocal,omitempty"`
	GRPCListenLocal         *bool                        `json:"grpcListenLocal,omitempty"`
	HTTPListenLocal         *bool                        `json:"httpListenLocal,omitempty"`
	TracingConfig           *v1.SecretKeySelector        `json:"tracingConfig,omitempty"`
	TracingConfigFile       *string                      `json:"tracingConfigFile,omitempty"`
	GRPCServerTLSConfig     *TLSConfigApplyConfiguration `json:"grpcServerTlsConfig,omitempty"`
	LogLevel                *string                      `json:"logLevel,omitempty"`
	LogFormat               *string                      `json:"logFormat,omitempty"`
	MinTime                 *string                      `json:"minTime,omitempty"`
	BlockDuration           *apismonitoringv1.Duration   `json:"blockSize,omitempty"`
	ReadyTimeout            *apismonitoringv1.Duration   `json:"readyTimeout,omitempty"`
	GetConfigInterval       *apismonitoringv1.Duration   `json:"getConfigInterval,omitempty"`
	GetConfigTimeout        *apismonitoringv1.Duration   `json:"getConfigTimeout,omitempty"`
	VolumeMounts            []v1.VolumeMount             `json:"volumeMounts,omitempty"`
	AdditionalArgs          []ArgumentApplyConfiguration `json:"additionalArgs,omitempty"`
}

ThanosSpecApplyConfiguration represents 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) WithAdditionalArgs

WithAdditionalArgs adds the given value to the AdditionalArgs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalArgs field.

func (*ThanosSpecApplyConfiguration) WithBaseImage

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

func (*ThanosSpecApplyConfiguration) WithBlockDuration added in v0.64.0

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

func (*ThanosSpecApplyConfiguration) WithGRPCListenLocal

func (b *ThanosSpecApplyConfiguration) WithGRPCListenLocal(value bool) *ThanosSpecApplyConfiguration

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

func (*ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig

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

func (*ThanosSpecApplyConfiguration) WithGetConfigInterval added in v0.64.0

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

func (*ThanosSpecApplyConfiguration) WithGetConfigTimeout added in v0.64.0

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

func (*ThanosSpecApplyConfiguration) WithHTTPListenLocal

func (b *ThanosSpecApplyConfiguration) WithHTTPListenLocal(value bool) *ThanosSpecApplyConfiguration

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

func (*ThanosSpecApplyConfiguration) WithImage

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

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

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

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

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

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

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

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

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

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

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

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

WithVolumeMounts adds the given value to the VolumeMounts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the VolumeMounts field.

type TopologySpreadConstraintApplyConfiguration added in v0.71.0

type TopologySpreadConstraintApplyConfiguration struct {
	CoreV1TopologySpreadConstraintApplyConfiguration `json:",inline"`
	AdditionalLabelSelectors                         *monitoringv1.AdditionalLabelSelectors `json:"additionalLabelSelectors,omitempty"`
}

TopologySpreadConstraintApplyConfiguration represents an declarative configuration of the TopologySpreadConstraint type for use with apply.

func TopologySpreadConstraint added in v0.71.0

func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration

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

func (*TopologySpreadConstraintApplyConfiguration) WithAdditionalLabelSelectors added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithLabelSelector added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys added in v0.71.0

WithMatchLabelKeys adds the given value to the MatchLabelKeys field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MatchLabelKeys field.

func (*TopologySpreadConstraintApplyConfiguration) WithMaxSkew added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithMinDomains added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithNodeAffinityPolicy added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithTopologyKey added in v0.71.0

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

func (*TopologySpreadConstraintApplyConfiguration) WithWhenUnsatisfiable added in v0.71.0

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

type WebConfigFileFieldsApplyConfiguration

type WebConfigFileFieldsApplyConfiguration struct {
	TLSConfig  *WebTLSConfigApplyConfiguration  `json:"tlsConfig,omitempty"`
	HTTPConfig *WebHTTPConfigApplyConfiguration `json:"httpConfig,omitempty"`
}

WebConfigFileFieldsApplyConfiguration represents an declarative configuration of the WebConfigFileFields type for use with apply.

func WebConfigFileFields

func WebConfigFileFields() *WebConfigFileFieldsApplyConfiguration

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

func (*WebConfigFileFieldsApplyConfiguration) WithHTTPConfig

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

func (*WebConfigFileFieldsApplyConfiguration) WithTLSConfig

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

type WebHTTPConfigApplyConfiguration

type WebHTTPConfigApplyConfiguration struct {
	HTTP2   *bool                             `json:"http2,omitempty"`
	Headers *WebHTTPHeadersApplyConfiguration `json:"headers,omitempty"`
}

WebHTTPConfigApplyConfiguration represents an declarative configuration of the WebHTTPConfig type for use with apply.

func WebHTTPConfig

func WebHTTPConfig() *WebHTTPConfigApplyConfiguration

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

func (*WebHTTPConfigApplyConfiguration) WithHTTP2

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

func (*WebHTTPConfigApplyConfiguration) WithHeaders

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

type WebHTTPHeadersApplyConfiguration

type WebHTTPHeadersApplyConfiguration struct {
	ContentSecurityPolicy   *string `json:"contentSecurityPolicy,omitempty"`
	XFrameOptions           *string `json:"xFrameOptions,omitempty"`
	XContentTypeOptions     *string `json:"xContentTypeOptions,omitempty"`
	XXSSProtection          *string `json:"xXSSProtection,omitempty"`
	StrictTransportSecurity *string `json:"strictTransportSecurity,omitempty"`
}

WebHTTPHeadersApplyConfiguration represents an declarative configuration of the WebHTTPHeaders type for use with apply.

func WebHTTPHeaders

func WebHTTPHeaders() *WebHTTPHeadersApplyConfiguration

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

func (*WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy

func (b *WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy(value string) *WebHTTPHeadersApplyConfiguration

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

func (*WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity

func (b *WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity(value string) *WebHTTPHeadersApplyConfiguration

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

func (*WebHTTPHeadersApplyConfiguration) WithXContentTypeOptions

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

func (*WebHTTPHeadersApplyConfiguration) WithXFrameOptions

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

func (*WebHTTPHeadersApplyConfiguration) WithXXSSProtection

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

type WebTLSConfigApplyConfiguration

type WebTLSConfigApplyConfiguration struct {
	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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

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