commands

package
v0.0.0-...-89e5b94 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReadyChan = make(chan struct{})
)

Functions

func ConnectToMaster

func ConnectToMaster(ctx context.Context, gwConfig *config.GatewayConfig, clients *kubeconfig.KubeClients, afterRegisterHook controller.AfterRegisterDomainHook) (string, error)

func Run

func Run(ctx context.Context, gwConfig *config.GatewayConfig, clients *kubeconfig.KubeClients, afterRegisterHook controller.AfterRegisterDomainHook) error

func StartXds

func StartXds(gwConfig *config.GatewayConfig) error

Types

type Opts

type Opts struct {
	Kubeconfig        string
	Namespace         string
	GatewayConfigFile string
	ResyncPeriod      int
	IdleTimeout       int
}

func (*Opts) Config

func (o *Opts) Config() *config.GatewayConfig

Jump to

Keyboard shortcuts

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