Documentation
¶
Overview ¶
Package tunnel provides tunnel orchestration functionality.
Index ¶
- type DNSRecordHandler
- type DNSRecordPayload
- type Service
- type TunnelConfigHandler
- func (h *TunnelConfigHandler) Down(ctx context.Context, payload any) error
- func (h *TunnelConfigHandler) Name(ctx context.Context) string
- func (h *TunnelConfigHandler) Status(ctx context.Context, payload any) (domain.State, error)
- func (h *TunnelConfigHandler) Up(ctx context.Context, payload any) error
- type TunnelConfigPayload
- type TunnelCreateHandler
- func (h *TunnelCreateHandler) Down(ctx context.Context, payload any) error
- func (h *TunnelCreateHandler) Name(ctx context.Context) string
- func (h *TunnelCreateHandler) Status(ctx context.Context, payload any) (domain.State, error)
- func (h *TunnelCreateHandler) Up(ctx context.Context, payload any) error
- type TunnelCreatePayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSRecordHandler ¶
type DNSRecordHandler struct {
// contains filtered or unexported fields
}
func NewDNSRecordHandler ¶
func NewDNSRecordHandler(dnsService ports.DNSService) *DNSRecordHandler
func (*DNSRecordHandler) Down ¶
func (h *DNSRecordHandler) Down(ctx context.Context, payload any) error
type DNSRecordPayload ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(tunnel *domain.Tunnel, ingress *domain.Ingress, dnsService ports.DNSService, tunnelService ports.TunnelService) *Service
type TunnelConfigHandler ¶
type TunnelConfigHandler struct {
// contains filtered or unexported fields
}
func NewTunnelConfigHandler ¶
func NewTunnelConfigHandler(tunnelService ports.TunnelService) *TunnelConfigHandler
func (*TunnelConfigHandler) Down ¶
func (h *TunnelConfigHandler) Down(ctx context.Context, payload any) error
type TunnelConfigPayload ¶
type TunnelCreateHandler ¶
type TunnelCreateHandler struct {
// contains filtered or unexported fields
}
func NewTunnelCreateHandler ¶
func NewTunnelCreateHandler(tunnelService ports.TunnelService) *TunnelCreateHandler
func (*TunnelCreateHandler) Down ¶
func (h *TunnelCreateHandler) Down(ctx context.Context, payload any) error
type TunnelCreatePayload ¶
Click to show internal directories.
Click to hide internal directories.