egctl

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 61 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	AllEnvoyGatewayConfigType                  envoyGatewayConfigType = "all"
	GatewayClassEnvoyGatewayConfigType         envoyGatewayConfigType = "gatewayclass"
	GatewayEnvoyGatewayConfigType              envoyGatewayConfigType = "gateway"
	HTTPRouteEnvoyGatewayConfigType            envoyGatewayConfigType = "httproute"
	GRPCRouteEnvoyGatewayConfigType            envoyGatewayConfigType = "grpcroute"
	TLSRouteEnvoyGatewayConfigType             envoyGatewayConfigType = "tlsroute"
	TCPRouteEnvoyGatewayConfigType             envoyGatewayConfigType = "tcproute"
	UDPRouteEnvoyGatewayConfigType             envoyGatewayConfigType = "udproute"
	ClientTrafficPolicyEnvoyGatewayConfigType  envoyGatewayConfigType = "clienttrafficpolicy"
	BackendTrafficPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "backendtrafficpolicy"
	BackendTLSPolicyEnvoyGatewayConfigType     envoyGatewayConfigType = "backendtlspolicy"
	SecurityPolicyEnvoyGatewayConfigType       envoyGatewayConfigType = "securitypolicy"
	EnvoyPatchPolicyEnvoyGatewayConfigType     envoyGatewayConfigType = "envoypatchpolicy"
	EnvoyExtensionPolicyEnvoyGatewayConfigType envoyGatewayConfigType = "envoyextensionpolicy"
	ServiceEnvoyGatewayConfigType              envoyGatewayConfigType = "service"
	SecretEnvoyGatewayConfigType               envoyGatewayConfigType = "secret"
	ConfigMapEnvoyGatewayConfigType            envoyGatewayConfigType = "configmap"
	NamespaceEnvoyGatewayConfigType            envoyGatewayConfigType = "namespace"
	EndpointSliceEnvoyGatewayConfigType        envoyGatewayConfigType = "endpointslice"
	ReferenceGrantEnvoyGatewayConfigType       envoyGatewayConfigType = "referencegrant"
	HTTPRouteFilterEnvoyGatewayConfigType      envoyGatewayConfigType = "httproutefilter"
	EnvoyProxyEnvoyGatewayConfigType           envoyGatewayConfigType = "envoyproxy"
	BackendEnvoyGatewayConfigType              envoyGatewayConfigType = "backend"
	ServiceImportEnvoyGatewayConfigType        envoyGatewayConfigType = "serviceimport"
)

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.

func TranslateGatewayAPIToXds added in v1.4.0

func TranslateGatewayAPIToXds(namespace, dnsDomain, resourceType string, resources *resource.Resources, opts *TranslationOptions) (map[string]any, error)

Types

type ServerVersion

type ServerVersion struct {
	types.NamespacedName
	version.Info
}

type TranslationOptions added in v1.6.7

type TranslationOptions struct {
	GlobalRateLimitEnabled   bool
	EndpointRoutingDisabled  bool
	EnvoyPatchPolicyEnabled  bool
	BackendEnabled           bool
	ExtensionBackendsEnabled bool
}

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