Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the observability v1alpha1 API group +kubebuilder:object:generate=true +groupName=observability.kaasops.io
Index ¶
- Variables
- type ApiSpec
- type ClusterVectorAggregator
- type ClusterVectorAggregatorList
- type ClusterVectorAggregatorSpec
- type ClusterVectorAggregatorStatus
- type ClusterVectorPipeline
- func (in *ClusterVectorPipeline) DeepCopy() *ClusterVectorPipeline
- func (in *ClusterVectorPipeline) DeepCopyInto(out *ClusterVectorPipeline)
- func (in *ClusterVectorPipeline) DeepCopyObject() runtime.Object
- func (vp *ClusterVectorPipeline) GetConfigCheckResult() *bool
- func (vp *ClusterVectorPipeline) GetLastAppliedPipeline() *uint32
- func (vp *ClusterVectorPipeline) GetRole() VectorPipelineRole
- func (vp *ClusterVectorPipeline) GetSpec() VectorPipelineSpec
- func (vp *ClusterVectorPipeline) GetTypeMeta() metav1.TypeMeta
- func (vp *ClusterVectorPipeline) IsDeleted() bool
- func (vp *ClusterVectorPipeline) IsValid() bool
- func (vp *ClusterVectorPipeline) SetConfigCheck(value bool)
- func (vp *ClusterVectorPipeline) SetLastAppliedPipeline(hash *uint32)
- func (vp *ClusterVectorPipeline) SetReason(reason *string)
- func (vp *ClusterVectorPipeline) SetRole(role *VectorPipelineRole)
- func (vp *ClusterVectorPipeline) UpdateStatus(ctx context.Context, c client.Client) error
- type ClusterVectorPipelineList
- type ConfigCheck
- type EventCollector
- type Vector
- type VectorAgent
- type VectorAggregator
- type VectorAggregatorCommon
- type VectorAggregatorList
- type VectorAggregatorSpec
- type VectorAggregatorStatus
- type VectorCommon
- type VectorCommonStatus
- type VectorList
- type VectorPipeline
- func (in *VectorPipeline) DeepCopy() *VectorPipeline
- func (in *VectorPipeline) DeepCopyInto(out *VectorPipeline)
- func (in *VectorPipeline) DeepCopyObject() runtime.Object
- func (vp *VectorPipeline) GetConfigCheckResult() *bool
- func (vp *VectorPipeline) GetLastAppliedPipeline() *uint32
- func (vp *VectorPipeline) GetRole() VectorPipelineRole
- func (vp *VectorPipeline) GetSpec() VectorPipelineSpec
- func (vp *VectorPipeline) GetTypeMeta() metav1.TypeMeta
- func (vp *VectorPipeline) IsDeleted() bool
- func (vp *VectorPipeline) IsValid() bool
- func (vp *VectorPipeline) SetConfigCheck(value bool)
- func (vp *VectorPipeline) SetLastAppliedPipeline(hash *uint32)
- func (vp *VectorPipeline) SetReason(reason *string)
- func (vp *VectorPipeline) SetRole(role *VectorPipelineRole)
- func (vp *VectorPipeline) UpdateStatus(ctx context.Context, c client.Client) error
- type VectorPipelineList
- type VectorPipelineRole
- type VectorPipelineSpec
- type VectorPipelineStatus
- type VectorSelectorSpec
- type VectorSpec
- type VectorStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "observability.kaasops.io", 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 ApiSpec ¶
type ApiSpec struct {
Enabled bool `json:"enabled,omitempty"`
Playground bool `json:"playground,omitempty"`
// Enable ReadinessProbe and LivenessProbe via api /health endpoint.
// If probe enabled via VectorAgent or VectorAggregator, this setting will be ignored for that probe.
// +optional
Healthcheck bool `json:"healthcheck,omitempty"`
}
ApiSpec is the Schema for the Vector Agent GraphQL API - https://vector.dev/docs/reference/api/
func (*ApiSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiSpec.
func (*ApiSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVectorAggregator ¶ added in v0.1.0
type ClusterVectorAggregator struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClusterVectorAggregatorSpec `json:"spec,omitempty"`
Status ClusterVectorAggregatorStatus `json:"status,omitempty"`
}
ClusterVectorAggregator is the Schema for the clustervectoraggregators API
func (*ClusterVectorAggregator) DeepCopy ¶ added in v0.1.0
func (in *ClusterVectorAggregator) DeepCopy() *ClusterVectorAggregator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorAggregator.
func (*ClusterVectorAggregator) DeepCopyInto ¶ added in v0.1.0
func (in *ClusterVectorAggregator) DeepCopyInto(out *ClusterVectorAggregator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVectorAggregator) DeepCopyObject ¶ added in v0.1.0
func (in *ClusterVectorAggregator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVectorAggregatorList ¶ added in v0.1.0
type ClusterVectorAggregatorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterVectorAggregator `json:"items"`
}
ClusterVectorAggregatorList contains a list of ClusterVectorAggregator
func (*ClusterVectorAggregatorList) DeepCopy ¶ added in v0.1.0
func (in *ClusterVectorAggregatorList) DeepCopy() *ClusterVectorAggregatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorAggregatorList.
func (*ClusterVectorAggregatorList) DeepCopyInto ¶ added in v0.1.0
func (in *ClusterVectorAggregatorList) DeepCopyInto(out *ClusterVectorAggregatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVectorAggregatorList) DeepCopyObject ¶ added in v0.1.0
func (in *ClusterVectorAggregatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterVectorAggregatorSpec ¶ added in v0.1.0
type ClusterVectorAggregatorSpec struct {
VectorAggregatorCommon `json:",inline"`
// ResourceNamespace specifies the namespace where the related resources, such as Deployments and Services, will be deployed.
ResourceNamespace string `json:"resourceNamespace,omitempty"`
}
ClusterVectorAggregatorSpec defines the desired state of ClusterVectorAggregator
func (*ClusterVectorAggregatorSpec) DeepCopy ¶ added in v0.1.0
func (in *ClusterVectorAggregatorSpec) DeepCopy() *ClusterVectorAggregatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorAggregatorSpec.
func (*ClusterVectorAggregatorSpec) DeepCopyInto ¶ added in v0.1.0
func (in *ClusterVectorAggregatorSpec) DeepCopyInto(out *ClusterVectorAggregatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVectorAggregatorStatus ¶ added in v0.1.0
type ClusterVectorAggregatorStatus struct {
VectorCommonStatus `json:",inline"`
}
ClusterVectorAggregatorStatus defines the observed state of ClusterVectorAggregator
func (*ClusterVectorAggregatorStatus) DeepCopy ¶ added in v0.1.0
func (in *ClusterVectorAggregatorStatus) DeepCopy() *ClusterVectorAggregatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorAggregatorStatus.
func (*ClusterVectorAggregatorStatus) DeepCopyInto ¶ added in v0.1.0
func (in *ClusterVectorAggregatorStatus) DeepCopyInto(out *ClusterVectorAggregatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterVectorPipeline ¶
type ClusterVectorPipeline struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VectorPipelineSpec `json:"spec,omitempty"`
Status VectorPipelineStatus `json:"status,omitempty"`
}
ClusterVectorPipeline is the Schema for the clustervectorpipelines API
func (*ClusterVectorPipeline) DeepCopy ¶
func (in *ClusterVectorPipeline) DeepCopy() *ClusterVectorPipeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorPipeline.
func (*ClusterVectorPipeline) DeepCopyInto ¶
func (in *ClusterVectorPipeline) DeepCopyInto(out *ClusterVectorPipeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVectorPipeline) DeepCopyObject ¶
func (in *ClusterVectorPipeline) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterVectorPipeline) GetConfigCheckResult ¶ added in v0.0.8
func (vp *ClusterVectorPipeline) GetConfigCheckResult() *bool
func (*ClusterVectorPipeline) GetLastAppliedPipeline ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) GetLastAppliedPipeline() *uint32
func (*ClusterVectorPipeline) GetRole ¶ added in v0.1.0
func (vp *ClusterVectorPipeline) GetRole() VectorPipelineRole
func (*ClusterVectorPipeline) GetSpec ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) GetSpec() VectorPipelineSpec
func (*ClusterVectorPipeline) GetTypeMeta ¶ added in v0.1.0
func (vp *ClusterVectorPipeline) GetTypeMeta() metav1.TypeMeta
func (*ClusterVectorPipeline) IsDeleted ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) IsDeleted() bool
func (*ClusterVectorPipeline) IsValid ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) IsValid() bool
func (*ClusterVectorPipeline) SetConfigCheck ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) SetConfigCheck(value bool)
func (*ClusterVectorPipeline) SetLastAppliedPipeline ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) SetLastAppliedPipeline(hash *uint32)
func (*ClusterVectorPipeline) SetReason ¶ added in v0.0.2
func (vp *ClusterVectorPipeline) SetReason(reason *string)
func (*ClusterVectorPipeline) SetRole ¶ added in v0.1.0
func (vp *ClusterVectorPipeline) SetRole(role *VectorPipelineRole)
func (*ClusterVectorPipeline) UpdateStatus ¶ added in v0.0.2
type ClusterVectorPipelineList ¶
type ClusterVectorPipelineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ClusterVectorPipeline `json:"items"`
}
ClusterVectorPipelineList contains a list of ClusterVectorPipeline
func (*ClusterVectorPipelineList) DeepCopy ¶
func (in *ClusterVectorPipelineList) DeepCopy() *ClusterVectorPipelineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVectorPipelineList.
func (*ClusterVectorPipelineList) DeepCopyInto ¶
func (in *ClusterVectorPipelineList) DeepCopyInto(out *ClusterVectorPipelineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterVectorPipelineList) DeepCopyObject ¶
func (in *ClusterVectorPipelineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigCheck ¶ added in v0.0.12
type ConfigCheck struct {
Disabled bool `json:"disabled,omitempty"`
// Image - docker image settings for Vector Agent
// if no specified operator uses default config version
// +optional
Image *string `json:"image,omitempty"`
// Resources container resource request and limits, https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
// if not specified - default setting will be used
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resources",xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements"
// +optional
Resources *v1.ResourceRequirements `json:"resources,omitempty"`
// Affinity If specified, the pod's scheduling constraints.
// +optional
Affinity *v1.Affinity `json:"affinity,omitempty"`
// Tolerations If specified, the pod's tolerations.
// +optional
Tolerations *[]v1.Toleration `json:"tolerations,omitempty"`
// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// Labels is additional labels that will be added to ConfigCheck pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
// +optional
Labels map[string]string `json:"labels,omitempty"`
}
ConfigCheck is the Schema for control params for ConfigCheck pods
func (*ConfigCheck) DeepCopy ¶ added in v0.0.12
func (in *ConfigCheck) DeepCopy() *ConfigCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigCheck.
func (*ConfigCheck) DeepCopyInto ¶ added in v0.0.12
func (in *ConfigCheck) DeepCopyInto(out *ConfigCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventCollector ¶ added in v0.1.2
type EventCollector struct {
Image string `json:"image,omitempty"`
ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
MaxBatchSize int32 `json:"maxBatchSize,omitempty"`
}
func (*EventCollector) DeepCopy ¶ added in v0.1.2
func (in *EventCollector) DeepCopy() *EventCollector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventCollector.
func (*EventCollector) DeepCopyInto ¶ added in v0.1.2
func (in *EventCollector) DeepCopyInto(out *EventCollector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Vector ¶
type Vector struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VectorSpec `json:"spec,omitempty"`
Status VectorStatus `json:"status,omitempty"`
}
Vector is the Schema for the vectors API
func (*Vector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Vector.
func (*Vector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Vector) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VectorAgent ¶
type VectorAgent struct {
VectorCommon `json:",inline"`
}
VectorAgent is the Schema for the Vector Agent
func (*VectorAgent) DeepCopy ¶
func (in *VectorAgent) DeepCopy() *VectorAgent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAgent.
func (*VectorAgent) DeepCopyInto ¶
func (in *VectorAgent) DeepCopyInto(out *VectorAgent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorAggregator ¶
type VectorAggregator struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VectorAggregatorSpec `json:"spec,omitempty"`
Status VectorAggregatorStatus `json:"status,omitempty"`
}
VectorAggregator is the Schema for the vectoraggregators API
func (*VectorAggregator) DeepCopy ¶
func (in *VectorAggregator) DeepCopy() *VectorAggregator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAggregator.
func (*VectorAggregator) DeepCopyInto ¶
func (in *VectorAggregator) DeepCopyInto(out *VectorAggregator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VectorAggregator) DeepCopyObject ¶ added in v0.1.0
func (in *VectorAggregator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VectorAggregator) HasFinalizer ¶ added in v0.1.0
func (v *VectorAggregator) HasFinalizer(finalizerName string) bool
func (*VectorAggregator) IsBeingDeleted ¶ added in v0.1.0
func (v *VectorAggregator) IsBeingDeleted() bool
type VectorAggregatorCommon ¶ added in v0.1.0
type VectorAggregatorCommon struct {
VectorCommon `json:",inline"`
Replicas int32 `json:"replicas,omitempty"`
// Selector defines a filter for the Vector Pipeline and Cluster Vector Pipeline by labels.
// If not specified, all pipelines will be selected.
Selector *VectorSelectorSpec `json:"selector,omitempty"`
EventCollector EventCollector `json:"eventCollector,omitempty"`
}
func (*VectorAggregatorCommon) DeepCopy ¶ added in v0.1.0
func (in *VectorAggregatorCommon) DeepCopy() *VectorAggregatorCommon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAggregatorCommon.
func (*VectorAggregatorCommon) DeepCopyInto ¶ added in v0.1.0
func (in *VectorAggregatorCommon) DeepCopyInto(out *VectorAggregatorCommon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorAggregatorList ¶ added in v0.1.0
type VectorAggregatorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VectorAggregator `json:"items"`
}
VectorAggregatorList contains a list of VectorAggregator
func (*VectorAggregatorList) DeepCopy ¶ added in v0.1.0
func (in *VectorAggregatorList) DeepCopy() *VectorAggregatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAggregatorList.
func (*VectorAggregatorList) DeepCopyInto ¶ added in v0.1.0
func (in *VectorAggregatorList) DeepCopyInto(out *VectorAggregatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VectorAggregatorList) DeepCopyObject ¶ added in v0.1.0
func (in *VectorAggregatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VectorAggregatorSpec ¶ added in v0.1.0
type VectorAggregatorSpec struct {
VectorAggregatorCommon `json:",inline"`
}
VectorAggregatorSpec defines the desired state of VectorAggregator
func (*VectorAggregatorSpec) DeepCopy ¶ added in v0.1.0
func (in *VectorAggregatorSpec) DeepCopy() *VectorAggregatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAggregatorSpec.
func (*VectorAggregatorSpec) DeepCopyInto ¶ added in v0.1.0
func (in *VectorAggregatorSpec) DeepCopyInto(out *VectorAggregatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorAggregatorStatus ¶ added in v0.1.0
type VectorAggregatorStatus struct {
VectorCommonStatus `json:",inline"`
}
VectorAggregatorStatus defines the observed state of VectorAggregator
func (*VectorAggregatorStatus) DeepCopy ¶ added in v0.1.0
func (in *VectorAggregatorStatus) DeepCopy() *VectorAggregatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorAggregatorStatus.
func (*VectorAggregatorStatus) DeepCopyInto ¶ added in v0.1.0
func (in *VectorAggregatorStatus) DeepCopyInto(out *VectorAggregatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorCommon ¶ added in v0.1.0
type VectorCommon struct {
// Image - docker image settings for Vector Agent
// if no specified operator uses default config version
// +optional
Image string `json:"image,omitempty"`
// ImagePullSecrets An optional list of references to secrets in the same namespace
// to use for pulling images from registries
// see http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod
// +optional
ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// ImagePullPolicy of pods
ImagePullPolicy v1.PullPolicy `json:"imagePullPolicy,omitempty"`
// Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// Labels is additional labels that will be added to Vector pod, service, podmonitor, etc. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
// +optional
Labels map[string]string `json:"labels,omitempty"`
// Resources container resource request and limits, https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
// if not specified - default setting will be used
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Resources",xDescriptors="urn:alm:descriptor:com.tectonic.ui:resourceRequirements"
// +optional
Resources v1.ResourceRequirements `json:"resources,omitempty"`
// Affinity If specified, the pod's scheduling constraints.
// +optional
Affinity *v1.Affinity `json:"affinity,omitempty"`
// Tolerations If specified, the pod's tolerations.
// +optional
Tolerations []v1.Toleration `json:"tolerations,omitempty"`
// SecurityContext holds pod-level security attributes and common container settings.
// This defaults to the default PodSecurityContext.
// +optional
SecurityContext *v1.PodSecurityContext `json:"podSecurityContext,omitempty"`
// SecurityContext holds security configuration that will be applied to a container.
// Some fields are present in both SecurityContext and PodSecurityContext.
// When both are set, the values in SecurityContext take precedence.
// +optional
ContainerSecurityContext *v1.SecurityContext `json:"containerSecurityContext,omitempty"`
// SchedulerName - defines kubernetes scheduler name
// +optional
SchedulerName string `json:"schedulerName,omitempty"`
// RuntimeClassName - defines runtime class for kubernetes pod.
// https://kubernetes.io/docs/concepts/containers/runtime-class/
RuntimeClassName *string `json:"runtimeClassName,omitempty"`
// HostAliases provides mapping between ip and hostnames,
// that would be propagated to pod,
// cannot be used with HostNetwork.
// +optional
HostAliases []v1.HostAlias `json:"host_aliases,omitempty"`
// PodSecurityPolicyName - defines name for podSecurityPolicy
// in case of empty value, prefixedName will be used.
// +optional
PodSecurityPolicyName string `json:"podSecurityPolicyName,omitempty"`
// PriorityClassName assigned to the Pods
// +optional
PriorityClassName string `json:"priorityClassName,omitempty"`
// HostNetwork controls whether the pod may use the node network namespace
// +optional
HostNetwork bool `json:"hostNetwork,omitempty"`
// Env that will be added to Vector pod
Env []v1.EnvVar `json:"env,omitempty"`
// Env that will be added to Vector pod from ConfigMap or Secret sources
EnvFrom []v1.EnvFromSource `json:"envFrom,omitempty"`
// The directory used for persisting Vector state, such as on-disk buffers, file checkpoints, and more. Please make sure the Vector project has write permissions to this directory.
// https://vector.dev/docs/reference/configuration/global-options/#data_dir
DataDir string `json:"dataDir,omitempty"`
// Vector will expire internal metrics that haven’t been emitted/updated in the configured interval (default 300 seconds).
// https://vector.dev/docs/reference/configuration/global-options/#expire_metrics_secs
ExpireMetricsSecs *int `json:"expireMetricsSecs,omitempty"`
// Vector API params. Allows to interact with a running Vector instance.
// https://vector.dev/docs/reference/api/
Api ApiSpec `json:"api,omitempty"`
// Enable internal metrics exporter
// +optional
InternalMetrics bool `json:"internalMetrics,omitempty"`
// ScrapeInterval defines the interval at which Prometheus should scrape metrics.
// Example values: "30s", "1m", "5m". If not specified, Prometheus default is used.
// +optional
// +kubebuilder:validation:Pattern=`^(0|([0-9]+(\.[0-9]+)?(ms|s|m|h))+)$`
ScrapeInterval string `json:"scrapeInterval,omitempty"`
// ScrapeTimeout defines the timeout for scraping metrics.
// Example values: "10s", "30s". Must be less than ScrapeInterval. If not specified, Prometheus default is used.
// +optional
// +kubebuilder:validation:Pattern=`^(0|([0-9]+(\.[0-9]+)?(ms|s|m|h))+)$`
ScrapeTimeout string `json:"scrapeTimeout,omitempty"`
// List of volumes that can be mounted by containers belonging to the pod.
// +optional
Volumes []v1.Volume `json:"volumes,omitempty"`
// Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails.
// +optional
ReadinessProbe *v1.Probe `json:"readinessProbe,omitempty"`
// Periodic probe of container liveness. Container will be restarted if the probe fails.
// +optional
LivenessProbe *v1.Probe `json:"livenessProbe,omitempty"`
// Pod volumes to mount into the container's filesystem.
// +optional
VolumeMounts []v1.VolumeMount `json:"volumeMounts,omitempty"`
// Control params for ConfigCheck pods
ConfigCheck ConfigCheck `json:"configCheck,omitempty"`
// Compress config file to fix: metadata.annotations: Too long: must have at most 262144 characters
CompressConfigFile bool `json:"compressConfigFile,omitempty"`
ConfigReloaderImage string `json:"configReloaderImage,omitempty"`
ConfigReloaderResources v1.ResourceRequirements `json:"configReloaderResources,omitempty"`
}
func (*VectorCommon) DeepCopy ¶ added in v0.1.0
func (in *VectorCommon) DeepCopy() *VectorCommon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorCommon.
func (*VectorCommon) DeepCopyInto ¶ added in v0.1.0
func (in *VectorCommon) DeepCopyInto(out *VectorCommon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorCommonStatus ¶ added in v0.1.0
type VectorCommonStatus struct {
ConfigCheckResult *bool `json:"configCheckResult,omitempty"`
Reason *string `json:"reason,omitempty"`
LastAppliedConfigHash *uint32 `json:"LastAppliedConfigHash,omitempty"`
LastAppliedGlobalConfigHash *uint32 `json:"LastAppliedGlobalConfigHash,omitempty"`
}
func (*VectorCommonStatus) DeepCopy ¶ added in v0.1.0
func (in *VectorCommonStatus) DeepCopy() *VectorCommonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorCommonStatus.
func (*VectorCommonStatus) DeepCopyInto ¶ added in v0.1.0
func (in *VectorCommonStatus) DeepCopyInto(out *VectorCommonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorList ¶
type VectorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Vector `json:"items"`
}
VectorList contains a list of Vector
func (*VectorList) DeepCopy ¶
func (in *VectorList) DeepCopy() *VectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorList.
func (*VectorList) DeepCopyInto ¶
func (in *VectorList) DeepCopyInto(out *VectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VectorList) DeepCopyObject ¶
func (in *VectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VectorPipeline ¶
type VectorPipeline struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec VectorPipelineSpec `json:"spec,omitempty"`
Status VectorPipelineStatus `json:"status,omitempty"`
}
VectorPipeline is the Schema for the vectorpipelines API
func (*VectorPipeline) DeepCopy ¶
func (in *VectorPipeline) DeepCopy() *VectorPipeline
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorPipeline.
func (*VectorPipeline) DeepCopyInto ¶
func (in *VectorPipeline) DeepCopyInto(out *VectorPipeline)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VectorPipeline) DeepCopyObject ¶
func (in *VectorPipeline) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*VectorPipeline) GetConfigCheckResult ¶ added in v0.0.8
func (vp *VectorPipeline) GetConfigCheckResult() *bool
func (*VectorPipeline) GetLastAppliedPipeline ¶ added in v0.0.2
func (vp *VectorPipeline) GetLastAppliedPipeline() *uint32
func (*VectorPipeline) GetRole ¶ added in v0.1.0
func (vp *VectorPipeline) GetRole() VectorPipelineRole
func (*VectorPipeline) GetSpec ¶ added in v0.0.2
func (vp *VectorPipeline) GetSpec() VectorPipelineSpec
func (*VectorPipeline) GetTypeMeta ¶ added in v0.1.0
func (vp *VectorPipeline) GetTypeMeta() metav1.TypeMeta
func (*VectorPipeline) IsDeleted ¶ added in v0.0.2
func (vp *VectorPipeline) IsDeleted() bool
func (*VectorPipeline) IsValid ¶ added in v0.0.2
func (vp *VectorPipeline) IsValid() bool
func (*VectorPipeline) SetConfigCheck ¶ added in v0.0.2
func (vp *VectorPipeline) SetConfigCheck(value bool)
func (*VectorPipeline) SetLastAppliedPipeline ¶ added in v0.0.2
func (vp *VectorPipeline) SetLastAppliedPipeline(hash *uint32)
func (*VectorPipeline) SetReason ¶ added in v0.0.2
func (vp *VectorPipeline) SetReason(reason *string)
func (*VectorPipeline) SetRole ¶ added in v0.1.0
func (vp *VectorPipeline) SetRole(role *VectorPipelineRole)
func (*VectorPipeline) UpdateStatus ¶ added in v0.0.2
type VectorPipelineList ¶
type VectorPipelineList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []VectorPipeline `json:"items"`
}
VectorPipelineList contains a list of VectorPipeline
func (*VectorPipelineList) DeepCopy ¶
func (in *VectorPipelineList) DeepCopy() *VectorPipelineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorPipelineList.
func (*VectorPipelineList) DeepCopyInto ¶
func (in *VectorPipelineList) DeepCopyInto(out *VectorPipelineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VectorPipelineList) DeepCopyObject ¶
func (in *VectorPipelineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VectorPipelineRole ¶ added in v0.1.0
type VectorPipelineRole string
const ( VectorPipelineRoleUnknown VectorPipelineRole = "unknown" VectorPipelineRoleAgent VectorPipelineRole = "agent" VectorPipelineRoleAggregator VectorPipelineRole = "aggregator" )
type VectorPipelineSpec ¶
type VectorPipelineSpec struct {
// +kubebuilder:pruning:PreserveUnknownFields
Sources *runtime.RawExtension `json:"sources,omitempty"`
// +kubebuilder:pruning:PreserveUnknownFields
Transforms *runtime.RawExtension `json:"transforms,omitempty"`
// +kubebuilder:pruning:PreserveUnknownFields
Sinks *runtime.RawExtension `json:"sinks,omitempty"`
}
VectorPipelineSpec defines the desired state of VectorPipeline
func (*VectorPipelineSpec) DeepCopy ¶
func (in *VectorPipelineSpec) DeepCopy() *VectorPipelineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorPipelineSpec.
func (*VectorPipelineSpec) DeepCopyInto ¶
func (in *VectorPipelineSpec) DeepCopyInto(out *VectorPipelineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorPipelineStatus ¶
type VectorPipelineStatus struct {
Role *VectorPipelineRole `json:"role,omitempty"`
ConfigCheckResult *bool `json:"configCheckResult,omitempty"`
Reason *string `json:"reason,omitempty"`
LastAppliedPipelineHash *uint32 `json:"LastAppliedPipelineHash,omitempty"`
}
VectorPipelineStatus defines the observed state of VectorPipeline
func (*VectorPipelineStatus) DeepCopy ¶
func (in *VectorPipelineStatus) DeepCopy() *VectorPipelineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorPipelineStatus.
func (*VectorPipelineStatus) DeepCopyInto ¶
func (in *VectorPipelineStatus) DeepCopyInto(out *VectorPipelineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorSelectorSpec ¶ added in v0.1.0
func (*VectorSelectorSpec) DeepCopy ¶ added in v0.1.0
func (in *VectorSelectorSpec) DeepCopy() *VectorSelectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorSelectorSpec.
func (*VectorSelectorSpec) DeepCopyInto ¶ added in v0.1.0
func (in *VectorSelectorSpec) DeepCopyInto(out *VectorSelectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorSpec ¶
type VectorSpec struct {
// Vector Agent
Agent *VectorAgent `json:"agent,omitempty"`
// Determines if requests to the kube-apiserver can be served by a cache.
UseApiServerCache bool `json:"useApiServerCache,omitempty"`
// Defines a filter for the Vector Pipeline and Cluster Vector Pipeline by labels.
// If not specified, all pipelines will be selected.
Selector *VectorSelectorSpec `json:"selector,omitempty"`
}
VectorSpec defines the desired state of Vector
func (*VectorSpec) DeepCopy ¶
func (in *VectorSpec) DeepCopy() *VectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorSpec.
func (*VectorSpec) DeepCopyInto ¶
func (in *VectorSpec) DeepCopyInto(out *VectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VectorStatus ¶
type VectorStatus struct {
VectorCommonStatus `json:",inline"`
}
VectorStatus defines the observed state of Vector
func (*VectorStatus) DeepCopy ¶
func (in *VectorStatus) DeepCopy() *VectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VectorStatus.
func (*VectorStatus) DeepCopyInto ¶
func (in *VectorStatus) DeepCopyInto(out *VectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.