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

egctl

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 61 Imported by: 0

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
}

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