ports

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 2 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL