egctl

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 57 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 {
	resource.Resources
	XdsIR   resource.XdsIRMap      `json:"xdsIR,omitempty" yaml:"xdsIR,omitempty"`
	InfraIR resource.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