v1

package
v0.0.0-...-b4c927e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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 a declarative configuration of the APIServerConfig type for use with apply.

func APIServerConfig

func APIServerConfig() *APIServerConfigApplyConfiguration

APIServerConfigApplyConfiguration constructs a declarative configuration of the APIServerConfig type for use with apply.

func (*APIServerConfigApplyConfiguration) WithAuthorization

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 a declarative configuration of the AlertingSpec type for use with apply.

func AlertingSpec

func AlertingSpec() *AlertingSpecApplyConfiguration

AlertingSpecApplyConfiguration constructs a declarative configuration of the AlertingSpec type for use with apply.

func (*AlertingSpecApplyConfiguration) WithAlertmanagers

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

type AlertmanagerApplyConfiguration

type AlertmanagerApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *AlertmanagerSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *AlertmanagerStatusApplyConfiguration `json:"status,omitempty"`
}

AlertmanagerApplyConfiguration represents a declarative configuration of the Alertmanager type for use with apply.

func Alertmanager

func Alertmanager(name, namespace string) *AlertmanagerApplyConfiguration

Alertmanager constructs a declarative configuration of the Alertmanager type for use with apply.

func (*AlertmanagerApplyConfiguration) GetName

func (b *AlertmanagerApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*AlertmanagerApplyConfiguration) WithAPIVersion

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 *v1.AlertmanagerConfigMatcherStrategyType `json:"type,omitempty"`
}

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

func AlertmanagerConfigMatcherStrategy

func AlertmanagerConfigMatcherStrategy() *AlertmanagerConfigMatcherStrategyApplyConfiguration

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

func (*AlertmanagerConfigMatcherStrategyApplyConfiguration) WithType

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

type AlertmanagerConfigurationApplyConfiguration

type AlertmanagerConfigurationApplyConfiguration struct {
	Name      *string                                     `json:"name,omitempty"`
	Global    *AlertmanagerGlobalConfigApplyConfiguration `json:"global,omitempty"`
	Templates []SecretOrConfigMapApplyConfiguration       `json:"templates,omitempty"`
}

AlertmanagerConfigurationApplyConfiguration represents a declarative configuration of the AlertmanagerConfiguration type for use with apply.

func AlertmanagerConfiguration

func AlertmanagerConfiguration() *AlertmanagerConfigurationApplyConfiguration

AlertmanagerConfigurationApplyConfiguration constructs a declarative configuration of the AlertmanagerConfiguration type for use with apply.

func (*AlertmanagerConfigurationApplyConfiguration) WithGlobal

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"`
	RelabelConfigs      []RelabelConfigApplyConfiguration    `json:"relabelings,omitempty"`
	AlertRelabelConfigs []RelabelConfigApplyConfiguration    `json:"alertRelabelings,omitempty"`
}

AlertmanagerEndpointsApplyConfiguration represents a declarative configuration of the AlertmanagerEndpoints type for use with apply.

func AlertmanagerEndpoints

func AlertmanagerEndpoints() *AlertmanagerEndpointsApplyConfiguration

AlertmanagerEndpointsApplyConfiguration constructs a declarative configuration of the AlertmanagerEndpoints type for use with apply.

func (*AlertmanagerEndpointsApplyConfiguration) WithAPIVersion

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

func (*AlertmanagerEndpointsApplyConfiguration) WithAlertRelabelConfigs

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

func (*AlertmanagerEndpointsApplyConfiguration) WithAuthorization

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

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 a declarative configuration of the AlertmanagerGlobalConfig type for use with apply.

func AlertmanagerGlobalConfig

func AlertmanagerGlobalConfig() *AlertmanagerGlobalConfigApplyConfiguration

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

func (*AlertmanagerGlobalConfigApplyConfiguration) WithHTTPConfig

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

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

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

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

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

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

type AlertmanagerSpecApplyConfiguration

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

AlertmanagerSpecApplyConfiguration represents a declarative configuration of the AlertmanagerSpec type for use with apply.

func AlertmanagerSpec

func AlertmanagerSpec() *AlertmanagerSpecApplyConfiguration

AlertmanagerSpecApplyConfiguration constructs a declarative configuration of the AlertmanagerSpec type for use with apply.

func (*AlertmanagerSpecApplyConfiguration) WithAdditionalPeers

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

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

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

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

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

func (*AlertmanagerSpecApplyConfiguration) WithDNSPolicy

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

func (*AlertmanagerSpecApplyConfiguration) WithEnableFeatures

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"`
	Selector            *string                       `json:"selector,omitempty"`
	Conditions          []ConditionApplyConfiguration `json:"conditions,omitempty"`
}

AlertmanagerStatusApplyConfiguration represents a declarative configuration of the AlertmanagerStatus type for use with apply.

func AlertmanagerStatus

func AlertmanagerStatus() *AlertmanagerStatusApplyConfiguration

AlertmanagerStatusApplyConfiguration constructs a declarative configuration of the AlertmanagerStatus type for use with apply.

func (*AlertmanagerStatusApplyConfiguration) WithAvailableReplicas

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

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) 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 (*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 a declarative configuration of the AlertmanagerWebSpec type for use with apply.

func AlertmanagerWebSpec

func AlertmanagerWebSpec() *AlertmanagerWebSpecApplyConfiguration

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

func (*AlertmanagerWebSpecApplyConfiguration) WithGetConcurrency

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

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

type ArbitraryFSAccessThroughSMsConfigApplyConfiguration

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

ArbitraryFSAccessThroughSMsConfigApplyConfiguration represents a declarative configuration of the ArbitraryFSAccessThroughSMsConfig type for use with apply.

func ArbitraryFSAccessThroughSMsConfig

func ArbitraryFSAccessThroughSMsConfig() *ArbitraryFSAccessThroughSMsConfigApplyConfiguration

ArbitraryFSAccessThroughSMsConfigApplyConfiguration constructs a declarative configuration of the ArbitraryFSAccessThroughSMsConfig type for use with apply.

func (*ArbitraryFSAccessThroughSMsConfigApplyConfiguration) WithDeny

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

type ArgumentApplyConfiguration

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

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

func Argument

func Argument() *ArgumentApplyConfiguration

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

func (*ArgumentApplyConfiguration) WithName

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 a declarative configuration of the AttachMetadata type for use with apply.

func AttachMetadata

func AttachMetadata() *AttachMetadataApplyConfiguration

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

func (*AttachMetadataApplyConfiguration) WithNode

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

type AuthorizationApplyConfiguration

type AuthorizationApplyConfiguration struct {
	SafeAuthorizationApplyConfiguration `json:",inline"`
	CredentialsFile                     *string `json:"credentialsFile,omitempty"`
}

AuthorizationApplyConfiguration represents a declarative configuration of the Authorization type for use with apply.

func Authorization

func Authorization() *AuthorizationApplyConfiguration

AuthorizationApplyConfiguration constructs a declarative configuration of the Authorization type for use with apply.

func (*AuthorizationApplyConfiguration) WithCredentials

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

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

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

func AzureAD

func AzureAD() *AzureADApplyConfiguration

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

func (*AzureADApplyConfiguration) WithCloud

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

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

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

func (*AzureADApplyConfiguration) WithSDK

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

type AzureOAuthApplyConfiguration

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

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

func AzureOAuth

func AzureOAuth() *AzureOAuthApplyConfiguration

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

func (*AzureOAuthApplyConfiguration) WithClientID

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

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

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

type AzureSDKApplyConfiguration

type AzureSDKApplyConfiguration struct {
	TenantID *string `json:"tenantId,omitempty"`
}

AzureSDKApplyConfiguration represents a declarative configuration of the AzureSDK type for use with apply.

func AzureSDK

func AzureSDK() *AzureSDKApplyConfiguration

AzureSDKApplyConfiguration constructs a declarative configuration of the AzureSDK type for use with apply.

func (*AzureSDKApplyConfiguration) WithTenantID

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

type BasicAuthApplyConfiguration

type BasicAuthApplyConfiguration struct {
	Username *v1.SecretKeySelector `json:"username,omitempty"`
	Password *v1.SecretKeySelector `json:"password,omitempty"`
}

BasicAuthApplyConfiguration represents a declarative configuration of the BasicAuth type for use with apply.

func BasicAuth

func BasicAuth() *BasicAuthApplyConfiguration

BasicAuthApplyConfiguration constructs a declarative configuration of the BasicAuth type for use with apply.

func (*BasicAuthApplyConfiguration) WithPassword

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.LabelSelectorApplyConfiguration                 `json:"serviceMonitorSelector,omitempty"`
	ServiceMonitorNamespaceSelector      *metav1.LabelSelectorApplyConfiguration                 `json:"serviceMonitorNamespaceSelector,omitempty"`
	PodMonitorSelector                   *metav1.LabelSelectorApplyConfiguration                 `json:"podMonitorSelector,omitempty"`
	PodMonitorNamespaceSelector          *metav1.LabelSelectorApplyConfiguration                 `json:"podMonitorNamespaceSelector,omitempty"`
	ProbeSelector                        *metav1.LabelSelectorApplyConfiguration                 `json:"probeSelector,omitempty"`
	ProbeNamespaceSelector               *metav1.LabelSelectorApplyConfiguration                 `json:"probeNamespaceSelector,omitempty"`
	ScrapeConfigSelector                 *metav1.LabelSelectorApplyConfiguration                 `json:"scrapeConfigSelector,omitempty"`
	ScrapeConfigNamespaceSelector        *metav1.LabelSelectorApplyConfiguration                 `json:"scrapeConfigNamespaceSelector,omitempty"`
	Version                              *string                                                 `json:"version,omitempty"`
	Paused                               *bool                                                   `json:"paused,omitempty"`
	Image                                *string                                                 `json:"image,omitempty"`
	ImagePullPolicy                      *corev1.PullPolicy                                      `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets                     []corev1.LocalObjectReference                           `json:"imagePullSecrets,omitempty"`
	Replicas                             *int32                                                  `json:"replicas,omitempty"`
	Shards                               *int32                                                  `json:"shards,omitempty"`
	ReplicaExternalLabelName             *string                                                 `json:"replicaExternalLabelName,omitempty"`
	PrometheusExternalLabelName          *string                                                 `json:"prometheusExternalLabelName,omitempty"`
	LogLevel                             *string                                                 `json:"logLevel,omitempty"`
	LogFormat                            *string                                                 `json:"logFormat,omitempty"`
	ScrapeInterval                       *monitoringv1.Duration                                  `json:"scrapeInterval,omitempty"`
	ScrapeTimeout                        *monitoringv1.Duration                                  `json:"scrapeTimeout,omitempty"`
	ScrapeProtocols                      []monitoringv1.ScrapeProtocol                           `json:"scrapeProtocols,omitempty"`
	ExternalLabels                       map[string]string                                       `json:"externalLabels,omitempty"`
	EnableRemoteWriteReceiver            *bool                                                   `json:"enableRemoteWriteReceiver,omitempty"`
	RemoteWriteReceiverMessageVersions   []monitoringv1.RemoteWriteMessageVersion                `json:"remoteWriteReceiverMessageVersions,omitempty"`
	EnableFeatures                       []monitoringv1.EnableFeature                            `json:"enableFeatures,omitempty"`
	ExternalURL                          *string                                                 `json:"externalUrl,omitempty"`
	RoutePrefix                          *string                                                 `json:"routePrefix,omitempty"`
	Storage                              *StorageSpecApplyConfiguration                          `json:"storage,omitempty"`
	Volumes                              []corev1.Volume                                         `json:"volumes,omitempty"`
	VolumeMounts                         []corev1.VolumeMount                                    `json:"volumeMounts,omitempty"`
	PersistentVolumeClaimRetentionPolicy *appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy `json:"persistentVolumeClaimRetentionPolicy,omitempty"`
	Web                                  *PrometheusWebSpecApplyConfiguration                    `json:"web,omitempty"`
	Resources                            *corev1.ResourceRequirements                            `json:"resources,omitempty"`
	NodeSelector                         map[string]string                                       `json:"nodeSelector,omitempty"`
	ServiceAccountName                   *string                                                 `json:"serviceAccountName,omitempty"`
	AutomountServiceAccountToken         *bool                                                   `json:"automountServiceAccountToken,omitempty"`
	Secrets                              []string                                                `json:"secrets,omitempty"`
	ConfigMaps                           []string                                                `json:"configMaps,omitempty"`
	Affinity                             *corev1.Affinity                                        `json:"affinity,omitempty"`
	Tolerations                          []corev1.Toleration                                     `json:"tolerations,omitempty"`
	TopologySpreadConstraints            []TopologySpreadConstraintApplyConfiguration            `json:"topologySpreadConstraints,omitempty"`
	RemoteWrite                          []RemoteWriteSpecApplyConfiguration                     `json:"remoteWrite,omitempty"`
	OTLP                                 *OTLPConfigApplyConfiguration                           `json:"otlp,omitempty"`
	SecurityContext                      *corev1.PodSecurityContext                              `json:"securityContext,omitempty"`
	DNSPolicy                            *monitoringv1.DNSPolicy                                 `json:"dnsPolicy,omitempty"`
	DNSConfig                            *PodDNSConfigApplyConfiguration                         `json:"dnsConfig,omitempty"`
	ListenLocal                          *bool                                                   `json:"listenLocal,omitempty"`
	Containers                           []corev1.Container                                      `json:"containers,omitempty"`
	InitContainers                       []corev1.Container                                      `json:"initContainers,omitempty"`
	AdditionalScrapeConfigs              *corev1.SecretKeySelector                               `json:"additionalScrapeConfigs,omitempty"`
	APIServerConfig                      *APIServerConfigApplyConfiguration                      `json:"apiserverConfig,omitempty"`
	PriorityClassName                    *string                                                 `json:"priorityClassName,omitempty"`
	PortName                             *string                                                 `json:"portName,omitempty"`
	ArbitraryFSAccessThroughSMs          *ArbitraryFSAccessThroughSMsConfigApplyConfiguration    `json:"arbitraryFSAccessThroughSMs,omitempty"`
	OverrideHonorLabels                  *bool                                                   `json:"overrideHonorLabels,omitempty"`
	OverrideHonorTimestamps              *bool                                                   `json:"overrideHonorTimestamps,omitempty"`
	IgnoreNamespaceSelectors             *bool                                                   `json:"ignoreNamespaceSelectors,omitempty"`
	EnforcedNamespaceLabel               *string                                                 `json:"enforcedNamespaceLabel,omitempty"`
	EnforcedSampleLimit                  *uint64                                                 `json:"enforcedSampleLimit,omitempty"`
	EnforcedTargetLimit                  *uint64                                                 `json:"enforcedTargetLimit,omitempty"`
	EnforcedLabelLimit                   *uint64                                                 `json:"enforcedLabelLimit,omitempty"`
	EnforcedLabelNameLengthLimit         *uint64                                                 `json:"enforcedLabelNameLengthLimit,omitempty"`
	EnforcedLabelValueLengthLimit        *uint64                                                 `json:"enforcedLabelValueLengthLimit,omitempty"`
	EnforcedKeepDroppedTargets           *uint64                                                 `json:"enforcedKeepDroppedTargets,omitempty"`
	EnforcedBodySizeLimit                *monitoringv1.ByteSize                                  `json:"enforcedBodySizeLimit,omitempty"`
	MinReadySeconds                      *uint32                                                 `json:"minReadySeconds,omitempty"`
	HostAliases                          []HostAliasApplyConfiguration                           `json:"hostAliases,omitempty"`
	AdditionalArgs                       []ArgumentApplyConfiguration                            `json:"additionalArgs,omitempty"`
	WALCompression                       *bool                                                   `json:"walCompression,omitempty"`
	ExcludedFromEnforcement              []ObjectReferenceApplyConfiguration                     `json:"excludedFromEnforcement,omitempty"`
	HostNetwork                          *bool                                                   `json:"hostNetwork,omitempty"`
	PodTargetLabels                      []string                                                `json:"podTargetLabels,omitempty"`
	TracingConfig                        *PrometheusTracingConfigApplyConfiguration              `json:"tracingConfig,omitempty"`
	BodySizeLimit                        *monitoringv1.ByteSize                                  `json:"bodySizeLimit,omitempty"`
	SampleLimit                          *uint64                                                 `json:"sampleLimit,omitempty"`
	TargetLimit                          *uint64                                                 `json:"targetLimit,omitempty"`
	LabelLimit                           *uint64                                                 `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                 *uint64                                                 `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                *uint64                                                 `json:"labelValueLengthLimit,omitempty"`
	KeepDroppedTargets                   *uint64                                                 `json:"keepDroppedTargets,omitempty"`
	ReloadStrategy                       *monitoringv1.ReloadStrategyType                        `json:"reloadStrategy,omitempty"`
	MaximumStartupDurationSeconds        *int32                                                  `json:"maximumStartupDurationSeconds,omitempty"`
	ScrapeClasses                        []ScrapeClassApplyConfiguration                         `json:"scrapeClasses,omitempty"`
	ServiceDiscoveryRole                 *monitoringv1.ServiceDiscoveryRole                      `json:"serviceDiscoveryRole,omitempty"`
	TSDB                                 *TSDBSpecApplyConfiguration                             `json:"tsdb,omitempty"`
}

CommonPrometheusFieldsApplyConfiguration represents a declarative configuration of the CommonPrometheusFields type for use with apply.

func CommonPrometheusFields

func CommonPrometheusFields() *CommonPrometheusFieldsApplyConfiguration

CommonPrometheusFieldsApplyConfiguration constructs a declarative configuration of the CommonPrometheusFields type for use with apply.

func (*CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithBodySizeLimit

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithDNSPolicy

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

func (*CommonPrometheusFieldsApplyConfiguration) WithEnableFeatures

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

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

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

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorLabels

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithReplicaExternalLabelName

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

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

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

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

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector

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) 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 (*CommonPrometheusFieldsApplyConfiguration) 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 (*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

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

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

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

func Condition

func Condition() *ConditionApplyConfiguration

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

func (*ConditionApplyConfiguration) WithLastTransitionTime

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

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

func (*ConditionApplyConfiguration) WithMessage

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

func (*ConditionApplyConfiguration) WithObservedGeneration

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

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

func (*ConditionApplyConfiguration) WithReason

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

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

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

type CoreV1TopologySpreadConstraintApplyConfiguration

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

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

func CoreV1TopologySpreadConstraint

func CoreV1TopologySpreadConstraint() *CoreV1TopologySpreadConstraintApplyConfiguration

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

func (*CoreV1TopologySpreadConstraintApplyConfiguration) WithLabelSelector

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

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

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

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

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

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

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

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

type EmbeddedObjectMetadataApplyConfiguration

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

EmbeddedObjectMetadataApplyConfiguration represents a declarative configuration of the EmbeddedObjectMetadata type for use with apply.

func EmbeddedObjectMetadata

func EmbeddedObjectMetadata() *EmbeddedObjectMetadataApplyConfiguration

EmbeddedObjectMetadataApplyConfiguration constructs a declarative configuration of the EmbeddedObjectMetadata type for use with apply.

func (*EmbeddedObjectMetadataApplyConfiguration) WithAnnotations

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 a declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.

func EmbeddedPersistentVolumeClaim

func EmbeddedPersistentVolumeClaim() *EmbeddedPersistentVolumeClaimApplyConfiguration

EmbeddedPersistentVolumeClaimApplyConfiguration constructs a declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithAPIVersion

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     []RelabelConfigApplyConfiguration    `json:"metricRelabelings,omitempty"`
	RelabelConfigs           []RelabelConfigApplyConfiguration    `json:"relabelings,omitempty"`
	ProxyURL                 *string                              `json:"proxyUrl,omitempty"`
	FollowRedirects          *bool                                `json:"followRedirects,omitempty"`
	EnableHttp2              *bool                                `json:"enableHttp2,omitempty"`
	FilterRunning            *bool                                `json:"filterRunning,omitempty"`
}

EndpointApplyConfiguration represents a declarative configuration of the Endpoint type for use with apply.

func Endpoint

func Endpoint() *EndpointApplyConfiguration

EndpointApplyConfiguration constructs a declarative configuration of the Endpoint type for use with apply.

func (*EndpointApplyConfiguration) WithAuthorization

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

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

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

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

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

type ExemplarsApplyConfiguration

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

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

func Exemplars

func Exemplars() *ExemplarsApplyConfiguration

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

func (*ExemplarsApplyConfiguration) WithMaxSize

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

type GlobalSMTPConfigApplyConfiguration

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

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

func GlobalSMTPConfig

func GlobalSMTPConfig() *GlobalSMTPConfigApplyConfiguration

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

func (*GlobalSMTPConfigApplyConfiguration) WithAuthIdentity

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

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

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

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

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

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

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

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

type HTTPConfigApplyConfiguration

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

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

func HTTPConfig

func HTTPConfig() *HTTPConfigApplyConfiguration

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

func (*HTTPConfigApplyConfiguration) WithAuthorization

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

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

func (*HTTPConfigApplyConfiguration) WithOAuth2

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

func (*HTTPConfigApplyConfiguration) WithProxyConnectHeader

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

func (*HTTPConfigApplyConfiguration) WithProxyFromEnvironment

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

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

func (*HTTPConfigApplyConfiguration) WithProxyURL

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 a declarative configuration of the HostAlias type for use with apply.

func HostAlias

func HostAlias() *HostAliasApplyConfiguration

HostAliasApplyConfiguration constructs a declarative configuration of the HostAlias type for use with apply.

func (*HostAliasApplyConfiguration) WithHostnames

func (b *HostAliasApplyConfiguration) WithHostnames(values ...string) *HostAliasApplyConfiguration

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

func (*HostAliasApplyConfiguration) WithIP

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

type HostPortApplyConfiguration

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

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

func HostPort

func HostPort() *HostPortApplyConfiguration

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

func (*HostPortApplyConfiguration) WithHost

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

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

type ManagedIdentityApplyConfiguration

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

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

func ManagedIdentity

func ManagedIdentity() *ManagedIdentityApplyConfiguration

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

func (*ManagedIdentityApplyConfiguration) WithClientID

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

type MetadataConfigApplyConfiguration

type MetadataConfigApplyConfiguration struct {
	Send         *bool        `json:"send,omitempty"`
	SendInterval *v1.Duration `json:"sendInterval,omitempty"`
}

MetadataConfigApplyConfiguration represents a declarative configuration of the MetadataConfig type for use with apply.

func MetadataConfig

func MetadataConfig() *MetadataConfigApplyConfiguration

MetadataConfigApplyConfiguration constructs a declarative configuration of the MetadataConfig type for use with apply.

func (*MetadataConfigApplyConfiguration) WithSend

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 a declarative configuration of the NamespaceSelector type for use with apply.

func NamespaceSelector

func NamespaceSelector() *NamespaceSelectorApplyConfiguration

NamespaceSelectorApplyConfiguration constructs a declarative configuration of the NamespaceSelector type for use with apply.

func (*NamespaceSelectorApplyConfiguration) WithAny

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 NativeHistogramConfigApplyConfiguration

type NativeHistogramConfigApplyConfiguration struct {
	ScrapeClassicHistograms        *bool              `json:"scrapeClassicHistograms,omitempty"`
	NativeHistogramBucketLimit     *uint64            `json:"nativeHistogramBucketLimit,omitempty"`
	NativeHistogramMinBucketFactor *resource.Quantity `json:"nativeHistogramMinBucketFactor,omitempty"`
}

NativeHistogramConfigApplyConfiguration represents a declarative configuration of the NativeHistogramConfig type for use with apply.

func NativeHistogramConfig

func NativeHistogramConfig() *NativeHistogramConfigApplyConfiguration

NativeHistogramConfigApplyConfiguration constructs a declarative configuration of the NativeHistogramConfig type for use with apply.

func (*NativeHistogramConfigApplyConfiguration) WithNativeHistogramBucketLimit

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

func (*NativeHistogramConfigApplyConfiguration) WithNativeHistogramMinBucketFactor

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

func (*NativeHistogramConfigApplyConfiguration) WithScrapeClassicHistograms

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

type OAuth2ApplyConfiguration

type OAuth2ApplyConfiguration struct {
	ClientID                      *SecretOrConfigMapApplyConfiguration `json:"clientId,omitempty"`
	ClientSecret                  *corev1.SecretKeySelector            `json:"clientSecret,omitempty"`
	TokenURL                      *string                              `json:"tokenUrl,omitempty"`
	Scopes                        []string                             `json:"scopes,omitempty"`
	EndpointParams                map[string]string                    `json:"endpointParams,omitempty"`
	TLSConfig                     *SafeTLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	ProxyConfigApplyConfiguration `json:",inline"`
}

OAuth2ApplyConfiguration represents a declarative configuration of the OAuth2 type for use with apply.

func OAuth2

func OAuth2() *OAuth2ApplyConfiguration

OAuth2ApplyConfiguration constructs a declarative configuration of the OAuth2 type for use with apply.

func (*OAuth2ApplyConfiguration) WithClientID

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

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

func (*OAuth2ApplyConfiguration) WithProxyConnectHeader

func (b *OAuth2ApplyConfiguration) WithProxyConnectHeader(entries map[string][]corev1.SecretKeySelector) *OAuth2ApplyConfiguration

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

func (*OAuth2ApplyConfiguration) WithProxyFromEnvironment

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

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

func (*OAuth2ApplyConfiguration) WithProxyURL

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

func (*OAuth2ApplyConfiguration) WithScopes

func (b *OAuth2ApplyConfiguration) WithScopes(values ...string) *OAuth2ApplyConfiguration

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

func (*OAuth2ApplyConfiguration) WithTLSConfig

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

func (*OAuth2ApplyConfiguration) WithTokenURL

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

type OTLPConfigApplyConfiguration

type OTLPConfigApplyConfiguration struct {
	PromoteResourceAttributes []string `json:"promoteResourceAttributes,omitempty"`
}

OTLPConfigApplyConfiguration represents a declarative configuration of the OTLPConfig type for use with apply.

func OTLPConfig

func OTLPConfig() *OTLPConfigApplyConfiguration

OTLPConfigApplyConfiguration constructs a declarative configuration of the OTLPConfig type for use with apply.

func (*OTLPConfigApplyConfiguration) WithPromoteResourceAttributes

func (b *OTLPConfigApplyConfiguration) WithPromoteResourceAttributes(values ...string) *OTLPConfigApplyConfiguration

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

type ObjectReferenceApplyConfiguration

type ObjectReferenceApplyConfiguration struct {
	Group     *string `json:"group,omitempty"`
	Resource  *string `json:"resource,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
	Name      *string `json:"name,omitempty"`
}

ObjectReferenceApplyConfiguration represents a declarative configuration of the ObjectReference type for use with apply.

func ObjectReference

func ObjectReference() *ObjectReferenceApplyConfiguration

ObjectReferenceApplyConfiguration constructs a declarative configuration of the ObjectReference type for use with apply.

func (*ObjectReferenceApplyConfiguration) WithGroup

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 PodDNSConfigApplyConfiguration

type PodDNSConfigApplyConfiguration struct {
	Nameservers []string                               `json:"nameservers,omitempty"`
	Searches    []string                               `json:"searches,omitempty"`
	Options     []PodDNSConfigOptionApplyConfiguration `json:"options,omitempty"`
}

PodDNSConfigApplyConfiguration represents a declarative configuration of the PodDNSConfig type for use with apply.

func PodDNSConfig

func PodDNSConfig() *PodDNSConfigApplyConfiguration

PodDNSConfigApplyConfiguration constructs a declarative configuration of the PodDNSConfig type for use with apply.

func (*PodDNSConfigApplyConfiguration) WithNameservers

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

func (*PodDNSConfigApplyConfiguration) WithOptions

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

func (*PodDNSConfigApplyConfiguration) WithSearches

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

type PodDNSConfigOptionApplyConfiguration

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

PodDNSConfigOptionApplyConfiguration represents a declarative configuration of the PodDNSConfigOption type for use with apply.

func PodDNSConfigOption

func PodDNSConfigOption() *PodDNSConfigOptionApplyConfiguration

PodDNSConfigOptionApplyConfiguration constructs a declarative configuration of the PodDNSConfigOption type for use with apply.

func (*PodDNSConfigOptionApplyConfiguration) WithName

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

func (*PodDNSConfigOptionApplyConfiguration) WithValue

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

type PodMetricsEndpointApplyConfiguration

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

PodMetricsEndpointApplyConfiguration represents a declarative configuration of the PodMetricsEndpoint type for use with apply.

func PodMetricsEndpoint

func PodMetricsEndpoint() *PodMetricsEndpointApplyConfiguration

PodMetricsEndpointApplyConfiguration constructs a declarative configuration of the PodMetricsEndpoint type for use with apply.

func (*PodMetricsEndpointApplyConfiguration) WithAuthorization

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

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

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

type PodMonitorApplyConfiguration

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

PodMonitorApplyConfiguration represents a declarative configuration of the PodMonitor type for use with apply.

func PodMonitor

func PodMonitor(name, namespace string) *PodMonitorApplyConfiguration

PodMonitor constructs a declarative configuration of the PodMonitor type for use with apply.

func (*PodMonitorApplyConfiguration) GetName

func (b *PodMonitorApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*PodMonitorApplyConfiguration) WithAPIVersion

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.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
	NamespaceSelector                       *NamespaceSelectorApplyConfiguration    `json:"namespaceSelector,omitempty"`
	SampleLimit                             *uint64                                 `json:"sampleLimit,omitempty"`
	TargetLimit                             *uint64                                 `json:"targetLimit,omitempty"`
	ScrapeProtocols                         []monitoringv1.ScrapeProtocol           `json:"scrapeProtocols,omitempty"`
	LabelLimit                              *uint64                                 `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                    *uint64                                 `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                   *uint64                                 `json:"labelValueLengthLimit,omitempty"`
	NativeHistogramConfigApplyConfiguration `json:",inline"`
	KeepDroppedTargets                      *uint64                           `json:"keepDroppedTargets,omitempty"`
	AttachMetadata                          *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"`
	ScrapeClassName                         *string                           `json:"scrapeClass,omitempty"`
	BodySizeLimit                           *monitoringv1.ByteSize            `json:"bodySizeLimit,omitempty"`
}

PodMonitorSpecApplyConfiguration represents a declarative configuration of the PodMonitorSpec type for use with apply.

func PodMonitorSpec

func PodMonitorSpec() *PodMonitorSpecApplyConfiguration

PodMonitorSpecApplyConfiguration constructs a declarative configuration of the PodMonitorSpec type for use with apply.

func (*PodMonitorSpecApplyConfiguration) WithAttachMetadata

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

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

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

func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *PodMonitorSpecApplyConfiguration

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

func (*PodMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor

func (b *PodMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *PodMonitorSpecApplyConfiguration

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

func (*PodMonitorSpecApplyConfiguration) WithPodMetricsEndpoints

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

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

func (*PodMonitorSpecApplyConfiguration) WithScrapeClassicHistograms

func (b *PodMonitorSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *PodMonitorSpecApplyConfiguration

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

func (*PodMonitorSpecApplyConfiguration) WithScrapeProtocols

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 a declarative configuration of the Probe type for use with apply.

func Probe

func Probe(name, namespace string) *ProbeApplyConfiguration

Probe constructs a declarative configuration of the Probe type for use with apply.

func (*ProbeApplyConfiguration) GetName

func (b *ProbeApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ProbeApplyConfiguration) WithAPIVersion

func (b *ProbeApplyConfiguration) WithAPIVersion(value string) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithAnnotations

func (b *ProbeApplyConfiguration) WithAnnotations(entries map[string]string) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithCreationTimestamp

func (b *ProbeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*ProbeApplyConfiguration) WithDeletionTimestamp

func (b *ProbeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithFinalizers

func (b *ProbeApplyConfiguration) WithFinalizers(values ...string) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithGenerateName

func (b *ProbeApplyConfiguration) WithGenerateName(value string) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithGeneration

func (b *ProbeApplyConfiguration) WithGeneration(value int64) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithKind

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                    []RelabelConfigApplyConfiguration    `json:"metricRelabelings,omitempty"`
	Authorization                           *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	SampleLimit                             *uint64                              `json:"sampleLimit,omitempty"`
	TargetLimit                             *uint64                              `json:"targetLimit,omitempty"`
	ScrapeProtocols                         []monitoringv1.ScrapeProtocol        `json:"scrapeProtocols,omitempty"`
	LabelLimit                              *uint64                              `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                    *uint64                              `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                   *uint64                              `json:"labelValueLengthLimit,omitempty"`
	NativeHistogramConfigApplyConfiguration `json:",inline"`
	KeepDroppedTargets                      *uint64 `json:"keepDroppedTargets,omitempty"`
	ScrapeClassName                         *string `json:"scrapeClass,omitempty"`
}

ProbeSpecApplyConfiguration represents a declarative configuration of the ProbeSpec type for use with apply.

func ProbeSpec

func ProbeSpec() *ProbeSpecApplyConfiguration

ProbeSpecApplyConfiguration constructs a declarative configuration of the ProbeSpec type for use with apply.

func (*ProbeSpecApplyConfiguration) WithAuthorization

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

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

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

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

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

func (*ProbeSpecApplyConfiguration) WithNativeHistogramMinBucketFactor

func (b *ProbeSpecApplyConfiguration) WithNativeHistogramMinBucketFactor(value resource.Quantity) *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithOAuth2

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

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

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

func (*ProbeSpecApplyConfiguration) WithScrapeClassicHistograms

func (b *ProbeSpecApplyConfiguration) WithScrapeClassicHistograms(value bool) *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithScrapeProtocols

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.LabelSelectorApplyConfiguration  `json:"selector,omitempty"`
	NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	RelabelConfigs    []RelabelConfigApplyConfiguration    `json:"relabelingConfigs,omitempty"`
}

ProbeTargetIngressApplyConfiguration represents a declarative configuration of the ProbeTargetIngress type for use with apply.

func ProbeTargetIngress

func ProbeTargetIngress() *ProbeTargetIngressApplyConfiguration

ProbeTargetIngressApplyConfiguration constructs a declarative configuration of the ProbeTargetIngress type for use with apply.

func (*ProbeTargetIngressApplyConfiguration) WithNamespaceSelector

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 []RelabelConfigApplyConfiguration `json:"relabelingConfigs,omitempty"`
}

ProbeTargetStaticConfigApplyConfiguration represents a declarative configuration of the ProbeTargetStaticConfig type for use with apply.

func ProbeTargetStaticConfig

func ProbeTargetStaticConfig() *ProbeTargetStaticConfigApplyConfiguration

ProbeTargetStaticConfigApplyConfiguration constructs a declarative configuration of the ProbeTargetStaticConfig type for use with apply.

func (*ProbeTargetStaticConfigApplyConfiguration) WithLabels

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 a declarative configuration of the ProbeTargets type for use with apply.

func ProbeTargets

func ProbeTargets() *ProbeTargetsApplyConfiguration

ProbeTargetsApplyConfiguration constructs a declarative configuration of the ProbeTargets type for use with apply.

func (*ProbeTargetsApplyConfiguration) WithIngress

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 a declarative configuration of the ProberSpec type for use with apply.

func ProberSpec

func ProberSpec() *ProberSpecApplyConfiguration

ProberSpecApplyConfiguration constructs a declarative configuration of the ProberSpec type for use with apply.

func (*ProberSpecApplyConfiguration) WithPath

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 a declarative configuration of the Prometheus type for use with apply.

func Prometheus

func Prometheus(name, namespace string) *PrometheusApplyConfiguration

Prometheus constructs a declarative configuration of the Prometheus type for use with apply.

func (*PrometheusApplyConfiguration) GetName

func (b *PrometheusApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*PrometheusApplyConfiguration) WithAPIVersion

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 a declarative configuration of the PrometheusRule type for use with apply.

func PrometheusRule

func PrometheusRule(name, namespace string) *PrometheusRuleApplyConfiguration

PrometheusRule constructs a declarative configuration of the PrometheusRule type for use with apply.

func (*PrometheusRuleApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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 a declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.

func PrometheusRuleExcludeConfig

func PrometheusRuleExcludeConfig() *PrometheusRuleExcludeConfigApplyConfiguration

PrometheusRuleExcludeConfigApplyConfiguration constructs a declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.

func (*PrometheusRuleExcludeConfigApplyConfiguration) WithRuleName

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 a declarative configuration of the PrometheusRuleSpec type for use with apply.

func PrometheusRuleSpec

func PrometheusRuleSpec() *PrometheusRuleSpecApplyConfiguration

PrometheusRuleSpecApplyConfiguration constructs a declarative configuration of the PrometheusRuleSpec type for use with apply.

func (*PrometheusRuleSpecApplyConfiguration) WithGroups

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

type PrometheusSpecApplyConfiguration

type PrometheusSpecApplyConfiguration struct {
	CommonPrometheusFieldsApplyConfiguration `json:",inline"`
	Runtime                                  *RuntimeConfigApplyConfiguration                `json:"runtime,omitempty"`
	BaseImage                                *string                                         `json:"baseImage,omitempty"`
	Tag                                      *string                                         `json:"tag,omitempty"`
	SHA                                      *string                                         `json:"sha,omitempty"`
	Retention                                *monitoringv1.Duration                          `json:"retention,omitempty"`
	RetentionSize                            *monitoringv1.ByteSize                          `json:"retentionSize,omitempty"`
	DisableCompaction                        *bool                                           `json:"disableCompaction,omitempty"`
	Rules                                    *RulesApplyConfiguration                        `json:"rules,omitempty"`
	PrometheusRulesExcludedFromEnforce       []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"`
	RuleSelector                             *metav1.LabelSelectorApplyConfiguration         `json:"ruleSelector,omitempty"`
	RuleNamespaceSelector                    *metav1.LabelSelectorApplyConfiguration         `json:"ruleNamespaceSelector,omitempty"`
	Query                                    *QuerySpecApplyConfiguration                    `json:"query,omitempty"`
	Alerting                                 *AlertingSpecApplyConfiguration                 `json:"alerting,omitempty"`
	AdditionalAlertRelabelConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertRelabelConfigs,omitempty"`
	AdditionalAlertManagerConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertManagerConfigs,omitempty"`
	RemoteRead                               []RemoteReadSpecApplyConfiguration              `json:"remoteRead,omitempty"`
	Thanos                                   *ThanosSpecApplyConfiguration                   `json:"thanos,omitempty"`
	QueryLogFile                             *string                                         `json:"queryLogFile,omitempty"`
	AllowOverlappingBlocks                   *bool                                           `json:"allowOverlappingBlocks,omitempty"`
	Exemplars                                *ExemplarsApplyConfiguration                    `json:"exemplars,omitempty"`
	EvaluationInterval                       *monitoringv1.Duration                          `json:"evaluationInterval,omitempty"`
	RuleQueryOffset                          *monitoringv1.Duration                          `json:"ruleQueryOffset,omitempty"`
	EnableAdminAPI                           *bool                                           `json:"enableAdminAPI,omitempty"`
}

PrometheusSpecApplyConfiguration represents a declarative configuration of the PrometheusSpec type for use with apply.

func PrometheusSpec

func PrometheusSpec() *PrometheusSpecApplyConfiguration

PrometheusSpecApplyConfiguration constructs a declarative configuration of the PrometheusSpec type for use with apply.

func (*PrometheusSpecApplyConfiguration) WithAPIServerConfig

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

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

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

func (*PrometheusSpecApplyConfiguration) WithBaseImage

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

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

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

func (*PrometheusSpecApplyConfiguration) WithDNSPolicy

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

func (*PrometheusSpecApplyConfiguration) WithDisableCompaction

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithLabelNameLengthLimit

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

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

func (*PrometheusSpecApplyConfiguration) WithLabelValueLengthLimit

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

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

func (*PrometheusSpecApplyConfiguration) WithListenLocal

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

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

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

func (*PrometheusSpecApplyConfiguration) WithOverrideHonorLabels

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

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

func (*PrometheusSpecApplyConfiguration) WithOverrideHonorTimestamps

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

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

func (*PrometheusSpecApplyConfiguration) WithPaused

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName

func (b *PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName(value string) *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithReplicas

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

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

func (*PrometheusSpecApplyConfiguration) WithRuleSelector

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

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

func (*PrometheusSpecApplyConfiguration) WithSHA

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

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

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

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

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

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

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

func (*PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector

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

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

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 a declarative configuration of the PrometheusStatus type for use with apply.

func PrometheusStatus

func PrometheusStatus() *PrometheusStatusApplyConfiguration

PrometheusStatusApplyConfiguration constructs a declarative configuration of the PrometheusStatus type for use with apply.

func (*PrometheusStatusApplyConfiguration) WithAvailableReplicas

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

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

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

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

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

func PrometheusTracingConfig

func PrometheusTracingConfig() *PrometheusTracingConfigApplyConfiguration

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

func (*PrometheusTracingConfigApplyConfiguration) WithClientType

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

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

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

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

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

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

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

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

type PrometheusWebSpecApplyConfiguration

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

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

func PrometheusWebSpec

func PrometheusWebSpec() *PrometheusWebSpecApplyConfiguration

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

func (*PrometheusWebSpecApplyConfiguration) WithHTTPConfig

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

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

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

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

func ProxyConfig

func ProxyConfig() *ProxyConfigApplyConfiguration

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

func (*ProxyConfigApplyConfiguration) WithNoProxy

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

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

func (*ProxyConfigApplyConfiguration) WithProxyFromEnvironment

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

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

func (*ProxyConfigApplyConfiguration) WithProxyURL

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

type QuerySpecApplyConfiguration

type QuerySpecApplyConfiguration struct {
	LookbackDelta  *string      `json:"lookbackDelta,omitempty"`
	MaxConcurrency *int32       `json:"maxConcurrency,omitempty"`
	MaxSamples     *int32       `json:"maxSamples,omitempty"`
	Timeout        *v1.Duration `json:"timeout,omitempty"`
}

QuerySpecApplyConfiguration represents a declarative configuration of the QuerySpec type for use with apply.

func QuerySpec

func QuerySpec() *QuerySpecApplyConfiguration

QuerySpecApplyConfiguration constructs a declarative configuration of the QuerySpec type for use with apply.

func (*QuerySpecApplyConfiguration) WithLookbackDelta

func (b *QuerySpecApplyConfiguration) WithLookbackDelta(value string) *QuerySpecApplyConfiguration

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

func (*QuerySpecApplyConfiguration) WithMaxConcurrency

func (b *QuerySpecApplyConfiguration) WithMaxConcurrency(value int32) *QuerySpecApplyConfiguration

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

func (*QuerySpecApplyConfiguration) WithMaxSamples

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 a declarative configuration of the QueueConfig type for use with apply.

func QueueConfig

func QueueConfig() *QueueConfigApplyConfiguration

QueueConfigApplyConfiguration constructs a declarative configuration of the QueueConfig type for use with apply.

func (*QueueConfigApplyConfiguration) WithBatchSendDeadline

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

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

type RelabelConfigApplyConfiguration

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

RelabelConfigApplyConfiguration represents a declarative configuration of the RelabelConfig type for use with apply.

func RelabelConfig

func RelabelConfig() *RelabelConfigApplyConfiguration

RelabelConfigApplyConfiguration constructs a declarative configuration of the RelabelConfig type for use with apply.

func (*RelabelConfigApplyConfiguration) WithAction

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"`
	ProxyConfigApplyConfiguration `json:",inline"`
	FollowRedirects               *bool `json:"followRedirects,omitempty"`
	FilterExternalLabels          *bool `json:"filterExternalLabels,omitempty"`
}

RemoteReadSpecApplyConfiguration represents a declarative configuration of the RemoteReadSpec type for use with apply.

func RemoteReadSpec

func RemoteReadSpec() *RemoteReadSpecApplyConfiguration

RemoteReadSpecApplyConfiguration constructs a declarative configuration of the RemoteReadSpec type for use with apply.

func (*RemoteReadSpecApplyConfiguration) WithAuthorization

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

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

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

func (*RemoteReadSpecApplyConfiguration) WithOAuth2

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

func (*RemoteReadSpecApplyConfiguration) WithProxyConnectHeader

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

func (*RemoteReadSpecApplyConfiguration) WithProxyFromEnvironment

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

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

func (*RemoteReadSpecApplyConfiguration) WithProxyURL

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

RemoteWriteSpecApplyConfiguration represents a declarative configuration of the RemoteWriteSpec type for use with apply.

func RemoteWriteSpec

func RemoteWriteSpec() *RemoteWriteSpecApplyConfiguration

RemoteWriteSpecApplyConfiguration constructs a declarative configuration of the RemoteWriteSpec type for use with apply.

func (*RemoteWriteSpecApplyConfiguration) WithAuthorization

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

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

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

func (*RemoteWriteSpecApplyConfiguration) WithFollowRedirects

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

func (*RemoteWriteSpecApplyConfiguration) WithHeaders

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

func (*RemoteWriteSpecApplyConfiguration) WithMessageVersion

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

func (*RemoteWriteSpecApplyConfiguration) WithMetadataConfig

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

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

func (*RemoteWriteSpecApplyConfiguration) WithOAuth2

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

func (*RemoteWriteSpecApplyConfiguration) WithProxyConnectHeader

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

func (*RemoteWriteSpecApplyConfiguration) WithProxyFromEnvironment

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

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

func (*RemoteWriteSpecApplyConfiguration) WithProxyURL

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

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 a declarative configuration of the Rule type for use with apply.

func Rule

func Rule() *RuleApplyConfiguration

RuleApplyConfiguration constructs a declarative configuration of the Rule type for use with apply.

func (*RuleApplyConfiguration) WithAlert

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

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"`
	QueryOffset             *v1.Duration             `json:"query_offset,omitempty"`
	Rules                   []RuleApplyConfiguration `json:"rules,omitempty"`
	PartialResponseStrategy *string                  `json:"partial_response_strategy,omitempty"`
	Limit                   *int                     `json:"limit,omitempty"`
}

RuleGroupApplyConfiguration represents a declarative configuration of the RuleGroup type for use with apply.

func RuleGroup

func RuleGroup() *RuleGroupApplyConfiguration

RuleGroupApplyConfiguration constructs a declarative configuration of the RuleGroup type for use with apply.

func (*RuleGroupApplyConfiguration) WithInterval

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

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

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

func (*RuleGroupApplyConfiguration) WithRules

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

type RulesAlertApplyConfiguration

type RulesAlertApplyConfiguration struct {
	ForOutageTolerance *string `json:"forOutageTolerance,omitempty"`
	ForGracePeriod     *string `json:"forGracePeriod,omitempty"`
	ResendDelay        *string `json:"resendDelay,omitempty"`
}

RulesAlertApplyConfiguration represents a declarative configuration of the RulesAlert type for use with apply.

func RulesAlert

func RulesAlert() *RulesAlertApplyConfiguration

RulesAlertApplyConfiguration constructs a declarative configuration of the RulesAlert type for use with apply.

func (*RulesAlertApplyConfiguration) WithForGracePeriod

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 a declarative configuration of the Rules type for use with apply.

func Rules

func Rules() *RulesApplyConfiguration

RulesApplyConfiguration constructs a declarative configuration of the Rules type for use with apply.

func (*RulesApplyConfiguration) WithAlert

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

type RuntimeConfigApplyConfiguration

type RuntimeConfigApplyConfiguration struct {
	GoGC *int32 `json:"goGC,omitempty"`
}

RuntimeConfigApplyConfiguration represents a declarative configuration of the RuntimeConfig type for use with apply.

func RuntimeConfig

func RuntimeConfig() *RuntimeConfigApplyConfiguration

RuntimeConfigApplyConfiguration constructs a declarative configuration of the RuntimeConfig type for use with apply.

func (*RuntimeConfigApplyConfiguration) WithGoGC

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

type SafeAuthorizationApplyConfiguration

type SafeAuthorizationApplyConfiguration struct {
	Type        *string               `json:"type,omitempty"`
	Credentials *v1.SecretKeySelector `json:"credentials,omitempty"`
}

SafeAuthorizationApplyConfiguration represents a declarative configuration of the SafeAuthorization type for use with apply.

func SafeAuthorization

func SafeAuthorization() *SafeAuthorizationApplyConfiguration

SafeAuthorizationApplyConfiguration constructs a declarative configuration of the SafeAuthorization type for use with apply.

func (*SafeAuthorizationApplyConfiguration) WithCredentials

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"`
	MinVersion         *monitoringv1.TLSVersion             `json:"minVersion,omitempty"`
	MaxVersion         *monitoringv1.TLSVersion             `json:"maxVersion,omitempty"`
}

SafeTLSConfigApplyConfiguration represents a declarative configuration of the SafeTLSConfig type for use with apply.

func SafeTLSConfig

func SafeTLSConfig() *SafeTLSConfigApplyConfiguration

SafeTLSConfigApplyConfiguration constructs a declarative configuration of the SafeTLSConfig type for use with apply.

func (*SafeTLSConfigApplyConfiguration) WithCA

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) 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 (*SafeTLSConfigApplyConfiguration) 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 (*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

type ScrapeClassApplyConfiguration struct {
	Name              *string                           `json:"name,omitempty"`
	Default           *bool                             `json:"default,omitempty"`
	TLSConfig         *TLSConfigApplyConfiguration      `json:"tlsConfig,omitempty"`
	Relabelings       []RelabelConfigApplyConfiguration `json:"relabelings,omitempty"`
	MetricRelabelings []RelabelConfigApplyConfiguration `json:"metricRelabelings,omitempty"`
	AttachMetadata    *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"`
}

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

func ScrapeClass

func ScrapeClass() *ScrapeClassApplyConfiguration

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

func (*ScrapeClassApplyConfiguration) WithAttachMetadata

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

func (*ScrapeClassApplyConfiguration) WithDefault

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

func (*ScrapeClassApplyConfiguration) WithMetricRelabelings

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

func (*ScrapeClassApplyConfiguration) WithName

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

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

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

type SecretOrConfigMapApplyConfiguration

type SecretOrConfigMapApplyConfiguration struct {
	Secret    *v1.SecretKeySelector    `json:"secret,omitempty"`
	ConfigMap *v1.ConfigMapKeySelector `json:"configMap,omitempty"`
}

SecretOrConfigMapApplyConfiguration represents a declarative configuration of the SecretOrConfigMap type for use with apply.

func SecretOrConfigMap

func SecretOrConfigMap() *SecretOrConfigMapApplyConfiguration

SecretOrConfigMapApplyConfiguration constructs a declarative configuration of the SecretOrConfigMap type for use with apply.

func (*SecretOrConfigMapApplyConfiguration) WithConfigMap

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 a declarative configuration of the ServiceMonitor type for use with apply.

func ServiceMonitor

func ServiceMonitor(name, namespace string) *ServiceMonitorApplyConfiguration

ServiceMonitor constructs a declarative configuration of the ServiceMonitor type for use with apply.

func (*ServiceMonitorApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
	NamespaceSelector                       *NamespaceSelectorApplyConfiguration    `json:"namespaceSelector,omitempty"`
	SampleLimit                             *uint64                                 `json:"sampleLimit,omitempty"`
	ScrapeProtocols                         []monitoringv1.ScrapeProtocol           `json:"scrapeProtocols,omitempty"`
	TargetLimit                             *uint64                                 `json:"targetLimit,omitempty"`
	LabelLimit                              *uint64                                 `json:"labelLimit,omitempty"`
	LabelNameLengthLimit                    *uint64                                 `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit                   *uint64                                 `json:"labelValueLengthLimit,omitempty"`
	NativeHistogramConfigApplyConfiguration `json:",inline"`
	KeepDroppedTargets                      *uint64                           `json:"keepDroppedTargets,omitempty"`
	AttachMetadata                          *AttachMetadataApplyConfiguration `json:"attachMetadata,omitempty"`
	ScrapeClassName                         *string                           `json:"scrapeClass,omitempty"`
	BodySizeLimit                           *monitoringv1.ByteSize            `json:"bodySizeLimit,omitempty"`
}

ServiceMonitorSpecApplyConfiguration represents a declarative configuration of the ServiceMonitorSpec type for use with apply.

func ServiceMonitorSpec

func ServiceMonitorSpec() *ServiceMonitorSpecApplyConfiguration

ServiceMonitorSpecApplyConfiguration constructs a declarative configuration of the ServiceMonitorSpec type for use with apply.

func (*ServiceMonitorSpecApplyConfiguration) WithAttachMetadata

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

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

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

func (b *ServiceMonitorSpecApplyConfiguration) WithNativeHistogramBucketLimit(value uint64) *ServiceMonitorSpecApplyConfiguration

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

func (*ServiceMonitorSpecApplyConfiguration) WithNativeHistogramMinBucketFactor

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

func (*ServiceMonitorSpecApplyConfiguration) WithPodTargetLabels

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

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

func (*ServiceMonitorSpecApplyConfiguration) WithScrapeClassicHistograms

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

func (*ServiceMonitorSpecApplyConfiguration) WithScrapeProtocols

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 a declarative configuration of the ShardStatus type for use with apply.

func ShardStatus

func ShardStatus() *ShardStatusApplyConfiguration

ShardStatusApplyConfiguration constructs a declarative configuration of the ShardStatus type for use with apply.

func (*ShardStatusApplyConfiguration) WithAvailableReplicas

func (b *ShardStatusApplyConfiguration) WithAvailableReplicas(value int32) *ShardStatusApplyConfiguration

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

func (*ShardStatusApplyConfiguration) WithReplicas

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 a declarative configuration of the Sigv4 type for use with apply.

func Sigv4

func Sigv4() *Sigv4ApplyConfiguration

Sigv4ApplyConfiguration constructs a declarative configuration of the Sigv4 type for use with apply.

func (*Sigv4ApplyConfiguration) WithAccessKey

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 a declarative configuration of the StorageSpec type for use with apply.

func StorageSpec

func StorageSpec() *StorageSpecApplyConfiguration

StorageSpecApplyConfiguration constructs a declarative configuration of the StorageSpec type for use with apply.

func (*StorageSpecApplyConfiguration) WithDisableMountSubPath

func (b *StorageSpecApplyConfiguration) WithDisableMountSubPath(value bool) *StorageSpecApplyConfiguration

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

func (*StorageSpecApplyConfiguration) WithEmptyDir

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 a declarative configuration of the TLSConfig type for use with apply.

func TLSConfig

func TLSConfig() *TLSConfigApplyConfiguration

TLSConfigApplyConfiguration constructs a declarative configuration of the TLSConfig type for use with apply.

func (*TLSConfigApplyConfiguration) WithCA

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) 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 (*TLSConfigApplyConfiguration) 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 (*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 a declarative configuration of the TSDBSpec type for use with apply.

func TSDBSpec

func TSDBSpec() *TSDBSpecApplyConfiguration

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

func (*TSDBSpecApplyConfiguration) WithOutOfOrderTimeWindow

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

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

type ThanosRulerApplyConfiguration

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

ThanosRulerApplyConfiguration represents a declarative configuration of the ThanosRuler type for use with apply.

func ThanosRuler

func ThanosRuler(name, namespace string) *ThanosRulerApplyConfiguration

ThanosRuler constructs a declarative configuration of the ThanosRuler type for use with apply.

func (*ThanosRulerApplyConfiguration) GetName

func (b *ThanosRulerApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*ThanosRulerApplyConfiguration) WithAPIVersion

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"`
	DNSPolicy                          *monitoringv1.DNSPolicy                         `json:"dnsPolicy,omitempty"`
	DNSConfig                          *PodDNSConfigApplyConfiguration                 `json:"dnsConfig,omitempty"`
	PriorityClassName                  *string                                         `json:"priorityClassName,omitempty"`
	ServiceAccountName                 *string                                         `json:"serviceAccountName,omitempty"`
	Storage                            *StorageSpecApplyConfiguration                  `json:"storage,omitempty"`
	Volumes                            []corev1.Volume                                 `json:"volumes,omitempty"`
	VolumeMounts                       []corev1.VolumeMount                            `json:"volumeMounts,omitempty"`
	ObjectStorageConfig                *corev1.SecretKeySelector                       `json:"objectStorageConfig,omitempty"`
	ObjectStorageConfigFile            *string                                         `json:"objectStorageConfigFile,omitempty"`
	ListenLocal                        *bool                                           `json:"listenLocal,omitempty"`
	QueryEndpoints                     []string                                        `json:"queryEndpoints,omitempty"`
	QueryConfig                        *corev1.SecretKeySelector                       `json:"queryConfig,omitempty"`
	AlertManagersURL                   []string                                        `json:"alertmanagersUrl,omitempty"`
	AlertManagersConfig                *corev1.SecretKeySelector                       `json:"alertmanagersConfig,omitempty"`
	RuleSelector                       *metav1.LabelSelectorApplyConfiguration         `json:"ruleSelector,omitempty"`
	RuleNamespaceSelector              *metav1.LabelSelectorApplyConfiguration         `json:"ruleNamespaceSelector,omitempty"`
	EnforcedNamespaceLabel             *string                                         `json:"enforcedNamespaceLabel,omitempty"`
	ExcludedFromEnforcement            []ObjectReferenceApplyConfiguration             `json:"excludedFromEnforcement,omitempty"`
	PrometheusRulesExcludedFromEnforce []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"`
	LogLevel                           *string                                         `json:"logLevel,omitempty"`
	LogFormat                          *string                                         `json:"logFormat,omitempty"`
	PortName                           *string                                         `json:"portName,omitempty"`
	EvaluationInterval                 *monitoringv1.Duration                          `json:"evaluationInterval,omitempty"`
	Retention                          *monitoringv1.Duration                          `json:"retention,omitempty"`
	Containers                         []corev1.Container                              `json:"containers,omitempty"`
	InitContainers                     []corev1.Container                              `json:"initContainers,omitempty"`
	TracingConfig                      *corev1.SecretKeySelector                       `json:"tracingConfig,omitempty"`
	TracingConfigFile                  *string                                         `json:"tracingConfigFile,omitempty"`
	Labels                             map[string]string                               `json:"labels,omitempty"`
	AlertDropLabels                    []string                                        `json:"alertDropLabels,omitempty"`
	ExternalPrefix                     *string                                         `json:"externalPrefix,omitempty"`
	RoutePrefix                        *string                                         `json:"routePrefix,omitempty"`
	GRPCServerTLSConfig                *TLSConfigApplyConfiguration                    `json:"grpcServerTlsConfig,omitempty"`
	AlertQueryURL                      *string                                         `json:"alertQueryUrl,omitempty"`
	MinReadySeconds                    *uint32                                         `json:"minReadySeconds,omitempty"`
	AlertRelabelConfigs                *corev1.SecretKeySelector                       `json:"alertRelabelConfigs,omitempty"`
	AlertRelabelConfigFile             *string                                         `json:"alertRelabelConfigFile,omitempty"`
	HostAliases                        []HostAliasApplyConfiguration                   `json:"hostAliases,omitempty"`
	AdditionalArgs                     []ArgumentApplyConfiguration                    `json:"additionalArgs,omitempty"`
	Web                                *ThanosRulerWebSpecApplyConfiguration           `json:"web,omitempty"`
}

ThanosRulerSpecApplyConfiguration represents a declarative configuration of the ThanosRulerSpec type for use with apply.

func ThanosRulerSpec

func ThanosRulerSpec() *ThanosRulerSpecApplyConfiguration

ThanosRulerSpecApplyConfiguration constructs a declarative configuration of the ThanosRulerSpec type for use with apply.

func (*ThanosRulerSpecApplyConfiguration) WithAdditionalArgs

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

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

func (*ThanosRulerSpecApplyConfiguration) WithDNSPolicy

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

func (*ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel

func (b *ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel(value string) *ThanosRulerSpecApplyConfiguration

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

func (*ThanosRulerSpecApplyConfiguration) WithEvaluationInterval

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

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

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 a declarative configuration of the ThanosRulerStatus type for use with apply.

func ThanosRulerStatus

func ThanosRulerStatus() *ThanosRulerStatusApplyConfiguration

ThanosRulerStatusApplyConfiguration constructs a declarative configuration of the ThanosRulerStatus type for use with apply.

func (*ThanosRulerStatusApplyConfiguration) WithAvailableReplicas

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

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

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

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

func ThanosRulerWebSpec

func ThanosRulerWebSpec() *ThanosRulerWebSpecApplyConfiguration

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

func (*ThanosRulerWebSpecApplyConfiguration) WithHTTPConfig

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

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

type ThanosSpecApplyConfiguration

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

ThanosSpecApplyConfiguration represents a declarative configuration of the ThanosSpec type for use with apply.

func ThanosSpec

func ThanosSpec() *ThanosSpecApplyConfiguration

ThanosSpecApplyConfiguration constructs a declarative configuration of the ThanosSpec type for use with apply.

func (*ThanosSpecApplyConfiguration) WithAdditionalArgs

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

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

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

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

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

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

func TopologySpreadConstraint

func TopologySpreadConstraint() *TopologySpreadConstraintApplyConfiguration

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

func (*TopologySpreadConstraintApplyConfiguration) WithAdditionalLabelSelectors

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

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

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

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

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

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

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

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

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

type WebConfigFileFieldsApplyConfiguration

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

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

func WebConfigFileFields

func WebConfigFileFields() *WebConfigFileFieldsApplyConfiguration

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

func (*WebConfigFileFieldsApplyConfiguration) WithHTTPConfig

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 a declarative configuration of the WebHTTPConfig type for use with apply.

func WebHTTPConfig

func WebHTTPConfig() *WebHTTPConfigApplyConfiguration

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

func (*WebHTTPConfigApplyConfiguration) WithHTTP2

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 a declarative configuration of the WebHTTPHeaders type for use with apply.

func WebHTTPHeaders

func WebHTTPHeaders() *WebHTTPHeadersApplyConfiguration

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

func (*WebHTTPHeadersApplyConfiguration) WithContentSecurityPolicy

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

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

func (*WebHTTPHeadersApplyConfiguration) WithStrictTransportSecurity

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

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

func (*WebHTTPHeadersApplyConfiguration) WithXContentTypeOptions

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 {
	Cert                     *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"`
	ClientCA                 *SecretOrConfigMapApplyConfiguration `json:"client_ca,omitempty"`
	KeySecret                *corev1.SecretKeySelector            `json:"keySecret,omitempty"`
	ClientAuthType           *string                              `json:"clientAuthType,omitempty"`
	MinVersion               *string                              `json:"minVersion,omitempty"`
	MaxVersion               *string                              `json:"maxVersion,omitempty"`
	CipherSuites             []string                             `json:"cipherSuites,omitempty"`
	PreferServerCipherSuites *bool                                `json:"preferServerCipherSuites,omitempty"`
	CurvePreferences         []string                             `json:"curvePreferences,omitempty"`
	KeyFile                  *string                              `json:"keyFile,omitempty"`
	CertFile                 *string                              `json:"certFile,omitempty"`
	ClientCAFile             *string                              `json:"clientCAFile,omitempty"`
}

WebTLSConfigApplyConfiguration represents a declarative configuration of the WebTLSConfig type for use with apply.

func WebTLSConfig

func WebTLSConfig() *WebTLSConfigApplyConfiguration

WebTLSConfigApplyConfiguration constructs a declarative configuration of the WebTLSConfig type for use with apply.

func (*WebTLSConfigApplyConfiguration) WithCert

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

func (*WebTLSConfigApplyConfiguration) WithCertFile

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

func (*WebTLSConfigApplyConfiguration) WithCipherSuites

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

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

func (*WebTLSConfigApplyConfiguration) WithCurvePreferences

func (b *WebTLSConfigApplyConfiguration) WithCurvePreferences(values ...string) *WebTLSConfigApplyConfiguration

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

func (*WebTLSConfigApplyConfiguration) WithKeyFile

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

func (*WebTLSConfigApplyConfiguration) WithKeySecret

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