manual

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First(conf FirstConfig) (next string, err error)

func FormatService added in v0.8.0

func FormatService(s string) string

func GetService added in v0.8.0

func GetService(s string) (name, namespace string)

func Second

func Second(conf SecondConfig) (applyResource, otherResource, importAddress string, err error)

Types

type FirstConfig

type FirstConfig struct {
	RouteName         string
	ImportHub         string
	ExportHub         string
	Next              string
	Reachable         bool
	BindPort          string
	TunnelAddress     string
	TunnelAuthorized  string
	ExportPort        string
	ExportService     string
	ImportService     string
	PeerTunnelAddress string
}

type SecondConfig

type SecondConfig struct {
	RouteName              string
	ImportHub              string
	ExportHub              string
	IsImport               bool
	ImportService          string
	BindPort               string
	ExportPort             string
	ExportService          string
	Reachable              bool
	ImportTunnelAddress    string
	ImportTunnelAuthorized string
	ExportTunnelAddress    string
	ExportTunnelAuthorized string
}

Jump to

Keyboard shortcuts

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