Help us shape the future of Go! Take the 2026 Go Developer Survey

connectivityrelay

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultImage = "ghcr.io/mcpdev80/baseharbor-runtime:edge"

Variables

This section is empty.

Functions

func RemoveFiles

func RemoveFiles(id string) error

func Run

func Run(ctx context.Context, cfg Config) error

Types

type Config

type Config struct {
	ListenAddr string
	TargetAddr string
	HealthAddr string
}

type Files

type Files struct {
	Dir     string
	Compose string
	Env     string
	Project string
}

func EnsureFiles

func EnsureFiles(spec RuntimeSpec) (Files, error)

func ExistingFiles

func ExistingFiles(id string) (Files, error)

func ExistingInstances

func ExistingInstances() ([]Files, error)

type RuntimeSpec

type RuntimeSpec struct {
	ID            string
	SourceNetwork string
	SourceAlias   string
	TargetNetwork string
	TargetHost    string
	TargetPort    int
}

Jump to

Keyboard shortcuts

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