Versions in this module Expand all Collapse all v1 v1.2.5 Sep 23, 2024 Changes in this version + var NginxL7Name = "nginxL7" + func CheckProtocols(name string, ports []dme.AppPort) (bool, bool) + func CreateEnvoyProxy(ctx context.Context, client ssh.Client, name, envoyImage string, ...) error + func CreateNginxProxy(ctx context.Context, client ssh.Client, name, envoyImage, nginxImage string, ...) error + func DeleteEnvoyProxy(ctx context.Context, client ssh.Client, name string) error + func DeleteNginxProxy(ctx context.Context, client ssh.Client, name string) error + func GetEnvoyContainerName(name string) string + type Op func(opts *Options) + func WithDockerNetwork(network string) Op + func WithDockerPublishPorts() Op + func WithDockerUser(user string) Op + func WithMetricEndpoint(endpoint string) Op + func WithTLSCert(cert *access.TLSCert) Op + type Options struct + Cert *access.TLSCert + DockerNetwork string + DockerPublishPorts bool + DockerUser string + MetricIP string + MetricUDS bool + func (o *Options) Apply(ops []Op) + type ProxyConfig struct + DestIP string + DestIPV6 string + ListenIP string + ListenIPV6 string + SkipHCPorts string + type ProxySpec struct + CertName string + MetricIP string + MetricPort int32 + MetricUDS bool + Name string + TCPSpec []*TCPSpecDetail + UDPSpec []*UDPSpecDetail + UsesTLS bool + WorkerConns int + type TCPSpecDetail struct + BackendIP string + BackendPort int32 + ConcurrentConns uint64 + HealthCheck bool + IPTag string + ListenIP string + ListenPort int32 + UseTLS bool + type UDPSpecDetail struct + BackendIP string + BackendPort int32 + ConcurrentConns uint64 + IPTag string + ListenIP string + ListenPort int32 + MaxPktSize int64 + NginxListenPorts []int32