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

connectivityrelay

package
v0.4.24 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 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 RemoveFilesAt added in v0.4.15

func RemoveFilesAt(dataDir, 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 EnsureFilesAt added in v0.4.15

func EnsureFilesAt(dataDir, namespace string, spec RuntimeSpec) (Files, error)

func ExistingFiles

func ExistingFiles(id string) (Files, error)

func ExistingFilesAt added in v0.4.15

func ExistingFilesAt(dataDir, namespace, id string) (Files, error)

func ExistingInstances

func ExistingInstances() ([]Files, error)

func ExistingInstancesAt added in v0.4.15

func ExistingInstancesAt(dataDir, namespace string) ([]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