Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEntry ¶
func ValidateEntry(m *types.RawEntry) (any, E.NestedError)
Types ¶
type ReverseProxyEntry ¶
type ReverseProxyEntry struct { Alias T.Alias `json:"alias"` Scheme T.Scheme `json:"scheme"` URL net.URL `json:"url"` NoTLSVerify bool `json:"no_tls_verify"` PathPatterns T.PathPatterns `json:"path_patterns"` LoadBalance loadbalancer.Config `json:"load_balance"` Middlewares D.NestedLabelMap `json:"middlewares"` /* Docker only */ IdleTimeout time.Duration `json:"idle_timeout"` WakeTimeout time.Duration `json:"wake_timeout"` StopMethod T.StopMethod `json:"stop_method"` StopTimeout int `json:"stop_timeout"` StopSignal T.Signal `json:"stop_signal"` DockerHost string `json:"docker_host"` ContainerName string `json:"container_name"` ContainerID string `json:"container_id"` ContainerRunning bool `json:"container_running"` }
func (*ReverseProxyEntry) IsDocker ¶
func (rp *ReverseProxyEntry) IsDocker() bool
func (*ReverseProxyEntry) IsZeroPort ¶
func (rp *ReverseProxyEntry) IsZeroPort() bool
func (*ReverseProxyEntry) UseIdleWatcher ¶
func (rp *ReverseProxyEntry) UseIdleWatcher() bool
type StreamEntry ¶
type StreamEntry struct { Alias T.Alias `json:"alias"` Scheme T.StreamScheme `json:"scheme"` Host T.Host `json:"host"` Port T.StreamPort `json:"port"` }
Click to show internal directories.
Click to hide internal directories.