Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group. +kubebuilder:object:generate=true +groupName=cloudwatch.aws.amazon.com
Index ¶
- Constants
- Variables
- type AmazonCloudWatchAgent
- func (in *AmazonCloudWatchAgent) DeepCopy() *AmazonCloudWatchAgent
- func (in *AmazonCloudWatchAgent) DeepCopyInto(out *AmazonCloudWatchAgent)
- func (in *AmazonCloudWatchAgent) DeepCopyObject() runtime.Object
- func (r *AmazonCloudWatchAgent) Default()
- func (r *AmazonCloudWatchAgent) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *AmazonCloudWatchAgent) ValidateCreate() (admission.Warnings, error)
- func (r *AmazonCloudWatchAgent) ValidateDelete() (admission.Warnings, error)
- func (r *AmazonCloudWatchAgent) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type AmazonCloudWatchAgentList
- type AmazonCloudWatchAgentSpec
- type AmazonCloudWatchAgentStatus
- type Exporter
- type Ingress
- type IngressType
- type Instrumentation
- func (in *Instrumentation) DeepCopy() *Instrumentation
- func (in *Instrumentation) DeepCopyInto(out *Instrumentation)
- func (in *Instrumentation) DeepCopyObject() runtime.Object
- func (r *Instrumentation) Default()
- func (r *Instrumentation) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instrumentation) ValidateCreate() (admission.Warnings, error)
- func (r *Instrumentation) ValidateDelete() (admission.Warnings, error)
- func (r *Instrumentation) ValidateUpdate(old runtime.Object) (admission.Warnings, error)
- type InstrumentationList
- type InstrumentationSpec
- type InstrumentationStatus
- type Java
- type Mode
- type OpenShiftRoute
- type Propagator
- type Resource
- type Sampler
- type SamplerType
- type ScaleSubresourceStatus
- type TLSRouteTerminationType
- type UpgradeStrategy
Constants ¶
const (
AnnotationDefaultAutoInstrumentationJava = "instrumentation.opentelemetry.io/default-auto-instrumentation-java-image"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "cloudwatch.aws.amazon.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AmazonCloudWatchAgent ¶
type AmazonCloudWatchAgent struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AmazonCloudWatchAgentSpec `json:"spec,omitempty"`
Status AmazonCloudWatchAgentStatus `json:"status,omitempty"`
}
AmazonCloudWatchAgent is the Schema for the AmazonCloudWatchAgents API.
func (*AmazonCloudWatchAgent) DeepCopy ¶
func (in *AmazonCloudWatchAgent) DeepCopy() *AmazonCloudWatchAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudWatchAgent.
func (*AmazonCloudWatchAgent) DeepCopyInto ¶
func (in *AmazonCloudWatchAgent) DeepCopyInto(out *AmazonCloudWatchAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AmazonCloudWatchAgent) DeepCopyObject ¶
func (in *AmazonCloudWatchAgent) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AmazonCloudWatchAgent) Default ¶
func (r *AmazonCloudWatchAgent) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*AmazonCloudWatchAgent) SetupWebhookWithManager ¶
func (r *AmazonCloudWatchAgent) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*AmazonCloudWatchAgent) ValidateCreate ¶
func (r *AmazonCloudWatchAgent) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*AmazonCloudWatchAgent) ValidateDelete ¶
func (r *AmazonCloudWatchAgent) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*AmazonCloudWatchAgent) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type AmazonCloudWatchAgentList ¶
type AmazonCloudWatchAgentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AmazonCloudWatchAgent `json:"items"`
}
AmazonCloudWatchAgentList contains a list of AmazonCloudWatchAgent.
func (*AmazonCloudWatchAgentList) DeepCopy ¶
func (in *AmazonCloudWatchAgentList) DeepCopy() *AmazonCloudWatchAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudWatchAgentList.
func (*AmazonCloudWatchAgentList) DeepCopyInto ¶
func (in *AmazonCloudWatchAgentList) DeepCopyInto(out *AmazonCloudWatchAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AmazonCloudWatchAgentList) DeepCopyObject ¶
func (in *AmazonCloudWatchAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AmazonCloudWatchAgentSpec ¶
type AmazonCloudWatchAgentSpec struct {
// Resources to set on the CloudWatch Agent pods.
// +optional
Resources v1.ResourceRequirements `json:"resources,omitempty"`
// NodeSelector to schedule CloudWatch Agent pods.
// This is only relevant to daemonset, statefulset, and deployment mode
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// Args is the set of arguments to pass to the CloudWatch Agent binary
// +optional
Args map[string]string `json:"args,omitempty"`
// Replicas is the number of pod instances for the underlying CloudWatch Agent. Set this if your are not using autoscaling
// +optional
Replicas *int32 `json:"replicas,omitempty"`
// PodAnnotations is the set of annotations that will be attached to
// Collector and Target Allocator pods.
// +optional
PodAnnotations map[string]string `json:"podAnnotations,omitempty"`
// Mode represents how the collector should be deployed (deployment, daemonset, statefulset or sidecar)
// +optional
Mode Mode `json:"mode,omitempty"`
// ServiceAccount indicates the name of an existing service account to use with this instance. When set,
// the operator will not automatically create a ServiceAccount for the collector.
// +optional
ServiceAccount string `json:"serviceAccount,omitempty"`
// Image indicates the container image to use for the CloudWatch Agent.
// +optional
Image string `json:"image,omitempty"`
// UpgradeStrategy represents how the operator will handle upgrades to the CR when a newer version of the operator is deployed
// +optional
UpgradeStrategy UpgradeStrategy `json:"upgradeStrategy"`
// ImagePullPolicy indicates the pull policy to be used for retrieving the container image (Always, Never, IfNotPresent)
// +optional
ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
// Config is the raw JSON to be used as the collector's configuration. Refer to the CloudWatch Agent documentation for details.
// +required
Config string `json:"config,omitempty"`
// VolumeMounts represents the mount points to use in the underlying collector deployment(s)
// +optional
// +listType=atomic
VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"`
// Ports allows a set of ports to be exposed by the underlying v1.Service. By default, the operator
// will attempt to infer the required ports by parsing the .Spec.Config property but this property can be
// used to open additional ports that can't be inferred by the operator, like for custom receivers.
// +optional
// +listType=atomic
Ports []v1.ServicePort `json:"ports,omitempty"`
// ENV vars to set on the CloudWatch Agent's Pods. These can then in certain cases be
// consumed in the config file for the Collector.
// +optional
Env []v1.EnvVar `json:"env,omitempty"`
// List of sources to populate environment variables on the CloudWatch Agent's Pods.
// These can then in certain cases be consumed in the config file for the Collector.
// +optional
EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty"`
// VolumeClaimTemplates will provide stable storage using PersistentVolumes. Only available when the mode=statefulset.
// +optional
// +listType=atomic
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty"`
// Toleration to schedule CloudWatch Agent pods.
// This is only relevant to daemonset, statefulset, and deployment mode
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// Volumes represents which volumes to use in the underlying collector deployment(s).
// +optional
// +listType=atomic
Volumes []v1.Volume `json:"volumes,omitempty"`
// Ingress is used to specify how CloudWatch Agent is exposed. This
// functionality is only available if one of the valid modes is set.
// Valid modes are: deployment, daemonset and statefulset.
// +optional
Ingress Ingress `json:"ingress,omitempty"`
// HostNetwork indicates if the pod should run in the host networking namespace.
// +optional
HostNetwork bool `json:"hostNetwork,omitempty"`
// If specified, indicates the pod's priority.
// If not specified, the pod priority will be default or zero if there is no
// default.
// +optional
PriorityClassName string `json:"priorityClassName,omitempty"`
}
AmazonCloudWatchAgentSpec defines the desired state of AmazonCloudWatchAgent.
func (*AmazonCloudWatchAgentSpec) DeepCopy ¶
func (in *AmazonCloudWatchAgentSpec) DeepCopy() *AmazonCloudWatchAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudWatchAgentSpec.
func (*AmazonCloudWatchAgentSpec) DeepCopyInto ¶
func (in *AmazonCloudWatchAgentSpec) DeepCopyInto(out *AmazonCloudWatchAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AmazonCloudWatchAgentStatus ¶
type AmazonCloudWatchAgentStatus struct {
// Scale is the AmazonCloudWatchAgent's scale subresource status.
// +optional
Scale ScaleSubresourceStatus `json:"scale,omitempty"`
// Version of the managed CloudWatch Agent (operand)
// +optional
Version string `json:"version,omitempty"`
// Image indicates the container image to use for the CloudWatch Agent.
// +optional
Image string `json:"image,omitempty"`
// Messages about actions performed by the operator on this resource.
// +optional
// +listType=atomic
// Deprecated: use Kubernetes events instead.
Messages []string `json:"messages,omitempty"`
// Replicas is currently not being set and might be removed in the next version.
// +optional
// Deprecated: use "AmazonCloudWatchAgent.Status.Scale.Replicas" instead.
Replicas int32 `json:"replicas,omitempty"`
}
AmazonCloudWatchAgentStatus defines the observed state of AmazonCloudWatchAgent.
func (*AmazonCloudWatchAgentStatus) DeepCopy ¶
func (in *AmazonCloudWatchAgentStatus) DeepCopy() *AmazonCloudWatchAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AmazonCloudWatchAgentStatus.
func (*AmazonCloudWatchAgentStatus) DeepCopyInto ¶
func (in *AmazonCloudWatchAgentStatus) DeepCopyInto(out *AmazonCloudWatchAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Exporter ¶
type Exporter struct {
// Endpoint is address of the collector with OTLP endpoint.
// +optional
Endpoint string `json:"endpoint,omitempty"`
}
Exporter defines OTLP exporter configuration.
func (*Exporter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Exporter.
func (*Exporter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct {
// Type default value is: ""
// Supported types are: ingress
Type IngressType `json:"type,omitempty"`
// Hostname by which the ingress proxy can be reached.
// +optional
Hostname string `json:"hostname,omitempty"`
// Annotations to add to ingress.
// e.g. 'cert-manager.io/cluster-issuer: "letsencrypt"'
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// TLS configuration.
// +optional
TLS []networkingv1.IngressTLS `json:"tls,omitempty"`
// IngressClassName is the name of an IngressClass cluster resource. Ingress
// controller implementations use this field to know whether they should be
// serving this Ingress resource.
// +optional
IngressClassName *string `json:"ingressClassName,omitempty"`
// Route is an OpenShift specific section that is only considered when
// type "route" is used.
// +optional
Route OpenShiftRoute `json:"route,omitempty"`
}
Ingress is used to specify how CloudWatch Agent is exposed. This functionality is only available if one of the valid modes is set. Valid modes are: deployment, daemonset and statefulset. NOTE: If this feature is activated, all specified receivers are exposed. Currently this has a few limitations. Depending on the ingress controller there are problems with TLS and gRPC. SEE: https://github.com/open-telemetry/opentelemetry-operator/issues/1306. NOTE: As a workaround, port name and appProtocol could be specified directly in the CR. SEE: AmazonCloudWatchAgent.spec.ports[index].
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressType ¶
type IngressType string
IngressType represents how a collector should be exposed (ingress vs route). +kubebuilder:validation:Enum=ingress;route
const ( // IngressTypeNginx specifies that an ingress entry should be created. IngressTypeNginx IngressType = "ingress" // IngressTypeOpenshiftRoute specifies that an route entry should be created. IngressTypeRoute IngressType = "route" )
type Instrumentation ¶
type Instrumentation struct {
Status InstrumentationStatus `json:"status,omitempty"`
metav1.TypeMeta `json:",inline"`
Spec InstrumentationSpec `json:"spec,omitempty"`
metav1.ObjectMeta `json:"metadata,omitempty"`
}
Instrumentation is the spec for OpenTelemetry instrumentation.
func (*Instrumentation) DeepCopy ¶
func (in *Instrumentation) DeepCopy() *Instrumentation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instrumentation.
func (*Instrumentation) DeepCopyInto ¶
func (in *Instrumentation) DeepCopyInto(out *Instrumentation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instrumentation) DeepCopyObject ¶
func (in *Instrumentation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instrumentation) Default ¶
func (r *Instrumentation) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*Instrumentation) SetupWebhookWithManager ¶
func (r *Instrumentation) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Instrumentation) ValidateCreate ¶
func (r *Instrumentation) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*Instrumentation) ValidateDelete ¶
func (r *Instrumentation) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*Instrumentation) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type InstrumentationList ¶
type InstrumentationList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Instrumentation `json:"items"`
}
InstrumentationList contains a list of Instrumentation.
func (*InstrumentationList) DeepCopy ¶
func (in *InstrumentationList) DeepCopy() *InstrumentationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstrumentationList.
func (*InstrumentationList) DeepCopyInto ¶
func (in *InstrumentationList) DeepCopyInto(out *InstrumentationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstrumentationList) DeepCopyObject ¶
func (in *InstrumentationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstrumentationSpec ¶
type InstrumentationSpec struct {
// Exporter defines exporter configuration.
// +optional
Exporter `json:"exporter,omitempty"`
// Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification.
// +optional
Resource Resource `json:"resource,omitempty"`
// Propagators defines inter-process context propagation configuration.
// Values in this list will be set in the OTEL_PROPAGATORS env var.
// Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none
// +optional
Propagators []Propagator `json:"propagators,omitempty"`
// Sampler defines sampling configuration.
// +optional
Sampler `json:"sampler,omitempty"`
// Env defines common env vars. There are four layers for env vars' definitions and
// the precedence order is: `original container env vars` > `language specific env vars` > `common env vars` > `instrument spec configs' vars`.
// If the former var had been defined, then the other vars would be ignored.
// +optional
Env []corev1.EnvVar `json:"env,omitempty"`
// Java defines configuration for java auto-instrumentation.
// +optional
Java Java `json:"java,omitempty"`
}
InstrumentationSpec defines the desired state of OpenTelemetry SDK and instrumentation.
func (*InstrumentationSpec) DeepCopy ¶
func (in *InstrumentationSpec) DeepCopy() *InstrumentationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstrumentationSpec.
func (*InstrumentationSpec) DeepCopyInto ¶
func (in *InstrumentationSpec) DeepCopyInto(out *InstrumentationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstrumentationStatus ¶
type InstrumentationStatus struct {
}
InstrumentationStatus defines status of the instrumentation.
func (*InstrumentationStatus) DeepCopy ¶
func (in *InstrumentationStatus) DeepCopy() *InstrumentationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstrumentationStatus.
func (*InstrumentationStatus) DeepCopyInto ¶
func (in *InstrumentationStatus) DeepCopyInto(out *InstrumentationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Java ¶
type Java struct {
// Image is a container image with javaagent auto-instrumentation JAR.
// +optional
Image string `json:"image,omitempty"`
// Env defines java specific env vars. There are four layers for env vars' definitions and
// the precedence order is: `original container env vars` > `language specific env vars` > `common env vars` > `instrument spec configs' vars`.
// If the former var had been defined, then the other vars would be ignored.
// +optional
Env []corev1.EnvVar `json:"env,omitempty"`
// Resources describes the compute resource requirements.
// +optional
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
}
Java defines Java SDK and instrumentation configuration.
func (*Java) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Java.
func (*Java) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mode ¶
type Mode string
Mode represents how the collector should be deployed (deployment vs. daemonset) +kubebuilder:validation:Enum=daemonset;deployment;sidecar;statefulset
const ( // ModeDaemonSet specifies that the collector should be deployed as a Kubernetes DaemonSet. ModeDaemonSet Mode = "daemonset" // ModeDeployment specifies that the collector should be deployed as a Kubernetes Deployment. ModeDeployment Mode = "deployment" // ModeSidecar specifies that the collector should be deployed as a sidecar to pods. ModeSidecar Mode = "sidecar" // ModeStatefulSet specifies that the collector should be deployed as a Kubernetes StatefulSet. ModeStatefulSet Mode = "statefulset" )
type OpenShiftRoute ¶
type OpenShiftRoute struct {
// Termination indicates termination type. By default "edge" is used.
Termination TLSRouteTerminationType `json:"termination,omitempty"`
}
OpenShiftRoute defines openshift route specific settings.
func (*OpenShiftRoute) DeepCopy ¶
func (in *OpenShiftRoute) DeepCopy() *OpenShiftRoute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenShiftRoute.
func (*OpenShiftRoute) DeepCopyInto ¶
func (in *OpenShiftRoute) DeepCopyInto(out *OpenShiftRoute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Propagator ¶
type Propagator string
Propagator represents the propagation type. +kubebuilder:validation:Enum=tracecontext;baggage;b3;b3multi;jaeger;xray;ottrace;none
const ( // TraceContext represents W3C Trace Context. TraceContext Propagator = "tracecontext" // Baggage represents W3C Baggage. Baggage Propagator = "baggage" // B3 represents B3 Single. B3 Propagator = "b3" // B3Multi represents B3 Multi. B3Multi Propagator = "b3multi" // Jaeger represents Jaeger. Jaeger Propagator = "jaeger" // XRay represents AWS X-Ray. XRay Propagator = "xray" // OTTrace represents OT Trace. OTTrace Propagator = "ottrace" // None represents automatically configured propagator. None Propagator = "none" )
type Resource ¶
type Resource struct {
// Attributes defines attributes that are added to the resource.
// For example environment: dev
// +optional
Attributes map[string]string `json:"resourceAttributes,omitempty"`
// AddK8sUIDAttributes defines whether K8s UID attributes should be collected (e.g. k8s.deployment.uid).
// +optional
AddK8sUIDAttributes bool `json:"addK8sUIDAttributes,omitempty"`
}
Resource defines the configuration for the resource attributes, as defined by the OpenTelemetry specification. See also: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.8.0/specification/overview.md#resources
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sampler ¶
type Sampler struct {
// Type defines sampler type.
// The value will be set in the OTEL_TRACES_SAMPLER env var.
// The value can be for instance parentbased_always_on, parentbased_always_off, parentbased_traceidratio...
// +optional
Type SamplerType `json:"type,omitempty"`
// Argument defines sampler argument.
// The value depends on the sampler type.
// For instance for parentbased_traceidratio sampler type it is a number in range [0..1] e.g. 0.25.
// The value will be set in the OTEL_TRACES_SAMPLER_ARG env var.
// +optional
Argument string `json:"argument,omitempty"`
}
Sampler defines sampling configuration.
func (*Sampler) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sampler.
func (*Sampler) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SamplerType ¶
type SamplerType string
SamplerType represents sampler type. +kubebuilder:validation:Enum=always_on;always_off;traceidratio;parentbased_always_on;parentbased_always_off;parentbased_traceidratio;jaeger_remote;xray
const ( // AlwaysOn represents AlwaysOnSampler. AlwaysOn SamplerType = "always_on" // AlwaysOff represents AlwaysOffSampler. AlwaysOff SamplerType = "always_off" // TraceIDRatio represents TraceIdRatioBased. TraceIDRatio SamplerType = "traceidratio" // ParentBasedAlwaysOn represents ParentBased(root=AlwaysOnSampler). ParentBasedAlwaysOn SamplerType = "parentbased_always_on" // ParentBasedAlwaysOff represents ParentBased(root=AlwaysOffSampler). ParentBasedAlwaysOff SamplerType = "parentbased_always_off" // ParentBasedTraceIDRatio represents ParentBased(root=TraceIdRatioBased). ParentBasedTraceIDRatio SamplerType = "parentbased_traceidratio" // JaegerRemote represents JaegerRemoteSampler. JaegerRemote SamplerType = "jaeger_remote" // ParentBasedJaegerRemote represents ParentBased(root=JaegerRemoteSampler). ParentBasedJaegerRemote SamplerType = "parentbased_jaeger_remote" // XRay represents AWS X-Ray Centralized Sampling. XRaySampler SamplerType = "xray" )
type ScaleSubresourceStatus ¶
type ScaleSubresourceStatus struct {
// The selector used to match the AmazonCloudWatchAgent's
// deployment or statefulSet pods.
// +optional
Selector string `json:"selector,omitempty"`
// The total number non-terminated pods targeted by this
// AmazonCloudWatchAgent's deployment or statefulSet.
// +optional
Replicas int32 `json:"replicas,omitempty"`
// StatusReplicas is the number of pods targeted by this AmazonCloudWatchAgent's with a Ready Condition /
// Total number of non-terminated pods targeted by this AmazonCloudWatchAgent's (their labels match the selector).
// Deployment, Daemonset, StatefulSet.
// +optional
StatusReplicas string `json:"statusReplicas,omitempty"`
}
ScaleSubresourceStatus defines the observed state of the AmazonCloudWatchAgent's scale subresource.
func (*ScaleSubresourceStatus) DeepCopy ¶
func (in *ScaleSubresourceStatus) DeepCopy() *ScaleSubresourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleSubresourceStatus.
func (*ScaleSubresourceStatus) DeepCopyInto ¶
func (in *ScaleSubresourceStatus) DeepCopyInto(out *ScaleSubresourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSRouteTerminationType ¶
type TLSRouteTerminationType string
TLSRouteTerminationType is used to indicate which tls settings should be used. +kubebuilder:validation:Enum=insecure;edge;passthrough;reencrypt
const ( // TLSRouteTerminationTypeInsecure indicates that insecure connections are allowed. TLSRouteTerminationTypeInsecure TLSRouteTerminationType = "insecure" // TLSRouteTerminationTypeEdge indicates that encryption should be terminated // at the edge router. TLSRouteTerminationTypeEdge TLSRouteTerminationType = "edge" // TLSTerminationPassthrough indicates that the destination service is // responsible for decrypting traffic. TLSRouteTerminationTypePassthrough TLSRouteTerminationType = "passthrough" // TLSTerminationReencrypt indicates that traffic will be decrypted on the edge // and re-encrypt using a new certificate. TLSRouteTerminationTypeReencrypt TLSRouteTerminationType = "reencrypt" )
type UpgradeStrategy ¶
type UpgradeStrategy string
UpgradeStrategy represents how the operator will handle upgrades to the CR when a newer version of the operator is deployed +kubebuilder:validation:Enum=automatic;none
const ( // UpgradeStrategyAutomatic specifies that the operator will automatically apply upgrades to the CR. UpgradeStrategyAutomatic UpgradeStrategy = "automatic" // UpgradeStrategyNone specifies that the operator will not apply any upgrades to the CR. UpgradeStrategyNone UpgradeStrategy = "none" )