MCPcopy
hub / github.com/fatedier/frp / ProxyBaseConfig

Struct ProxyBaseConfig

pkg/config/v1/proxy.go:119–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119type 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
134func (c ProxyBaseConfig) Clone() ProxyBaseConfig {
135 out := c

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected