Versions in this module Expand all Collapse all v0 v0.1.0 Apr 16, 2026 Changes in this version + var ErrTunnelNotFound = errors.New("tunnel not found") + func BuildGRPCIngressRules(routes []gwapiv1.GRPCRoute) []cf.UnvalidatedIngressRule + func BuildIngressRules(routes []gwapiv1.HTTPRoute) []cf.UnvalidatedIngressRule + func BuildTCPIngressRules(routes []gwapiv1alpha2.TCPRoute) []cf.UnvalidatedIngressRule + func BuildTLSIngressRules(routes []gwapiv1alpha2.TLSRoute) []cf.UnvalidatedIngressRule + func BuildTunnelToken(accountID, tunnelID string, secret []byte) string + func MergeOriginRequest(base *cf.OriginRequestConfig, annotations *cf.OriginRequestConfig) *cf.OriginRequestConfig + func ParseOriginAnnotations(annotations map[string]string) (*cf.OriginRequestConfig, []string) + type APIClient interface + AccountID func() string + CreateTunnel func(ctx context.Context, name string, secret []byte) (cf.Tunnel, error) + DeleteTunnel func(ctx context.Context, id string) error + GetTunnelByName func(ctx context.Context, name string) (cf.Tunnel, error) + UpdateTunnelConfiguration func(ctx context.Context, tunnelID string, ingress []cf.UnvalidatedIngressRule) error + func NewClientFromEnv() (APIClient, error)