Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=agentic-layer.ai
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "agentic-layer.ai", 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 AiGateway ¶
type AiGateway struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AiGatewaySpec `json:"spec,omitempty"`
Status AiGatewayStatus `json:"status,omitempty"`
}
AiGateway is the Schema for the AI gateways API.
func (*AiGateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGateway.
func (*AiGateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AiGateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AiGatewayClass ¶
type AiGatewayClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AiGatewayClassSpec `json:"spec,omitempty"`
Status AiGatewayClassStatus `json:"status,omitempty"`
}
AiGatewayClass is the Schema for the aigatewayclasses API.
func (*AiGatewayClass) DeepCopy ¶
func (in *AiGatewayClass) DeepCopy() *AiGatewayClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayClass.
func (*AiGatewayClass) DeepCopyInto ¶
func (in *AiGatewayClass) DeepCopyInto(out *AiGatewayClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AiGatewayClass) DeepCopyObject ¶
func (in *AiGatewayClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AiGatewayClassList ¶
type AiGatewayClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AiGatewayClass `json:"items"`
}
AiGatewayClassList contains a list of AiGatewayClass.
func (*AiGatewayClassList) DeepCopy ¶
func (in *AiGatewayClassList) DeepCopy() *AiGatewayClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayClassList.
func (*AiGatewayClassList) DeepCopyInto ¶
func (in *AiGatewayClassList) DeepCopyInto(out *AiGatewayClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AiGatewayClassList) DeepCopyObject ¶
func (in *AiGatewayClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AiGatewayClassSpec ¶
type AiGatewayClassSpec struct {
// Controller is the name of the controller that should handle this gateway class
// +kubebuilder:validation:Required
Controller string `json:"controller"`
}
AiGatewayClassSpec defines the desired state of AiGatewayClass.
func (*AiGatewayClassSpec) DeepCopy ¶
func (in *AiGatewayClassSpec) DeepCopy() *AiGatewayClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayClassSpec.
func (*AiGatewayClassSpec) DeepCopyInto ¶
func (in *AiGatewayClassSpec) DeepCopyInto(out *AiGatewayClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AiGatewayClassStatus ¶
AiGatewayClassStatus defines the observed state of AiGatewayClass.
func (*AiGatewayClassStatus) DeepCopy ¶
func (in *AiGatewayClassStatus) DeepCopy() *AiGatewayClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayClassStatus.
func (*AiGatewayClassStatus) DeepCopyInto ¶
func (in *AiGatewayClassStatus) DeepCopyInto(out *AiGatewayClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AiGatewayList ¶
type AiGatewayList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AiGateway `json:"items"`
}
AiGatewayList contains a list of AiGateway.
func (*AiGatewayList) DeepCopy ¶
func (in *AiGatewayList) DeepCopy() *AiGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayList.
func (*AiGatewayList) DeepCopyInto ¶
func (in *AiGatewayList) DeepCopyInto(out *AiGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AiGatewayList) DeepCopyObject ¶
func (in *AiGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AiGatewaySpec ¶
type AiGatewaySpec struct {
// AiGatewayClassName specifies which AiGatewayClass to use for this AI gateway instance.
// This is only needed if multiple AI gateway classes are defined in the cluster.
AiGatewayClassName string `json:"aiGatewayClassName,omitempty"`
// Port on which the AI gateway will be exposed.
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// +kubebuilder:default=4000
Port int32 `json:"port,omitempty"`
// List of AI models to be made available through the gateway.
AiModels []AiModel `json:"aiModels,omitempty"`
}
AiGatewaySpec defines the desired state of AiGateway.
func (*AiGatewaySpec) DeepCopy ¶
func (in *AiGatewaySpec) DeepCopy() *AiGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewaySpec.
func (*AiGatewaySpec) DeepCopyInto ¶
func (in *AiGatewaySpec) DeepCopyInto(out *AiGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AiGatewayStatus ¶
type AiGatewayStatus struct {
// +operator-sdk:csv:customresourcedefinitions:type=status
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
AiGatewayStatus defines the observed state of AiGateway.
func (*AiGatewayStatus) DeepCopy ¶
func (in *AiGatewayStatus) DeepCopy() *AiGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiGatewayStatus.
func (*AiGatewayStatus) DeepCopyInto ¶
func (in *AiGatewayStatus) DeepCopyInto(out *AiGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AiModel ¶
type AiModel struct {
// Name is the identifier for the AI model (e.g., "gpt-4", "claude-3-opus")
Name string `json:"name"`
// Provider specifies the AI provider (e.g., "openai", "anthropic", "azure")
Provider string `json:"provider"`
}
func (*AiModel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AiModel.
func (*AiModel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.