Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the wavefront v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=wavefront.com
Package v1alpha1 contains API Schema definitions for the wavefront v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=wavefront.com
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type WavefrontCollector
- type WavefrontCollectorList
- type WavefrontCollectorSpec
- type WavefrontCollectorStatus
- type WavefrontProxy
- type WavefrontProxyList
- type WavefrontProxySpec
- type WavefrontProxyStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "wavefront.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type WavefrontCollector ¶
type WavefrontCollector struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WavefrontCollectorSpec `json:"spec,omitempty"`
Status WavefrontCollectorStatus `json:"status,omitempty"`
}
WavefrontCollector is the Schema for the wavefrontcollectors API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*WavefrontCollector) DeepCopy ¶
func (in *WavefrontCollector) DeepCopy() *WavefrontCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontCollector.
func (*WavefrontCollector) DeepCopyInto ¶
func (in *WavefrontCollector) DeepCopyInto(out *WavefrontCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WavefrontCollector) DeepCopyObject ¶
func (in *WavefrontCollector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WavefrontCollectorList ¶
type WavefrontCollectorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WavefrontCollector `json:"items"`
}
WavefrontCollectorList contains a list of WavefrontCollector
func (*WavefrontCollectorList) DeepCopy ¶
func (in *WavefrontCollectorList) DeepCopy() *WavefrontCollectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontCollectorList.
func (*WavefrontCollectorList) DeepCopyInto ¶
func (in *WavefrontCollectorList) DeepCopyInto(out *WavefrontCollectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WavefrontCollectorList) DeepCopyObject ¶
func (in *WavefrontCollectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WavefrontCollectorSpec ¶
type WavefrontCollectorSpec struct {
// Defaults to wavefronthq/wavefront-kubernetes-collector:latest
Image string `json:"image,omitempty"`
// Whether to deploy the collector as a daemonset. False will roll out as a deployment.
Daemon bool `json:"daemon,omitempty"`
// Whether to enable debug logging and profiling
EnableDebug bool `json:"enableDebug,omitempty"`
// List of environment variables to set for the Collector containers.
Env []corev1.EnvVar `json:"env,omitempty"`
// Compute resources required by the Collector containers.
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
// Tolerations for the collector pods
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// The name of the config map providing the configuration for the collector instance.
// If empty, a default name of "collectorName-config" is assumed.
ConfigName string `json:"configName,omitempty"`
// If set to true, Collector pods will be upgraded automatically in case new minor upgrade version is available.
// For pinning Collector to a specific version, you will need to set this option to false.
// We support only minor version Auto Upgrades.
EnableAutoUpgrade bool `json:"enableAutoUpgrade,omitempty"`
// Set to true when running collector in Openshift platform.
Openshift bool `json:"openshift,omitempty"`
// If set to true, Collector will use default config bundled in the image
// else it will use the config from ConfigName.
UseOpenshiftDefaultConfig bool `json:"useOpenshiftDefaultConfig,omitempty"`
}
WavefrontCollectorSpec defines the desired state of WavefrontCollector +k8s:openapi-gen=true
func (*WavefrontCollectorSpec) DeepCopy ¶
func (in *WavefrontCollectorSpec) DeepCopy() *WavefrontCollectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontCollectorSpec.
func (*WavefrontCollectorSpec) DeepCopyInto ¶
func (in *WavefrontCollectorSpec) DeepCopyInto(out *WavefrontCollectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WavefrontCollectorStatus ¶
type WavefrontCollectorStatus struct {
Version string `json:"version,omitempty"`
UpdatedTimestamp metav1.Time `json:"updatedTimestamp,omitempty"`
}
WavefrontCollectorStatus defines the observed state of WavefrontCollector +k8s:openapi-gen=true
func (*WavefrontCollectorStatus) DeepCopy ¶
func (in *WavefrontCollectorStatus) DeepCopy() *WavefrontCollectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontCollectorStatus.
func (*WavefrontCollectorStatus) DeepCopyInto ¶
func (in *WavefrontCollectorStatus) DeepCopyInto(out *WavefrontCollectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WavefrontProxy ¶
type WavefrontProxy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WavefrontProxySpec `json:"spec,omitempty"`
Status WavefrontProxyStatus `json:"status,omitempty"`
}
WavefrontProxy is the Schema for the wavefrontproxies API +k8s:openapi-gen=true +kubebuilder:subresource:status
func (*WavefrontProxy) DeepCopy ¶
func (in *WavefrontProxy) DeepCopy() *WavefrontProxy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontProxy.
func (*WavefrontProxy) DeepCopyInto ¶
func (in *WavefrontProxy) DeepCopyInto(out *WavefrontProxy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WavefrontProxy) DeepCopyObject ¶
func (in *WavefrontProxy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WavefrontProxyList ¶
type WavefrontProxyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WavefrontProxy `json:"items"`
}
WavefrontProxyList contains a list of WavefrontProxy
func (*WavefrontProxyList) DeepCopy ¶
func (in *WavefrontProxyList) DeepCopy() *WavefrontProxyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontProxyList.
func (*WavefrontProxyList) DeepCopyInto ¶
func (in *WavefrontProxyList) DeepCopyInto(out *WavefrontProxyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WavefrontProxyList) DeepCopyObject ¶
func (in *WavefrontProxyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WavefrontProxySpec ¶
type WavefrontProxySpec struct {
// The WavefrontProxy image to use. Defaults to wavefronthq/proxy:latest
Image string `json:"image,omitempty"`
// Wavefront URL (cluster).
Url string `json:"url"`
// Wavefront API Token.
Token string `json:"token"`
// The no. of replicas for Wavefront Proxy. Defaults to 1
Size *int32 `json:"size,omitempty"`
// The port number the proxy will listen on for metrics in Wavefront data format.
// This is usually port 2878 by default.
MetricPort int32 `json:"metricPort,omitempty"`
// The port to listen on for Wavefront trace formatted data. Defaults to none.
// This is usually 30000
TracePort int32 `json:"tracePort,omitempty"`
// The port to listen on for Jaeger Thrift formatted data. Defaults to none.
// This is usually 30001
JaegerPort int32 `json:"jaegerPort,omitempty"`
// The port to listen on for Zipkin formatted data. Defaults to none.
// This is usually 9411
ZipkinPort int32 `json:"zipkinPort,omitempty"`
// Sampling rate to apply to tracing spans sent to the proxy. This rate is applied to all
// data formats the proxy is listening on.
// Value should be between 0.0 and 1.0. Default is 1.0
TraceSamplingRate float64 `json:"traceSamplingRate,omitempty"`
// When this is set to a value greater than 0, spans that are greater than or equal to this value will be sampled.
TraceSamplingDuration float64 `json:"traceSamplingDuration,omitempty"`
// The port to listen on for Wavefront histogram distribution formatted data.
// This is usually 40000
HistogramDistPort int32 `json:"histogramDistPort,omitempty"`
// The name of the config map providing the preprocessor rules for the Wavefront proxy.
Preprocessor string `json:"preprocessor,omitempty"`
// The name of the config map providing the advanced configurations for the Wavefront proxy.
Advanced string `json:"advanced,omitempty"`
// The comma separated list of ports that need to be opened on Proxy Pod and Services.
// Needs to be explicitly specified when using "Advanced" configuration.
AdditionalPorts string `json:"additionalPorts,omitempty"`
// If set to true, Proxy pods will be upgraded automatically in case new minor upgrade version is available.
// For pinning Proxy to a specific version, you will need to set this option to false.
// We support only minor version Auto Upgrades.
EnableAutoUpgrade bool `json:"enableAutoUpgrade,omitempty"`
// Set to true when running proxy in Openshift platform.
Openshift bool `json:"openshift,omitempty"`
// The name of the storage claim to be used for creating proxy buffers directory.
// This is applicable only in an Openshift environment.
StorageClaimName string `json:"storageClaimName,omitempty"`
}
WavefrontProxySpec defines the desired state of WavefrontProxy +k8s:openapi-gen=true
func (*WavefrontProxySpec) DeepCopy ¶
func (in *WavefrontProxySpec) DeepCopy() *WavefrontProxySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontProxySpec.
func (*WavefrontProxySpec) DeepCopyInto ¶
func (in *WavefrontProxySpec) DeepCopyInto(out *WavefrontProxySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WavefrontProxyStatus ¶
type WavefrontProxyStatus struct {
Version string `json:"version,omitempty"`
UpdatedTimestamp metav1.Time `json:"updatedTimestamp,omitempty"`
}
WavefrontProxyStatus defines the observed state of WavefrontProxy +k8s:openapi-gen=true
func (*WavefrontProxyStatus) DeepCopy ¶
func (in *WavefrontProxyStatus) DeepCopy() *WavefrontProxyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WavefrontProxyStatus.
func (*WavefrontProxyStatus) DeepCopyInto ¶
func (in *WavefrontProxyStatus) DeepCopyInto(out *WavefrontProxyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.