Documentation ¶
Index ¶
- Constants
- type HostV1Config
- type HostV1ListenOptions
- type HostV2Config
- type HostV2ListenOptions
- type HostV2Terminator
- func (self *HostV2Terminator) GetAddress(options map[string]interface{}) (string, error)
- func (self *HostV2Terminator) GetDialTimeout(defaultTimeout time.Duration) time.Duration
- func (self *HostV2Terminator) GetHttpChecks() []*health.HttpCheckDefinition
- func (self *HostV2Terminator) GetPort(options map[string]interface{}) (string, error)
- func (self *HostV2Terminator) GetPortChecks() []*health.PortCheckDefinition
- func (self *HostV2Terminator) GetProtocol(options map[string]interface{}) (string, error)
- func (self *HostV2Terminator) SetListenOptions(options *ziti.ListenOptions)
- type Service
- type ServiceConfig
Constants ¶
View Source
const ( ClientConfigV1 = "ziti-tunneler-client.v1" ServerConfigV1 = "ziti-tunneler-server.v1" HostConfigV1 = "host.v1" HostConfigV2 = "host.v2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostV1Config ¶ added in v0.19.54
type HostV1Config struct { Protocol string DialInterceptedProtocol bool Address string DialInterceptedAddress bool Port int DialInterceptedPort bool PortChecks []*health.PortCheckDefinition HttpChecks []*health.HttpCheckDefinition ListenOptions *HostV1ListenOptions }
func (*HostV1Config) ToHostV2Config ¶ added in v0.19.54
func (self *HostV1Config) ToHostV2Config() *HostV2Config
type HostV1ListenOptions ¶ added in v0.19.54
type HostV2Config ¶ added in v0.19.54
type HostV2Config struct {
Terminators []*HostV2Terminator
}
type HostV2ListenOptions ¶ added in v0.19.54
type HostV2Terminator ¶ added in v0.19.54
type HostV2Terminator struct { Protocol string DialInterceptedProtocol bool Address string DialInterceptedAddress bool Port int DialInterceptedPort bool PortChecks []*health.PortCheckDefinition HttpChecks []*health.HttpCheckDefinition ListenOptions *HostV2ListenOptions }
func (*HostV2Terminator) GetAddress ¶ added in v0.19.54
func (self *HostV2Terminator) GetAddress(options map[string]interface{}) (string, error)
func (*HostV2Terminator) GetDialTimeout ¶ added in v0.19.54
func (self *HostV2Terminator) GetDialTimeout(defaultTimeout time.Duration) time.Duration
func (*HostV2Terminator) GetHttpChecks ¶ added in v0.19.54
func (self *HostV2Terminator) GetHttpChecks() []*health.HttpCheckDefinition
func (*HostV2Terminator) GetPort ¶ added in v0.19.54
func (self *HostV2Terminator) GetPort(options map[string]interface{}) (string, error)
func (*HostV2Terminator) GetPortChecks ¶ added in v0.19.54
func (self *HostV2Terminator) GetPortChecks() []*health.PortCheckDefinition
func (*HostV2Terminator) GetProtocol ¶ added in v0.19.54
func (self *HostV2Terminator) GetProtocol(options map[string]interface{}) (string, error)
func (*HostV2Terminator) SetListenOptions ¶ added in v0.19.54
func (self *HostV2Terminator) SetListenOptions(options *ziti.ListenOptions)
type Service ¶
type Service struct { edge.Service ClientConfig *ServiceConfig ServerConfig *ServiceConfig HostV2Config *HostV2Config StopHostHook func() }
type ServiceConfig ¶
type ServiceConfig struct { Protocol string Hostname string Port int PortChecks []*health.PortCheckDefinition HttpChecks []*health.HttpCheckDefinition }
func (*ServiceConfig) GetHttpChecks ¶ added in v0.19.54
func (self *ServiceConfig) GetHttpChecks() []*health.HttpCheckDefinition
func (*ServiceConfig) GetPortChecks ¶ added in v0.19.54
func (self *ServiceConfig) GetPortChecks() []*health.PortCheckDefinition
func (*ServiceConfig) String ¶
func (s *ServiceConfig) String() string
Click to show internal directories.
Click to hide internal directories.