Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStackClient ¶
type CloudStackClient interface {
// ExecuteRequest sends a request to the CloudStack API
ExecuteRequest(ctx context.Context, apiName string, params map[string]string) ([]byte, error)
}
CloudStackClient defines the interface for interacting with CloudStack
type Config ¶
type Config struct {
// CloudStack API URL
CloudStackURL string
// API key for CloudStack
APIKey string
// Secret key for CloudStack
SecretKey string
}
Config contains proxy configuration
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy is the main CloudStack proxy that implements all services
func (*Proxy) Check ¶
func (p *Proxy) Check( ctx context.Context, req *connect.Request[corev1.HealthCheckRequest], ) (*connect.Response[corev1.HealthCheckResponse], error)
Check implements the health check service
func (*Proxy) RegisterHandlers ¶
RegisterHandlers registers all service handlers with the given mux
Click to show internal directories.
Click to hide internal directories.