mirror of https://github.com/hashicorp/consul
7 lines
179 B
Go
7 lines
179 B
Go
|
package meshv1alpha1
|
||
|
|
||
|
func (p *ProxyConfiguration) IsTransparentProxy() bool {
|
||
|
return p.GetDynamicConfig() != nil &&
|
||
|
p.DynamicConfig.Mode == ProxyMode_PROXY_MODE_TRANSPARENT
|
||
|
}
|