Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the runtime v1alpha1 API group. +kubebuilder:object:generate=true +groupName=runtime.agentic-layer.ai
Index ¶
- Variables
- type Agent
- type AgentGateway
- type AgentGatewayClass
- type AgentGatewayClassList
- type AgentGatewayClassSpec
- type AgentGatewayClassStatus
- type AgentGatewayList
- type AgentGatewaySpec
- type AgentGatewayStatus
- type AgentList
- type AgentProtocol
- type AgentSpec
- type AgentStatus
- type AgentTool
- type SubAgent
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "runtime.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 Agent ¶
type Agent struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AgentSpec `json:"spec,omitempty"`
Status AgentStatus `json:"status,omitempty"`
}
Agent is the Schema for the agents API.
func (*Agent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.
func (*Agent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Agent) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentGateway ¶ added in v0.4.5
type AgentGateway struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AgentGatewaySpec `json:"spec,omitempty"`
Status AgentGatewayStatus `json:"status,omitempty"`
}
AgentGateway is the Schema for the agentgateways API
func (*AgentGateway) DeepCopy ¶ added in v0.4.5
func (in *AgentGateway) DeepCopy() *AgentGateway
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGateway.
func (*AgentGateway) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGateway) DeepCopyInto(out *AgentGateway)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentGateway) DeepCopyObject ¶ added in v0.4.5
func (in *AgentGateway) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentGatewayClass ¶ added in v0.4.5
type AgentGatewayClass struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AgentGatewayClassSpec `json:"spec,omitempty"`
Status AgentGatewayClassStatus `json:"status,omitempty"`
}
AgentGatewayClass is the Schema for the agentgatewayclasses API
func (*AgentGatewayClass) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayClass) DeepCopy() *AgentGatewayClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayClass.
func (*AgentGatewayClass) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayClass) DeepCopyInto(out *AgentGatewayClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentGatewayClass) DeepCopyObject ¶ added in v0.4.5
func (in *AgentGatewayClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentGatewayClassList ¶ added in v0.4.5
type AgentGatewayClassList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AgentGatewayClass `json:"items"`
}
AgentGatewayClassList contains a list of AgentGatewayClass
func (*AgentGatewayClassList) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayClassList) DeepCopy() *AgentGatewayClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayClassList.
func (*AgentGatewayClassList) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayClassList) DeepCopyInto(out *AgentGatewayClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentGatewayClassList) DeepCopyObject ¶ added in v0.4.5
func (in *AgentGatewayClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentGatewayClassSpec ¶ added in v0.4.5
type AgentGatewayClassSpec struct {
// Controller is the name of the controller that should handle this gateway class
// +kubebuilder:validation:Required
Controller string `json:"controller"`
}
AgentGatewayClassSpec defines the desired state of AgentGatewayClass
func (*AgentGatewayClassSpec) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayClassSpec) DeepCopy() *AgentGatewayClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayClassSpec.
func (*AgentGatewayClassSpec) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayClassSpec) DeepCopyInto(out *AgentGatewayClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentGatewayClassStatus ¶ added in v0.4.5
type AgentGatewayClassStatus struct {
// Conditions represent the latest available observations of the gateway class's state
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
AgentGatewayClassStatus defines the observed state of AgentGatewayClass
func (*AgentGatewayClassStatus) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayClassStatus) DeepCopy() *AgentGatewayClassStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayClassStatus.
func (*AgentGatewayClassStatus) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayClassStatus) DeepCopyInto(out *AgentGatewayClassStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentGatewayList ¶ added in v0.4.5
type AgentGatewayList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AgentGateway `json:"items"`
}
AgentGatewayList contains a list of AgentGateway
func (*AgentGatewayList) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayList) DeepCopy() *AgentGatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayList.
func (*AgentGatewayList) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayList) DeepCopyInto(out *AgentGatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentGatewayList) DeepCopyObject ¶ added in v0.4.5
func (in *AgentGatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentGatewaySpec ¶ added in v0.4.5
type AgentGatewaySpec struct {
// AgentGatewayClassName specifies which AgentGatewayClass to use for this gateway instance.
// This is only needed if multiple gateway classes are defined in the cluster.
AgentGatewayClassName string `json:"agentGatewayClassName,omitempty"`
// Replicas is the number of gateway replicas
// +kubebuilder:validation:Minimum=1
// +kubebuilder:default=1
Replicas *int32 `json:"replicas,omitempty"`
// Timeout specifies the gateway timeout for requests
// +kubebuilder:default="360s"
Timeout *metav1.Duration `json:"timeout,omitempty"`
}
AgentGatewaySpec defines the desired state of AgentGateway
func (*AgentGatewaySpec) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewaySpec) DeepCopy() *AgentGatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewaySpec.
func (*AgentGatewaySpec) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewaySpec) DeepCopyInto(out *AgentGatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentGatewayStatus ¶ added in v0.4.5
type AgentGatewayStatus struct {
// Conditions represent the latest available observations of the gateway's state
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
AgentGatewayStatus defines the observed state of AgentGateway
func (*AgentGatewayStatus) DeepCopy ¶ added in v0.4.5
func (in *AgentGatewayStatus) DeepCopy() *AgentGatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentGatewayStatus.
func (*AgentGatewayStatus) DeepCopyInto ¶ added in v0.4.5
func (in *AgentGatewayStatus) DeepCopyInto(out *AgentGatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentList ¶
type AgentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Agent `json:"items"`
}
AgentList contains a list of Agent.
func (*AgentList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentList.
func (*AgentList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AgentList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AgentProtocol ¶
type AgentProtocol struct {
// Name is the name of the port
Name string `json:"name,omitempty"`
// Type of the protocol used by the agent
// +kubebuilder:validation:Enum=A2A;OpenAI
Type string `json:"type"`
// Port is the port number, defaults to the default port for the protocol
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
Port int32 `json:"port,omitempty"`
// +kubebuilder:validation:Pattern=`^/[a-zA-Z0-9/_-]*$`
// Path is the path used for HTTP-based protocols
Path string `json:"path,omitempty"`
}
AgentProtocol defines a port configuration for the agent
func (*AgentProtocol) DeepCopy ¶
func (in *AgentProtocol) DeepCopy() *AgentProtocol
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentProtocol.
func (*AgentProtocol) DeepCopyInto ¶
func (in *AgentProtocol) DeepCopyInto(out *AgentProtocol)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentSpec ¶
type AgentSpec struct {
// +optional
// Framework defines the supported agent frameworks
// +kubebuilder:validation:Enum=google-adk;custom
Framework string `json:"framework,omitempty"`
// +optional
// Replicas is the number of replicas for the microservice deployment
// +kubebuilder:validation:Minimum=0
Replicas *int32 `json:"replicas,omitempty"`
// +optional
// Image is the Docker image and tag to use for the microservice deployment.
// When not specified, the operator will use a framework-specific template image.
Image string `json:"image,omitempty"`
// +optional
// Description provides a description of the agent.
// This is passed as AGENT_DESCRIPTION environment variable to the agent.
Description string `json:"description,omitempty"`
// +optional
// Instruction defines the system instruction/prompt for the agent when using template images.
// This is passed as AGENT_INSTRUCTION environment variable to the agent.
Instruction string `json:"instruction,omitempty"`
// +optional
// Model specifies the language model to use for the agent.
// This is passed as AGENT_MODEL environment variable to the agent.
// Defaults to the agents default model if not specified.
Model string `json:"model,omitempty"`
// +optional
// SubAgents defines configuration for connecting to remote agents.
// This is converted to JSON and passed as SUB_AGENTS environment variable to the agent.
SubAgents []SubAgent `json:"subAgents,omitempty"`
// +optional
// Tools defines configuration for integrating MCP (Model Context Protocol) tools.
// This is converted to JSON and passed as AGENT_TOOLS environment variable to the agent.
Tools []AgentTool `json:"tools,omitempty"`
// Protocols defines the protocols supported by the agent
Protocols []AgentProtocol `json:"protocols,omitempty"`
// Exposed indicates whether this agent should be exposed via the AgentGateway
// +kubebuilder:default=false
Exposed bool `json:"exposed,omitempty"`
// +optional
// Env defines additional environment variables to be injected into the agent container.
// These are take precedence over operator-managed environment variables.
Env []corev1.EnvVar `json:"env,omitempty"`
// +optional
// EnvFrom defines sources to populate environment variables from.
EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"`
}
AgentSpec defines the desired state of Agent.
func (*AgentSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentSpec.
func (*AgentSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentStatus ¶
type AgentStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}
AgentStatus defines the observed state of Agent.
func (*AgentStatus) DeepCopy ¶
func (in *AgentStatus) DeepCopy() *AgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentStatus.
func (*AgentStatus) DeepCopyInto ¶
func (in *AgentStatus) DeepCopyInto(out *AgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentTool ¶ added in v0.4.0
type AgentTool struct {
// Name is the unique identifier for this tool
Name string `json:"name"`
// Url is the HTTP/HTTPS endpoint URL for the MCP tool server.
// Supports both HTTP (for internal cluster URLs) and HTTPS schemes.
// +kubebuilder:validation:Format=uri
Url string `json:"url"`
}
AgentTool defines configuration for integrating an MCP (Model Context Protocol) tool
func (*AgentTool) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentTool.
func (*AgentTool) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubAgent ¶ added in v0.4.0
type SubAgent struct {
// Name is the unique identifier for this sub-agent
Name string `json:"name"`
// Url is the HTTP/HTTPS endpoint URL for the remote agent configuration.
// Supports both HTTP (for internal cluster URLs) and HTTPS schemes.
// +kubebuilder:validation:Format=uri
Url string `json:"url"`
}
SubAgent defines configuration for connecting to a remote agent
func (*SubAgent) DeepCopy ¶ added in v0.4.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubAgent.
func (*SubAgent) DeepCopyInto ¶ added in v0.4.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.