subcmd

package
v0.18.3 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewRouter

func NewRouter() http.Handler

NewRouter builds the ziti-router for the server. We export this method for testability

func SetMgmtCh

func SetMgmtCh(c mgmtChannel)

SetMgmtCh sets the channel between this fabric-gw server and the controller. We export this method for testability

Types

type Config

type Config struct {
	MgmtGwListenAddress string `yaml:"listenAddress"`
	MgmtGwCertPath      string `yaml:"certPath"`
	MgmtGwKeyPath       string `yaml:"keyPath"`

	MgmtAddr string `yaml:"mgmt"`

	MgmtCertPath   string `yaml:"mgmtCertPath"`
	MgmtKeyPath    string `yaml:"mgmtKeyPath"`
	MgmtCaCertPath string `yaml:"mgmtCaCertPath"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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