Documentation
¶
Overview ¶
Package ports declares provider-agnostic interfaces.
Package ports declares provider-agnostic interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSService ¶
type DNSService interface {
DeleteRecord(ctx context.Context, tunnel *domain.Tunnel, zoneName string, subdomain string) error
RouteRecord(ctx context.Context, tunnel *domain.Tunnel, zoneName string, subdomain string) error
RecordExists(ctx context.Context, tunnel *domain.Tunnel, zoneName string, subdomain string) (bool, error)
}
type TunnelService ¶
type TunnelService interface {
Run(ctx context.Context, tunnel *domain.Tunnel) (int, error)
GetID(ctx context.Context, tunnel *domain.Tunnel) (string, error)
Create(ctx context.Context, tunnel *domain.Tunnel) (string, error)
Delete(ctx context.Context, tunnel *domain.Tunnel) error
Exists(ctx context.Context, tunnel *domain.Tunnel) (bool, error)
SaveConfiguration(ctx context.Context, tunnel *domain.Tunnel, ingress *domain.Ingress) error
DeleteConfiguration(ctx context.Context, tunnel *domain.Tunnel) error
GetConfigurationPath(ctx context.Context, tunnel *domain.Tunnel) (string, error)
}
Click to show internal directories.
Click to hide internal directories.