Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// HTTP server configuration
Server ServerConfig `json:"server"`
// Kubernetes configuration
Kubernetes KubernetesConfig `json:"kubernetes"`
// WatchBufferSize is the buffer size for each worker's event channel.
WatchBufferSize int `json:"watchBufferSize" pflag:",Buffer size for watch channels"`
// WatchWorkers is the number of parallel event-processing goroutines.
// Events for the same TaskAction are always routed to the same worker to preserve ordering.
WatchWorkers int `json:"watchWorkers" pflag:",Number of parallel worker goroutines for processing watch events"`
// RunServiceURL is the base URL for the internal run service.
RunServiceURL string `json:"runServiceUrl" pflag:",Base URL of the internal run service"`
// RecordFilterSize is the size of the bloom filter used to deduplicate RecordAction calls.
RecordFilterSize int `json:"recordFilterSize" pflag:",Size of the oppo bloom filter for deduplicating RecordAction calls"`
}
Config holds the configuration for the Actions service
type KubernetesConfig ¶
type KubernetesConfig struct {
// Namespace where TaskAction CRs are located
Namespace string `json:"namespace" pflag:",Kubernetes namespace for TaskAction CRs"`
// KubeConfig path (optional - if empty, uses in-cluster config)
KubeConfig string `json:"kubeconfig" pflag:",Path to kubeconfig file (optional)"`
}
KubernetesConfig holds Kubernetes client configuration
type ServerConfig ¶
type ServerConfig struct {
Port int `json:"port" pflag:",Port to bind the HTTP server"`
Host string `json:"host" pflag:",Host to bind the HTTP server"`
}
ServerConfig holds HTTP server configuration
Click to show internal directories.
Click to hide internal directories.