v1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 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"`
	BearerToken     *string                          `json:"bearerToken,omitempty"`
	BearerTokenFile *string                          `json:"bearerTokenFile,omitempty"`
	TLSConfig       *TLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	Authorization   *AuthorizationApplyConfiguration `json:"authorization,omitempty"`
}

APIServerConfigApplyConfiguration represents an declarative configuration of the APIServerConfig type for use with apply.

func APIServerConfig

func APIServerConfig() *APIServerConfigApplyConfiguration

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

func (*APIServerConfigApplyConfiguration) WithAuthorization

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

func (*APIServerConfigApplyConfiguration) WithBasicAuth

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

func (*APIServerConfigApplyConfiguration) WithBearerToken

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

func (*APIServerConfigApplyConfiguration) WithBearerTokenFile

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

func (*APIServerConfigApplyConfiguration) WithHost

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

func (*APIServerConfigApplyConfiguration) WithTLSConfig

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

type AlertingSpecApplyConfiguration

type AlertingSpecApplyConfiguration struct {
	Alertmanagers []AlertmanagerEndpointsApplyConfiguration `json:"alertmanagers,omitempty"`
}

AlertingSpecApplyConfiguration represents an declarative configuration of the AlertingSpec type for use with apply.

func AlertingSpec

func AlertingSpec() *AlertingSpecApplyConfiguration

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

func (*AlertingSpecApplyConfiguration) WithAlertmanagers

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

type AlertmanagerApplyConfiguration

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

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

func Alertmanager

func Alertmanager(name, namespace string) *AlertmanagerApplyConfiguration

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

func (*AlertmanagerApplyConfiguration) WithAPIVersion

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

func (*AlertmanagerApplyConfiguration) WithAnnotations

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

func (*AlertmanagerApplyConfiguration) WithCreationTimestamp

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

func (*AlertmanagerApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*AlertmanagerApplyConfiguration) WithDeletionTimestamp

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

func (*AlertmanagerApplyConfiguration) WithFinalizers

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

func (*AlertmanagerApplyConfiguration) WithGenerateName

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

func (*AlertmanagerApplyConfiguration) WithGeneration

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

func (*AlertmanagerApplyConfiguration) WithKind

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

func (*AlertmanagerApplyConfiguration) WithLabels

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

func (*AlertmanagerApplyConfiguration) WithName

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

func (*AlertmanagerApplyConfiguration) WithNamespace

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

func (*AlertmanagerApplyConfiguration) WithOwnerReferences

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

func (*AlertmanagerApplyConfiguration) WithResourceVersion

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

func (*AlertmanagerApplyConfiguration) WithSpec

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

func (*AlertmanagerApplyConfiguration) WithStatus

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

func (*AlertmanagerApplyConfiguration) WithUID

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

type AlertmanagerConfigurationApplyConfiguration

type AlertmanagerConfigurationApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

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

func AlertmanagerConfiguration

func AlertmanagerConfiguration() *AlertmanagerConfigurationApplyConfiguration

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

func (*AlertmanagerConfigurationApplyConfiguration) WithName

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

type AlertmanagerEndpointsApplyConfiguration

type AlertmanagerEndpointsApplyConfiguration struct {
	Namespace       *string                              `json:"namespace,omitempty"`
	Name            *string                              `json:"name,omitempty"`
	Port            *intstr.IntOrString                  `json:"port,omitempty"`
	Scheme          *string                              `json:"scheme,omitempty"`
	PathPrefix      *string                              `json:"pathPrefix,omitempty"`
	TLSConfig       *TLSConfigApplyConfiguration         `json:"tlsConfig,omitempty"`
	BearerTokenFile *string                              `json:"bearerTokenFile,omitempty"`
	Authorization   *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	APIVersion      *string                              `json:"apiVersion,omitempty"`
	Timeout         *string                              `json:"timeout,omitempty"`
}

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

func AlertmanagerEndpoints

func AlertmanagerEndpoints() *AlertmanagerEndpointsApplyConfiguration

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

func (*AlertmanagerEndpointsApplyConfiguration) WithAPIVersion

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

func (*AlertmanagerEndpointsApplyConfiguration) WithAuthorization

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

func (*AlertmanagerEndpointsApplyConfiguration) 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) WithName

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

func (*AlertmanagerEndpointsApplyConfiguration) WithNamespace

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

func (*AlertmanagerEndpointsApplyConfiguration) WithPathPrefix

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

func (*AlertmanagerEndpointsApplyConfiguration) WithPort

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

func (*AlertmanagerEndpointsApplyConfiguration) WithScheme

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

func (*AlertmanagerEndpointsApplyConfiguration) 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 AlertmanagerSpecApplyConfiguration

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

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

func AlertmanagerSpec

func AlertmanagerSpec() *AlertmanagerSpecApplyConfiguration

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

func (*AlertmanagerSpecApplyConfiguration) WithAdditionalPeers

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

func (b *AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigNamespaceSelector(value metav1.LabelSelector) *AlertmanagerSpecApplyConfiguration

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

func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfigSelector

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

func (*AlertmanagerSpecApplyConfiguration) WithAlertmanagerConfiguration

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

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

func (b *AlertmanagerSpecApplyConfiguration) WithClusterPushpullInterval(value string) *AlertmanagerSpecApplyConfiguration

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

func (*AlertmanagerSpecApplyConfiguration) WithConfigMaps

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

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"`
}

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

func AlertmanagerStatus

func AlertmanagerStatus() *AlertmanagerStatusApplyConfiguration

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

func (*AlertmanagerStatusApplyConfiguration) WithAvailableReplicas

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

func (*AlertmanagerStatusApplyConfiguration) WithPaused

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

func (*AlertmanagerStatusApplyConfiguration) WithReplicas

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

func (*AlertmanagerStatusApplyConfiguration) WithUnavailableReplicas

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

func (*AlertmanagerStatusApplyConfiguration) WithUpdatedReplicas

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

type ArbitraryFSAccessThroughSMsConfigApplyConfiguration

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

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

func ArbitraryFSAccessThroughSMsConfig

func ArbitraryFSAccessThroughSMsConfig() *ArbitraryFSAccessThroughSMsConfigApplyConfiguration

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

func (*ArbitraryFSAccessThroughSMsConfigApplyConfiguration) WithDeny

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

type AttachMetadataApplyConfiguration

type AttachMetadataApplyConfiguration struct {
	Node *bool `json:"node,omitempty"`
}

AttachMetadataApplyConfiguration represents an declarative configuration of the AttachMetadata type for use with apply.

func AttachMetadata

func AttachMetadata() *AttachMetadataApplyConfiguration

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

func (*AttachMetadataApplyConfiguration) WithNode

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

type AuthorizationApplyConfiguration

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

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

func Authorization

func Authorization() *AuthorizationApplyConfiguration

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

func (*AuthorizationApplyConfiguration) WithCredentials

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

func (*AuthorizationApplyConfiguration) WithCredentialsFile

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

func (*AuthorizationApplyConfiguration) WithType

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

type BasicAuthApplyConfiguration

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

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

func BasicAuth

func BasicAuth() *BasicAuthApplyConfiguration

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

func (*BasicAuthApplyConfiguration) WithPassword

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

func (*BasicAuthApplyConfiguration) WithUsername

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

type CommonPrometheusFieldsApplyConfiguration

type CommonPrometheusFieldsApplyConfiguration struct {
	PodMetadata                     *EmbeddedObjectMetadataApplyConfiguration            `json:"podMetadata,omitempty"`
	ServiceMonitorSelector          *metav1.LabelSelector                                `json:"serviceMonitorSelector,omitempty"`
	ServiceMonitorNamespaceSelector *metav1.LabelSelector                                `json:"serviceMonitorNamespaceSelector,omitempty"`
	PodMonitorSelector              *metav1.LabelSelector                                `json:"podMonitorSelector,omitempty"`
	PodMonitorNamespaceSelector     *metav1.LabelSelector                                `json:"podMonitorNamespaceSelector,omitempty"`
	ProbeSelector                   *metav1.LabelSelector                                `json:"probeSelector,omitempty"`
	ProbeNamespaceSelector          *metav1.LabelSelector                                `json:"probeNamespaceSelector,omitempty"`
	Version                         *string                                              `json:"version,omitempty"`
	Tag                             *string                                              `json:"tag,omitempty"`
	SHA                             *string                                              `json:"sha,omitempty"`
	Paused                          *bool                                                `json:"paused,omitempty"`
	Image                           *string                                              `json:"image,omitempty"`
	BaseImage                       *string                                              `json:"baseImage,omitempty"`
	ImagePullSecrets                []corev1.LocalObjectReference                        `json:"imagePullSecrets,omitempty"`
	Replicas                        *int32                                               `json:"replicas,omitempty"`
	Shards                          *int32                                               `json:"shards,omitempty"`
	ReplicaExternalLabelName        *string                                              `json:"replicaExternalLabelName,omitempty"`
	PrometheusExternalLabelName     *string                                              `json:"prometheusExternalLabelName,omitempty"`
	LogLevel                        *string                                              `json:"logLevel,omitempty"`
	LogFormat                       *string                                              `json:"logFormat,omitempty"`
	ScrapeInterval                  *monitoringv1.Duration                               `json:"scrapeInterval,omitempty"`
	ScrapeTimeout                   *monitoringv1.Duration                               `json:"scrapeTimeout,omitempty"`
	EvaluationInterval              *monitoringv1.Duration                               `json:"evaluationInterval,omitempty"`
	ExternalLabels                  map[string]string                                    `json:"externalLabels,omitempty"`
	EnableAdminAPI                  *bool                                                `json:"enableAdminAPI,omitempty"`
	EnableRemoteWriteReceiver       *bool                                                `json:"enableRemoteWriteReceiver,omitempty"`
	EnableFeatures                  []string                                             `json:"enableFeatures,omitempty"`
	ExternalURL                     *string                                              `json:"externalUrl,omitempty"`
	RoutePrefix                     *string                                              `json:"routePrefix,omitempty"`
	Storage                         *StorageSpecApplyConfiguration                       `json:"storage,omitempty"`
	Volumes                         []corev1.Volume                                      `json:"volumes,omitempty"`
	VolumeMounts                    []corev1.VolumeMount                                 `json:"volumeMounts,omitempty"`
	Web                             *WebSpecApplyConfiguration                           `json:"web,omitempty"`
	Resources                       *corev1.ResourceRequirements                         `json:"resources,omitempty"`
	NodeSelector                    map[string]string                                    `json:"nodeSelector,omitempty"`
	ServiceAccountName              *string                                              `json:"serviceAccountName,omitempty"`
	Secrets                         []string                                             `json:"secrets,omitempty"`
	ConfigMaps                      []string                                             `json:"configMaps,omitempty"`
	Affinity                        *corev1.Affinity                                     `json:"affinity,omitempty"`
	Tolerations                     []corev1.Toleration                                  `json:"tolerations,omitempty"`
	TopologySpreadConstraints       []corev1.TopologySpreadConstraint                    `json:"topologySpreadConstraints,omitempty"`
	RemoteWrite                     []RemoteWriteSpecApplyConfiguration                  `json:"remoteWrite,omitempty"`
	SecurityContext                 *corev1.PodSecurityContext                           `json:"securityContext,omitempty"`
	ListenLocal                     *bool                                                `json:"listenLocal,omitempty"`
	Containers                      []corev1.Container                                   `json:"containers,omitempty"`
	InitContainers                  []corev1.Container                                   `json:"initContainers,omitempty"`
	AdditionalScrapeConfigs         *corev1.SecretKeySelector                            `json:"additionalScrapeConfigs,omitempty"`
	APIServerConfig                 *APIServerConfigApplyConfiguration                   `json:"apiserverConfig,omitempty"`
	PriorityClassName               *string                                              `json:"priorityClassName,omitempty"`
	PortName                        *string                                              `json:"portName,omitempty"`
	ArbitraryFSAccessThroughSMs     *ArbitraryFSAccessThroughSMsConfigApplyConfiguration `json:"arbitraryFSAccessThroughSMs,omitempty"`
	OverrideHonorLabels             *bool                                                `json:"overrideHonorLabels,omitempty"`
	OverrideHonorTimestamps         *bool                                                `json:"overrideHonorTimestamps,omitempty"`
	IgnoreNamespaceSelectors        *bool                                                `json:"ignoreNamespaceSelectors,omitempty"`
	EnforcedNamespaceLabel          *string                                              `json:"enforcedNamespaceLabel,omitempty"`
	EnforcedSampleLimit             *uint64                                              `json:"enforcedSampleLimit,omitempty"`
	EnforcedTargetLimit             *uint64                                              `json:"enforcedTargetLimit,omitempty"`
	EnforcedLabelLimit              *uint64                                              `json:"enforcedLabelLimit,omitempty"`
	EnforcedLabelNameLengthLimit    *uint64                                              `json:"enforcedLabelNameLengthLimit,omitempty"`
	EnforcedLabelValueLengthLimit   *uint64                                              `json:"enforcedLabelValueLengthLimit,omitempty"`
	EnforcedBodySizeLimit           *monitoringv1.ByteSize                               `json:"enforcedBodySizeLimit,omitempty"`
	MinReadySeconds                 *uint32                                              `json:"minReadySeconds,omitempty"`
	HostAliases                     []HostAliasApplyConfiguration                        `json:"hostAliases,omitempty"`
}

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

func CommonPrometheusFields

func CommonPrometheusFields() *CommonPrometheusFieldsApplyConfiguration

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

func (*CommonPrometheusFieldsApplyConfiguration) WithAPIServerConfig

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

func (*CommonPrometheusFieldsApplyConfiguration) WithAdditionalScrapeConfigs

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithNodeSelector

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

func (*CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorLabels

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

func (*CommonPrometheusFieldsApplyConfiguration) WithOverrideHonorTimestamps

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

func (*CommonPrometheusFieldsApplyConfiguration) WithPaused

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithReplicaExternalLabelName

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

func (*CommonPrometheusFieldsApplyConfiguration) WithReplicas

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

func (*CommonPrometheusFieldsApplyConfiguration) WithResources

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

func (*CommonPrometheusFieldsApplyConfiguration) WithRoutePrefix

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

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

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

func (*CommonPrometheusFieldsApplyConfiguration) WithSecrets

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

func (*CommonPrometheusFieldsApplyConfiguration) WithSecurityContext

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

func (*CommonPrometheusFieldsApplyConfiguration) WithServiceAccountName

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

func (*CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorNamespaceSelector

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

func (*CommonPrometheusFieldsApplyConfiguration) WithServiceMonitorSelector

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

func (*CommonPrometheusFieldsApplyConfiguration) WithShards

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

func (*CommonPrometheusFieldsApplyConfiguration) WithStorage

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

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

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

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

func EmbeddedObjectMetadata

func EmbeddedObjectMetadata() *EmbeddedObjectMetadataApplyConfiguration

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

func (*EmbeddedObjectMetadataApplyConfiguration) WithAnnotations

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

func (*EmbeddedObjectMetadataApplyConfiguration) WithLabels

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

func (*EmbeddedObjectMetadataApplyConfiguration) WithName

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

type EmbeddedPersistentVolumeClaimApplyConfiguration

type EmbeddedPersistentVolumeClaimApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration             `json:",inline"`
	*EmbeddedObjectMetadataApplyConfiguration `json:"metadata,omitempty"`
	Spec                                      *corev1.PersistentVolumeClaimSpec   `json:"spec,omitempty"`
	Status                                    *corev1.PersistentVolumeClaimStatus `json:"status,omitempty"`
}

EmbeddedPersistentVolumeClaimApplyConfiguration represents an declarative configuration of the EmbeddedPersistentVolumeClaim type for use with apply.

func EmbeddedPersistentVolumeClaim

func EmbeddedPersistentVolumeClaim() *EmbeddedPersistentVolumeClaimApplyConfiguration

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithAPIVersion

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithAnnotations

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithKind

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithLabels

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithName

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithSpec

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

func (*EmbeddedPersistentVolumeClaimApplyConfiguration) WithStatus

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

type EndpointApplyConfiguration

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

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

func Endpoint

func Endpoint() *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithAuthorization

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

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

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

func (*EndpointApplyConfiguration) WithHonorLabels

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

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

func (*EndpointApplyConfiguration) WithHonorTimestamps

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

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

func (*EndpointApplyConfiguration) WithInterval

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

func (*EndpointApplyConfiguration) WithMetricRelabelConfigs

func (b *EndpointApplyConfiguration) WithMetricRelabelConfigs(values ...**v1.RelabelConfig) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithOAuth2

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

func (*EndpointApplyConfiguration) WithParams

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

func (*EndpointApplyConfiguration) WithPath

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

func (*EndpointApplyConfiguration) WithPort

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

func (*EndpointApplyConfiguration) WithProxyURL

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

func (*EndpointApplyConfiguration) WithRelabelConfigs

func (b *EndpointApplyConfiguration) WithRelabelConfigs(values ...**v1.RelabelConfig) *EndpointApplyConfiguration

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

func (*EndpointApplyConfiguration) WithScheme

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

func (*EndpointApplyConfiguration) WithScrapeTimeout

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

func (*EndpointApplyConfiguration) WithTLSConfig

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

func (*EndpointApplyConfiguration) WithTargetPort

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

type HostAliasApplyConfiguration

type HostAliasApplyConfiguration struct {
	IP        *string  `json:"ip,omitempty"`
	Hostnames []string `json:"hostnames,omitempty"`
}

HostAliasApplyConfiguration represents an declarative configuration of the HostAlias type for use with apply.

func HostAlias

func HostAlias() *HostAliasApplyConfiguration

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

func (*HostAliasApplyConfiguration) WithHostnames

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

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

func (*HostAliasApplyConfiguration) WithIP

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

type MetadataConfigApplyConfiguration

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

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

func MetadataConfig

func MetadataConfig() *MetadataConfigApplyConfiguration

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

func (*MetadataConfigApplyConfiguration) WithSend

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

func (*MetadataConfigApplyConfiguration) WithSendInterval

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

type NamespaceSelectorApplyConfiguration

type NamespaceSelectorApplyConfiguration struct {
	Any        *bool    `json:"any,omitempty"`
	MatchNames []string `json:"matchNames,omitempty"`
}

NamespaceSelectorApplyConfiguration represents an declarative configuration of the NamespaceSelector type for use with apply.

func NamespaceSelector

func NamespaceSelector() *NamespaceSelectorApplyConfiguration

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

func (*NamespaceSelectorApplyConfiguration) WithAny

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

func (*NamespaceSelectorApplyConfiguration) WithMatchNames

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

type OAuth2ApplyConfiguration

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

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

func OAuth2

func OAuth2() *OAuth2ApplyConfiguration

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

func (*OAuth2ApplyConfiguration) WithClientID

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

func (*OAuth2ApplyConfiguration) WithClientSecret

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

func (*OAuth2ApplyConfiguration) WithEndpointParams

func (b *OAuth2ApplyConfiguration) WithEndpointParams(entries map[string]string) *OAuth2ApplyConfiguration

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

func (*OAuth2ApplyConfiguration) WithScopes

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

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

func (*OAuth2ApplyConfiguration) WithTokenURL

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

type ObjectReferenceApplyConfiguration

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

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

func ObjectReference

func ObjectReference() *ObjectReferenceApplyConfiguration

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

func (*ObjectReferenceApplyConfiguration) WithGroup

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

func (*ObjectReferenceApplyConfiguration) WithName

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

func (*ObjectReferenceApplyConfiguration) WithNamespace

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

func (*ObjectReferenceApplyConfiguration) WithResource

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

type PodMetricsEndpointApplyConfiguration

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

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

func PodMetricsEndpoint

func PodMetricsEndpoint() *PodMetricsEndpointApplyConfiguration

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

func (*PodMetricsEndpointApplyConfiguration) WithAuthorization

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

type PodMetricsEndpointTLSConfigApplyConfiguration

type PodMetricsEndpointTLSConfigApplyConfiguration struct {
	SafeTLSConfigApplyConfiguration `json:",inline"`
}

PodMetricsEndpointTLSConfigApplyConfiguration represents an declarative configuration of the PodMetricsEndpointTLSConfig type for use with apply.

func PodMetricsEndpointTLSConfig

func PodMetricsEndpointTLSConfig() *PodMetricsEndpointTLSConfigApplyConfiguration

PodMetricsEndpointTLSConfigApplyConfiguration constructs an declarative configuration of the PodMetricsEndpointTLSConfig type for use with apply.

func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithCA

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

func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithCert

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

func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithInsecureSkipVerify

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

func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithKeySecret

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

func (*PodMetricsEndpointTLSConfigApplyConfiguration) WithServerName

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

type PodMonitorApplyConfiguration

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

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

func PodMonitor

func PodMonitor(name, namespace string) *PodMonitorApplyConfiguration

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

func (*PodMonitorApplyConfiguration) WithAPIVersion

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

func (*PodMonitorApplyConfiguration) WithAnnotations

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

func (*PodMonitorApplyConfiguration) WithCreationTimestamp

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

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

func (*PodMonitorApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*PodMonitorApplyConfiguration) WithDeletionTimestamp

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

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

func (*PodMonitorApplyConfiguration) WithFinalizers

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

func (*PodMonitorApplyConfiguration) WithGenerateName

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

func (*PodMonitorApplyConfiguration) WithGeneration

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

func (*PodMonitorApplyConfiguration) WithKind

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

func (*PodMonitorApplyConfiguration) WithLabels

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

func (*PodMonitorApplyConfiguration) WithName

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

func (*PodMonitorApplyConfiguration) WithNamespace

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

func (*PodMonitorApplyConfiguration) WithOwnerReferences

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

func (*PodMonitorApplyConfiguration) WithResourceVersion

func (b *PodMonitorApplyConfiguration) WithResourceVersion(value string) *PodMonitorApplyConfiguration

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

func (*PodMonitorApplyConfiguration) WithSpec

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

func (*PodMonitorApplyConfiguration) WithUID

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

type PodMonitorSpecApplyConfiguration

type PodMonitorSpecApplyConfiguration struct {
	JobLabel              *string                                `json:"jobLabel,omitempty"`
	PodTargetLabels       []string                               `json:"podTargetLabels,omitempty"`
	PodMetricsEndpoints   []PodMetricsEndpointApplyConfiguration `json:"podMetricsEndpoints,omitempty"`
	Selector              *metav1.LabelSelector                  `json:"selector,omitempty"`
	NamespaceSelector     *NamespaceSelectorApplyConfiguration   `json:"namespaceSelector,omitempty"`
	SampleLimit           *uint64                                `json:"sampleLimit,omitempty"`
	TargetLimit           *uint64                                `json:"targetLimit,omitempty"`
	LabelLimit            *uint64                                `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                                `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                                `json:"labelValueLengthLimit,omitempty"`
	AttachMetadata        *AttachMetadataApplyConfiguration      `json:"attachMetadata,omitempty"`
}

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

func PodMonitorSpec

func PodMonitorSpec() *PodMonitorSpecApplyConfiguration

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

func (*PodMonitorSpecApplyConfiguration) WithAttachMetadata

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

func (*PodMonitorSpecApplyConfiguration) WithJobLabel

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

func (*PodMonitorSpecApplyConfiguration) WithLabelLimit

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

func (*PodMonitorSpecApplyConfiguration) WithLabelNameLengthLimit

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

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

func (*PodMonitorSpecApplyConfiguration) WithLabelValueLengthLimit

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

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

func (*PodMonitorSpecApplyConfiguration) WithNamespaceSelector

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

func (*PodMonitorSpecApplyConfiguration) WithPodMetricsEndpoints

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

func (*PodMonitorSpecApplyConfiguration) WithPodTargetLabels

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

func (*PodMonitorSpecApplyConfiguration) WithSampleLimit

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

func (*PodMonitorSpecApplyConfiguration) WithSelector

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

func (*PodMonitorSpecApplyConfiguration) WithTargetLimit

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

type ProbeApplyConfiguration

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

ProbeApplyConfiguration represents an declarative configuration of the Probe type for use with apply.

func Probe

func Probe(name, namespace string) *ProbeApplyConfiguration

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

func (*ProbeApplyConfiguration) WithAPIVersion

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

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

func (*ProbeApplyConfiguration) WithAnnotations

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

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

func (*ProbeApplyConfiguration) WithCreationTimestamp

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

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

func (*ProbeApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*ProbeApplyConfiguration) WithDeletionTimestamp

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

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

func (*ProbeApplyConfiguration) WithFinalizers

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

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

func (*ProbeApplyConfiguration) WithGenerateName

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

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

func (*ProbeApplyConfiguration) WithGeneration

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

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

func (*ProbeApplyConfiguration) WithKind

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

func (*ProbeApplyConfiguration) WithLabels

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

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

func (*ProbeApplyConfiguration) WithName

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

func (*ProbeApplyConfiguration) WithNamespace

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

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

func (*ProbeApplyConfiguration) WithOwnerReferences

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

func (*ProbeApplyConfiguration) WithResourceVersion

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

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

func (*ProbeApplyConfiguration) WithSpec

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

func (*ProbeApplyConfiguration) WithUID

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

type ProbeSpecApplyConfiguration

type ProbeSpecApplyConfiguration struct {
	JobName               *string                              `json:"jobName,omitempty"`
	ProberSpec            *ProberSpecApplyConfiguration        `json:"prober,omitempty"`
	Module                *string                              `json:"module,omitempty"`
	Targets               *ProbeTargetsApplyConfiguration      `json:"targets,omitempty"`
	Interval              *monitoringv1.Duration               `json:"interval,omitempty"`
	ScrapeTimeout         *monitoringv1.Duration               `json:"scrapeTimeout,omitempty"`
	TLSConfig             *ProbeTLSConfigApplyConfiguration    `json:"tlsConfig,omitempty"`
	BearerTokenSecret     *corev1.SecretKeySelector            `json:"bearerTokenSecret,omitempty"`
	BasicAuth             *BasicAuthApplyConfiguration         `json:"basicAuth,omitempty"`
	OAuth2                *OAuth2ApplyConfiguration            `json:"oauth2,omitempty"`
	MetricRelabelConfigs  []*monitoringv1.RelabelConfig        `json:"metricRelabelings,omitempty"`
	Authorization         *SafeAuthorizationApplyConfiguration `json:"authorization,omitempty"`
	SampleLimit           *uint64                              `json:"sampleLimit,omitempty"`
	TargetLimit           *uint64                              `json:"targetLimit,omitempty"`
	LabelLimit            *uint64                              `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                              `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                              `json:"labelValueLengthLimit,omitempty"`
}

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

func ProbeSpec

func ProbeSpec() *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithAuthorization

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

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

func (*ProbeSpecApplyConfiguration) WithLabelNameLengthLimit

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

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

func (*ProbeSpecApplyConfiguration) WithLabelValueLengthLimit

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

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

func (*ProbeSpecApplyConfiguration) WithMetricRelabelConfigs

func (b *ProbeSpecApplyConfiguration) WithMetricRelabelConfigs(values ...**monitoringv1.RelabelConfig) *ProbeSpecApplyConfiguration

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

func (*ProbeSpecApplyConfiguration) WithModule

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

func (*ProbeSpecApplyConfiguration) WithOAuth2

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

func (*ProbeSpecApplyConfiguration) WithProberSpec

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

func (*ProbeSpecApplyConfiguration) WithSampleLimit

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

func (*ProbeSpecApplyConfiguration) 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 ProbeTLSConfigApplyConfiguration

type ProbeTLSConfigApplyConfiguration struct {
	SafeTLSConfigApplyConfiguration `json:",inline"`
}

ProbeTLSConfigApplyConfiguration represents an declarative configuration of the ProbeTLSConfig type for use with apply.

func ProbeTLSConfig

func ProbeTLSConfig() *ProbeTLSConfigApplyConfiguration

ProbeTLSConfigApplyConfiguration constructs an declarative configuration of the ProbeTLSConfig type for use with apply.

func (*ProbeTLSConfigApplyConfiguration) WithCA

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

func (*ProbeTLSConfigApplyConfiguration) WithCert

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

func (*ProbeTLSConfigApplyConfiguration) WithInsecureSkipVerify

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

func (*ProbeTLSConfigApplyConfiguration) WithKeySecret

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

func (*ProbeTLSConfigApplyConfiguration) WithServerName

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

type ProbeTargetIngressApplyConfiguration

type ProbeTargetIngressApplyConfiguration struct {
	Selector          *v1.LabelSelector                    `json:"selector,omitempty"`
	NamespaceSelector *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	RelabelConfigs    []*apismonitoringv1.RelabelConfig    `json:"relabelingConfigs,omitempty"`
}

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

func ProbeTargetIngress

func ProbeTargetIngress() *ProbeTargetIngressApplyConfiguration

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

func (*ProbeTargetIngressApplyConfiguration) WithNamespaceSelector

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

func (*ProbeTargetIngressApplyConfiguration) WithRelabelConfigs

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

func (*ProbeTargetIngressApplyConfiguration) WithSelector

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

type ProbeTargetStaticConfigApplyConfiguration

type ProbeTargetStaticConfigApplyConfiguration struct {
	Targets        []string            `json:"static,omitempty"`
	Labels         map[string]string   `json:"labels,omitempty"`
	RelabelConfigs []*v1.RelabelConfig `json:"relabelingConfigs,omitempty"`
}

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

func ProbeTargetStaticConfig

func ProbeTargetStaticConfig() *ProbeTargetStaticConfigApplyConfiguration

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

func (*ProbeTargetStaticConfigApplyConfiguration) WithLabels

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

func (*ProbeTargetStaticConfigApplyConfiguration) WithRelabelConfigs

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

func (*ProbeTargetStaticConfigApplyConfiguration) WithTargets

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

type ProbeTargetsApplyConfiguration

type ProbeTargetsApplyConfiguration struct {
	StaticConfig *ProbeTargetStaticConfigApplyConfiguration `json:"staticConfig,omitempty"`
	Ingress      *ProbeTargetIngressApplyConfiguration      `json:"ingress,omitempty"`
}

ProbeTargetsApplyConfiguration represents an declarative configuration of the ProbeTargets type for use with apply.

func ProbeTargets

func ProbeTargets() *ProbeTargetsApplyConfiguration

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

func (*ProbeTargetsApplyConfiguration) WithIngress

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

func (*ProbeTargetsApplyConfiguration) WithStaticConfig

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

type ProberSpecApplyConfiguration

type ProberSpecApplyConfiguration struct {
	URL      *string `json:"url,omitempty"`
	Scheme   *string `json:"scheme,omitempty"`
	Path     *string `json:"path,omitempty"`
	ProxyURL *string `json:"proxyUrl,omitempty"`
}

ProberSpecApplyConfiguration represents an declarative configuration of the ProberSpec type for use with apply.

func ProberSpec

func ProberSpec() *ProberSpecApplyConfiguration

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

func (*ProberSpecApplyConfiguration) WithPath

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

func (*ProberSpecApplyConfiguration) WithProxyURL

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

func (*ProberSpecApplyConfiguration) WithScheme

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

func (*ProberSpecApplyConfiguration) WithURL

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

type PrometheusApplyConfiguration

type PrometheusApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PrometheusSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PrometheusStatusApplyConfiguration `json:"status,omitempty"`
}

PrometheusApplyConfiguration represents an declarative configuration of the Prometheus type for use with apply.

func Prometheus

func Prometheus(name, namespace string) *PrometheusApplyConfiguration

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

func (*PrometheusApplyConfiguration) WithAPIVersion

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

func (*PrometheusApplyConfiguration) WithAnnotations

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

func (*PrometheusApplyConfiguration) WithCreationTimestamp

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

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

func (*PrometheusApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*PrometheusApplyConfiguration) WithDeletionTimestamp

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

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

func (*PrometheusApplyConfiguration) WithFinalizers

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

func (*PrometheusApplyConfiguration) WithGenerateName

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

func (*PrometheusApplyConfiguration) WithGeneration

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

func (*PrometheusApplyConfiguration) WithKind

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

func (*PrometheusApplyConfiguration) WithLabels

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

func (*PrometheusApplyConfiguration) WithName

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

func (*PrometheusApplyConfiguration) WithNamespace

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

func (*PrometheusApplyConfiguration) WithOwnerReferences

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

func (*PrometheusApplyConfiguration) WithResourceVersion

func (b *PrometheusApplyConfiguration) WithResourceVersion(value string) *PrometheusApplyConfiguration

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

func (*PrometheusApplyConfiguration) WithSpec

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

func (*PrometheusApplyConfiguration) WithStatus

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

func (*PrometheusApplyConfiguration) WithUID

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

type PrometheusConditionApplyConfiguration

type PrometheusConditionApplyConfiguration struct {
	Type               *v1.PrometheusConditionType   `json:"type,omitempty"`
	Status             *v1.PrometheusConditionStatus `json:"status,omitempty"`
	LastTransitionTime *metav1.Time                  `json:"lastTransitionTime,omitempty"`
	Reason             *string                       `json:"reason,omitempty"`
	Message            *string                       `json:"message,omitempty"`
}

PrometheusConditionApplyConfiguration represents an declarative configuration of the PrometheusCondition type for use with apply.

func PrometheusCondition

func PrometheusCondition() *PrometheusConditionApplyConfiguration

PrometheusConditionApplyConfiguration constructs an declarative configuration of the PrometheusCondition type for use with apply.

func (*PrometheusConditionApplyConfiguration) WithLastTransitionTime

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

func (*PrometheusConditionApplyConfiguration) WithMessage

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

func (*PrometheusConditionApplyConfiguration) WithReason

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

func (*PrometheusConditionApplyConfiguration) WithStatus

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

func (*PrometheusConditionApplyConfiguration) WithType

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

type PrometheusRuleApplyConfiguration

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

PrometheusRuleApplyConfiguration represents an declarative configuration of the PrometheusRule type for use with apply.

func PrometheusRule

func PrometheusRule(name, namespace string) *PrometheusRuleApplyConfiguration

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

func (*PrometheusRuleApplyConfiguration) WithAPIVersion

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

func (*PrometheusRuleApplyConfiguration) WithAnnotations

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

func (*PrometheusRuleApplyConfiguration) WithCreationTimestamp

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

func (*PrometheusRuleApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*PrometheusRuleApplyConfiguration) WithDeletionTimestamp

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

func (*PrometheusRuleApplyConfiguration) WithFinalizers

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

func (*PrometheusRuleApplyConfiguration) WithGenerateName

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

func (*PrometheusRuleApplyConfiguration) WithGeneration

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

func (*PrometheusRuleApplyConfiguration) WithKind

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

func (*PrometheusRuleApplyConfiguration) WithLabels

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

func (*PrometheusRuleApplyConfiguration) WithName

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

func (*PrometheusRuleApplyConfiguration) WithNamespace

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

func (*PrometheusRuleApplyConfiguration) WithOwnerReferences

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

func (*PrometheusRuleApplyConfiguration) WithResourceVersion

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

func (*PrometheusRuleApplyConfiguration) WithSpec

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

func (*PrometheusRuleApplyConfiguration) WithUID

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

type PrometheusRuleExcludeConfigApplyConfiguration

type PrometheusRuleExcludeConfigApplyConfiguration struct {
	RuleNamespace *string `json:"ruleNamespace,omitempty"`
	RuleName      *string `json:"ruleName,omitempty"`
}

PrometheusRuleExcludeConfigApplyConfiguration represents an declarative configuration of the PrometheusRuleExcludeConfig type for use with apply.

func PrometheusRuleExcludeConfig

func PrometheusRuleExcludeConfig() *PrometheusRuleExcludeConfigApplyConfiguration

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

func (*PrometheusRuleExcludeConfigApplyConfiguration) WithRuleName

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

func (*PrometheusRuleExcludeConfigApplyConfiguration) WithRuleNamespace

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

type PrometheusRuleSpecApplyConfiguration

type PrometheusRuleSpecApplyConfiguration struct {
	Groups []RuleGroupApplyConfiguration `json:"groups,omitempty"`
}

PrometheusRuleSpecApplyConfiguration represents an declarative configuration of the PrometheusRuleSpec type for use with apply.

func PrometheusRuleSpec

func PrometheusRuleSpec() *PrometheusRuleSpecApplyConfiguration

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

func (*PrometheusRuleSpecApplyConfiguration) WithGroups

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

type PrometheusSpecApplyConfiguration

type PrometheusSpecApplyConfiguration struct {
	CommonPrometheusFieldsApplyConfiguration `json:",inline"`
	Retention                                *monitoringv1.Duration                          `json:"retention,omitempty"`
	RetentionSize                            *monitoringv1.ByteSize                          `json:"retentionSize,omitempty"`
	DisableCompaction                        *bool                                           `json:"disableCompaction,omitempty"`
	WALCompression                           *bool                                           `json:"walCompression,omitempty"`
	Rules                                    *RulesApplyConfiguration                        `json:"rules,omitempty"`
	ExcludedFromEnforcement                  []ObjectReferenceApplyConfiguration             `json:"excludedFromEnforcement,omitempty"`
	PrometheusRulesExcludedFromEnforce       []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"`
	Query                                    *QuerySpecApplyConfiguration                    `json:"query,omitempty"`
	RuleSelector                             *metav1.LabelSelector                           `json:"ruleSelector,omitempty"`
	RuleNamespaceSelector                    *metav1.LabelSelector                           `json:"ruleNamespaceSelector,omitempty"`
	Alerting                                 *AlertingSpecApplyConfiguration                 `json:"alerting,omitempty"`
	RemoteRead                               []RemoteReadSpecApplyConfiguration              `json:"remoteRead,omitempty"`
	AdditionalAlertRelabelConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertRelabelConfigs,omitempty"`
	AdditionalAlertManagerConfigs            *corev1.SecretKeySelector                       `json:"additionalAlertManagerConfigs,omitempty"`
	Thanos                                   *ThanosSpecApplyConfiguration                   `json:"thanos,omitempty"`
	QueryLogFile                             *string                                         `json:"queryLogFile,omitempty"`
	AllowOverlappingBlocks                   *bool                                           `json:"allowOverlappingBlocks,omitempty"`
}

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

func PrometheusSpec

func PrometheusSpec() *PrometheusSpecApplyConfiguration

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

func (*PrometheusSpecApplyConfiguration) WithAPIServerConfig

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

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

func (*PrometheusSpecApplyConfiguration) WithAffinity

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

func (*PrometheusSpecApplyConfiguration) WithAlerting

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

func (*PrometheusSpecApplyConfiguration) WithAllowOverlappingBlocks

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

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

func (*PrometheusSpecApplyConfiguration) WithArbitraryFSAccessThroughSMs

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

func (*PrometheusSpecApplyConfiguration) WithBaseImage

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

func (*PrometheusSpecApplyConfiguration) WithConfigMaps

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

func (*PrometheusSpecApplyConfiguration) WithContainers

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

func (*PrometheusSpecApplyConfiguration) WithDisableCompaction

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

func (*PrometheusSpecApplyConfiguration) WithEnableAdminAPI

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

func (*PrometheusSpecApplyConfiguration) WithEnableFeatures

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

func (*PrometheusSpecApplyConfiguration) WithEnableRemoteWriteReceiver

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

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

func (*PrometheusSpecApplyConfiguration) WithEnforcedBodySizeLimit

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

func (*PrometheusSpecApplyConfiguration) 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) 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) 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) 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) 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) WithMinReadySeconds

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

func (*PrometheusSpecApplyConfiguration) WithNodeSelector

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

func (*PrometheusSpecApplyConfiguration) WithOverrideHonorLabels

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

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

func (*PrometheusSpecApplyConfiguration) WithOverrideHonorTimestamps

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

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

func (*PrometheusSpecApplyConfiguration) WithPaused

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

func (*PrometheusSpecApplyConfiguration) 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) 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) WithRemoteRead

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

func (*PrometheusSpecApplyConfiguration) WithRemoteWrite

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

func (*PrometheusSpecApplyConfiguration) WithReplicaExternalLabelName

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

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

func (*PrometheusSpecApplyConfiguration) WithReplicas

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

func (*PrometheusSpecApplyConfiguration) WithResources

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

func (*PrometheusSpecApplyConfiguration) WithRetention

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

func (*PrometheusSpecApplyConfiguration) WithRetentionSize

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

func (*PrometheusSpecApplyConfiguration) WithRoutePrefix

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

func (*PrometheusSpecApplyConfiguration) WithRuleNamespaceSelector

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

func (*PrometheusSpecApplyConfiguration) WithRuleSelector

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

func (*PrometheusSpecApplyConfiguration) WithRules

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

func (*PrometheusSpecApplyConfiguration) WithSHA

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

func (*PrometheusSpecApplyConfiguration) 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) WithScrapeTimeout

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

func (*PrometheusSpecApplyConfiguration) WithSecrets

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

func (*PrometheusSpecApplyConfiguration) WithSecurityContext

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

func (*PrometheusSpecApplyConfiguration) WithServiceAccountName

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

func (*PrometheusSpecApplyConfiguration) WithServiceMonitorNamespaceSelector

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

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

func (*PrometheusSpecApplyConfiguration) WithServiceMonitorSelector

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

func (*PrometheusSpecApplyConfiguration) WithShards

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

func (*PrometheusSpecApplyConfiguration) WithStorage

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

func (*PrometheusSpecApplyConfiguration) 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) 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) 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          []PrometheusConditionApplyConfiguration `json:"conditions,omitempty"`
	ShardStatuses       []ShardStatusApplyConfiguration         `json:"shardStatuses,omitempty"`
}

PrometheusStatusApplyConfiguration represents an declarative configuration of the PrometheusStatus type for use with apply.

func PrometheusStatus

func PrometheusStatus() *PrometheusStatusApplyConfiguration

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

func (*PrometheusStatusApplyConfiguration) WithAvailableReplicas

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

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

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

func QuerySpec

func QuerySpec() *QuerySpecApplyConfiguration

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

func (*QuerySpecApplyConfiguration) WithLookbackDelta

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

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

func (*QuerySpecApplyConfiguration) WithMaxConcurrency

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

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

func (*QuerySpecApplyConfiguration) WithMaxSamples

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

func (*QuerySpecApplyConfiguration) WithTimeout

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

type QueueConfigApplyConfiguration

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

QueueConfigApplyConfiguration represents an declarative configuration of the QueueConfig type for use with apply.

func QueueConfig

func QueueConfig() *QueueConfigApplyConfiguration

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

func (*QueueConfigApplyConfiguration) WithBatchSendDeadline

func (b *QueueConfigApplyConfiguration) WithBatchSendDeadline(value string) *QueueConfigApplyConfiguration

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

func (*QueueConfigApplyConfiguration) WithCapacity

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.

type RelabelConfigApplyConfiguration

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

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

func RelabelConfig

func RelabelConfig() *RelabelConfigApplyConfiguration

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

func (*RelabelConfigApplyConfiguration) WithAction

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

func (*RelabelConfigApplyConfiguration) WithModulus

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

func (*RelabelConfigApplyConfiguration) WithRegex

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

func (*RelabelConfigApplyConfiguration) WithReplacement

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

func (*RelabelConfigApplyConfiguration) WithSeparator

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

func (*RelabelConfigApplyConfiguration) WithSourceLabels

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

func (*RelabelConfigApplyConfiguration) WithTargetLabel

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

type RemoteReadSpecApplyConfiguration

type RemoteReadSpecApplyConfiguration struct {
	URL              *string                          `json:"url,omitempty"`
	Name             *string                          `json:"name,omitempty"`
	RequiredMatchers map[string]string                `json:"requiredMatchers,omitempty"`
	RemoteTimeout    *v1.Duration                     `json:"remoteTimeout,omitempty"`
	Headers          map[string]string                `json:"headers,omitempty"`
	ReadRecent       *bool                            `json:"readRecent,omitempty"`
	BasicAuth        *BasicAuthApplyConfiguration     `json:"basicAuth,omitempty"`
	OAuth2           *OAuth2ApplyConfiguration        `json:"oauth2,omitempty"`
	BearerToken      *string                          `json:"bearerToken,omitempty"`
	BearerTokenFile  *string                          `json:"bearerTokenFile,omitempty"`
	Authorization    *AuthorizationApplyConfiguration `json:"authorization,omitempty"`
	TLSConfig        *TLSConfigApplyConfiguration     `json:"tlsConfig,omitempty"`
	ProxyURL         *string                          `json:"proxyUrl,omitempty"`
}

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

func RemoteReadSpec

func RemoteReadSpec() *RemoteReadSpecApplyConfiguration

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

func (*RemoteReadSpecApplyConfiguration) WithAuthorization

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

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

func (*RemoteReadSpecApplyConfiguration) WithName

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

func (*RemoteReadSpecApplyConfiguration) WithOAuth2

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

func (*RemoteReadSpecApplyConfiguration) WithProxyURL

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

func (*RemoteReadSpecApplyConfiguration) WithReadRecent

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

func (*RemoteReadSpecApplyConfiguration) WithRemoteTimeout

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

func (*RemoteReadSpecApplyConfiguration) WithRequiredMatchers

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

func (*RemoteReadSpecApplyConfiguration) WithTLSConfig

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

func (*RemoteReadSpecApplyConfiguration) WithURL

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

type RemoteWriteSpecApplyConfiguration

type RemoteWriteSpecApplyConfiguration struct {
	URL                 *string                           `json:"url,omitempty"`
	Name                *string                           `json:"name,omitempty"`
	SendExemplars       *bool                             `json:"sendExemplars,omitempty"`
	RemoteTimeout       *v1.Duration                      `json:"remoteTimeout,omitempty"`
	Headers             map[string]string                 `json:"headers,omitempty"`
	WriteRelabelConfigs []RelabelConfigApplyConfiguration `json:"writeRelabelConfigs,omitempty"`
	OAuth2              *OAuth2ApplyConfiguration         `json:"oauth2,omitempty"`
	BasicAuth           *BasicAuthApplyConfiguration      `json:"basicAuth,omitempty"`
	BearerToken         *string                           `json:"bearerToken,omitempty"`
	BearerTokenFile     *string                           `json:"bearerTokenFile,omitempty"`
	Authorization       *AuthorizationApplyConfiguration  `json:"authorization,omitempty"`
	Sigv4               *Sigv4ApplyConfiguration          `json:"sigv4,omitempty"`
	TLSConfig           *TLSConfigApplyConfiguration      `json:"tlsConfig,omitempty"`
	ProxyURL            *string                           `json:"proxyUrl,omitempty"`
	QueueConfig         *QueueConfigApplyConfiguration    `json:"queueConfig,omitempty"`
	MetadataConfig      *MetadataConfigApplyConfiguration `json:"metadataConfig,omitempty"`
}

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

func RemoteWriteSpec

func RemoteWriteSpec() *RemoteWriteSpecApplyConfiguration

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

func (*RemoteWriteSpecApplyConfiguration) WithAuthorization

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

func (*RemoteWriteSpecApplyConfiguration) WithBasicAuth

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

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

func (*RemoteWriteSpecApplyConfiguration) WithMetadataConfig

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

func (*RemoteWriteSpecApplyConfiguration) WithName

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

func (*RemoteWriteSpecApplyConfiguration) WithOAuth2

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

func (*RemoteWriteSpecApplyConfiguration) WithProxyURL

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

func (*RemoteWriteSpecApplyConfiguration) WithQueueConfig

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

func (*RemoteWriteSpecApplyConfiguration) WithRemoteTimeout

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

func (*RemoteWriteSpecApplyConfiguration) WithSendExemplars

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

func (*RemoteWriteSpecApplyConfiguration) 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         *string             `json:"for,omitempty"`
	Labels      map[string]string   `json:"labels,omitempty"`
	Annotations map[string]string   `json:"annotations,omitempty"`
}

RuleApplyConfiguration represents an declarative configuration of the Rule type for use with apply.

func Rule

func Rule() *RuleApplyConfiguration

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

func (*RuleApplyConfiguration) WithAlert

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) 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                *string                  `json:"interval,omitempty"`
	Rules                   []RuleApplyConfiguration `json:"rules,omitempty"`
	PartialResponseStrategy *string                  `json:"partial_response_strategy,omitempty"`
}

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

func RuleGroup

func RuleGroup() *RuleGroupApplyConfiguration

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

func (*RuleGroupApplyConfiguration) WithInterval

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

func (*RuleGroupApplyConfiguration) WithName

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

func (*RuleGroupApplyConfiguration) WithPartialResponseStrategy

func (b *RuleGroupApplyConfiguration) WithPartialResponseStrategy(value string) *RuleGroupApplyConfiguration

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

func (*RuleGroupApplyConfiguration) WithRules

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

type RulesAlertApplyConfiguration

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

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

func RulesAlert

func RulesAlert() *RulesAlertApplyConfiguration

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

func (*RulesAlertApplyConfiguration) WithForGracePeriod

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

func (*RulesAlertApplyConfiguration) WithForOutageTolerance

func (b *RulesAlertApplyConfiguration) WithForOutageTolerance(value string) *RulesAlertApplyConfiguration

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

func (*RulesAlertApplyConfiguration) WithResendDelay

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

type RulesApplyConfiguration

type RulesApplyConfiguration struct {
	Alert *RulesAlertApplyConfiguration `json:"alert,omitempty"`
}

RulesApplyConfiguration represents an declarative configuration of the Rules type for use with apply.

func Rules

func Rules() *RulesApplyConfiguration

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

func (*RulesApplyConfiguration) WithAlert

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

type SafeAuthorizationApplyConfiguration

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

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

func SafeAuthorization

func SafeAuthorization() *SafeAuthorizationApplyConfiguration

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

func (*SafeAuthorizationApplyConfiguration) WithCredentials

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

func (*SafeAuthorizationApplyConfiguration) WithType

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

type SafeTLSConfigApplyConfiguration

type SafeTLSConfigApplyConfiguration struct {
	CA                 *SecretOrConfigMapApplyConfiguration `json:"ca,omitempty"`
	Cert               *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"`
	KeySecret          *corev1.SecretKeySelector            `json:"keySecret,omitempty"`
	ServerName         *string                              `json:"serverName,omitempty"`
	InsecureSkipVerify *bool                                `json:"insecureSkipVerify,omitempty"`
}

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

func SafeTLSConfig

func SafeTLSConfig() *SafeTLSConfigApplyConfiguration

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

func (*SafeTLSConfigApplyConfiguration) WithCA

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

func (*SafeTLSConfigApplyConfiguration) WithCert

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

func (*SafeTLSConfigApplyConfiguration) WithInsecureSkipVerify

func (b *SafeTLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *SafeTLSConfigApplyConfiguration

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

func (*SafeTLSConfigApplyConfiguration) WithKeySecret

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

func (*SafeTLSConfigApplyConfiguration) WithServerName

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

type SecretOrConfigMapApplyConfiguration

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

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

func SecretOrConfigMap

func SecretOrConfigMap() *SecretOrConfigMapApplyConfiguration

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

func (*SecretOrConfigMapApplyConfiguration) WithConfigMap

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

func (*SecretOrConfigMapApplyConfiguration) WithSecret

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

type ServiceMonitorApplyConfiguration

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

ServiceMonitorApplyConfiguration represents an declarative configuration of the ServiceMonitor type for use with apply.

func ServiceMonitor

func ServiceMonitor(name, namespace string) *ServiceMonitorApplyConfiguration

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

func (*ServiceMonitorApplyConfiguration) WithAPIVersion

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

func (*ServiceMonitorApplyConfiguration) WithAnnotations

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

func (*ServiceMonitorApplyConfiguration) WithCreationTimestamp

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

func (*ServiceMonitorApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*ServiceMonitorApplyConfiguration) WithDeletionTimestamp

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

func (*ServiceMonitorApplyConfiguration) WithFinalizers

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

func (*ServiceMonitorApplyConfiguration) WithGenerateName

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

func (*ServiceMonitorApplyConfiguration) WithGeneration

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

func (*ServiceMonitorApplyConfiguration) WithKind

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

func (*ServiceMonitorApplyConfiguration) WithLabels

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

func (*ServiceMonitorApplyConfiguration) WithName

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

func (*ServiceMonitorApplyConfiguration) WithNamespace

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

func (*ServiceMonitorApplyConfiguration) WithOwnerReferences

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

func (*ServiceMonitorApplyConfiguration) WithResourceVersion

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

func (*ServiceMonitorApplyConfiguration) WithSpec

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

func (*ServiceMonitorApplyConfiguration) WithUID

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

type ServiceMonitorSpecApplyConfiguration

type ServiceMonitorSpecApplyConfiguration struct {
	JobLabel              *string                              `json:"jobLabel,omitempty"`
	TargetLabels          []string                             `json:"targetLabels,omitempty"`
	PodTargetLabels       []string                             `json:"podTargetLabels,omitempty"`
	Endpoints             []EndpointApplyConfiguration         `json:"endpoints,omitempty"`
	Selector              *metav1.LabelSelector                `json:"selector,omitempty"`
	NamespaceSelector     *NamespaceSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
	SampleLimit           *uint64                              `json:"sampleLimit,omitempty"`
	TargetLimit           *uint64                              `json:"targetLimit,omitempty"`
	LabelLimit            *uint64                              `json:"labelLimit,omitempty"`
	LabelNameLengthLimit  *uint64                              `json:"labelNameLengthLimit,omitempty"`
	LabelValueLengthLimit *uint64                              `json:"labelValueLengthLimit,omitempty"`
}

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

func ServiceMonitorSpec

func ServiceMonitorSpec() *ServiceMonitorSpecApplyConfiguration

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

func (*ServiceMonitorSpecApplyConfiguration) WithEndpoints

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

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

func (*ServiceMonitorSpecApplyConfiguration) WithLabelNameLengthLimit

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

func (*ServiceMonitorSpecApplyConfiguration) WithLabelValueLengthLimit

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

func (*ServiceMonitorSpecApplyConfiguration) WithNamespaceSelector

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

func (*ServiceMonitorSpecApplyConfiguration) WithPodTargetLabels

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

func (*ServiceMonitorSpecApplyConfiguration) WithSampleLimit

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

func (*ServiceMonitorSpecApplyConfiguration) WithSelector

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

func (*ServiceMonitorSpecApplyConfiguration) WithTargetLabels

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

func (*ServiceMonitorSpecApplyConfiguration) WithTargetLimit

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

type ShardStatusApplyConfiguration

type ShardStatusApplyConfiguration struct {
	ShardID             *string `json:"shardID,omitempty"`
	Replicas            *int32  `json:"replicas,omitempty"`
	UpdatedReplicas     *int32  `json:"updatedReplicas,omitempty"`
	AvailableReplicas   *int32  `json:"availableReplicas,omitempty"`
	UnavailableReplicas *int32  `json:"unavailableReplicas,omitempty"`
}

ShardStatusApplyConfiguration represents an declarative configuration of the ShardStatus type for use with apply.

func ShardStatus

func ShardStatus() *ShardStatusApplyConfiguration

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

func (*ShardStatusApplyConfiguration) WithAvailableReplicas

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

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

func (*ShardStatusApplyConfiguration) WithReplicas

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

func (*ShardStatusApplyConfiguration) WithShardID

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

func (*ShardStatusApplyConfiguration) WithUnavailableReplicas

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

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

func (*ShardStatusApplyConfiguration) WithUpdatedReplicas

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

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

type Sigv4ApplyConfiguration

type Sigv4ApplyConfiguration struct {
	Region    *string               `json:"region,omitempty"`
	AccessKey *v1.SecretKeySelector `json:"accessKey,omitempty"`
	SecretKey *v1.SecretKeySelector `json:"secretKey,omitempty"`
	Profile   *string               `json:"profile,omitempty"`
	RoleArn   *string               `json:"roleArn,omitempty"`
}

Sigv4ApplyConfiguration represents an declarative configuration of the Sigv4 type for use with apply.

func Sigv4

func Sigv4() *Sigv4ApplyConfiguration

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

func (*Sigv4ApplyConfiguration) WithAccessKey

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

func (*Sigv4ApplyConfiguration) WithProfile

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

func (*Sigv4ApplyConfiguration) WithRegion

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

func (*Sigv4ApplyConfiguration) WithRoleArn

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

func (*Sigv4ApplyConfiguration) WithSecretKey

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

type StorageSpecApplyConfiguration

type StorageSpecApplyConfiguration struct {
	DisableMountSubPath *bool                                            `json:"disableMountSubPath,omitempty"`
	EmptyDir            *v1.EmptyDirVolumeSource                         `json:"emptyDir,omitempty"`
	Ephemeral           *v1.EphemeralVolumeSource                        `json:"ephemeral,omitempty"`
	VolumeClaimTemplate *EmbeddedPersistentVolumeClaimApplyConfiguration `json:"volumeClaimTemplate,omitempty"`
}

StorageSpecApplyConfiguration represents an declarative configuration of the StorageSpec type for use with apply.

func StorageSpec

func StorageSpec() *StorageSpecApplyConfiguration

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

func (*StorageSpecApplyConfiguration) WithDisableMountSubPath

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

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

func (*StorageSpecApplyConfiguration) WithEmptyDir

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

func (*StorageSpecApplyConfiguration) WithEphemeral

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

func (*StorageSpecApplyConfiguration) WithVolumeClaimTemplate

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

type TLSConfigApplyConfiguration

type TLSConfigApplyConfiguration struct {
	SafeTLSConfigApplyConfiguration `json:",inline"`
	CAFile                          *string `json:"caFile,omitempty"`
	CertFile                        *string `json:"certFile,omitempty"`
	KeyFile                         *string `json:"keyFile,omitempty"`
}

TLSConfigApplyConfiguration represents an declarative configuration of the TLSConfig type for use with apply.

func TLSConfig

func TLSConfig() *TLSConfigApplyConfiguration

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

func (*TLSConfigApplyConfiguration) WithCA

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

func (*TLSConfigApplyConfiguration) WithCAFile

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

func (*TLSConfigApplyConfiguration) WithCert

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

func (*TLSConfigApplyConfiguration) WithCertFile

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

func (*TLSConfigApplyConfiguration) WithInsecureSkipVerify

func (b *TLSConfigApplyConfiguration) WithInsecureSkipVerify(value bool) *TLSConfigApplyConfiguration

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

func (*TLSConfigApplyConfiguration) WithKeyFile

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

func (*TLSConfigApplyConfiguration) WithKeySecret

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

func (*TLSConfigApplyConfiguration) WithServerName

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

type ThanosRulerApplyConfiguration

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

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

func ThanosRuler

func ThanosRuler(name, namespace string) *ThanosRulerApplyConfiguration

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

func (*ThanosRulerApplyConfiguration) WithAPIVersion

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

func (*ThanosRulerApplyConfiguration) WithAnnotations

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

func (*ThanosRulerApplyConfiguration) WithCreationTimestamp

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

func (*ThanosRulerApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

func (*ThanosRulerApplyConfiguration) WithDeletionTimestamp

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

func (*ThanosRulerApplyConfiguration) WithFinalizers

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

func (*ThanosRulerApplyConfiguration) WithGenerateName

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

func (*ThanosRulerApplyConfiguration) WithGeneration

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

func (*ThanosRulerApplyConfiguration) WithKind

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

func (*ThanosRulerApplyConfiguration) WithLabels

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

func (*ThanosRulerApplyConfiguration) WithName

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

func (*ThanosRulerApplyConfiguration) WithNamespace

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

func (*ThanosRulerApplyConfiguration) WithOwnerReferences

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

func (*ThanosRulerApplyConfiguration) WithResourceVersion

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

func (*ThanosRulerApplyConfiguration) WithSpec

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

func (*ThanosRulerApplyConfiguration) WithStatus

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

func (*ThanosRulerApplyConfiguration) WithUID

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

type ThanosRulerSpecApplyConfiguration

type ThanosRulerSpecApplyConfiguration struct {
	PodMetadata                        *EmbeddedObjectMetadataApplyConfiguration       `json:"podMetadata,omitempty"`
	Image                              *string                                         `json:"image,omitempty"`
	ImagePullSecrets                   []corev1.LocalObjectReference                   `json:"imagePullSecrets,omitempty"`
	Paused                             *bool                                           `json:"paused,omitempty"`
	Replicas                           *int32                                          `json:"replicas,omitempty"`
	NodeSelector                       map[string]string                               `json:"nodeSelector,omitempty"`
	Resources                          *corev1.ResourceRequirements                    `json:"resources,omitempty"`
	Affinity                           *corev1.Affinity                                `json:"affinity,omitempty"`
	Tolerations                        []corev1.Toleration                             `json:"tolerations,omitempty"`
	TopologySpreadConstraints          []corev1.TopologySpreadConstraint               `json:"topologySpreadConstraints,omitempty"`
	SecurityContext                    *corev1.PodSecurityContext                      `json:"securityContext,omitempty"`
	PriorityClassName                  *string                                         `json:"priorityClassName,omitempty"`
	ServiceAccountName                 *string                                         `json:"serviceAccountName,omitempty"`
	Storage                            *StorageSpecApplyConfiguration                  `json:"storage,omitempty"`
	Volumes                            []corev1.Volume                                 `json:"volumes,omitempty"`
	ObjectStorageConfig                *corev1.SecretKeySelector                       `json:"objectStorageConfig,omitempty"`
	ObjectStorageConfigFile            *string                                         `json:"objectStorageConfigFile,omitempty"`
	ListenLocal                        *bool                                           `json:"listenLocal,omitempty"`
	QueryEndpoints                     []string                                        `json:"queryEndpoints,omitempty"`
	QueryConfig                        *corev1.SecretKeySelector                       `json:"queryConfig,omitempty"`
	AlertManagersURL                   []string                                        `json:"alertmanagersUrl,omitempty"`
	AlertManagersConfig                *corev1.SecretKeySelector                       `json:"alertmanagersConfig,omitempty"`
	RuleSelector                       *metav1.LabelSelector                           `json:"ruleSelector,omitempty"`
	RuleNamespaceSelector              *metav1.LabelSelector                           `json:"ruleNamespaceSelector,omitempty"`
	EnforcedNamespaceLabel             *string                                         `json:"enforcedNamespaceLabel,omitempty"`
	ExcludedFromEnforcement            []ObjectReferenceApplyConfiguration             `json:"excludedFromEnforcement,omitempty"`
	PrometheusRulesExcludedFromEnforce []PrometheusRuleExcludeConfigApplyConfiguration `json:"prometheusRulesExcludedFromEnforce,omitempty"`
	LogLevel                           *string                                         `json:"logLevel,omitempty"`
	LogFormat                          *string                                         `json:"logFormat,omitempty"`
	PortName                           *string                                         `json:"portName,omitempty"`
	EvaluationInterval                 *monitoringv1.Duration                          `json:"evaluationInterval,omitempty"`
	Retention                          *monitoringv1.Duration                          `json:"retention,omitempty"`
	Containers                         []corev1.Container                              `json:"containers,omitempty"`
	InitContainers                     []corev1.Container                              `json:"initContainers,omitempty"`
	TracingConfig                      *corev1.SecretKeySelector                       `json:"tracingConfig,omitempty"`
	Labels                             map[string]string                               `json:"labels,omitempty"`
	AlertDropLabels                    []string                                        `json:"alertDropLabels,omitempty"`
	ExternalPrefix                     *string                                         `json:"externalPrefix,omitempty"`
	RoutePrefix                        *string                                         `json:"routePrefix,omitempty"`
	GRPCServerTLSConfig                *TLSConfigApplyConfiguration                    `json:"grpcServerTlsConfig,omitempty"`
	AlertQueryURL                      *string                                         `json:"alertQueryUrl,omitempty"`
	MinReadySeconds                    *uint32                                         `json:"minReadySeconds,omitempty"`
	AlertRelabelConfigs                *corev1.SecretKeySelector                       `json:"alertRelabelConfigs,omitempty"`
	AlertRelabelConfigFile             *string                                         `json:"alertRelabelConfigFile,omitempty"`
	HostAliases                        []HostAliasApplyConfiguration                   `json:"hostAliases,omitempty"`
}

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

func ThanosRulerSpec

func ThanosRulerSpec() *ThanosRulerSpecApplyConfiguration

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

func (*ThanosRulerSpecApplyConfiguration) WithAffinity

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertDropLabels

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertManagersConfig

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertManagersURL

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertQueryURL

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigFile

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

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

func (*ThanosRulerSpecApplyConfiguration) WithAlertRelabelConfigs

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

func (*ThanosRulerSpecApplyConfiguration) WithContainers

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

func (*ThanosRulerSpecApplyConfiguration) WithEnforcedNamespaceLabel

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

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

func (*ThanosRulerSpecApplyConfiguration) WithEvaluationInterval

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

func (*ThanosRulerSpecApplyConfiguration) WithExcludedFromEnforcement

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

func (*ThanosRulerSpecApplyConfiguration) WithExternalPrefix

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

func (*ThanosRulerSpecApplyConfiguration) WithGRPCServerTLSConfig

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

func (*ThanosRulerSpecApplyConfiguration) WithHostAliases

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

func (*ThanosRulerSpecApplyConfiguration) WithImage

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

func (*ThanosRulerSpecApplyConfiguration) 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) 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.

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"`
}

ThanosRulerStatusApplyConfiguration represents an declarative configuration of the ThanosRulerStatus type for use with apply.

func ThanosRulerStatus

func ThanosRulerStatus() *ThanosRulerStatusApplyConfiguration

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

func (*ThanosRulerStatusApplyConfiguration) WithAvailableReplicas

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

func (*ThanosRulerStatusApplyConfiguration) 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 ThanosSpecApplyConfiguration

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

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

func ThanosSpec

func ThanosSpec() *ThanosSpecApplyConfiguration

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

func (*ThanosSpecApplyConfiguration) WithBaseImage

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

func (*ThanosSpecApplyConfiguration) WithGRPCServerTLSConfig

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

func (*ThanosSpecApplyConfiguration) WithImage

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 WebSpecApplyConfiguration

type WebSpecApplyConfiguration struct {
	PageTitle *string                         `json:"pageTitle,omitempty"`
	TLSConfig *WebTLSConfigApplyConfiguration `json:"tlsConfig,omitempty"`
}

WebSpecApplyConfiguration represents an declarative configuration of the WebSpec type for use with apply.

func WebSpec

func WebSpec() *WebSpecApplyConfiguration

WebSpecApplyConfiguration constructs an declarative configuration of the WebSpec type for use with apply.

func (*WebSpecApplyConfiguration) WithPageTitle

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

func (*WebSpecApplyConfiguration) WithTLSConfig

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

type WebTLSConfigApplyConfiguration

type WebTLSConfigApplyConfiguration struct {
	KeySecret                *v1.SecretKeySelector                `json:"keySecret,omitempty"`
	Cert                     *SecretOrConfigMapApplyConfiguration `json:"cert,omitempty"`
	ClientAuthType           *string                              `json:"clientAuthType,omitempty"`
	ClientCA                 *SecretOrConfigMapApplyConfiguration `json:"client_ca,omitempty"`
	MinVersion               *string                              `json:"minVersion,omitempty"`
	MaxVersion               *string                              `json:"maxVersion,omitempty"`
	CipherSuites             []string                             `json:"cipherSuites,omitempty"`
	PreferServerCipherSuites *bool                                `json:"preferServerCipherSuites,omitempty"`
	CurvePreferences         []string                             `json:"curvePreferences,omitempty"`
}

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

func WebTLSConfig

func WebTLSConfig() *WebTLSConfigApplyConfiguration

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

func (*WebTLSConfigApplyConfiguration) WithCert

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

func (*WebTLSConfigApplyConfiguration) WithCipherSuites

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

func (*WebTLSConfigApplyConfiguration) WithClientAuthType

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

func (*WebTLSConfigApplyConfiguration) WithClientCA

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

func (*WebTLSConfigApplyConfiguration) WithCurvePreferences

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

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

func (*WebTLSConfigApplyConfiguration) WithKeySecret

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

func (*WebTLSConfigApplyConfiguration) WithMaxVersion

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

func (*WebTLSConfigApplyConfiguration) WithMinVersion

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

func (*WebTLSConfigApplyConfiguration) WithPreferServerCipherSuites

func (b *WebTLSConfigApplyConfiguration) WithPreferServerCipherSuites(value bool) *WebTLSConfigApplyConfiguration

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

Jump to

Keyboard shortcuts

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