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

egctl

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BootstrapEnvoyConfigType envoyConfigType = "bootstrap"
	ClusterEnvoyConfigType   envoyConfigType = "cluster"
	EndpointEnvoyConfigType  envoyConfigType = "endpoint"
	ListenerEnvoyConfigType  envoyConfigType = "listener"
	RouteEnvoyConfigType     envoyConfigType = "route"
	AllEnvoyConfigType       envoyConfigType = "all"
)

Functions

func ClosePortForwarderOnInterrupt added in v1.0.0

func ClosePortForwarderOnInterrupt(fw kube.PortForwarder)

func GetRootCommand

func GetRootCommand() *cobra.Command

GetRootCommand returns the root cobra command to be executed by egctl main.

Types

type ServerVersion

type ServerVersion struct {
	types.NamespacedName
	version.Info
}

type TranslationResult

type TranslationResult struct {
	gatewayapi.Resources
	XdsIR   gatewayapi.XdsIRMap    `json:"xdsIR,omitempty" yaml:"xdsIR,omitempty"`
	InfraIR gatewayapi.InfraIRMap  `json:"infraIR,omitempty" yaml:"infraIR,omitempty"`
	Xds     map[string]interface{} `json:"xds,omitempty"`
}

type VersionInfo

type VersionInfo struct {
	ClientVersion  string           `json:"client"`
	ServerVersions []*ServerVersion `json:"server,omitempty"`
}

func Get

func Get() VersionInfo

Jump to

Keyboard shortcuts

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