Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the routing.qdrant.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=routing.qdrant.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "routing.qdrant.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 BootstrapStatusInfo ¶
type BootstrapStatusInfo struct {
// Identifier of the route this bootstrap status info belongs to.
RouteId string `json:"routeId,omitempty"`
Shared *bool `json:"shared,omitempty"`
// Set if the route uses a dedicated loadbalancer.
Dedicated *bool `json:"dedicated,omitempty"`
// Set to true if routing of the Qdrant cluster has been bootstrapped once for this specific route.
Bootstrapped *bool `json:"bootstrapped,omitempty"`
}
BootstrapStatusInfo is part of QdrantClusterRoutingStatus.
func (*BootstrapStatusInfo) DeepCopy ¶
func (in *BootstrapStatusInfo) DeepCopy() *BootstrapStatusInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapStatusInfo.
func (*BootstrapStatusInfo) DeepCopyInto ¶
func (in *BootstrapStatusInfo) DeepCopyInto(out *BootstrapStatusInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QdrantClusterRouting ¶
type QdrantClusterRouting struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec QdrantClusterRoutingSpec `json:"spec"`
Status QdrantClusterRoutingStatus `json:"status,omitempty"`
}
QdrantClusterRouting is the Schema for the routing towards Qdrant clusters API
func (*QdrantClusterRouting) DeepCopy ¶
func (in *QdrantClusterRouting) DeepCopy() *QdrantClusterRouting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantClusterRouting.
func (*QdrantClusterRouting) DeepCopyInto ¶
func (in *QdrantClusterRouting) DeepCopyInto(out *QdrantClusterRouting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QdrantClusterRouting) DeepCopyObject ¶
func (in *QdrantClusterRouting) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QdrantClusterRoutingList ¶
type QdrantClusterRoutingList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
// +optional
metav1.ListMeta `json:"metadata,omitempty"`
// List of QdrantClusterRouting objects
Items []QdrantClusterRouting `json:"items"`
}
QdrantClusterRoutingList is the whole list of all QdrantClusterRouting objects.
func (*QdrantClusterRoutingList) DeepCopy ¶
func (in *QdrantClusterRoutingList) DeepCopy() *QdrantClusterRoutingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantClusterRoutingList.
func (*QdrantClusterRoutingList) DeepCopyInto ¶
func (in *QdrantClusterRoutingList) DeepCopyInto(out *QdrantClusterRoutingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*QdrantClusterRoutingList) DeepCopyObject ¶
func (in *QdrantClusterRoutingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type QdrantClusterRoutingSpec ¶
type QdrantClusterRoutingSpec struct {
// ClusterId specifies the unique identifier of the cluster.
// For shared routing this Id will be used for SNI resolving.
ClusterId string `json:"clusterId"`
// Enabled specifies whether to enable ingress for the cluster or not.
// +kubebuilder:default=true
// +optional
Enabled *bool `json:"enabled,omitempty"`
// Note that this doesn't mean it doesn't have a dedicated loadbalancer as well (e.g. during a migration from one to the other).
// +optional
Shared *bool `json:"shared,omitempty"`
// Set if the cluster uses (at least one) dedicated loadbalancer.
// Note that this doesn't mean it doesn't have a shared loadbalancer as well (e.g. during a migration from one to the other).
// +optional
Dedicated *bool `json:"dedicated,omitempty"`
// TLS specifies whether tls is enabled or not at qdrant level.
// +optional
TLS *bool `json:"tls,omitempty"`
// ServicePerNode specifies whether the cluster should have a dedicated route for each node.
// +kubebuilder:default=true
// +optional
ServicePerNode *bool `json:"servicePerNode,omitempty"`
// NodeIndexes specifies the indexes of the individual nodes in the cluster.
NodeIndexes []int `json:"nodeIndexes,omitempty"`
// AllowedSourceRanges specifies the allowed CIDR source ranges for the ingress.
// +optional
AllowedSourceRanges []string `json:"allowedSourceRanges,omitempty"`
// If true enable (proxy) access log for this qdrant cluster.
// +optional
EnableAccessLog *bool `json:"enableAccessLog,omitempty"`
}
QdrantClusterRoutingSpec describes the configuration for routing towards Qdrant clusters.
func (*QdrantClusterRoutingSpec) DeepCopy ¶
func (in *QdrantClusterRoutingSpec) DeepCopy() *QdrantClusterRoutingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantClusterRoutingSpec.
func (*QdrantClusterRoutingSpec) DeepCopyInto ¶
func (in *QdrantClusterRoutingSpec) DeepCopyInto(out *QdrantClusterRoutingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QdrantClusterRoutingStatus ¶
type QdrantClusterRoutingStatus struct {
// Set to true if routing of the Qdrant cluster has been bootstrapped once.
// This implies that at least one route is bootstrapped, for detailed information see the BootstrapInfos field
Bootstrapped *bool `json:"bootstrapped,omitempty"`
// Individual bootstrap status info (e.g. when multiple routes are available for this Qdrant cluster)
BootstrapInfos *[]BootstrapStatusInfo `json:"bootstrapInfos,omitempty"`
}
QdrantClusterRoutingStatus defines the observed state of QdrantClusterRouting +kubebuilder:pruning:PreserveUnknownFields
func (*QdrantClusterRoutingStatus) DeepCopy ¶
func (in *QdrantClusterRoutingStatus) DeepCopy() *QdrantClusterRoutingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QdrantClusterRoutingStatus.
func (*QdrantClusterRoutingStatus) DeepCopyInto ¶
func (in *QdrantClusterRoutingStatus) DeepCopyInto(out *QdrantClusterRoutingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.