v1alpha1

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTemplateImageAdk = "ghcr.io/agentic-layer/agent-template-adk:0.4.0"
)

Variables

This section is empty.

Functions

func SetupAgentGatewayWebhookWithManager added in v0.5.0

func SetupAgentGatewayWebhookWithManager(mgr ctrl.Manager) error

SetupAgentGatewayWebhookWithManager registers the webhook for AgentGateway in the manager.

func SetupAgentWebhookWithManager

func SetupAgentWebhookWithManager(mgr ctrl.Manager, config AgentWebhookConfig) error

SetupAgentWebhookWithManager registers the webhook for Agent in the manager.

func SetupToolServerWebhookWithManager added in v0.7.0

func SetupToolServerWebhookWithManager(mgr ctrl.Manager) error

SetupToolServerWebhookWithManager registers the webhook for ToolServer in the manager.

Types

type AgentCustomDefaulter

type AgentCustomDefaulter struct {
	DefaultFramework     string
	DefaultReplicas      int32
	DefaultPort          int32
	DefaultPortGoogleAdk int32
	Recorder             record.EventRecorder
}

AgentCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Agent when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*AgentCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind Agent.

type AgentCustomValidator added in v0.4.0

type AgentCustomValidator struct {
	// AllowHostPath controls whether hostPath volumes are allowed.
	AllowHostPath bool
}

AgentCustomValidator struct is responsible for validating the Agent resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*AgentCustomValidator) ValidateCreate added in v0.4.0

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the Kind Agent.

func (*AgentCustomValidator) ValidateDelete added in v0.4.0

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the Kind Agent.

func (*AgentCustomValidator) ValidateUpdate added in v0.4.0

func (v *AgentCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the Kind Agent.

type AgentGatewayCustomDefaulter added in v0.5.0

type AgentGatewayCustomDefaulter struct {
	DefaultReplicas int32
	Recorder        record.EventRecorder
}

AgentGatewayCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind AgentGateway when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*AgentGatewayCustomDefaulter) Default added in v0.5.0

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind AgentGateway.

type AgentWebhookConfig added in v0.10.0

type AgentWebhookConfig struct {
	// AllowHostPath controls whether hostPath volumes are allowed in Agent resources.
	// When false (default), hostPath volumes will be rejected for security reasons.
	AllowHostPath bool
}

AgentWebhookConfig contains configuration for the Agent webhook.

type ToolServerCustomDefaulter added in v0.7.0

type ToolServerCustomDefaulter struct{}

ToolServerCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind ToolServer when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*ToolServerCustomDefaulter) Default added in v0.7.0

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind ToolServer.

type ToolServerCustomValidator added in v0.7.0

type ToolServerCustomValidator struct{}

ToolServerCustomValidator struct is responsible for validating the ToolServer resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*ToolServerCustomValidator) ValidateCreate added in v0.7.0

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type ToolServer.

func (*ToolServerCustomValidator) ValidateDelete added in v0.7.0

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type ToolServer.

func (*ToolServerCustomValidator) ValidateUpdate added in v0.7.0

func (v *ToolServerCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type ToolServer.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL