| 117 | } |
| 118 | |
| 119 | type ProxyBaseConfig struct { |
| 120 | Name string `json:"name"` |
| 121 | Type string `json:"type"` |
| 122 | // Enabled controls whether this proxy is enabled. nil or true means enabled, false means disabled. |
| 123 | // This allows individual control over each proxy, complementing the global "start" field. |
| 124 | Enabled *bool `json:"enabled,omitempty"` |
| 125 | Annotations map[string]string `json:"annotations,omitempty"` |
| 126 | Transport ProxyTransport `json:"transport,omitempty"` |
| 127 | // metadata info for each proxy |
| 128 | Metadatas map[string]string `json:"metadatas,omitempty"` |
| 129 | LoadBalancer LoadBalancerConfig `json:"loadBalancer,omitempty"` |
| 130 | HealthCheck HealthCheckConfig `json:"healthCheck,omitempty"` |
| 131 | ProxyBackend |
| 132 | } |
| 133 | |
| 134 | func (c ProxyBaseConfig) Clone() ProxyBaseConfig { |
| 135 | out := c |
nothing calls this directly
no outgoing calls
no test coverage detected